add catchup button to main toolbar

This commit is contained in:
Andrew Dolgov 2010-01-04 11:40:19 +03:00
parent 451b19c058
commit 938052bac8
2 changed files with 13 additions and 13 deletions

View File

@ -4115,23 +4115,20 @@
<li onclick=\"$tog_unread_link\">&nbsp;&nbsp;".__('Unread')."</li>
<li onclick=\"$tog_marked_link\">&nbsp;&nbsp;".__('Starred')."</li>
<li onclick=\"$tog_published_link\">&nbsp;&nbsp;".__('Published')."</li>
<!-- <li><span class=\"insensitive\">--------</span></li> -->
<li class=\"insensitive\">".__('Mark as read:')."</li>
<li onclick=\"$catchup_sel_link\">&nbsp;&nbsp;".__('Selection')."</li>";
<li class=\"insensitive\">".__('Selection:')."</li>
<li onclick=\"$catchup_sel_link\">&nbsp;&nbsp;".__('Mark as read')."</li>";
print "<li onclick=\"$catchup_feed_link\">&nbsp;&nbsp;".__('Entire feed').
"</li>";
// print "<li onclick=\"$catchup_feed_link\">&nbsp;&nbsp;".__('Entire feed').
// "</li>";
if ($feed_id != "0") {
print "<li class=\"insensitive\">".__('Selection:')."</li>
<li onclick=\"$archive_sel_link\">&nbsp;&nbsp;".__('Archive')."</li>
<li onclick=\"$delete_sel_link\">&nbsp;&nbsp;".__('Delete')."</li>";
print "<li onclick=\"$archive_sel_link\">&nbsp;&nbsp;".__('Archive')."</li>";
} else {
print "<li class=\"insensitive\">".__('Selection:')."</li>
<li onclick=\"$archive_sel_link\">&nbsp;&nbsp;".__('Move back')."</li>
<li onclick=\"$delete_sel_link\">&nbsp;&nbsp;".__('Delete')."</li>";
print "<li onclick=\"$archive_sel_link\">&nbsp;&nbsp;".__('Move back')."</li>";
}
print "<li onclick=\"$delete_sel_link\">&nbsp;&nbsp;".__('Delete')."</li>";
//print "<li><span class=\"insensitive\">--------</span></li>";
print "<li class=\"insensitive\">".__('Assign label:')."</li>";

View File

@ -244,7 +244,6 @@
<option value="score"><?php echo __('Score') ?></option>
</select>
<?php echo __('Limit:') ?>
<?php
$limits = array(15 => 15, 30 => 30, 60 => 60, 0 => __("All"));
@ -263,7 +262,7 @@
print_select_hash("limit", $def_art_limit, $limits,
'onchange="viewLimitChanged()"');
?>
&nbsp;
@ -272,6 +271,10 @@
onclick="return viewCurrentFeed('ForceUpdate')"
value="<?php echo __('Update') ?>"/>
<input class="button" type="submit" name="update"
onclick="return catchupCurrentFeed()"
value="<?php echo __('Mark as read') ?>"/>
</form>
</div>