Rename calendar class
[infodrom.org/service.infodrom.org] / src / Infodrom / calendar / index.wml
index 62590d2..7a71044 100644 (file)
@@ -4,6 +4,9 @@
 <page func="Infodrom Oldenburg" title="Termine">
 
 <style type="text/css">
+div#termine {
+    margin-bottom: 10px;
+}
 table#calendar tr.row:hover {
     background: yellow;
 }
@@ -11,13 +14,14 @@ table#calendar tr.newkw td {
     border-top: 1px solid #999;
 }
 table#calendar tr.month {
-    background: #a7ddff;
+    background: #a7efff;
 }
 table#calendar tr.current {
     background: orange;
 }
 </style>
 
+<div id="termine">
 <table id="calendar" width="100%" class="smallfont border" cellspacing="0" summary="">
 <tr class="head">
 <th width="5%">KW</th>
@@ -31,7 +35,7 @@ table#calendar tr.current {
   $now = date('Y-m-d H:i:s');
   $pivot = date('Y-m-d H:i:s', time()+(7*24*60*60));
 
-  $item = new Calendar_Item();
+  $item = new Calendar();
   $month = '';
 
   if (empty($_GET['year'])) {
@@ -66,7 +70,7 @@ table#calendar tr.current {
           $row->dav_id,
           $class,
           $kw != $row->kw ? $row->kw : '&nbsp;',
-          Calendar_Item::formatTimespan($row->dtstart, $row->dtend),
+          Calendar::formatTimespan($row->dtstart, $row->dtend),
           utf8_decode($tooltip),
           utf8_decode($row->summary),
           utf8_decode($row->location));
@@ -76,6 +80,7 @@ table#calendar tr.current {
 ?>
 
 </table>
+</div>
 
 </page>