diff options
author | Brion Vibber <brion@pobox.com> | 2010-03-03 11:42:02 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-03-03 11:42:02 -0800 |
commit | 13521cb510f2377e9b865b0506f92ada9ef9b3cd (patch) | |
tree | 253eb64f09ecc821ba273cee88514775495b5f97 /plugins/MobileProfile/MobileProfilePlugin.php | |
parent | e793b5661c2344371a14dfb87b0302a95da5ea48 (diff) | |
parent | ccd0db1e0a928fe914c894966ecf2260964a68f0 (diff) |
Merge branch 'testing' of git@gitorious.org:statusnet/mainline
Diffstat (limited to 'plugins/MobileProfile/MobileProfilePlugin.php')
-rw-r--r-- | plugins/MobileProfile/MobileProfilePlugin.php | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php index f788639ae..0b37734b7 100644 --- a/plugins/MobileProfile/MobileProfilePlugin.php +++ b/plugins/MobileProfile/MobileProfilePlugin.php @@ -307,23 +307,14 @@ class MobileProfilePlugin extends WAP20Plugin function _showPrimaryNav($action) { $user = common_current_user(); - $connect = ''; - if (common_config('xmpp', 'enabled')) { - $connect = 'imsettings'; - } else if (common_config('sms', 'enabled')) { - $connect = 'smssettings'; - } - $action->elementStart('ul', array('id' => 'site_nav_global_primary')); if ($user) { $action->menuItem(common_local_url('all', array('nickname' => $user->nickname)), _('Home')); $action->menuItem(common_local_url('profilesettings'), _('Account')); - if ($connect) { - $action->menuItem(common_local_url($connect), + $action->menuItem(common_local_url('oauthconnectionssettings'), _('Connect')); - } if ($user->hasRight(Right::CONFIGURESITE)) { $action->menuItem(common_local_url('siteadminpanel'), _('Admin'), _('Change site configuration'), false, 'nav_admin'); |