projects
/
infodrom.org
/
service.infodrom.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d73ebb6
)
Added colors
author
Joey Schulze
<joey@infodrom.org>
Sun, 7 Oct 2007 11:30:50 +0000
(11:30 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Sun, 7 Oct 2007 11:30:50 +0000
(11:30 +0000)
src/Infodrom/events/find.wml
patch
|
blob
|
history
diff --git
a/src/Infodrom/events/find.wml
b/src/Infodrom/events/find.wml
index
93c731e
..
6273a43
100644
(file)
--- a/
src/Infodrom/events/find.wml
+++ b/
src/Infodrom/events/find.wml
@@
-63,7
+63,7
@@
if ($year > 0) {
echo ($event_table_end);
}
if ($year > 0) {
echo ($event_table_end);
}
- $color =
$nowcolor
;
+ $color =
"<coln>"
;
printf ("<h3>Events in %s</h3>", $thisyear);
echo ($event_table_start);
$year = $thisyear;
printf ("<h3>Events in %s</h3>", $thisyear);
echo ($event_table_start);
$year = $thisyear;
@@
-73,6
+73,7
@@
$row['city'] = ereg_replace (" ", " ", $row['city']);
$row['country'] = ereg_replace (" ", " ", $row['country']);
$row['city'] = ereg_replace (" ", " ", $row['city']);
$row['country'] = ereg_replace (" ", " ", $row['country']);
+ $color = $color == "<cold>"?"<coln>" : "<cold>";
printf ($event_row, $color, $row['oid'], $row['name'], $row['cancelled'] == 1?" *cancelled*":"",
$row['city'], $row['country'], $date);
}
printf ($event_row, $color, $row['oid'], $row['name'], $row['cancelled'] == 1?" *cancelled*":"",
$row['city'], $row['country'], $date);
}