]> git.wh0rd.org Git - tt-rss.git/commitdiff
make label category browseable (fix title)
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 18 Jan 2009 18:04:44 +0000 (19:04 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 18 Jan 2009 18:04:44 +0000 (19:04 +0100)
functions.php

index f1e9bb1f2839a9bf499c16ab8f1af7c536b6a3ee..cd14aba52c2fd5e371f6986d885b9ce18ebb2261 100644 (file)
                                $feed_title = __("Starred articles");
                                if ($search) {  $feed_title = __("Searched for") . " $search ($feed_title)"; }
                        } else if ($feed == -2) {
-                               $feed_title = __("Published articles");
-                               if ($search) {  $feed_title = __("Searched for") . " $search ($feed_title)"; }
+                               if (!$cat_view) {
+                                       $feed_title = __("Published articles");
+                                       if ($search) {  $feed_title = __("Searched for") . " $search ($feed_title)"; }
+                               } else {
+                                       $feed_title = __("Labels");
+                               }
                        } else if ($feed == -3) {
                                $feed_title = __("Fresh articles");
                                if ($search) {  $feed_title = __("Searched for") . " $search ($feed_title)"; }