Development

Changeset 6539

You must first sign up to be able to contribute.

Changeset 6539

Show
Ignore:
Timestamp:
12/17/07 17:33:21 (1 year ago)
Author:
Josh.Reynolds
Message:

update objects, still not in a usable form

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/csOopCalendarPlugin/trunk/lib/helper/csCalendarHelper.php

    r6346 r6539  
    11<?php  
    2  
     2function cs_calendar_display($calendar = ) 
     3
     4  $out = "<!--  START CALENDAR DISPLAY-->\n\n"; 
     5  $out .= "<div class=\"calendar-wrapper\"\n"; 
     6  $out .= "  <div class=\"".$calendar->getClass()."\" id=\"calendar-".$calendar->getIdHash()."\">\n"; 
     7  foreach($calendar->getDays() as $day): 
     8    $out .= "    <div class=\"".$day->getClass()."\" id=\"day-".$day->getIDHash()."\">\n"; 
     9     
     10    $out .= "    </div> <!-- END DAY -->\n"; 
     11  endforeach; 
     12  $out .= "  </div> <!-- END CALENDAR -->\n"; 
     13  $out .= "</div> <!-- END CALENDAR WRAPPER -->\n\n"; 
     14  $out .= "<!-- END CALENDAR DISPLAY-->"; 
     15
    316?>