From c514d7910a0302dcfe9bc132c199870f59837123 Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 17 Dec 2007 22:25:54 +0000 Subject: [PATCH] - Alternate colours on the variable editor categories --- config/variables.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/variables.php b/config/variables.php index 9eb2636..c8531f6 100644 --- a/config/variables.php +++ b/config/variables.php @@ -68,9 +68,11 @@ echo ""; echo ""; + $trclass = 'odd'; while($r=mysql_fetch_object($q)) { - echo ""; + $trclass = ($trclass == 'odd') ? 'even' : 'odd'; + echo ""; echo "
"; if($r->cat==$category) echo "$r->cat";