summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-12-30 05:22:07 +0100
committerAndrew Dolgov <[email protected]>2005-12-30 05:22:07 +0100
commitb92e620990d9f76fd0f7573bac38bd54b2e7abd5 (patch)
tree41b3294f17a4480e96a98fa403cc73a56106af5d /backend.php
parente3c99f3b636d5003be417093d00b7b114a655bd1 (diff)
fix display of feed browser (probably closes #22)
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/backend.php b/backend.php
index 4213b8667..210adf716 100644
--- a/backend.php
+++ b/backend.php
@@ -1565,11 +1565,13 @@
$feed_icon = "<img class=\"tinyFeedIcon\" src=\"images/blank_icon.gif\">";
}
- $check_box = "<input class='feedBrowseCB' type=\"checkbox\" id=\"FBCHK-" .
- $details["id"] . "\">";
+ $check_box = "<input onclick='toggleSelectListRow(this)' class='feedBrowseCB'
+ type=\"checkbox\" id=\"FBCHK-" . $details["id"] . "\">";
- print "<li id=\"FBROW-".$details["id"]."\">$check_box $feed_icon" .
- db_unescape_string($details["title"]) .
+ $class = ($feedctr % 2) ? "even" : "odd";
+
+ print "<li class='$class' id=\"FBROW-".$details["id"]."\">$check_box".
+ "$feed_icon " . db_unescape_string($details["title"]) .
"&nbsp;<span class='subscribers'>($subscribers)</span></li>";
++$feedctr;