From cea04d61a243089db7c4680c19d61cc57786aadf Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 6 Oct 2009 13:37:24 +0400 Subject: prefs: small usability improvements, feed panel allows searching for category --- modules/pref-feeds.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'modules/pref-feeds.php') 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 ""; + } else { + + print "

"; + + if (!$feed_search) { + print_warning(__("You don't have any subscribed feeds.")); + } else { + print_warning(__('No matching feeds found.')); + } + print "

"; + } print "

".__('OPML')."

-- cgit v1.2.3-54-g00ecf