]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/tag.php
moving delete profile to its own space.
[quix0rs-gnu-social.git] / actions / tag.php
index 75bf6c8bfb76267ed56850926e754f689ecfd4dc..034072a6bff405ab2ef4c168425e58f257c5f5be 100644 (file)
@@ -48,7 +48,7 @@ class TagAction extends StreamAction {
        }
 
        function show_header($tag = false) {
-               if (false && $tag) {
+               if ($tag) {
                        common_element('link', array('rel' => 'alternate',
                                                                                 'href' => common_local_url('tagrss', array('tag' => $tag)),
                                                                                 'type' => 'application/rss+xml',
@@ -67,21 +67,8 @@ class TagAction extends StreamAction {
                        common_element_start('div', 'instructions');
                        common_raw($output);
                        common_element_end('div');
+                       $this->public_views_menu();
                }
-
-               common_element_start('ul', array('id' => 'nav_views'));
-
-               common_menu_item(common_local_url('tags'),
-                                                _('Recent Tags'),
-                                                _('Recent Tags'),
-                                                !$tag);
-               if ($tag) {
-                       common_menu_item(common_local_url('tag', array('tag' => $tag)),
-                                                        '#' . $tag,
-                                                        sprintf(_("Notices tagged with %s"), $tag),
-                                                        true);
-               }
-               common_element_end('ul');
        }
 
        function show_tags()