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_unread_link\">&nbsp;&nbsp;".__('Unread')."</li>
<li onclick=\"$tog_marked_link\">&nbsp;&nbsp;".__('Starred')."</li> <li onclick=\"$tog_marked_link\">&nbsp;&nbsp;".__('Starred')."</li>
<li onclick=\"$tog_published_link\">&nbsp;&nbsp;".__('Published')."</li> <li onclick=\"$tog_published_link\">&nbsp;&nbsp;".__('Published')."</li>
<!-- <li><span class=\"insensitive\">--------</span></li> --> <li class=\"insensitive\">".__('Selection:')."</li>
<li class=\"insensitive\">".__('Mark as read:')."</li> <li onclick=\"$catchup_sel_link\">&nbsp;&nbsp;".__('Mark as read')."</li>";
<li onclick=\"$catchup_sel_link\">&nbsp;&nbsp;".__('Selection')."</li>";
print "<li onclick=\"$catchup_feed_link\">&nbsp;&nbsp;".__('Entire feed'). // print "<li onclick=\"$catchup_feed_link\">&nbsp;&nbsp;".__('Entire feed').
"</li>"; // "</li>";
if ($feed_id != "0") { if ($feed_id != "0") {
print "<li class=\"insensitive\">".__('Selection:')."</li> print "<li onclick=\"$archive_sel_link\">&nbsp;&nbsp;".__('Archive')."</li>";
<li onclick=\"$archive_sel_link\">&nbsp;&nbsp;".__('Archive')."</li>
<li onclick=\"$delete_sel_link\">&nbsp;&nbsp;".__('Delete')."</li>";
} else { } else {
print "<li class=\"insensitive\">".__('Selection:')."</li> print "<li onclick=\"$archive_sel_link\">&nbsp;&nbsp;".__('Move back')."</li>";
<li onclick=\"$archive_sel_link\">&nbsp;&nbsp;".__('Move back')."</li>
<li onclick=\"$delete_sel_link\">&nbsp;&nbsp;".__('Delete')."</li>";
} }
print "<li onclick=\"$delete_sel_link\">&nbsp;&nbsp;".__('Delete')."</li>";
//print "<li><span class=\"insensitive\">--------</span></li>"; //print "<li><span class=\"insensitive\">--------</span></li>";
print "<li class=\"insensitive\">".__('Assign label:')."</li>"; print "<li class=\"insensitive\">".__('Assign label:')."</li>";

View file

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