prefs: small usability improvements, feed panel allows searching for category

This commit is contained in:
Andrew Dolgov 2009-10-06 13:37:24 +04:00
parent b7268281f9
commit cea04d61a2
4 changed files with 18 additions and 6 deletions

View file

@ -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>

View file

@ -510,9 +510,9 @@
print "<p>";
if (!$filter_search) {
print __('No filters defined.');
print_warning(__('No filters defined.'));
} else {
print __('No matching filters found.');
print_warning(__('No matching filters found.'));
}
print "</p>";

View file

@ -237,9 +237,9 @@
} else {
print "<p>";
if (!$label_search) {
print __('No labels defined.');
print_warning(__('No labels defined.'));
} else {
print __('No matching labels found.');
print_warning(__('No matching labels found.'));
}
print "</p>";

View file

@ -478,9 +478,9 @@
} else {
print "<p>";
if (!$user_search) {
print __('No users defined.');
print_warning(__('No users defined.'));
} else {
print __('No matching users found.');
print_warning(__('No matching users found.'));
}
print "</p>";