Use CSS
authorJoey Schulze <joey@infodrom.org>
Sun, 7 Oct 2007 11:26:58 +0000 (11:26 +0000)
committerJoey Schulze <joey@infodrom.org>
Sun, 7 Oct 2007 11:26:58 +0000 (11:26 +0000)
src/Infodrom/events/calendar.inc

index 5cae275..f98fff8 100644 (file)
@@ -5,17 +5,17 @@
   $event_month = array ("","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
   $event_cols = "oid,name,start,start+delta,city,country,cancelled";
 
-  $event_table_start = '<table width=100% class="font" border=0 cellspacing=0 cellpadding=0>'
+  $event_table_start = '<table class="font height border" width=100% border=0 cellspacing=0 cellpadding=0>'
                .'<tr bgcolor="#<colh>">'
-               .'<th width=65%><font face="Helvetica,Arial">Event</font></th>'
-               .'<th width=25%><font face="Helvetica,Arial">City (Country)</font></th>'
-               .'<th width=10%><font face="Helvetica,Arial">Date</font></th></tr>';
+               .'<th width=65%>Event</th>'
+               .'<th width=25%>City (Country)</th>'
+               .'<th width=10%>Date</th></tr>';
   $event_table_end = '</table>';
 
   $event_row = '<tr bgcolor="%s">'
-             .'<td><font face="Helvetica,Arial"><a href="edit.php?id=%d">%s</a>%s</font></td>'
-             .'<td align="left"><font face="Helvetica,Arial">%s&nbsp;(%s)</font></td>'
-             .'<td align="center"><font face="Helvetica,Arial">%s</font></td></tr>';
+             .'<td><a href="edit.php?id=%d">%s</a>%s</td>'
+             .'<td align="left">%s&nbsp;(%s)</td>'
+             .'<td align="center">%s</td></tr>';
 
   # Properly decode start time and duration of an event
   # Same as on www.infodrom.org in calendar.style