]> git.wh0rd.org Git - tt-rss.git/commitdiff
pref-feeds: only show more actions dropdown when _ENABLE_FEED_DEBUGGING is defined
authorAndrew Dolgov <fox@bah.org.ru>
Sun, 24 Jan 2010 16:32:36 +0000 (19:32 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Sun, 24 Jan 2010 16:32:36 +0000 (19:32 +0300)
modules/pref-feeds.php

index f6ab572fa8c9849b62b7f574f922f8c3bce68951..59159733798c4924b2da5057ae9c582c6d03be48 100644 (file)
                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"]);