From: Andrew Dolgov Date: Mon, 9 Jan 2006 09:47:02 +0000 (+0100) Subject: various search-related improvements X-Git-Tag: schema_freeze_for_1.1.2~12 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=49b7cbd3518828e35f37ce2ce87cc7038de1d567;p=tt-rss.git various search-related improvements --- diff --git a/backend.php b/backend.php index 2dba06ef..f32b8c21 100644 --- a/backend.php +++ b/backend.php @@ -1198,9 +1198,9 @@ $feed_title = ""; if ($search && $search_mode == "All feeds") { - $feed_title = "Search results"; + $feed_title = "Global search results ($search)"; } else if (sprintf("%d", $feed) == 0) { - $feed_title = $feed; + $feed_title = "Feed search results ($search, $feed)"; } else if ($feed > 0) { $result = db_query($link, "SELECT title,site_url,last_error FROM ttrss_feeds WHERE id = '$feed'"); @@ -3047,13 +3047,21 @@ if ($id == "search") { + $active_feed_id = db_escape_string($_GET["param"]); + print " + "; + + if ($active_feed_id) { + print ""; + } else { + print ""; + } + + print "