diff options
author | Andrew Dolgov <[email protected]> | 2013-03-31 12:37:42 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-31 12:37:42 +0400 |
commit | c8b693cf7f8616e4dc37ee2f370a01b6642ac7f5 (patch) | |
tree | 9520a60643e476a6afaab1ceacb400510595968e /index.php | |
parent | bf1fee83471cc9efef9f8d3ade0cd00b84633cf1 (diff) |
implement catchup with selectable updated criteria
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -194,9 +194,15 @@ onclick="viewCurrentFeed()"> <?php echo __('Update') ?></button> - <button dojoType="dijit.form.Button" - onclick="catchupCurrentFeed()"> - <?php echo __('Mark as read') ?></button> + <select title="<?php echo __('Mark feed as read') ?>" + onchange="catchupCurrentFeed(this)" + dojoType="dijit.form.Select" name="catchup_feed"> + <option selected="selected" value="default"><?php echo __('Mark as read') ?></option> + <option value="all"><?php echo __('All articles') ?></option> + <option value="1day"><?php echo __('Older than one day') ?></option> + <option value="1week"><?php echo __('Older than one week') ?></option> + <option value="2weeks"><?php echo __('Older than two weeks') ?></option> + </select> </form> |