rights.tpl.src.xml (2452B)
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 <list list="projects" extract="true"> 4 5 <group title="var:projectname"> 6 <if empty="rights"> 7 <part> 8 <text text="GLOBAL_NOT_FOUND"></text> 9 </part> 10 </if> 11 <if not="true" empty="rights"> 12 <table> 13 <row class="headline"> 14 <column class="help"> 15 <text text="GLOBAL_USER"></text> 16 </column> 17 <column class="help"> 18 <text text="GLOBAL_NAME"></text> 19 </column> 20 <column class="help"> 21 <text text="GLOBAL_LANGUAGE"></text> 22 </column> 23 <list list="show" value="t"> 24 <column class="help"> 25 <text key="var:t" prefix="acl_" suffix="_abbrev" title="message:acl_{t}"></text> 26 </column> 27 </list> 28 </row> 29 <list list="rights" key="aclid" value="acl" extract="true"> 30 <row class="data clickable"> 31 <column> 32 <if present="username"> 33 <image action="user"></image> 34 <text var="username" maxlength="20"></text> 35 </if> 36 <if present="groupname"> 37 <image action="group"></image> 38 <text var="groupname" maxlength="20"></text> 39 </if> 40 <if not="true" present="username"> 41 <if not="true" present="groupname"> 42 <image action="group"></image> 43 <text key="global_all"></text> 44 </if> 45 </if> 46 <set var="username"></set> 47 <set var="groupname"></set> 48 </column> 49 <column> 50 <image action="var:objecttype"></image> 51 <link type="open" action="var:objecttype" id="var:objectid"> 52 <text var="objectname" title="message:select"></text> 53 </link> 54 </column> 55 <column> 56 <image action="language"></image> 57 <text var="languagename" maxlength="20"></text> 58 </column> 59 <list list="show"> 60 <column> 61 <set var="var:list_value" value="var:bits" key="var:list_value"></set> 62 <checkbox name="var:list_value" readonly="true"></checkbox> 63 </column> 64 </list> 65 </row> 66 </list> 67 </table> 68 </if> 69 </group> 70 </list> 71 </output>