summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-31 12:37:42 +0400
committerAndrew Dolgov <[email protected]>2013-03-31 12:37:42 +0400
commitc8b693cf7f8616e4dc37ee2f370a01b6642ac7f5 (patch)
tree9520a60643e476a6afaab1ceacb400510595968e /index.php
parentbf1fee83471cc9efef9f8d3ade0cd00b84633cf1 (diff)
implement catchup with selectable updated criteria
Diffstat (limited to 'index.php')
-rw-r--r--index.php12
1 files changed, 9 insertions, 3 deletions
diff --git a/index.php b/index.php
index f79621977..d9363644c 100644
--- a/index.php
+++ b/index.php
@@ -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>