require feed debugging for frontend feed update button

This commit is contained in:
Andrew Dolgov 2010-11-11 16:55:38 +03:00
parent 6946cc50db
commit b0d32d324c
1 changed files with 4 additions and 0 deletions

View File

@ -226,9 +226,13 @@
<option value="score"><?php echo __('Score') ?></option> <option value="score"><?php echo __('Score') ?></option>
</select> </select>
<?php if (defined('_ENABLE_FEED_DEBUGGING')) { ?>
<button name="update" onclick="return viewCurrentFeed('ForceUpdate')"> <button name="update" onclick="return viewCurrentFeed('ForceUpdate')">
<?php echo __('Update') ?></button> <?php echo __('Update') ?></button>
<?php } ?>
<button onclick="return catchupCurrentFeed()"> <button onclick="return catchupCurrentFeed()">
<?php echo __('Mark as read') ?></button> <?php echo __('Mark as read') ?></button>