diff options
author | Andrew Dolgov <[email protected]> | 2010-01-11 18:43:53 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-01-11 18:43:53 +0300 |
commit | 1e5548db5423d9dae79ee0c607392f3838ca7e6d (patch) | |
tree | 5e75955a1d5a330534940969e6a8fd23db1654d7 /modules/pref-feeds.php | |
parent | 698776460d3cd7075024b8795dbbaf7132415890 (diff) |
prefs: reorganize toolbar buttons
Diffstat (limited to 'modules/pref-feeds.php')
-rw-r--r-- | modules/pref-feeds.php | 63 |
1 files changed, 33 insertions, 30 deletions
diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 5330a4ffa..86c7c9ebc 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -1133,7 +1133,37 @@ print "<input onclick=\"javascript:displayDlg('quickAddFeed')\" type=\"submit\" id=\"subscribe_to_feed_btn\" - class=\"button\" value=\"".__('Subscribe to feed')."\">"; + class=\"button\" value=\"".__('Subscribe to feed')."\"> "; + + print "<input onclick=\"javascript:editSelectedFeed()\" + type=\"submit\" + class=\"button\" value=\"".__('Edit feeds')."\"> "; + + if (get_pref($link, 'ENABLE_FEED_CATS')) { + + print "<input onclick=\"javascript:editFeedCats()\" + type=\"submit\" + class=\"button\" value=\"".__('Edit categories')."\"> "; + } + + print "<input onclick=\"javascript:removeSelectedFeeds()\" + type=\"submit\" + class=\"button\" value=\"".__('Unsubscribe')."\"> "; + +/* print "<select id=\"feedActionChooser\" onchange=\"feedActionChange()\"> + <option value=\"facDefault\" selected>".__('Other actions...')."</option>"; + + if (FORCE_ARTICLE_PURGE == 0) { + print + "<option value=\"facPurge\">".__('Manual purge')."</option>"; + } + + print " + <option value=\"facClear\">".__('Clear feed data')."</option> + <option value=\"facRescore\">".__('Rescore articles')."</option> + <option value=\"facUnsubscribe\">".__('Unsubscribe')."</option>"; + + print "</select>"; */ /* if (ENABLE_FEED_BROWSER && !SINGLE_USER_MODE) { print " <input type=\"submit\" class=\"button\" @@ -1362,7 +1392,7 @@ print "<p>"; - print "<div id=\"feedOpToolbar\">"; +/* print "<div id=\"feedOpToolbar\">"; if (get_pref($link, 'ENABLE_FEED_CATS')) { @@ -1375,35 +1405,8 @@ __('Recategorize')."\">"; } - print "</div>"; - - print "<select id=\"feedActionChooser\" onchange=\"feedActionChange()\"> - <option value=\"facDefault\" selected>".__('Actions...')."</option> - <optgroup label=\"".__('Selection:')."\"> - <option value=\"facEdit\">".__('Edit')."</option>"; + print "</div>"; */ - if (FORCE_ARTICLE_PURGE == 0) { - print - "<option value=\"facPurge\">".__('Manual purge')."</option>"; - } - - print " - <option value=\"facClear\">".__('Clear feed data')."</option> - <option value=\"facRescore\">".__('Rescore articles')."</option> - <option value=\"facUnsubscribe\">".__('Unsubscribe')."</option>"; - - print "</optgroup>"; - - if (get_pref($link, 'ENABLE_FEED_CATS')) { - - print "<optgroup label=\"".__('Other:')."\"> - <option value=\"facEditCats\">".__('Edit categories')." - </option> - </optgroup>"; - - } - - print "</select>"; } else { print "<p>"; |