File modules/cms/ui/themes/default/html/views/object/rights.php

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 <?php /* THIS FILE IS GENERATED from rights.tpl.src.xml - DO NOT CHANGE */ defined('APP_STARTED') || die('Forbidden'); use \template_engine\Output as O; ?> 2 <div class="<?php echo O::escapeHtml('or-table-wrapper') ?>"><?php echo O::escapeHtml('') ?> 3 <div class="<?php echo O::escapeHtml('or-table-filter') ?>"><?php echo O::escapeHtml('') ?> 4 <input type="<?php echo O::escapeHtml('search') ?>" name="<?php echo O::escapeHtml('filter') ?>" placeholder="<?php echo O::escapeHtml(''.@O::lang('SEARCH_FILTER').'') ?>" class="<?php echo O::escapeHtml('or-input or-table-filter-input') ?>" /><?php echo O::escapeHtml('') ?> 5 </div> 6 <div class="<?php echo O::escapeHtml('or-table-area') ?>"><?php echo O::escapeHtml('') ?> 7 <table class="<?php echo O::escapeHtml('or-table') ?>"><?php echo O::escapeHtml('') ?> 8 <tr class="<?php echo O::escapeHtml('or-table-header') ?>"><?php echo O::escapeHtml('') ?> 9 <th class="<?php echo O::escapeHtml('or-table-column-auto') ?>"><?php echo O::escapeHtml('') ?> 10 <span><?php echo O::escapeHtml(''.@O::lang('NAME').'') ?></span> 11 </th> 12 <th class="<?php echo O::escapeHtml('or-table-column-auto') ?>"><?php echo O::escapeHtml('') ?> 13 <span><?php echo O::escapeHtml(''.@O::lang('LANGUAGE').'') ?></span> 14 </th> 15 <th class="<?php echo O::escapeHtml('or-table-column-auto') ?>"><?php echo O::escapeHtml('') ?> 16 <span><?php echo O::escapeHtml(''.@O::lang('acl').'') ?></span> 17 </th> 18 <th class="<?php echo O::escapeHtml('or-table-column-action') ?>"><?php echo O::escapeHtml('') ?> 19 <span><?php echo O::escapeHtml(''.@O::lang('options').'') ?></span> 20 </th> 21 </tr> 22 <?php $if3=(($acls)==FALSE); if($if3) { ?> 23 <tr class="<?php echo O::escapeHtml('or-data') ?>"><?php echo O::escapeHtml('') ?> 24 <td colspan="<?php echo O::escapeHtml('99') ?>"><?php echo O::escapeHtml('') ?> 25 <span><?php echo O::escapeHtml(''.@O::lang('NOT_FOUND').'') ?></span> 26 </td> 27 </tr> 28 <?php } ?> 29 <?php $if3=!(($acls)==FALSE); if($if3) { ?> 30 <?php } ?> 31 <?php foreach((array)@$acls as $aclid=>$acl) { extract($acl); ?> 32 <tr class="<?php echo O::escapeHtml('or-data') ?>"><?php echo O::escapeHtml('') ?> 33 <td><?php echo O::escapeHtml('') ?> 34 <?php $if6=($type=='user'); if($if6) { ?> 35 <i class="<?php echo O::escapeHtml('or-image-icon or-image-icon--action-user') ?>"><?php echo O::escapeHtml('') ?></i> 36 <?php } ?> 37 <?php $if6=($type=='group'); if($if6) { ?> 38 <i class="<?php echo O::escapeHtml('or-image-icon or-image-icon--action-group') ?>"><?php echo O::escapeHtml('') ?></i> 39 <?php } ?> 40 <?php $if6=($type=='auth'); if($if6) { ?> 41 <i class="<?php echo O::escapeHtml('or-image-icon or-image-icon--status-authenticated') ?>"><?php echo O::escapeHtml('') ?></i> 42 <?php } ?> 43 <?php $if6=($type=='guest'); if($if6) { ?> 44 <i class="<?php echo O::escapeHtml('or-image-icon or-image-icon--status-guest') ?>"><?php echo O::escapeHtml('') ?></i> 45 <?php } ?> 46 <span><?php echo O::escapeHtml(''.@$name.'') ?></span> 47 </td> 48 <td><?php echo O::escapeHtml('') ?> 49 <span><?php echo O::escapeHtml(''.@$languagename.'') ?></span> 50 </td> 51 <td><?php echo O::escapeHtml('') ?> 52 <?php foreach((array)@$show as $list_key=>$t) { ?> 53 <?php { $bit= $acl[''.@$t.'']; ?> 54 <?php } ?> 55 <?php $if7=($bit); if($if7) { ?> 56 <i title="<?php echo O::escapeHtml(''.@O::lang('acl_'.@$t.'').'') ?>" class="<?php echo O::escapeHtml('or-image-icon or-image-icon--permission-'.@$t.'') ?>"><?php echo O::escapeHtml('') ?></i> 57 <?php } ?> 58 <?php if(!$if7) { ?> 59 <i class="<?php echo O::escapeHtml('or-image-icon or-image-icon--blank') ?>"><?php echo O::escapeHtml('') ?></i> 60 <?php } ?> 61 <?php } ?> 62 </td> 63 <td class="<?php echo O::escapeHtml('or-act-clickable') ?>"><?php echo O::escapeHtml('') ?> 64 <a target="<?php echo O::escapeHtml('_self') ?>" data-type="<?php echo O::escapeHtml('post') ?>" data-action="<?php echo O::escapeHtml('') ?>" data-method="<?php echo O::escapeHtml('delacl') ?>" data-id="<?php echo O::escapeHtml('') ?>" data-extra-aclid="<?php echo O::escapeHtml(''.@$aclid.'') ?>" data-extra="<?php echo O::escapeHtml('{&quot;aclid&quot;:&quot;'.@$aclid.'&quot;}') ?>" data-data="<?php echo O::escapeHtml('{"action":"object","subaction":"delacl","id":"","token":"'.@$_token.'","aclid":"'.@$aclid.'","none":0}') ?>" class="<?php echo O::escapeHtml('or-link') ?>"><?php echo O::escapeHtml('') ?> 65 <i title="<?php echo O::escapeHtml(''.@O::lang('DELETE').'') ?>" class="<?php echo O::escapeHtml('or-image-icon or-image-icon--method-delete') ?>"><?php echo O::escapeHtml('') ?></i> 66 </a> 67 </td> 68 </tr> 69 <?php } ?> 70 <tr class="<?php echo O::escapeHtml('or-data') ?>"><?php echo O::escapeHtml('') ?> 71 <td colspan="<?php echo O::escapeHtml('4') ?>" class="<?php echo O::escapeHtml('or-act-clickable') ?>"><?php echo O::escapeHtml('') ?> 72 <a target="<?php echo O::escapeHtml('_self') ?>" data-name="<?php echo O::escapeHtml(''.@O::lang('menu_aclform').'') ?>" name="<?php echo O::escapeHtml(''.@O::lang('menu_aclform').'') ?>" data-type="<?php echo O::escapeHtml('dialog') ?>" data-action="<?php echo O::escapeHtml('') ?>" data-method="<?php echo O::escapeHtml('aclform') ?>" data-id="<?php echo O::escapeHtml('') ?>" data-extra="<?php echo O::escapeHtml('[]') ?>" href="<?php echo O::escapeHtml('') ?>" class="<?php echo O::escapeHtml('or-link') ?>"><?php echo O::escapeHtml('') ?> 73 <i class="<?php echo O::escapeHtml('or-image-icon or-image-icon--method-add') ?>"><?php echo O::escapeHtml('') ?></i> 74 <span><?php echo O::escapeHtml(''.@O::lang('add').'') ?></span> 75 </a> 76 </td> 77 </tr> 78 </table> 79 </div> 80 </div> 81 <div class="<?php echo O::escapeHtml('or-act-clickable') ?>"><?php echo O::escapeHtml('') ?> 82 <a target="<?php echo O::escapeHtml('_self') ?>" data-type="<?php echo O::escapeHtml('dialog') ?>" data-action="<?php echo O::escapeHtml('') ?>" data-method="<?php echo O::escapeHtml('inherit') ?>" data-id="<?php echo O::escapeHtml('') ?>" data-extra="<?php echo O::escapeHtml('[]') ?>" href="<?php echo O::escapeHtml('') ?>" class="<?php echo O::escapeHtml('or-link or-btn') ?>"><?php echo O::escapeHtml('') ?> 83 <i class="<?php echo O::escapeHtml('or-image-icon or-image-icon--method-rights') ?>"><?php echo O::escapeHtml('') ?></i> 84 <span><?php echo O::escapeHtml(''.@O::lang('ACL_TRANSMIT').'') ?></span> 85 </a> 86 </div>
Download modules/cms/ui/themes/default/html/views/object/rights.php
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 Wed, 17 Mar 2021 02:18:50 +0100 Jan Dankert Refactoring: Using "Jquery slim" without ajax and effects. Tue, 16 Mar 2021 02:38:13 +0100 Jan Dankert Fix: Using the new FormData object instead of JQuery (JQuery's serialize-functions are not available in the slim version) Mon, 8 Mar 2021 01:24:06 +0100 Jan Dankert New: Action menu on many lists; tables have now a fixed layout Sat, 6 Mar 2021 02:31:06 +0100 Jan Dankert Fix: Inheriting rights was missing. Thu, 4 Mar 2021 02:00:11 +0100 Jan Dankert New: Show all page filenames in info. Wed, 10 Feb 2021 00:00:21 +0100 Jan Dankert Using only fullscreen views; Navigate to parent instead of complete breadcrumb. Sun, 15 Nov 2020 21:52:19 +0100 Jan Dankert Optimized template element renderer: Elements without children are closed in the same line. This fixes the space problem in HTML textareas. Mon, 9 Nov 2020 22:24:27 +0100 Jan Dankert New: Setting the CSS class of tables. Sat, 31 Oct 2020 02:41:43 +0100 Jan Dankert Fix: Language key "new" is crashing in PHP 5.x. Sat, 31 Oct 2020 00:43:29 +0100 Jan Dankert New: Support for OpenId Connect; Removed: Support for LDAP. Mon, 26 Oct 2020 21:36:14 +0100 Jan Dankert Rename css class 'clickable' to 'act-clickable'; enhanced view 'info' for projects. Sun, 25 Oct 2020 02:11:58 +0200 Jan Dankert Fix: The config was not read in the templates :-O. Sat, 24 Oct 2020 23:51:11 +0200 Jan Dankert Cleanup LESS files, introduce BEM. Thu, 22 Oct 2020 14:14:32 +0200 Jan Dankert The href-attribute of links should contain a relative url for internal links. Thu, 22 Oct 2020 13:54:16 +0200 Jan Dankert A notice for generated files. Wed, 21 Oct 2020 00:26:06 +0200 Jan Dankert Using fieldsets in all templates (replacing the old '') Sat, 10 Oct 2020 01:29:41 +0200 Jan Dankert Refactoring: Only using CSS classes with the 'or-'-prefix. Sat, 3 Oct 2020 00:50:14 +0200 Jan Dankert Fix: Show the rights of node objects. Fri, 2 Oct 2020 23:11:48 +0200 Jan Dankert Cleanup: No '.inputholder' any more, notices with links to objects. Sun, 27 Sep 2020 04:09:05 +0200 Jan Dankert Refactoring: The tree functions should use normal templates as the other actions. Beware of the JS hell. Sat, 26 Sep 2020 21:05:03 +0200 Jan Dankert Refactoring: An alias for the Output class, this results in a cleaner template. Sat, 26 Sep 2020 13:11:23 +0200 Jan Dankert Refactoring: No global variables any more. All constants are capsulated by classes. Sat, 26 Sep 2020 04:03:53 +0200 Jan Dankert Refactoring: read language keys with a class. Sat, 29 Aug 2020 03:23:06 +0200 Jan Dankert Refactoring: Improved Exception-Handling; New: Generating pages using a page context which considers page aliases. Mon, 17 Aug 2020 22:52:37 +0200 Jan Dankert Cleanup: Killing the old odd 'GLOBAL_' message prefixes. Mon, 18 May 2020 00:09:14 +0200 Jan Dankert Fix: wellformed JSON-string in links. 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}}. Thu, 27 Feb 2020 22:30:13 +0100 Jan Dankert New: ValueExpressions are able to contain other Value objects. Now data-driven messages are possible again :) Sun, 23 Feb 2020 23:22:50 +0100 Jan Dankert First template compilation with new element renderer. Sun, 23 Feb 2020 04:01:30 +0100 Jan Dankert Refactoring with Namespaces for the cms modules, part 1: moving.