prefs: small usability improvements, feed panel allows searching for category
This commit is contained in:
parent
b7268281f9
commit
cea04d61a2
|
@ -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>
|
||||
|
|
|
@ -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>";
|
||||
|
||||
|
|
|
@ -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>";
|
||||
|
||||
|
|
|
@ -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>";
|
||||
|
||||
|
|
Loading…
Reference in New Issue