openrat-cms

# OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs

rights.tpl.src.xml (2115B)


      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 
      4 	<if value="var:type" equals="folder">
      5 		<header views="inherit,aclform" />
      6 	</if>
      7 	<else>
      8 		<header views="aclform" />
      9 	</else>
     10 
     11 	<table>
     12 		<row class="headline">
     13 			<column class="help">
     14 				<text key="GLOBAL_NAME"></text>
     15 			</column>
     16 			<column class="help">
     17 				<text key="GLOBAL_LANGUAGE"></text>
     18 			</column>
     19 			<list list="show" value="t">
     20 				<column class="help">
     21 					<text key="var:t" prefix="acl_" suffix="_abbrev"></text>
     22 				</column>
     23 			</list>
     24 			<column class="help">
     25 				<text key="global_delete"></text>
     26 			</column>
     27 		</row>
     28 		<if empty="acls">
     29 			<row class="data">
     30 				<column colspan="99">
     31 					<text text="GLOBAL_NOT_FOUND"></text>
     32 				</column>
     33 			</row>
     34 		</if>
     35 		<if not="true" empty="acls"></if>
     36 		<list list="acls" key="aclid" value="acl" extract="true">
     37 			<row class="data">
     38 				<column>
     39 					<if present="username">
     40 						<image action="user"></image>
     41 						<text var="username"></text>
     42 					</if>
     43 					<if present="groupname">
     44 						<image action="group"></image>
     45 						<text var="groupname"></text>
     46 					</if>
     47 					<if not="true" present="username">
     48 						<if not="true" present="groupname">
     49 							<image action="group"></image>
     50 							<text key="global_all"></text>
     51 						</if>
     52 					</if>
     53 				</column>
     54 				<column>
     55 					<text var="languagename"></text>
     56 				</column>
     57 				<list list="show" value="t">
     58 					<column>
     59 						<if true="var:$t">
     60 							<text raw="&amp;check;" escape="true" />
     61 						</if>
     62 					</column>
     63 				</list>
     64 				<column class="clickable">
     65 					<link type="post" subaction="delacl" var1="aclid" value1="var:aclid">
     66 						<text key="GLOBAL_DELETE"></text>
     67 					</link>
     68 				</column>
     69 			</row>
     70 		</list>
     71 		<row class="data">
     72 			<column colspan="99" class="clickable">
     73 				<link type="dialog" name="message:menu_aclform" subaction="aclform">
     74 					<image method="add" />
     75 					<text text="new" />
     76 				</link>
     77 
     78 			</column>
     79 		</row>
     80 	</table>
     81 </output>