openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 5a0c3b6580028a3bcd483be891a194c3dd2c8855
parent 99666ebd40ef12d390d254b3fb1d5d02fb2200c3
Author: Jan Dankert <devnull@localhost>
Date:   Wed, 14 Mar 2012 23:39:51 +0100

Options-Buttons immer anzeigen.

Diffstat:
themes/default/templates/pageelement/edit.tpl.src.xml | 295+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 291 insertions(+), 4 deletions(-)

diff --git a/themes/default/templates/pageelement/edit.tpl.src.xml b/themes/default/templates/pageelement/edit.tpl.src.xml @@ -1,3 +1,290 @@ -<output xmlns="http://www.openrat.de/template" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.openrat.de/template ../template.xsd"><header views="link,import,export,archive"></header><dummy><form method="post"><input type="hidden" name="elementid"></input><input type="hidden" name="value_time"></input><window name="element"><text var="desc" class="help"></text><if value="var:type" equals="date"><if true="mode:edit"><fieldset title="message:calendar"><part><table width="85%" class="calendar"><row><cell colspan="8" class="help"><if true="mode:edit"><link url="var:lastmonthurl"><image file="left" align="middle"></image></link><text raw="_"></text></if><text var="monthname" type="strong"></text><if true="mode:edit"><text raw="_"></text><link url="var:nextmonthurl"><image file="right" align="middle"></image></link></if><text raw="_____"></text><if true="mode:edit"><link url="var:lastyearurl"><image file="left" align="middle"></image></link><text raw="_"></text></if><text var="yearname" type="strong"></text><if true="mode:edit"><text raw="_"></text><link url="var:nextyearurl"><image file="right" align="middle"></image></link></if></cell></row><row><cell><text key="week"></text></cell><list list="weekdays" value="weekday"><cell><text var="weekday"></text></cell></list></row><list list="weeklist" key="weeknr" value="week"><row><cell width="12%"><text var="weeknr"></text></cell><list list="week" extract="true"><cell width="12%"><if empty="url"><text raw="__"></text><text var="nr" type="strong"></text><text raw="__"></text></if><if not="true" empty="url"><link url="var:url"><text raw="__"></text><text var="nr"></text><text raw="__"></text></link></if><if true="var:today"><text raw="*"></text></if></cell></list></row></list></table></part></fieldset></if><fieldset title="message:date"><part><label for="year"><text key="date"></text></label><selectbox name="year" list="all_years"></selectbox><text raw="_-_"></text><selectbox name="month" list="all_months"></selectbox><text raw="_-_"></text><selectbox name="day" list="all_days"></selectbox></part><part><label for="hour"><text key="date_time"></text></label><selectbox name="hour" list="all_hours"></selectbox><text raw="_-_"></text><selectbox name="minute" list="all_minutes"></selectbox><text raw="_-_"></text><selectbox name="second" list="all_seconds"></selectbox></part></fieldset></if><if value="var:type" equals="text"><row><cell colspan="2"><input size="50" maxlength="255" class="text" name="text"></input><focus field="text"></focus></cell></row></if><if value="var:type" equals="longtext"><if present="preview"><part class="preview"><fieldset title="message:page_preview"><text var="preview" escape="false"></text></fieldset></part></if><if value="var:editor" equals="html"><editor type="html" name="text"></editor></if><if value="var:editor" equals="wiki"><if present="languagetext"><fieldset title="var:languagename"><text var="languagetext"></text></fieldset><newline></newline><newline></newline></if><editor type="wiki" name="text"></editor><if true="mode:edit"><fieldset title="message:help"><table><cell><text value="config:editor/text-markup/strong-begin"></text><text key="text_markup_strong"></text><text value="config:editor/text-markup/strong-end"></text><newline></newline><text value="config:editor/text-markup/emphatic-begin"></text><text key="text_markup_emphatic"></text><text value="config:editor/text-markup/emphatic-end"></text></cell><cell><text value="config:editor/text-markup/list-numbered"></text><text key="text_markup_numbered_list"></text><newline></newline><text value="config:editor/text-markup/list-numbered"></text><text raw="..."></text><newline></newline></cell><cell><text value="config:editor/text-markup/list-unnumbered"></text><text key="text_markup_unnumbered_list"></text><newline></newline><text value="config:editor/text-markup/list-unnumbered"></text><text raw="..."></text><newline></newline></cell><cell><text value="config:editor/text-markup/table-cell-sep"></text><text key="text_markup_table"></text><text value="config:editor/text-markup/table-cell-sep"></text><text raw="..."></text><text value="config:editor/text-markup/table-cell-sep"></text><text raw="..."></text><text value="config:editor/text-markup/table-cell-sep"></text><newline></newline><text value="config:editor/text-markup/table-cell-sep"></text><text raw="..."></text><text value="config:editor/text-markup/table-cell-sep"></text><text raw="..."></text><text value="config:editor/text-markup/table-cell-sep"></text><text raw="..."></text><text value="config:editor/text-markup/table-cell-sep"></text><newline></newline></cell></table></fieldset></if></if><if value="var:editor" equals="text"><inputarea class="longtext" name="text" rows="25" cols="70"></inputarea><focus field="text"></focus></if></if><if value="var:type" equals="link"><fieldset><part><label for="linkobjectid"><text key="link_target"></text></label><selectbox list="objects" name="linkobjectid" addempty="true"></selectbox><focus field="linkobjectid"></focus></part><if true="mode:edit"><part><label for="link_url"><text key="link_url"></text></label><input name="linkurl"></input></part></if></fieldset></if><if value="var:type" equals="list"><fieldset><part><selectbox list="objects" name="linkobjectid"></selectbox><focus field="linkobjectid"></focus></part></fieldset></if><if value="var:type" equals="insert"><fieldset><part><selectbox list="objects" name="linkobjectid"></selectbox><focus field="linkobjectid"></focus></part></fieldset></if><if value="var:type" equals="number"><fieldset><part><hidden name="decimals" default="decimals"></hidden><input size="15" maxlength="20" name="number"></input><focus field="number"></focus></part></fieldset></if><if value="var:type" equals="select"><fieldset><part><selectbox list="items" name="text"></selectbox><focus field="text"></focus></part></fieldset></if><if true="mode:edit"><if value="var:type" equals="longtext"><if value="var:editor" equals="wiki"><if present="languages"><fieldset title="message:editor_show_language"><part><list list="languages" key="languageid" value="languagename"><radio name="otherlanguageid" value="var:languageid"></radio><label for="otherlanguageid_{languageid}"><text var="languagename"></text></label><newline></newline></list></part></fieldset></if><fieldset title="message:PAGE_PREVIEW"><part><checkbox name="preview"></checkbox><label for="preview"><text key="PAGE_PREVIEW"></text></label></part></fieldset></if></if></if><if true="mode:edit"><fieldset title="message:options"><if present="release"><part><checkbox name="release"></checkbox><label for="release"><text text="GLOBAL_RELEASE"></text></label></part></if><if present="publish"><part><checkbox name="publish"></checkbox><label for="publish"><text text="PAGE_PUBLISH_AFTER_SAVE"></text></label></part></if></fieldset></if></window><button type="ok"></button></form></dummy></output>- \ No newline at end of file +<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.openrat.de/template ../template.xsd"> + <header views="link,import,export,archive"></header> + <form method="post"> + <input type="hidden" name="elementid"></input> + <input type="hidden" name="value_time"></input> + <window name="element"> + <text var="desc" class="help"></text> + <if value="var:type" equals="date"> + <if true="mode:edit"> + <fieldset title="message:calendar"> + <part> + <table width="85%" class="calendar"> + <row> + <cell colspan="8" class="help"> + <if true="mode:edit"> + <link url="var:lastmonthurl"> + <image file="left" align="middle"></image> + </link> + <text raw="_"></text> + </if> + <text var="monthname" type="strong"></text> + <if true="mode:edit"> + <text raw="_"></text> + <link url="var:nextmonthurl"> + <image file="right" align="middle"></image> + </link> + </if> + <text raw="_____"></text> + <if true="mode:edit"> + <link url="var:lastyearurl"> + <image file="left" align="middle"></image> + </link> + <text raw="_"></text> + </if> + <text var="yearname" type="strong"></text> + <if true="mode:edit"> + <text raw="_"></text> + <link url="var:nextyearurl"> + <image file="right" align="middle"></image> + </link> + </if> + </cell> + </row> + <row> + <cell> + <text key="week"></text> + </cell> + <list list="weekdays" value="weekday"> + <cell> + <text var="weekday"></text> + </cell> + </list> + </row> + <list list="weeklist" key="weeknr" value="week"> + <row> + <cell width="12%"> + <text var="weeknr"></text> + </cell> + <list list="week" extract="true"> + <cell width="12%"> + <if empty="url"> + <text raw="__"></text> + <text var="nr" type="strong"></text> + <text raw="__"></text> + </if> + <if not="true" empty="url"> + <link url="var:url"> + <text raw="__"></text> + <text var="nr"></text> + <text raw="__"></text> + </link> + </if> + <if true="var:today"> + <text raw="*"></text> + </if> + </cell> + </list> + </row> + </list> + </table> + </part> + </fieldset> + </if> + <fieldset title="message:date"> + <part> + <label for="year"> + <text key="date"></text> + </label> + <selectbox name="year" list="all_years"></selectbox> + <text raw="_-_"></text> + <selectbox name="month" list="all_months"></selectbox> + <text raw="_-_"></text> + <selectbox name="day" list="all_days"></selectbox> + </part> + <part> + <label for="hour"> + <text key="date_time"></text> + </label> + <selectbox name="hour" list="all_hours"></selectbox> + <text raw="_-_"></text> + <selectbox name="minute" list="all_minutes"></selectbox> + <text raw="_-_"></text> + <selectbox name="second" list="all_seconds"></selectbox> + </part> + </fieldset> + </if> + <if value="var:type" equals="text"> + <row> + <cell colspan="2"> + <input size="50" maxlength="255" class="text" name="text"></input> + <focus field="text"></focus> + </cell> + </row> + </if> + <if value="var:type" equals="longtext"> + <if present="preview"> + <part class="preview"> + <fieldset title="message:page_preview"> + <text var="preview" escape="false"></text> + </fieldset> + </part> + </if> + <if value="var:editor" equals="html"> + <editor type="html" name="text"></editor> + </if> + <if value="var:editor" equals="wiki"> + <if present="languagetext"> + <fieldset title="var:languagename"> + <text var="languagetext"></text> + </fieldset> + <newline></newline> + <newline></newline> + </if> + <editor type="wiki" name="text"></editor> + <if true="mode:edit"> + <fieldset title="message:help"> + <table> + <cell> + <text value="config:editor/text-markup/strong-begin"></text> + <text key="text_markup_strong"></text> + <text value="config:editor/text-markup/strong-end"></text> + <newline></newline> + <text value="config:editor/text-markup/emphatic-begin"></text> + <text key="text_markup_emphatic"></text> + <text value="config:editor/text-markup/emphatic-end"></text> + </cell> + <cell> + <text value="config:editor/text-markup/list-numbered"></text> + <text key="text_markup_numbered_list"></text> + <newline></newline> + <text value="config:editor/text-markup/list-numbered"></text> + <text raw="..."></text> + <newline></newline> + </cell> + <cell> + <text value="config:editor/text-markup/list-unnumbered"></text> + <text key="text_markup_unnumbered_list"></text> + <newline></newline> + <text value="config:editor/text-markup/list-unnumbered"></text> + <text raw="..."></text> + <newline></newline> + </cell> + <cell> + <text value="config:editor/text-markup/table-cell-sep"></text> + <text key="text_markup_table"></text> + <text value="config:editor/text-markup/table-cell-sep"></text> + <text raw="..."></text> + <text value="config:editor/text-markup/table-cell-sep"></text> + <text raw="..."></text> + <text value="config:editor/text-markup/table-cell-sep"></text> + <newline></newline> + <text value="config:editor/text-markup/table-cell-sep"></text> + <text raw="..."></text> + <text value="config:editor/text-markup/table-cell-sep"></text> + <text raw="..."></text> + <text value="config:editor/text-markup/table-cell-sep"></text> + <text raw="..."></text> + <text value="config:editor/text-markup/table-cell-sep"></text> + <newline></newline> + </cell> + </table> + </fieldset> + </if> + </if> + <if value="var:editor" equals="text"> + <inputarea class="longtext" name="text" rows="25" cols="70"></inputarea> + <focus field="text"></focus> + </if> + </if> + <if value="var:type" equals="link"> + <fieldset> + <part> + <label for="linkobjectid"> + <text key="link_target"></text> + </label> + <selectbox list="objects" name="linkobjectid" addempty="true"></selectbox> + <focus field="linkobjectid"></focus> + </part> + <if true="mode:edit"> + <part> + <label for="link_url"> + <text key="link_url"></text> + </label> + <input name="linkurl"></input> + </part> + </if> + </fieldset> + </if> + <if value="var:type" equals="list"> + <fieldset> + <part> + <selectbox list="objects" name="linkobjectid"></selectbox> + <focus field="linkobjectid"></focus> + </part> + </fieldset> + </if> + <if value="var:type" equals="insert"> + <fieldset> + <part> + <selectbox list="objects" name="linkobjectid"></selectbox> + <focus field="linkobjectid"></focus> + </part> + </fieldset> + </if> + <if value="var:type" equals="number"> + <fieldset> + <part> + <hidden name="decimals" default="decimals"></hidden> + <input size="15" maxlength="20" name="number"></input> + <focus field="number"></focus> + </part> + </fieldset> + </if> + <if value="var:type" equals="select"> + <fieldset> + <part> + <selectbox list="items" name="text"></selectbox> + <focus field="text"></focus> + </part> + </fieldset> + </if> + <if true="mode:edit"> + <if value="var:type" equals="longtext"> + <if value="var:editor" equals="wiki"> + <if present="languages"> + <fieldset title="message:editor_show_language"> + <part> + <list list="languages" key="languageid" value="languagename"> + <radio name="otherlanguageid" value="var:languageid"></radio> + <label for="otherlanguageid_{languageid}"> + <text var="languagename"></text> + </label> + <newline></newline> + </list> + </part> + </fieldset> + </if> + <fieldset title="message:PAGE_PREVIEW"> + <part> + <checkbox name="preview"></checkbox> + <label for="preview"> + <text key="PAGE_PREVIEW"></text> + </label> + </part> + </fieldset> + </if> + </if> + </if> + <fieldset title="message:options"> + <if present="release"> + <part> + <checkbox name="release"></checkbox> + <label for="release"> + <text text="GLOBAL_RELEASE"></text> + </label> + </part> + </if> + <if present="publish"> + <part> + <checkbox name="publish"></checkbox> + <label for="publish"> + <text text="PAGE_PUBLISH_AFTER_SAVE"></text> + </label> + </part> + </if> + </fieldset> + </window> + </form> +</output>+ \ No newline at end of file