]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/personalgroupnav.php
people tag UI elements
[quix0rs-gnu-social.git] / lib / personalgroupnav.php
index 72d0893af732a3574b1593e5c70a41befc608338..ccd4ab506fcc4b992dd7af31ab749e410180896b 100644 (file)
@@ -109,6 +109,12 @@ class PersonalGroupNav extends Widget
                                  _('Favorites'),
                                  sprintf(_('%s\'s favorite notices'), ($user_profile) ? $name : _('User')),
                                  $action == 'showfavorites', 'nav_timeline_favorites');
+            $this->out->menuItem(common_local_url('peopletagsbyuser', array('nickname' =>
+                                                                  $nickname)),
+                             _('People tags'),
+                             sprintf(_('People tags by %s'), ($user_profile) ? $user_profile->getBestName() : _('User')),
+                             in_array($action, array('peopletagsbyuser', 'peopletagsforuser')),
+                             'nav_timeline_peopletags');
 
             $cur = common_current_user();