summaryrefslogtreecommitdiff
path: root/lib/adminpanelaction.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-01-28 22:04:14 -0800
committerZach Copley <zach@status.net>2010-01-28 22:04:14 -0800
commit440ee00b1ed9c1b0b552c14b72c962a79e1a402e (patch)
treeb9cb4e66385a43367e5be572baf3bdb406106542 /lib/adminpanelaction.php
parent292ac40cae211d209899d1e13148483585483330 (diff)
Move sessions settings to its own panel
Diffstat (limited to 'lib/adminpanelaction.php')
-rw-r--r--lib/adminpanelaction.php11
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));