From 98bea1b16385000db352ff5ab297e9c7c20c21d4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 24 Feb 2006 10:33:09 +0100 Subject: duplicate feed actions toolbar on bottom (related to #44) --- backend.php | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'backend.php') 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."; return; } - - if (db_num_rows($result) > 0) { + + function print_headline_subtoolbar($link, $feed_site_url, $feed_title) { print ""; @@ -1387,13 +1387,12 @@ print ""; - } if ($last_error) { print ""; - } + } print ""; print "
Could not update this feed."; @@ -1406,6 +1405,12 @@ print "
"; + } + + if (db_num_rows($result) > 0) { + + print_headline_subtoolbar($link, $feed_site_url, $feed_title); + if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) { print ""; @@ -1544,6 +1549,9 @@ print "
"; } + print_headline_subtoolbar($link, "javascript:catchupPage()", "Mark page as read"); + + } else { print "
No articles found.
"; } -- cgit v1.2.3