diff options
author | Brion Vibber <brion@pobox.com> | 2010-03-16 14:18:37 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-03-16 16:01:00 -0700 |
commit | d9a9fd3779c592e3f4e0a8aea8e385ee2183c0b3 (patch) | |
tree | 3d2772790750960f4f4113076fe782cd3c4d40de /lib/adminpanelaction.php | |
parent | 910108b9ae18d75782f236248be9770a8d2efb9c (diff) |
Stub plugins administration panel, allows for disabling/re-enabling plugins from the default plugins list.
Diffstat (limited to 'lib/adminpanelaction.php')
-rw-r--r-- | lib/adminpanelaction.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/adminpanelaction.php b/lib/adminpanelaction.php index a927e2333..d87981b6a 100644 --- a/lib/adminpanelaction.php +++ b/lib/adminpanelaction.php @@ -407,6 +407,14 @@ class AdminPanelNav extends Widget $menu_title, $action_name == 'snapshotadminpanel', 'nav_snapshot_admin_panel'); } + if (AdminPanelAction::canAdmin('plugins')) { + // TRANS: Menu item title/tooltip + $menu_title = _('Plugins configuration'); + // TRANS: Menu item for site administration + $this->out->menuItem(common_local_url('pluginsadminpanel'), _('Plugins'), + $menu_title, $action_name == 'pluginsadminpanel', 'nav_design_admin_panel'); + } + Event::handle('EndAdminPanelNav', array($this)); } $this->action->elementEnd('ul'); |