duplicate feed actions toolbar on bottom (related to #44)

master
Andrew Dolgov 19 years ago
parent b02111c24a
commit 98bea1b163

@ -1354,7 +1354,7 @@
return; return;
} }
if (db_num_rows($result) > 0) { function print_headline_subtoolbar($link, $feed_site_url, $feed_title) {
print "<table class=\"headlinesSubToolbar\" print "<table class=\"headlinesSubToolbar\"
width=\"100%\" cellspacing=\"0\" cellpadding=\"0\"><tr>"; width=\"100%\" cellspacing=\"0\" cellpadding=\"0\"><tr>";
@ -1387,7 +1387,6 @@
print "</td>"; print "</td>";
} }
if ($last_error) { if ($last_error) {
@ -1406,6 +1405,12 @@
print "</td>"; print "</td>";
print "</tr></table>"; print "</tr></table>";
}
if (db_num_rows($result) > 0) {
print_headline_subtoolbar($link, $feed_site_url, $feed_title);
if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) { if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) {
print "<table class=\"headlinesList\" id=\"headlinesList\" print "<table class=\"headlinesList\" id=\"headlinesList\"
cellspacing=\"0\" width=\"100%\">"; cellspacing=\"0\" width=\"100%\">";
@ -1544,6 +1549,9 @@
print "</table>"; print "</table>";
} }
print_headline_subtoolbar($link, "javascript:catchupPage()", "Mark page as read");
} else { } else {
print "<div width='100%' align='center'>No articles found.</div>"; print "<div width='100%' align='center'>No articles found.</div>";
} }

@ -374,6 +374,11 @@ function cdmSelectArticles(mode) {
} }
} }
function catchupPage() {
alert("FIXME not yet implemented");
}
function init() { function init() {
document.onkeydown = hotkey_handler; document.onkeydown = hotkey_handler;
} }

Loading…
Cancel
Save