summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-02-25 07:15:05 +0100
committerAndrew Dolgov <[email protected]>2006-02-25 07:15:05 +0100
commite0a7121ba9b0f73b9a9b4a61c4f525fb02331ead (patch)
tree9971b8fabe50b4e36e10780de4459e1c698d922c /backend.php
parent646e601e71b85b6dff3104eaec05cc5ea290c1d0 (diff)
only enable bottom actions toolbar in headlines, when headlines list scrolls
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php16
1 files changed, 13 insertions, 3 deletions
diff --git a/backend.php b/backend.php
index a58cb85e9..3dda8d0bb 100644
--- a/backend.php
+++ b/backend.php
@@ -1385,9 +1385,18 @@
return;
}
- function print_headline_subtoolbar($link, $feed_site_url, $feed_title) {
+ function print_headline_subtoolbar($link, $feed_site_url, $feed_title,
+ $bottom = false) {
- print "<table class=\"headlinesSubToolbar\"
+ if (!$bottom) {
+ $class = "headlinesSubToolbar";
+ $tid = "headlineActionsTop";
+ } else {
+ $class = "invisible";
+ $tid = "headlineActionsBottom";
+ }
+
+ print "<table class=\"$class\" id=\"$tid\"
width=\"100%\" cellspacing=\"0\" cellpadding=\"0\"><tr>";
if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) {
@@ -1580,7 +1589,8 @@
print "</table>";
}
- print_headline_subtoolbar($link, "javascript:catchupPage()", "Mark page as read");
+ print_headline_subtoolbar($link,
+ "javascript:catchupPage()", "Mark page as read", true);
} else {