Files
racalmas/website/agenda/templates/calendar_js.html

86 lines
2.4 KiB
HTML

<TMPL_IF use_client_cache>Cache-Control: max-age=3600, must-revalidate
</TMPL_IF>Content-type:text/html; charset=UTF-8;
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="expires" content="36000">
<meta http-equiv="Content-Script-Type" content="javascript" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>Calendar <TMPL_VAR project_title></title>
</head>
<body>
<div >
<TMPL_IF debug>
<div id="calendar_debug"></div>
</TMPL_IF>
<table cellpadding="0" cellspacing="0" border="0" width="190">
<tr>
<th class="first">
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.calendar>/<TMPL_VAR previous_month>.html"
>&lt;</a>
<!--onclick="calcms.selectMonthEventListener('<TMPL_VAR previous_month>');return false;"-->
</th>
<th colspan="6" width="180" align="center">
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.calendar>/<TMPL_VAR start_date>_<TMPL_VAR end_date>.html"
>
<TMPL_VAR start_month_name> <TMPL_VAR start_year>
</a>
<!--onclick="calcms.selectMonthEventListener('<TMPL_VAR start_date>');return false;"-->
</th>
<th class="last">
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.calendar>/<TMPL_VAR next_month>.html"
>&gt;</a>
</th>
<!--onclick="calcms.selectMonthEventListener('<TMPL_VAR next_month>');return false;"-->
</tr>
<tr>
<th>Wo</th>
<TMPL_LOOP NAME=weekdays>
<th>
<a href="<TMPL_VAR base_url>/<TMPL_VAR .controllers.events>/<TMPL_VAR start_date>/<TMPL_VAR end_date>/<TMPL_VAR weekday>/"
onclick="calcms.selectWeekdayEventListener('<TMPL_VAR start_date>','<TMPL_VAR end_date>','<TMPL_VAR weekday>');return false;"
>
<TMPL_VAR "weekday_short_name">
</a>
</th>
</TMPL_LOOP>
</tr>
<TMPL_LOOP NAME=week_and_days>
<tr>
<TMPL_LOOP NAME=week>
<th class="<TMPL_VAR class>">
<a href="<TMPL_VAR base_url>/<TMPL_VAR .controllers.events>/<TMPL_VAR from_date>/<TMPL_VAR till_date>/"
title="<TMPL_VAR description>"
onclick="calcms.selectDateRangeEventListener('<TMPL_VAR from_date>','<TMPL_VAR till_date>');return false;"
>
<TMPL_VAR week_of_year>
</a>
</th>
</TMPL_LOOP>
<TMPL_LOOP NAME=days>
<td class="<TMPL_VAR class>">
<TMPL_IF is_day>
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.events>/<TMPL_VAR date>.html"
title="<TMPL_VAR description>"
>
<TMPL_VAR day>
</a>
<!--onclick="calcms.selectDateEventListener('<TMPL_VAR date>');return false;"-->
</TMPL_IF>
</td>
</TMPL_LOOP>
</tr>
</TMPL_LOOP>
</table>
</div>
</body>
</html>