mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-04 04:39:14 +00:00
rework feed-prefs ops toolbar
This commit is contained in:
@@ -983,16 +983,35 @@
|
||||
print "</table>";
|
||||
|
||||
print "<p><span id=\"feedOpToolbar\">";
|
||||
|
||||
print "<input type=\"submit\" class=\"button\" disabled=\"true\"
|
||||
|
||||
print "<select id=\"feedActionChooser\" onchange=\"feedActionChange()\">
|
||||
<option value=\"facDefault\" selected>".__('Actions...')."</option>
|
||||
<option disabled>--------</option>
|
||||
<option style=\"color : #5050aa\" disabled>".__('Selection:')."</option>
|
||||
<option value=\"facEdit\"> ".__('Edit')."</option>
|
||||
<option value=\"facPurge\"> ".__('Purge')."</option>
|
||||
<option value=\"facClear\"> ".__('Clear feed data')."</option>
|
||||
<option value=\"facUnsubscribe\"> ".__('Unsubscribe')."</option>";
|
||||
|
||||
if (get_pref($link, 'ENABLE_FEED_CATS')) {
|
||||
|
||||
print "<option disabled>--------</option>
|
||||
<option style=\"color : #5050aa\" disabled>".__('Other:')."</option>
|
||||
<option value=\"facEditCats\"> ".__('Edit categories')."
|
||||
</option>";
|
||||
}
|
||||
|
||||
print "</select>";
|
||||
|
||||
/* print "<input type=\"submit\" class=\"button\" disabled=\"true\"
|
||||
onclick=\"javascript:editSelectedFeed()\" value=\"".__('Edit')."\">
|
||||
<input type=\"submit\" class=\"button\" disabled=\"true\"
|
||||
onclick=\"javascript:removeSelectedFeeds()\"
|
||||
value=\"".__('Unsubscribe')."\">";
|
||||
value=\"".__('Unsubscribe')."\">"; */
|
||||
|
||||
if (get_pref($link, 'ENABLE_FEED_CATS')) {
|
||||
|
||||
print " | ";
|
||||
print " | " . __('Selection:');
|
||||
|
||||
print_feed_cat_select($link, "sfeed_set_fcat", "", "disabled");
|
||||
|
||||
@@ -1005,9 +1024,9 @@
|
||||
|
||||
if (get_pref($link, 'ENABLE_FEED_CATS')) {
|
||||
|
||||
print " <input type=\"submit\" class=\"button\"
|
||||
/* print " <input type=\"submit\" class=\"button\"
|
||||
onclick=\"javascript:editFeedCats()\" value=\"".
|
||||
__("Edit categories")."\">";
|
||||
__("Edit categories")."\">"; */
|
||||
|
||||
# print " | ";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user