Changeset 4861 in subversion
- Timestamp:
- Jun 17, 2011 4:07:43 AM (2 years ago)
- File:
-
- 1 edited
-
trunk/plugins/acl/acl.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/acl/acl.php
r4809 r4861 97 97 } 98 98 */ 99 // Namespace root 100 if ($args['options']['is_root']) { 101 return $args; 102 } 103 104 // Get MYRIGHTS 105 if (!($myrights = $args['options']['rights'])) { 106 return $args; 107 } 108 99 109 // Do nothing if no ACL support 100 110 if (!$this->rc->imap->get_capability('ACL')) { 101 return $args;102 }103 104 // Get MYRIGHTS105 if (!($myrights = $args['options']['rights'])) {106 111 return $args; 107 112 } … … 212 217 $this->gettext('acl'.$key))); 213 218 } 214 219 215 220 $out .= "\n" . html::tag('ul', $attrib, $ul, html::$common_attrib); 216 221 … … 442 447 // Save state in user preferences 443 448 $this->rc->user->save_prefs(array('acl_advanced_mode' => $advanced)); 444 449 445 450 $out = $this->list_rights(); 446 451 … … 456 461 * 457 462 * @return string HTML content 458 */ 463 */ 459 464 function acl2text($rights) 460 465 {
Note: See TracChangeset
for help on using the changeset viewer.
