diff --git a/backend.php b/backend.php
index 2dba06efd..f32b8c214 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 "