summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-02-24 10:33:09 +0100
committerAndrew Dolgov <[email protected]>2006-02-24 10:33:09 +0100
commit98bea1b16385000db352ff5ab297e9c7c20c21d4 (patch)
treefb0eb3727a16c59c623807fe725f83d200a1009f /backend.php
parentb02111c24a67874332a4bed52944e6597822cf54 (diff)
duplicate feed actions toolbar on bottom (related to #44)
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php16
1 files changed, 12 insertions, 4 deletions
diff --git a/backend.php b/backend.php
index 5803344c5..15bb7702c 100644
--- a/backend.php
+++ b/backend.php
@@ -1353,8 +1353,8 @@
Could not display feed (query failed). Please check label match syntax or local configuration.</div>";
return;
}
-
- if (db_num_rows($result) > 0) {
+
+ function print_headline_subtoolbar($link, $feed_site_url, $feed_title) {
print "<table class=\"headlinesSubToolbar\"
width=\"100%\" cellspacing=\"0\" cellpadding=\"0\"><tr>";
@@ -1387,13 +1387,12 @@
print "</td>";
-
}
if ($last_error) {
print "<td align='center' class='small'>
<a class=\"warning\" href=\"javascript:alert('TT-RSS encountered an error while trying to update this feed.\\n\\n$last_error')\">Could not update this feed.</a></td>";
- }
+ }
print "<td class=\"headlineTitle\">";
@@ -1406,6 +1405,12 @@
print "</td>";
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')) {
print "<table class=\"headlinesList\" id=\"headlinesList\"
cellspacing=\"0\" width=\"100%\">";
@@ -1544,6 +1549,9 @@
print "</table>";
}
+ print_headline_subtoolbar($link, "javascript:catchupPage()", "Mark page as read");
+
+
} else {
print "<div width='100%' align='center'>No articles found.</div>";
}