File modules/cms/ui/themes/default/html/views/object/rights.tpl.src.xml

Last commit: Sat Nov 27 22:28:51 2021 +0100	Jan Dankert	UI-Cleanup for the permission list. Now this is much better for small displays.
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>
Download modules/cms/ui/themes/default/html/views/object/rights.tpl.src.xml
History Sat, 27 Nov 2021 22:28:51 +0100 Jan Dankert UI-Cleanup for the permission list. Now this is much better for small displays. Sat, 17 Apr 2021 01:40:04 +0200 Jan Dankert Cleanup table layouts Sat, 6 Mar 2021 02:31:06 +0100 Jan Dankert Fix: Inheriting rights was missing. Sat, 31 Oct 2020 02:41:43 +0100 Jan Dankert Fix: Language key "new" is crashing in PHP 5.x. Mon, 26 Oct 2020 21:36:14 +0100 Jan Dankert Rename css class 'clickable' to 'act-clickable'; enhanced view 'info' for projects. Wed, 21 Oct 2020 00:26:06 +0200 Jan Dankert Using fieldsets in all templates (replacing the old '') Sat, 3 Oct 2020 00:50:14 +0200 Jan Dankert Fix: Show the rights of node objects. Mon, 17 Aug 2020 22:52:37 +0200 Jan Dankert Cleanup: Killing the old odd 'GLOBAL_' message prefixes. Sat, 16 May 2020 01:08:40 +0200 Jan Dankert Refactoring: Switching the ValueExpressions in the templates to the new VariableResolver for supporting nested variables like ${message:prefix_${key}}. Sun, 23 Feb 2020 23:21:22 +0100 Jan Dankert Fix: Path to template.xsd has changed on the last refactoring. Sun, 23 Feb 2020 04:01:30 +0100 Jan Dankert Refactoring with Namespaces for the cms modules, part 1: moving.