openrat-cms

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

commit 050e7e0843b8bfa52d6fb5f1da90bfad6f23c1a2
parent 8ad620461e810c25a1f4fd108078c20e194560ad
Author: Jan Dankert <devnull@localhost>
Date:   Mon, 28 Nov 2011 22:22:41 +0100

Layout korrigiert.

Diffstat:
themes/default/templates/object/aclform.tpl.src.xml | 79+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/templates/object/rights.tpl.src.xml | 96+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
2 files changed, 171 insertions(+), 4 deletions(-)

diff --git a/themes/default/templates/object/aclform.tpl.src.xml b/themes/default/templates/object/aclform.tpl.src.xml @@ -0,0 +1,78 @@ +<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 back="true" /> + <form> + <fieldset title="message:users"> + <part class="line"> + <part class="label"> + <radio name="type" value="all"></radio> + <label for="type" value="all"> + <text text="GLOBAL_ALL"></text> + </label> + </part> + <part class="input"> + </part> + </part> + <part class="line"> + <part class="label"> + <radio name="type" value="user"></radio> + <label for="type" value="user"> + <text text="GLOBAL_USER"></text> + </label> + </part> + <part class="input"> + <selectbox name="userid" list="users" addempty="true"></selectbox> + </part> + </part> + <if present="groups"> + <part class="line"> + <part class="label"> + <radio name="type" value="group"></radio> + <label for="type" value="group"> + <text text="GLOBAL_GROUP"></text> + </label> + </part> + <part class="input"> + <selectbox name="groupid" list="groups" addempty="true"></selectbox> + </part> + </part> + </if> + </fieldset> + + <fieldset title="message:language"> + <part class="line"> + <part class="label"> + <label for="languageid"> + <text text="GLOBAL_LANGUAGE"></text> + </label> + </part> + + <part class="input"> + <selectbox name="languageid" list="languages"></selectbox> + </part> + </part> + </fieldset> + + <fieldset title="message:acl"> + <part class="line"> + <part class="label"> + </part> + <part class="input"> + <list list="show" value="t" key="k"> + <part> + <if value="var:t" equals="read"> + <set var="var:t" value="true"></set> + <checkbox name="var:t" readonly="true"></checkbox> + </if> + <else><set var="var:t" value="false"></set><checkbox name="var:t" + readonly="false"></checkbox></else> + <label for="var:t" value=""> + <text key="var:t" prefix="acl_"></text> + </label> + </part> + </list> + </part> + </part> + </fieldset> + </form> +</output>+ \ No newline at end of file diff --git a/themes/default/templates/object/rights.tpl.src.xml b/themes/default/templates/object/rights.tpl.src.xml @@ -1,3 +1,91 @@ -<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><form><window><table><row class="headline"><cell class="help"><text key="GLOBAL_NAME"></text></cell><cell class="help"><text key="GLOBAL_LANGUAGE"></text></cell><list list="show" value="t"><cell class="help"><text key="var:t" prefix="acl_" suffix="_abbrev"></text></cell></list><cell class="help"><text key="global_delete"></text></cell></row><if empty="acls"><row class="data"><cell><text text="GLOBAL_NOT_FOUND"></text></cell></row></if><if not="true" empty="acls"></if><list list="acls" key="aclid" value="acl" extract="true"><row class="data"><cell><if present="username"><image type="user"></image><text var="username"></text></if><if present="groupname"><image type="group"></image><text var="groupname"></text></if><if not="true" present="username"><if not="true" present="groupname"><image type="group"></image><text key="global_all"></text></if></if></cell><cell><text var="languagename"></text></cell><list list="show" value="t"><cell><checkbox name="var:t" default="false" readonly="true"></checkbox></cell></list><cell><link type="post" subaction="delacl" id="var:aclid"><text key="GLOBAL_DELETE"></text></link></cell></row></list><if value="var:type" equals="folder"><row><cell colspan="15"><fieldset title="message:options"></fieldset></cell></row><row><cell colspan="15"><set var="inherit" value="1"></set><input type="checkbox" name="inherit"></input><label for="inherit"><text key="inherit_rights"></text></label></cell></row></if><row><cell class="act" colspan="15"><button type="ok"></button><link type="view" class="action" action="var:actionName" subaction="aclform"><image icon="add"></image><text key="add"></text></link></cell></row></table></window></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="aclform" /> + <form> + <table> + <row class="headline"> + <cell class="help"> + <text key="GLOBAL_NAME"></text> + </cell> + <cell class="help"> + <text key="GLOBAL_LANGUAGE"></text> + </cell> + <list list="show" value="t"> + <cell class="help"> + <text key="var:t" prefix="acl_" suffix="_abbrev"></text> + </cell> + </list> + <cell class="help"> + <text key="global_delete"></text> + </cell> + </row> + <if empty="acls"> + <row class="data"> + <cell> + <text text="GLOBAL_NOT_FOUND"></text> + </cell> + </row> + </if> + <if not="true" empty="acls"></if> + <list list="acls" key="aclid" value="acl" extract="true"> + <row class="data"> + <cell> + <if present="username"> + <image type="user"></image> + <text var="username"></text> + </if> + <if present="groupname"> + <image type="group"></image> + <text var="groupname"></text> + </if> + <if not="true" present="username"> + <if not="true" present="groupname"> + <image type="group"></image> + <text key="global_all"></text> + </if> + </if> + </cell> + <cell> + <text var="languagename"></text> + </cell> + <list list="show" value="t"> + <cell> + <checkbox name="var:t" default="false" readonly="true"></checkbox> + </cell> + </list> + <cell> + <link type="post" subaction="delacl" id="var:aclid"> + <text key="GLOBAL_DELETE"></text> + </link> + </cell> + </row> + </list> + <if value="var:type" equals="folder"> + <row> + <cell colspan="15"> + <fieldset title="message:options"></fieldset> + </cell> + </row> + <row> + <cell colspan="15"> + <set var="inherit" value="1"></set> + <input type="checkbox" name="inherit"></input> + <label for="inherit"> + <text key="inherit_rights"></text> + </label> + </cell> + </row> + </if> + <row> + <cell class="act" colspan="15"> + <button type="ok"></button> + <link type="view" class="action" action="var:actionName" + subaction="aclform"> + <image icon="add"></image> + <text key="add"></text> + </link> + </cell> + </row> + </table> + </form> +</output>+ \ No newline at end of file