File modules/cms/ui/themes/default/html/views/pageelement/value.tpl.src.xml
Last commit: Mon Apr 22 22:29:49 2024 +0200 Jan Dankert Editing coordinates now possible.
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="elementid"/> 6 <hidden name="value_time"/> 7 <group title="${desc}" collapsible="false"> 8 <if value="${type}" equals="date"> 9 <group title="${message:date}"> 10 <fieldset label=""> 11 <input type="date" name="date" label="date"/> 12 <input type="time" name="time" label="time"/> 13 </fieldset> 14 </group> 15 </if> 16 <if value="${type}" equals="coord"> 17 <group title="${message:coordinates}"> 18 <fieldset label=""> 19 <input type="number" name="lat" label="${message:latitude}"/> 20 <input type="number" name="long" label="${message:longitude}"/> 21 </fieldset> 22 </group> 23 </if> 24 <if value="${type}" equals="text"> 25 <fieldset> 26 <input size="50" maxlength="255" class="text" name="text"/> 27 </fieldset> 28 </if> 29 <if value="${type}" equals="data"> 30 <fieldset> 31 <editor type="code" mode="yaml" name="text" default="${value}" /> 32 </fieldset> 33 </if> 34 <if value="${type}" equals="longtext"> 35 <hidden name="format"/> 36 <if value="${editor}" equals="markdown"> 37 <editor type="markdown" name="text"/> 38 </if> 39 <if value="${editor}" equals="html"> 40 <editor type="html" name="text"/> 41 </if> 42 <if value="${editor}" equals="htmlsource"> 43 <editor type="code" name="text" mode="htmlmixed"/> 44 </if> 45 <if value="${editor}" equals="wiki"> 46 <editor type="wiki" name="text"/> 47 <group title="${message:help}" open="false"> 48 <table filter="false"> 49 <column> 50 <text value="${config:editor/text-markup/strong-begin}"/> 51 <text value="${message:text_markup_strong}"/> 52 <text value="${config:editor/text-markup/strong-end}"/> 53 <newline/> 54 <text value="${config:editor/text-markup/emphatic-begin}"/> 55 <text value="${message:text_markup_emphatic}"/> 56 <text value="${config:editor/text-markup/emphatic-end}"/> 57 </column> 58 <column> 59 <text value="${config:editor/text-markup/list-numbered}"/> 60 <text value="${message:text_markup_numbered_list}"/> 61 <newline/> 62 <text value="${config:editor/text-markup/list-numbered}"/> 63 <text value="..."/> 64 <newline/> 65 </column> 66 <column> 67 <text value="${config:editor/text-markup/list-unnumbered}"/> 68 <text value="${message:text_markup_unnumbered_list}"/> 69 <newline/> 70 <text value="${config:editor/text-markup/list-unnumbered}"/> 71 <text value="..."/> 72 <newline/> 73 </column> 74 <column> 75 <text value="${config:editor/text-markup/table-cell-sep}"/> 76 <text value="${message:text_markup_table}"/> 77 <text value="${config:editor/text-markup/table-cell-sep}"/> 78 <text value="..."/> 79 <text value="${config:editor/text-markup/table-cell-sep}"/> 80 <text value="..."/> 81 <text value="${config:editor/text-markup/table-cell-sep}"/> 82 <newline/> 83 <text value="${config:editor/text-markup/table-cell-sep}"/> 84 <text value="..."/> 85 <text value="${config:editor/text-markup/table-cell-sep}"/> 86 <text value="..."/> 87 <text value="${config:editor/text-markup/table-cell-sep}"/> 88 <text value="..."/> 89 <text value="${config:editor/text-markup/table-cell-sep}"/> 90 <newline/> 91 </column> 92 </table> 93 </group> 94 </if> 95 <if value="${editor}" equals="text"> 96 <inputarea class="editor raw-editor" name="text" rows="25" cols="70"/> 97 </if> 98 </if> 99 <if value="${type}" equals="link"> 100 <group> 101 <fieldset class="line" label="${message:link_target}"> 102 <selector param="linkobjectid" types="${types}" name="${linkname}" id="${linkobjectid}" 103 folderid="${rootfolderid}"/> 104 </fieldset> 105 <fieldset class="line" label="${message:link_url}"> 106 <input name="linkurl"/> 107 </fieldset> 108 </group> 109 </if> 110 <if value="${type}" equals="list"> 111 <group> 112 <part> 113 <selectbox list="objects" name="linkobjectid"/> 114 </part> 115 </group> 116 </if> 117 <if value="${type}" equals="insert"> 118 <group> 119 <part> 120 <selectbox list="objects" name="linkobjectid"/> 121 </part> 122 </group> 123 </if> 124 <if value="${type}" equals="checkbox"> 125 <fieldset> 126 <part> 127 <checkbox name="number" /> 128 </part> 129 </fieldset> 130 </if> 131 <if value="${type}" equals="number"> 132 <group> 133 <part> 134 <hidden name="decimals" default="decimals"/> 135 <input type="number" size="15" maxlength="20" name="number"/> 136 </part> 137 </group> 138 </if> 139 <if value="${type}" equals="select"> 140 <group> 141 <part> 142 <selectbox list="items" name="text"/> 143 </part> 144 </group> 145 </if> 146 <if value="${type}" equals="longtext"> 147 <if value="${editor}" equals="wiki"> 148 <if present="languages"> 149 <group title="${message:editor_show_language}"> 150 <part> 151 <list list="${languages}" key="languageid" value="languagename"> 152 <radio name="otherlanguageid" value="${languageid}"/> 153 <label for="otherlanguageid_${languageid}"> 154 <text value="${languagename}"/> 155 </label> 156 <newline/> 157 </list> 158 </part> 159 </group> 160 </if> 161 </if> 162 </if> 163 </group> 164 165 <group title="${message:options}"> 166 <fieldset> 167 <if present="release"> 168 <part> 169 <checkbox name="release" label="${message:RELEASE}" remember="true"/> 170 </part> 171 </if> 172 <if present="publish"> 173 <part> 174 <checkbox name="publish" label="${message:PAGE_PUBLISH_AFTER_SAVE}" remember="true"/> 175 </part> 176 </if> 177 </fieldset> 178 </group> 179 </form> 180 </output>
Downloadmodules/cms/ui/themes/default/html/views/pageelement/value.tpl.src.xml
History Mon, 22 Apr 2024 22:29:49 +0200 Jan Dankert Editing coordinates now possible. 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. Fri, 2 Apr 2021 00:12:48 +0200 Jan Dankert New: Valueformat "html source" Fri, 13 Nov 2020 00:12:44 +0100 Jan Dankert Fixing Pagelement-History and Diff. Wed, 21 Oct 2020 00:26:06 +0200 Jan Dankert Using fieldsets in all templates (replacing the old '') Sat, 10 Oct 2020 01:29:41 +0200 Jan Dankert Refactoring: Only using CSS classes with the 'or-'-prefix. Thu, 20 Aug 2020 21:15:48 +0200 Jan Dankert Cleanup: Deleting unused components. Mon, 17 Aug 2020 22:52:37 +0200 Jan Dankert Cleanup: Killing the old odd 'GLOBAL_' message prefixes. Sat, 16 May 2020 01:08:40 +0200 Jan Dankert Refactoring: Switching the ValueExpressions in the templates to the new VariableResolver for supporting nested variables like ${message:prefix_${key}}. Sun, 23 Feb 2020 23:21:22 +0100 Jan Dankert Fix: Path to template.xsd has changed on the last refactoring. Sun, 23 Feb 2020 04:01:30 +0100 Jan Dankert Refactoring with Namespaces for the cms modules, part 1: moving.