summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-01-24 19:32:36 +0300
committerAndrew Dolgov <[email protected]>2010-01-24 19:32:36 +0300
commit51c78a881c8df94180c1144ab813c4fae1a8ef50 (patch)
tree7aa85e4ac6beebdf9aefcfa39772240e55b5776e /modules
parent81b6e50c7fd20a424038f0131ae4ecbb8d104ca9 (diff)
pref-feeds: only show more actions dropdown when _ENABLE_FEED_DEBUGGING is defined
Diffstat (limited to 'modules')
-rw-r--r--modules/pref-feeds.php32
1 files changed, 15 insertions, 17 deletions
diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php
index f6ab572fa..591597337 100644
--- a/modules/pref-feeds.php
+++ b/modules/pref-feeds.php
@@ -1192,25 +1192,23 @@
print "<button onclick=\"javascript:removeSelectedFeeds()\">"
.__('Unsubscribe')."</button> ";
- print "<select id=\"feedActionChooser\" onchange=\"feedActionChange()\">
- <option value=\"facDefault\" selected>".__('More actions...')."</option>";
+ if (defined('_ENABLE_FEED_DEBUGGING')) {
- 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>";
+ 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 (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"]);