]> git.wh0rd.org - tt-rss.git/commitdiff
require feed debugging for frontend feed update button
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 11 Nov 2010 13:55:38 +0000 (16:55 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 11 Nov 2010 13:55:38 +0000 (16:55 +0300)
tt-rss.php

index 1452bd297b0207118ad5be688a41f3e8df9584ad..a4814b2709fb55cba811c052547f653e967c81a2 100644 (file)
                        <option value="score"><?php echo __('Score') ?></option>
                </select>
 
+               <?php if (defined('_ENABLE_FEED_DEBUGGING')) { ?>
+
                <button name="update" onclick="return viewCurrentFeed('ForceUpdate')">
                        <?php echo __('Update') ?></button>
 
+               <?php } ?>
+
                <button onclick="return catchupCurrentFeed()">
                        <?php echo __('Mark as read') ?></button>