diff options
author | Sarven Capadisli <csarven@status.net> | 2009-12-21 15:09:12 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2009-12-21 15:09:12 +0000 |
commit | 5472779240aad58b6fc841e2f15b63de8cfa14af (patch) | |
tree | e96b61775a9957ca4bbdf829e777d61a014b322e /plugins/MobileProfile | |
parent | 0957c9fa4bfd7c77af454b92cf87f3e2d0a0e9ea (diff) |
Added admin navigation item to MobileProfile
Diffstat (limited to 'plugins/MobileProfile')
-rw-r--r-- | plugins/MobileProfile/MobileProfilePlugin.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php index 35678bedd..14d2500e8 100644 --- a/plugins/MobileProfile/MobileProfilePlugin.php +++ b/plugins/MobileProfile/MobileProfilePlugin.php @@ -316,6 +316,10 @@ class MobileProfilePlugin extends WAP20Plugin $action->menuItem(common_local_url($connect), _('Connect')); } + if ($user->hasRight(Right::CONFIGURESITE)) { + $action->menuItem(common_local_url('siteadminpanel'), + _('Admin'), _('Change site configuration'), false, 'nav_admin'); + } if (common_config('invite', 'enabled')) { $action->menuItem(common_local_url('invite'), _('Invite')); |