1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-06 05:29:22 +00:00

replace catchupCurrentFeed dropdown with a better control

This commit is contained in:
Andrew Dolgov
2013-04-03 18:20:14 +04:00
parent 686852d548
commit e3ca32a818
2 changed files with 16 additions and 23 deletions

View File

@@ -187,15 +187,20 @@
<option value="date_reverse"><?php echo __('Oldest first') ?></option>
</select>
<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>
<div dojoType="dijit.form.ComboButton" onclick="catchupCurrentFeed()">
<span><?php echo __('Mark as read') ?></span>
<div dojoType="dijit.DropDownMenu">
<div dojoType="dijit.MenuItem" onclick="catchupCurrentFeed('1day')">
<?php echo __('Older than one day') ?>
</div>
<div dojoType="dijit.MenuItem" onclick="catchupCurrentFeed('1week')">
<?php echo __('Older than one week') ?>
</div>
<div dojoType="dijit.MenuItem" onclick="catchupCurrentFeed('2week')">
<?php echo __('Older than two weeks') ?>
</div>
</div>
</div>
</form>