Rename calendar class
[infodrom.org/service.infodrom.org] / src / Infodrom / calendar / index.wml
index b8979ae..7a71044 100644 (file)
@@ -35,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));
 
   $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'])) {
   $month = '';
 
   if (empty($_GET['year'])) {
@@ -70,7 +70,7 @@ table#calendar tr.current {
           $row->dav_id,
           $class,
           $kw != $row->kw ? $row->kw : ' ',
           $row->dav_id,
           $class,
           $kw != $row->kw ? $row->kw : ' ',
-          Calendar_Item::formatTimespan($row->dtstart, $row->dtend),
+          Calendar::formatTimespan($row->dtstart, $row->dtend),
           utf8_decode($tooltip),
           utf8_decode($row->summary),
           utf8_decode($row->location));
           utf8_decode($tooltip),
           utf8_decode($row->summary),
           utf8_decode($row->location));