From 3c88195bcbdd35603f810dc7c57d9a29a52f84cb Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 18 Jan 2009 19:04:44 +0100 Subject: [PATCH] make label category browseable (fix title) --- functions.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index f1e9bb1f..cd14aba5 100644 --- a/functions.php +++ b/functions.php @@ -3317,8 +3317,12 @@ $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)"; } -- 2.39.5