diff options
author | Zach Copley <zach@status.net> | 2010-01-28 22:04:14 -0800 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-01-28 22:04:14 -0800 |
commit | 440ee00b1ed9c1b0b552c14b72c962a79e1a402e (patch) | |
tree | b9cb4e66385a43367e5be572baf3bdb406106542 /lib/adminpanelaction.php | |
parent | 292ac40cae211d209899d1e13148483585483330 (diff) |
Move sessions settings to its own panel
Diffstat (limited to 'lib/adminpanelaction.php')
-rw-r--r-- | lib/adminpanelaction.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/adminpanelaction.php b/lib/adminpanelaction.php index f62bfa458..f05627b31 100644 --- a/lib/adminpanelaction.php +++ b/lib/adminpanelaction.php @@ -327,9 +327,14 @@ class AdminPanelNav extends Widget _('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'); + if ($this->canAdmin('paths')) { + $this->out->menuItem(common_local_url('pathsadminpanel'), _('Paths'), + _('Paths configuration'), $action_name == 'pathsadminpanel', 'nav_design_admin_panel'); + } + + if ($this->canAdmin('sessions')) { + $this->out->menuItem(common_local_url('sessionsadminpanel'), _('Sessions'), + _('Sessions configuration'), $action_name == 'sessionsadminpanel', 'nav_design_admin_panel'); } Event::handle('EndAdminPanelNav', array($this)); |