pref-feeds: only show more actions dropdown when _ENABLE_FEED_DEBUGGING is defined
This commit is contained in:
parent
81b6e50c7f
commit
51c78a881c
|
@ -1192,26 +1192,24 @@
|
||||||
print "<button onclick=\"javascript:removeSelectedFeeds()\">"
|
print "<button onclick=\"javascript:removeSelectedFeeds()\">"
|
||||||
.__('Unsubscribe')."</button> ";
|
.__('Unsubscribe')."</button> ";
|
||||||
|
|
||||||
print "<select id=\"feedActionChooser\" onchange=\"feedActionChange()\">
|
if (defined('_ENABLE_FEED_DEBUGGING')) {
|
||||||
<option value=\"facDefault\" selected>".__('More actions...')."</option>";
|
|
||||||
|
print "<select id=\"feedActionChooser\" onchange=\"feedActionChange()\">
|
||||||
|
<option value=\"facDefault\" selected>".__('More 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>";
|
||||||
|
|
||||||
|
print "</select>";
|
||||||
|
|
||||||
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>";
|
|
||||||
|
|
||||||
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"]);
|
$feeds_sort = db_escape_string($_REQUEST["sort"]);
|
||||||
|
|
||||||
if (!$feeds_sort || $feeds_sort == "undefined") {
|
if (!$feeds_sort || $feeds_sort == "undefined") {
|
||||||
|
|
Loading…
Reference in New Issue