openrat-cms

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

commit 6e2b059c8f27bf215a991a641cc1365eff7c1f27
parent da48f662e8a4936d4ec60bf0b2b31e80b7f7c276
Author: Jan Dankert <devnull@localhost>
Date:   Tue, 23 Oct 2012 00:20:17 +0200

Kleiner Fehler der Templates.

Diffstat:
themes/default/templates/page/changetemplate.tpl.src.xml | 2+-
themes/default/templates/page/changetemplateselectelements.tpl.src.xml | 2+-
themes/default/templates/page/info.tpl.src.xml | 179++++++++++++++++++++++++++++++++++++++-----------------------------------------
themes/default/templates/page/prop.tpl.src.xml | 91+------------------------------------------------------------------------------
4 files changed, 88 insertions(+), 186 deletions(-)

diff --git a/themes/default/templates/page/changetemplate.tpl.src.xml b/themes/default/templates/page/changetemplate.tpl.src.xml @@ -1,6 +1,6 @@ <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"> - <form method="get" subaction="changetemplateselectelements"> + <form method="get" subaction="changetemplateselectelements" visible="true" cancel="true" label="message:BUTTON_NEXT"> <part class="line"> <part class="label"> <text text="page_template_old"></text> diff --git a/themes/default/templates/page/changetemplateselectelements.tpl.src.xml b/themes/default/templates/page/changetemplateselectelements.tpl.src.xml @@ -1,6 +1,6 @@ <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"> - <form> + <form visible="true" cancel="true" label="message:MENU_CHANGETEMPLATE"> <hidden name="newtemplateid" /> <list list="elements" extract="true"> <part class="line"> diff --git a/themes/default/templates/page/info.tpl.src.xml b/themes/default/templates/page/info.tpl.src.xml @@ -5,118 +5,109 @@ <group> <part class="line"> <part class="label"> - <text text="global_name"></text> + <text text="global_name"></text> </part> <part class="input"> - <text var="name" class="name"/> + <text var="name" class="name" /> </part> </part> <part class="line"> <part class="label"> - <text text="global_filename"></text> + <text text="global_filename"></text> </part> <part class="input"> - <text var="filename"/> + <text var="filename" /> </part> </part> <part class="line"> <part class="label"> - <text text="global_description"></text> + <text text="global_description"></text> </part> <part class="input"> <text var="description" class="description" /> </part> </part> </group> - <if false="mode:edit"> - <group title="message:additional_info"> - <part class="line"> - <part class="label"> - <label for="full_filename"> - <text text="global_full_filename"></text> - </label> - </part> - <part class="input"> - <text var="full_filename" class="filename"></text> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="template_name"> - <text text="global_template"></text> - </label> - </part> - <part class="input"> - <if present="template_url"> - <link url="var:template_url" target="cms_main"> - <image icon="template"></image> - <text var="template_name"></text> - </link> - </if> - <if empty="template_url"> - <image file="icon_template"></image> + <group title="message:additional_info"> + <part class="line"> + <part class="label"> + <label for="full_filename"> + <text text="global_full_filename"></text> + </label> + </part> + <part class="input"> + <text var="full_filename" class="filename"></text> + </part> + </part> + <part class="line"> + <part class="label"> + <label for="template_name"> + <text text="global_template"></text> + </label> + </part> + <part class="input"> + <if present="template_url"> + <link url="var:template_url" target="cms_main"> + <image icon="template"></image> <text var="template_name"></text> - </if> - <newline></newline> - <if false="mode:edit"> - <link class="action" action="page" subaction="changetemplate"> - <image icon="template"></image> - <text key="menu_page_changetemplate"></text> - </link> - </if> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="mime_type"> - <text key="FILE_MIMETYPE"></text> - </label> - </part> - <part class="input"> - <text var="mime_type" class="filename"></text> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="objectid"> - <text key="id"></text> - </label> - </part> - <part class="input"> - <text var="objectid"></text> - </part> - </part> - </group> - <group title="message:prop_userinfo"> - <part class="line"> - <part class="label"> - <label for="create_date"> - <text text="global_created"></text> - </label> - </part> - <part class="input"> - <image icon="el_date"></image> - <date date="var:create_date"></date> - <newline></newline> - <image icon="user"></image> - <user user="var:create_user"></user> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="lastchange_date"> - <text text="global_lastchange"></text> - </label> - </part> - <part class="input"> - <image icon="el_date"></image> - <date date="var:lastchange_date"></date> - <newline></newline> - <image icon="user"></image> - <user user="var:lastchange_user"></user> - </part> - </part> - </group> - </if> + </link> + </if> + <if empty="template_url"> + <image file="icon_template"></image> + <text var="template_name"></text> + </if> + </part> + </part> + <part class="line"> + <part class="label"> + <label for="mime_type"> + <text key="FILE_MIMETYPE"></text> + </label> + </part> + <part class="input"> + <text var="mime_type" class="filename"></text> + </part> + </part> + <part class="line"> + <part class="label"> + <label for="objectid"> + <text key="id"></text> + </label> + </part> + <part class="input"> + <text var="objectid"></text> + </part> + </part> + </group> + <group title="message:prop_userinfo"> + <part class="line"> + <part class="label"> + <label for="create_date"> + <text text="global_created"></text> + </label> + </part> + <part class="input"> + <image icon="el_date"></image> + <date date="var:create_date"></date> + <newline></newline> + <image icon="user"></image> + <user user="var:create_user"></user> + </part> + </part> + <part class="line"> + <part class="label"> + <label for="lastchange_date"> + <text text="global_lastchange"></text> + </label> + </part> + <part class="input"> + <image icon="el_date"></image> + <date date="var:lastchange_date"></date> + <newline></newline> + <image icon="user"></image> + <user user="var:lastchange_user"></user> + </part> + </part> + </group> </form> </output> \ No newline at end of file diff --git a/themes/default/templates/page/prop.tpl.src.xml b/themes/default/templates/page/prop.tpl.src.xml @@ -32,95 +32,6 @@ <inputarea name="description" class="description"></inputarea> </part> </part> - <if false="mode:edit"> - <group title="message:additional_info"> - <part class="line"> - <part class="label"> - <label for="full_filename"> - <text text="global_full_filename"></text> - </label> - </part> - <part class="input"> - <text var="full_filename" class="filename"></text> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="template_name"> - <text text="global_template"></text> - </label> - </part> - <part class="input"> - <if present="template_url"> - <link url="var:template_url" target="cms_main"> - <image icon="template"></image> - <text var="template_name"></text> - </link> - </if> - <if empty="template_url"> - <image file="icon_template"></image> - <text var="template_name"></text> - </if> - <newline></newline> - <if false="mode:edit"> - <link class="action" action="page" subaction="changetemplate"> - <image icon="template"></image> - <text key="menu_page_changetemplate"></text> - </link> - </if> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="mime_type"> - <text key="FILE_MIMETYPE"></text> - </label> - </part> - <part class="input"> - <text var="mime_type" class="filename"></text> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="objectid"> - <text key="id"></text> - </label> - </part> - <part class="input"> - <text var="objectid"></text> - </part> - </part> - </group> - <group title="message:prop_userinfo"> - <part class="line"> - <part class="label"> - <label for="create_date"> - <text text="global_created"></text> - </label> - </part> - <part class="input"> - <image icon="el_date"></image> - <date date="var:create_date"></date> - <newline></newline> - <image icon="user"></image> - <user user="var:create_user"></user> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="lastchange_date"> - <text text="global_lastchange"></text> - </label> - </part> - <part class="input"> - <image icon="el_date"></image> - <date date="var:lastchange_date"></date> - <newline></newline> - <image icon="user"></image> - <user user="var:lastchange_user"></user> - </part> - </part> - </group> - </if> + </form> </output> \ No newline at end of file