summaryrefslogtreecommitdiff
path: root/modules/pref-feeds.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-10-06 13:37:24 +0400
committerAndrew Dolgov <[email protected]>2009-10-06 13:37:24 +0400
commitcea04d61a243089db7c4680c19d61cc57786aadf (patch)
tree45bf62127ff94f66d095c1602abd247ef4b95719 /modules/pref-feeds.php
parentb7268281f9938fe34e008feafa95fe9bdec048c6 (diff)
prefs: small usability improvements, feed panel allows searching for category
Diffstat (limited to 'modules/pref-feeds.php')
-rw-r--r--modules/pref-feeds.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php
index 0a5db475f..6aec17336 100644
--- a/modules/pref-feeds.php
+++ b/modules/pref-feeds.php
@@ -1157,6 +1157,7 @@
if ($feed_search) {
$search_qpart = "(UPPER(F1.title) LIKE UPPER('%$feed_search%') OR
+ UPPER(C1.title) LIKE UPPER('%$feed_search%') OR
UPPER(F1.feed_url) LIKE UPPER('%$feed_search%')) AND";
} else {
$search_qpart = "";
@@ -1406,6 +1407,17 @@
}
print "</select>";
+ } else {
+
+ print "<p>";
+
+ if (!$feed_search) {
+ print_warning(__("You don't have any subscribed feeds."));
+ } else {
+ print_warning(__('No matching feeds found.'));
+ }
+ print "</p>";
+
}
print "<h3>".__('OPML')."</h3>