From 6cfa22dcd20c89e64815b392538c1547fa014de7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 5 May 2008 08:18:14 +0100 Subject: [PATCH] subtoolbar tweaks, properly display search results title for vfeeds --- functions.php | 57 +++++++++++++++++++++++++++++++++++++++++++++++---- tt-rss.css | 2 +- 2 files changed, 54 insertions(+), 5 deletions(-) diff --git a/functions.php b/functions.php index 30a63934..4ed1f4b6 100644 --- a/functions.php +++ b/functions.php @@ -3231,10 +3231,13 @@ } else if ($feed == -1) { $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)"; } } else if ($feed == -3) { $feed_title = __("Fresh articles"); + if ($search) { $feed_title = __("Searched for") . " $search ($feed_title)"; } } else if ($feed < -10) { $label_id = -$feed - 11; $result = db_query($link, "SELECT description FROM ttrss_labels @@ -3851,8 +3854,54 @@ if (!$dashboard_menu) { if (strpos($_SESSION["client.userAgent"], "MSIE") === false) { - + print " + "; + +/* print "