pref-feeds: only show more actions dropdown when _ENABLE_FEED_DEBUGGING is defined

This commit is contained in:
Andrew Dolgov 2010-01-24 19:32:36 +03:00
parent 81b6e50c7f
commit 51c78a881c
1 changed files with 15 additions and 17 deletions

View File

@ -1192,6 +1192,8 @@
print "<button onclick=\"javascript:removeSelectedFeeds()\">"
.__('Unsubscribe')."</button> ";
if (defined('_ENABLE_FEED_DEBUGGING')) {
print "<select id=\"feedActionChooser\" onchange=\"feedActionChange()\">
<option value=\"facDefault\" selected>".__('More actions...')."</option>";
@ -1206,11 +1208,7 @@
print "</select>";
/* if (ENABLE_FEED_BROWSER && !SINGLE_USER_MODE) {
print " <input type=\"submit\" class=\"button\"
id=\"top25_feeds_btn\"
onclick=\"javascript:browseFeeds()\" value=\"".__('More feeds')."\">";
} */
}
$feeds_sort = db_escape_string($_REQUEST["sort"]);