Commit 54727792 authored by Sarven Capadisli's avatar Sarven Capadisli

Added admin navigation item to MobileProfile

parent 0957c9fa
......@@ -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'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment