From 8a53cecbd767c12f073a5839d15063142ef18313 Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 24 Aug 2009 03:43:10 +0100 Subject: [PATCH] odd/even comments --- ext/comment/theme.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ext/comment/theme.php b/ext/comment/theme.php index 6b7e5bca..e5d8d579 100644 --- a/ext/comment/theme.php +++ b/ext/comment/theme.php @@ -1,6 +1,8 @@ owner->email)); // $avatar = "
"; //} + $oe = ($this->comments_shown++ % 2 == 0) ? "even" : "odd"; return " -
+
$h_userlink: $h_comment $h_dellink