<% $STYLE = $in{style} || $in{calendar_style} || "List"; $VIEW = "Day"; &getEvents( { 'range'=>'day','startdate'=>$DATESTRING } ); $DAY = $Grid->{'grid'}->[0]->[0]; $EVENTS = $DAY->{events}; %> Calendar
<%IF USER LOGGED IN%> <%/IF%> <% if ($STYLE eq "Grid") { %> <%FOREACH HOUR OF DAY%> <%/FOREACH%> <% } else { %> <% } %>
<< Previous Day     <%=$DAY->{'dayname'}%> <%=$DAY->{'monthabbreviation'}%> <%=$DATE%>, <%=$YEAR%>     Next Day >>
Logged in as: <%=($User->{name} || $User->{username})%> [Logout]
<% if ($HOUR == 99) { %> All Day Events <%ELSE%> <%=Date::formatTime(&Date::LZ($HOUR)."00",$Config->{'time_format'})%>  <%/IF%> <%FOREACH EVENT%> • <% if ($EVENT->{'schedule'}->{'start_time'}) { %><%= $EVENT->{'schedule'}->{'start_time'} %><% } %> <% if ($EVENT->{'schedule'}->{'end_time'}) { %>-<%= $EVENT->{'schedule'}->{'end_time'} %><% } %> <% if ($EVENT->{'schedule'}->{'start_time'}) { %> : <% } %> <%= $EVENT->{'details'}->{'title'} %> [details]
<%/FOREACH%> <%IF NO EVENTS EXIST%> <%/IF%>
<%IF EVENTS EXIST%>
<%FOREACH EVENT%>
• <% if ($EVENT->{'schedule'}->{'start_time'}) { %><%= $EVENT->{'schedule'}->{'start_time'} %><% } %> <% if ($EVENT->{'schedule'}->{'end_time'}) { %>-<%= $EVENT->{'schedule'}->{'end_time'} %><% } %> <% if ($EVENT->{'schedule'}->{'start_time'}) { %> : <% } %> <%= $EVENT->{'details'}->{'title'} %> [details]
<%= $EVENT->{'details'}->{'description'} %> <%/FOREACH%>
<%ELSE%>

No Events

<%/IF%>
Powered by CalendarScript