From: Joey Schulze Date: Sun, 7 Oct 2007 11:30:50 +0000 (+0000) Subject: Added colors X-Git-Url: https://git.infodrom.org/?p=infodrom.org%2Fservice.infodrom.org;a=commitdiff_plain;h=1b79f14653905c0a9efd4961ac5611ff70072a2a Added colors --- diff --git a/src/Infodrom/events/find.wml b/src/Infodrom/events/find.wml index 93c731e..6273a43 100644 --- a/src/Infodrom/events/find.wml +++ b/src/Infodrom/events/find.wml @@ -63,7 +63,7 @@ if ($year > 0) { echo ($event_table_end); } - $color = $nowcolor; + $color = ""; printf ("

Events in %s

", $thisyear); echo ($event_table_start); $year = $thisyear; @@ -73,6 +73,7 @@ $row['city'] = ereg_replace (" ", " ", $row['city']); $row['country'] = ereg_replace (" ", " ", $row['country']); + $color = $color == ""?"" : ""; printf ($event_row, $color, $row['oid'], $row['name'], $row['cancelled'] == 1?" *cancelled*":"", $row['city'], $row['country'], $date); }