summaryrefslogtreecommitdiff
path: root/lib/adminpanelaction.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-01-26 15:56:19 -0800
committerZach Copley <zach@status.net>2010-01-26 15:56:19 -0800
commitaad42427ccd4d3824efcbce43d8e9dba6d5b475d (patch)
treef5821cf4fb580c9f8040ef2418283294a01e93d2 /lib/adminpanelaction.php
parent03685bba1ea6c1b8f2c3db8d2f095a221b29a464 (diff)
New access admin panel for site registration settings
Diffstat (limited to 'lib/adminpanelaction.php')
-rw-r--r--lib/adminpanelaction.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/adminpanelaction.php b/lib/adminpanelaction.php
index a6981ac61..f62bfa458 100644
--- a/lib/adminpanelaction.php
+++ b/lib/adminpanelaction.php
@@ -319,12 +319,17 @@ class AdminPanelNav extends Widget
if ($this->canAdmin('user')) {
$this->out->menuItem(common_local_url('useradminpanel'), _('User'),
- _('Paths configuration'), $action_name == 'useradminpanel', 'nav_design_admin_panel');
+ _('User configuration'), $action_name == 'useradminpanel', 'nav_design_admin_panel');
}
- if ($this->canAdmin('paths')) {
- $this->out->menuItem(common_local_url('pathsadminpanel'), _('Paths'),
- _('Paths configuration'), $action_name == 'pathsadminpanel', 'nav_design_admin_panel');
+ if ($this->canAdmin('access')) {
+ $this->out->menuItem(common_local_url('accessadminpanel'), _('Access'),
+ _('Access configuration'), $action_name == 'accessadminpanel', 'nav_design_admin_panel');
+ }
+
+ if ($this->canAdmin('paths')) {
+ $this->out->menuItem(common_local_url('pathsadminpanel'), _('Paths'),
+ _('Paths configuration'), $action_name == 'pathsadminpanel', 'nav_design_admin_panel');
}
Event::handle('EndAdminPanelNav', array($this));