]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/defaultlocalnav.php
Merge remote-tracking branch 'mainline/1.0.x' into people_tags_rebase
[quix0rs-gnu-social.git] / lib / defaultlocalnav.php
index 93eaf73393cc4f71a2fa14f607a760f276732305..b9b45c8e010950ce9bb8ddfd96d9e0b4cf73a5cf 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2011, StatusNet, Inc.
  *
  * Default local nav
- * 
+ *
  * PHP version 5
  *
  * This program is free software: you can redistribute it and/or modify
@@ -44,7 +44,6 @@ if (!defined('STATUSNET')) {
  * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
  * @link      http://status.net/
  */
-
 class DefaultLocalNav extends Menu
 {
     function show()
@@ -54,15 +53,14 @@ class DefaultLocalNav extends Menu
         $user = common_current_user();
 
         if (!empty($user)) {
-            $pn = new PersonalGroupNav($this->action, $user);
-            $this->submenu(_m('Home'), $pn);
-
-            $sn = new SubGroupNav($this->action, $user);
-            $this->submenu(_m('Profile'), $sn);
+            $pn = new PersonalGroupNav($this->action);
+            // TRANS: Menu item in default local navigation panel.
+            $this->submenu(_m('MENU','Home'), $pn);
         }
 
         $bn = new PublicGroupNav($this->action);
-        $this->submenu(_('Public'), $bn);
+        // TRANS: Menu item in default local navigation panel.
+        $this->submenu(_m('MENU','Public'), $bn);
 
         $this->action->elementEnd('ul');
     }