Changeset 305
- Timestamp:
- 2009-07-03 19:13:42 (3 years ago)
- Files:
-
- trunk/admin/classes/pages/Permissions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/admin/classes/pages/Permissions.php
r279 r305 40 40 // define 'standard' groups 41 41 $_def_groups = array_keys($STATUS); 42 foreach ($_def_groups as $key=>$_group) {43 $_def_groups[$key] = str_replace('_', ' ', $_group);44 }45 42 // define pages to exclude (these are mostly those which have forum-specific rights assigned 46 43 $_exclude_pages = Array('Page', 'Category', 'Forum', 'Topic', 'Newpoll', 'Reply', 'Moderate', 'Newtopic'); … … 137 134 $form->addInput('hidden', 'commit', 'y'); 138 135 $form->createTable('adminform'); 139 $this->html->body->addElement(new XMLElement('<div><b>' . $LANG['Group'] . ': ' . $ row->name. '</b></div>'));136 $this->html->body->addElement(new XMLElement('<div><b>' . $LANG['Group'] . ': ' . $STATUS[$row->name] . '</b></div>')); 140 137 $this->html->body->addChild('br'); 141 138 $this->html->body->addChild('div', $LANG['help_editing_permissions']);
