File modules/cms/ui/themes/default/html/views/page/all.tpl.src.xml

Last commit: Wed Apr 17 00:34:07 2024 +0200	Jan Dankert	New: Inputfields for coordinates; coordinates are stored in the now 64bit-number-field of the value.
1 <output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 2 xsi:schemaLocation="http://www.openrat.de/template ../../../../../../../template_engine/components/template.xsd"> 3 <form method="post" label="${message:save}" apply="true"> 4 <hidden name="languageid"/> 5 <hidden name="value_time" /> 6 7 8 <list list="${elements}" extract="true"> 9 10 11 <hidden name="elementid" /> 12 13 <group title="${label}" collapsible="false" description="${desc}"> 14 <if value="${type}" equals="insert"> 15 <fieldset> 16 <selectbox list="objects" name="${name}" default="${value}" /> 17 </fieldset> 18 </if> 19 <if value="${type}" equals="number"> 20 <fieldset> 21 <part> 22 <hidden name="decimals" default="decimals"/> 23 <if value="${decimals}" equals="0"> 24 <set var="type" value="'number'" /> 25 </if> 26 <else> 27 <set var="type" value="text" /> 28 </else> 29 <input type="${type}" size="15" maxlength="20" name="${name}" default="${value}"/> 30 </part> 31 </fieldset> 32 </if> 33 <if value="${type}" equals="checkbox"> 34 <fieldset> 35 <part> 36 <checkbox name="${name}" default="${value}" label="${label}" /> 37 </part> 38 </fieldset> 39 </if> 40 <if value="${type}" equals="select"> 41 <fieldset> 42 <selectbox list="items" name="${name}" default="${value}" /> 43 </fieldset> 44 </if> 45 <if value="${type}" equals="date"> 46 <fieldset label=""> 47 <input type="date" name="${name}_date" label="${message:date}" default="${date}" /> 48 <input type="time" name="${name}_time" label="${message:time}" default="${time}" /> 49 </fieldset> 50 </if> 51 <if value="${type}" equals="text"> 52 <fieldset> 53 <input size="50" maxlength="255" class="text" name="${name}" default="${value}" /> 54 </fieldset> 55 </if> 56 <if value="${type}" equals="data"> 57 <fieldset> 58 <editor type="code" mode="yaml" name="${name}" default="${value}" /> 59 </fieldset> 60 </if> 61 <if value="${type}" equals="longtext"> 62 <hidden name="format"/> 63 <if value="${editor}" equals="markdown"> 64 <fieldset> 65 <editor type="markdown" name="${name}" default="${value}" /> 66 </fieldset> 67 </if> 68 <if value="${editor}" equals="html"> 69 <fieldset> 70 <editor type="html" name="${name}" default="${value}" /> 71 </fieldset> 72 </if> 73 <if value="${editor}" equals="wiki"> 74 <fieldset> 75 <editor type="wiki" name="${name}" default="${value}"/> 76 77 <!-- 78 <group title="${message:help}" open="false"> 79 <table filter="false"> 80 <column> 81 <text value="${config:editor/text-markup/strong-begin}"/> 82 <text value="${message:text_markup_strong}"/> 83 <text value="${config:editor/text-markup/strong-end}"/> 84 <newline/> 85 <text value="${config:editor/text-markup/emphatic-begin}"/> 86 <text value="${message:text_markup_emphatic}"/> 87 <text value="${config:editor/text-markup/emphatic-end}"/> 88 </column> 89 <column> 90 <text value="${config:editor/text-markup/list-numbered}"/> 91 <text value="${message:text_markup_numbered_list}"/> 92 <newline/> 93 <text value="${config:editor/text-markup/list-numbered}"/> 94 <text value="..."/> 95 <newline/> 96 </column> 97 <column> 98 <text value="${config:editor/text-markup/list-unnumbered}"/> 99 <text value="${message:text_markup_unnumbered_list}"/> 100 <newline/> 101 <text value="${config:editor/text-markup/list-unnumbered}"/> 102 <text value="..."/> 103 <newline/> 104 </column> 105 <column> 106 <text value="${config:editor/text-markup/table-cell-sep}"/> 107 <text value="${message:text_markup_table}"/> 108 <text value="${config:editor/text-markup/table-cell-sep}"/> 109 <text value="..."/> 110 <text value="${config:editor/text-markup/table-cell-sep}"/> 111 <text value="..."/> 112 <text value="${config:editor/text-markup/table-cell-sep}"/> 113 <newline/> 114 <text value="${config:editor/text-markup/table-cell-sep}"/> 115 <text value="..."/> 116 <text value="${config:editor/text-markup/table-cell-sep}"/> 117 <text value="..."/> 118 <text value="${config:editor/text-markup/table-cell-sep}"/> 119 <text value="..."/> 120 <text value="${config:editor/text-markup/table-cell-sep}"/> 121 <newline/> 122 </column> 123 </table> 124 </group>--> 125 </fieldset> 126 </if> 127 <if value="${editor}" equals="text"> 128 <fieldset> 129 <inputarea class="editor raw-editor" name="${name}" default="${value}" rows="25" cols="70" /> 130 </fieldset> 131 </if> 132 </if> 133 <if value="${type}" equals="link"> 134 <fieldset label="${message:link_target}"> 135 <selector param="${name}" default="${value}" types="${types}" name="${linkname}" id="${linkobjectid}" 136 folderid="${rootfolderid}"/> 137 </fieldset> 138 <fieldset label="${message:link_url}"> 139 <input name="linkurl"/> 140 </fieldset> 141 </if> 142 <if value="${type}" equals="coord"> 143 <fieldset label=""> 144 <input type="number" name="${name}_lat" label="${message:latitude}" default="${lat}" /> 145 <input type="number" name="${name}_long" label="${message:longitude}" default="${long}" /> 146 </fieldset> 147 </if> 148 </group> 149 </list> 150 151 152 <group title="${message:options}"> 153 <fieldset> 154 <if present="release"> 155 <part> 156 <checkbox name="release" label="${message:RELEASE}" remember="true"/> 157 </part> 158 </if> 159 <if present="publish"> 160 <part> 161 <checkbox name="publish" label="${message:PAGE_PUBLISH_AFTER_SAVE}" remember="true"/> 162 </part> 163 </if> 164 </fieldset> 165 </group> 166 </form> 167 </output>
Download modules/cms/ui/themes/default/html/views/page/all.tpl.src.xml
History Wed, 17 Apr 2024 00:34:07 +0200 Jan Dankert New: Inputfields for coordinates; coordinates are stored in the now 64bit-number-field of the value. Mon, 27 Jun 2022 02:54:38 +0200 Jan Dankert Fix: Editing of dates was broken, do not know why the code was missing up to now... Mon, 27 Jun 2022 02:22:50 +0200 Jan Dankert Fix: Saving links in PageallAction and PageelementAllAction. Thu, 2 Jun 2022 01:04:54 +0200 Jan Dankert New: Element type "checkbox" Wed, 1 Jun 2022 01:05:34 +0200 Jan Dankert New: Element types for "coordinates" and "data" Thu, 10 Mar 2022 13:09:06 +0100 dankert New: Remember some user inputs in the browser local storage. Mon, 6 Dec 2021 02:10:43 +0100 dankert Fix: Editing all page values. Thu, 25 Feb 2021 01:22:10 +0100 Jan Dankert New: Edit all page elements in 1 view.