Added admin navigation item to MobileProfile

This commit is contained in:
Sarven Capadisli 2009-12-21 15:09:12 +00:00
parent 0957c9fa4b
commit 5472779240

View File

@ -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'));