summaryrefslogtreecommitdiff
path: root/modules/pref-feeds.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-01-28 18:52:46 +0300
committerAndrew Dolgov <[email protected]>2010-01-28 18:52:46 +0300
commita522a76734328818dd9d863a424a609d56728df6 (patch)
tree7380bb538b4ebabe9a134dc3e33204b02a2d6e8a /modules/pref-feeds.php
parente8f2df110d3b82c1eb578c88963aa87e4233d1f8 (diff)
Revert "theme_image: do not display themed image if noone is logged in"
bad patch This reverts commit 0b9751cd650c917d3e7f5dc5493483f8b026bf21.
Diffstat (limited to 'modules/pref-feeds.php')
-rw-r--r--modules/pref-feeds.php33
1 files changed, 15 insertions, 18 deletions
diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php
index 0329a1298..591597337 100644
--- a/modules/pref-feeds.php
+++ b/modules/pref-feeds.php
@@ -1192,26 +1192,23 @@
print "<button onclick=\"javascript:removeSelectedFeeds()\">"
.__('Unsubscribe')."</button> ";
-/* print "<select id=\"feedActionChooser\" onchange=\"feedActionChange()\">
- <option value=\"facDefault\" selected>".__('Other 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>
- <option value=\"facUnsubscribe\">".__('Unsubscribe')."</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"]);