summaryrefslogtreecommitdiff
path: root/tt-rss.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-11 16:55:38 +0300
committerAndrew Dolgov <[email protected]>2010-11-11 16:55:38 +0300
commitb0d32d324ceedd5134861dee9af2e3f251ed0b6a (patch)
treef8ac9462df8f86616af07b1f34d60bfc4e42e6d4 /tt-rss.php
parent6946cc50db6b5d30aee6e6746943d7609738a37c (diff)
require feed debugging for frontend feed update button
Diffstat (limited to 'tt-rss.php')
-rw-r--r--tt-rss.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tt-rss.php b/tt-rss.php
index 1452bd297..a4814b270 100644
--- a/tt-rss.php
+++ b/tt-rss.php
@@ -226,9 +226,13 @@
<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>