openrat-cms

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

commit 35c796316d16f55c7dca9e3a1c72c4bfb65e7bc2
parent ef2fd07c9f91884336f139c5a0d32055bda53914
Author: dankert <dankert@laptop-jan>
Date:   Wed, 20 Mar 2013 09:28:53 +0100

"Hinzufügen" immer also Dialog anzeigen.

Diffstat:
themes/default/templates/group/listing.tpl.src.xml | 31+++++++++++++++++++++++++++----
themes/default/templates/projectlist/add.tpl.src.xml | 19++++++++++---------
themes/default/templates/projectlist/show.tpl.src.xml | 3++-
themes/default/templates/userlist/show.tpl.src.xml | 3++-
4 files changed, 41 insertions(+), 15 deletions(-)

diff --git a/themes/default/templates/group/listing.tpl.src.xml b/themes/default/templates/group/listing.tpl.src.xml @@ -1,3 +1,26 @@ -<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"><dummy><window><table><row class="headline"><column><text key="name"></text></column></row><list list="el" extract="true"><row class="data"><column url="var:url"><image file="icon_group"></image><text var="name"></text></column></row></list><row><column><link class="action" action="group" subaction="add"><text key="menu_group_add"></text></link></column></row></table></window></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="add" /> + <table> + <row class="headline"> + <column> + <text key="name"></text> + </column> + </row> + <list list="el" extract="true"> + <row class="data"> + <column url="var:url"> + <image file="icon_group"></image> + <text var="name"></text> + </column> + </row> + </list> + <row> + <column> + <link type="dialog" class="action" action="group" subaction="add"> + <text key="menu_group_add"></text> + </link> + </column> + </row> + </table> +</output>+ \ No newline at end of file diff --git a/themes/default/templates/projectlist/add.tpl.src.xml b/themes/default/templates/projectlist/add.tpl.src.xml @@ -1,29 +1,30 @@ <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="post"> + <form> <part class="line"> <part class="label"> <text text="message:name"></text> </part> <part class="input"> - <input name="name" class="focus"></input> </part> </part> + <group title="message:options"> <part class="line"> <part class="label"> + </part> + <part class="input"> <radio name="type" value="empty" checked="true"></radio> <label for="type_empty"> <text key="empty"></text> </label> - <part class="input"> - <radio name="type" value="copy"></radio> - <label for="type_copy"> - <text key="copy"></text> - </label> - <selectbox name="projectid" list="projects"></selectbox> - </part> + <newline /> + <radio name="type" value="copy"></radio> + <label for="type_copy"> + <text key="copy"></text> + </label> + <selectbox name="projectid" list="projects"></selectbox> </part> </part> </group> diff --git a/themes/default/templates/projectlist/show.tpl.src.xml b/themes/default/templates/projectlist/show.tpl.src.xml @@ -1,5 +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"> + <header views="add" /> <table> <row class="headline"> <column> @@ -18,7 +19,7 @@ </list> <row class="data"> <column class="clickable"> - <link type="view" subaction="add"> + <link type="dialog" subaction="add" name="message:new"> <image icon="add" /> <text text="new" /> </link> diff --git a/themes/default/templates/userlist/show.tpl.src.xml b/themes/default/templates/userlist/show.tpl.src.xml @@ -1,5 +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"> + <header views="add" /> <table> <row class="headline"> <column> @@ -36,7 +37,7 @@ </list> <row class="data"> <column colspan="3" class="clickable"> - <link type="view" subaction="add"> + <link type="dialog" subaction="add" name="message:add"> <image icon="add"/> <text text="new"/> </link>