<dtml-comment>
### Calendar Module ###

(c) 2003-2004,Webcore corp.
</dtml-comment>

<dtml-comment> * Set year,month </dtml-comment>
<dtml-unless calendar_year>
<dtml-call "REQUEST.set('calendar_year',ZopeTime().year())">
<dtml-call "REQUEST.set('calendar_month',ZopeTime().month())">
</dtml-unless>

<div class="sideboxtitle"><dtml-var "getMonthName(calendar_month)">&nbsp;<dtml-var calendar_year></div>
<div align="center" class="calendar">
<div align="center">
<table border="0" cellspacing="4" cellpadding="0" summary="Monthly calendar with links to each day's posts">
<dtml-comment>### Week ###</dtml-comment>
<tr>
<th abbr="Sunday" align="center"><span class="calendar">Sun</span></th>
<th abbr="Monday" align="center"><span class="calendar">Mon</span></th>
<th abbr="Tuesday" align="center"><span class="calendar">Tue</span></th>
<th abbr="Wednesday" align="center"><span class="calendar">Wed</span></th>
<th abbr="Thursday" align="center"><span class="calendar">Thu</span></th>
<th abbr="Friday" align="center"><span class="calendar">Fri</span></th>
<th abbr="Saturday" align="center"><span class="calendar">Sat</span></th>
</tr>

<dtml-comment>### Show date and link to the date ently list ###</dtml-comment>
<dtml-in "get_calendar(year=calendar_year,month=calendar_month)">
<tr>
    <dtml-in sequence-item mapping>
		<td align="center"><span class="calendar">
		<dtml-if "day != 0">
			<dtml-if "entry_count != 0">
				<a href="<dtml-var blogurl missing="">/daylist_html?year=<dtml-var calendar_year>&month=<dtml-var calendar_month>&day=<dtml-var day>">
			</dtml-if>
			<dtml-var day>
			<dtml-if "entry_count != 0">
				</a>
			</dtml-if>
		<dtml-else>
		&nbsp;
		</dtml-if>
		</span></td>
    </dtml-in>
</tr>
</dtml-in>
</table>
</div>

</div>
