openrat-cms

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

rights.tpl.src.xml (2338B)


      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 	<table>
      4 		<row header="true">
      5 			<column header="true" class="table-column-auto">
      6 				<text value="${message:NAME}"/>
      7 			</column>
      8 			<column header="true" class="table-column-auto">
      9 				<text value="${message:LANGUAGE}"/>
     10 			</column>
     11 			<column header="true" class="table-column-auto">
     12 				<text value="${message:acl}"/>
     13 			</column>
     14 			<column header="true" class="table-column-action">
     15 				<text value="${message:options}"/>
     16 			</column>
     17 		</row>
     18 		<if empty="${acls}">
     19 			<row class="data">
     20 				<column colspan="99">
     21 					<text value="${message:NOT_FOUND}"/>
     22 				</column>
     23 			</row>
     24 		</if>
     25 		<if not="true" empty="${acls}"/>
     26 		<list list="${acls}" key="aclid" value="acl" extract="true">
     27 			<row class="data">
     28 				<column>
     29 					<if value="${type}" equals="user">
     30 						<image action="user"/>
     31 					</if>
     32 					<if value="${type}" equals="group">
     33 						<image action="group"/>
     34 					</if>
     35 					<if value="${type}" equals="auth">
     36 						<image symbol="status-authenticated"/>
     37 					</if>
     38 					<if value="${type}" equals="guest">
     39 						<image symbol="status-guest"/>
     40 					</if>
     41 					<text value="${name}"/>
     42 				</column>
     43 				<column>
     44 					<text value="${languagename}"/>
     45 				</column>
     46 				<column>
     47 					<list list="${show}" value="t">
     48 						<set var="bit" value="${acl}" key="${t}"/>
     49 						<if true="${bit}">
     50 							<image permission="${t}" title="${message:acl_${t}}" />
     51 						</if>
     52 						<else>
     53 							<image symbol="blank" />
     54 						</else>
     55 					</list>
     56 				</column>
     57 				<column class="act-clickable">
     58 					<link type="post" subaction="delacl" var1="aclid" value1="${aclid}">
     59 						<image method="delete" title="${message:DELETE}" />
     60 					</link>
     61 				</column>
     62 			</row>
     63 		</list>
     64 		<row class="data">
     65 			<column colspan="4" class="act-clickable">
     66 				<link type="dialog" name="${message:menu_aclform}" subaction="aclform">
     67 					<image method="add" />
     68 					<text value="${message:add}"/>
     69 				</link>
     70 			</column>
     71 		</row>
     72 	</table>
     73 
     74 	<part class="act-clickable">
     75 		<link type="dialog" subaction="inherit" class="btn">
     76 			<image method="rights"/>
     77 			<text value="${message:ACL_TRANSMIT}"/>
     78 		</link>
     79 	</part>
     80 
     81 </output>