Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 38 lines (33 sloc) 1.94 KB
<table style="width: 100%" cellspacing="0" cellpadding="0" class="serendipity_calendar">
<tr>
<td class="serendipity_calendarHeader">
{if $plugin_calendar_head.minScroll le $plugin_calendar_head.month_date}
<a title="{$CONST.BACK}" href="{$plugin_calendar_head.uri_previous}" style="text-decoration:none; "><span class="large">&laquo;</span></a>
{else}
<span class="large">&laquo;</span>
{/if}
</td>
<td colspan="5" class="serendipity_calendarHeader" style="text-align: center; vertical-align: bottom">
<b><a style="white-space: nowrap" href="{$plugin_calendar_head.uri_month}">{$plugin_calendar_head.month_date|formatTime:"%B '%y":false}</a></b>
</td>
<td class="serendipity_calendarHeader" style="text-align: right">
{if $plugin_calendar_head.maxScroll ge $plugin_calendar_head.month_date}
<a title="{$CONST.FORWARD}" href="{$plugin_calendar_head.uri_next}" style="text-decoration:none;"><span class="large">&raquo;&#160;&#160;</span></a>
{else}
<span class="large">&raquo;&#160;&#160;</span>
{/if}
</td>
</tr>
<tr>
{foreach from=$plugin_calendar_dow item="dow"}
<td scope="col" abbr="{$dow.date|@formatTime:"%A":false}" title="{$dow.date|@formatTime:"%A":false}" class="serendipity_weekDayName" align="center">{$dow.date|@formatTime:"%a":false|@truncate:2:'':true}</td>
{/foreach}
</tr>
{foreach from=$plugin_calendar_weeks item="week"}
<tr class="serendipity_calendar">
{foreach from=$week.days item="day"}
<td class="serendipity_calendarDay {$day.classes}"{if isset($day.properties.Title)} title="{$day.properties.Title}"{/if}>{if isset($day.properties.Active) and $day.properties.Active}<a href="{$day.properties.Link}">{/if}{$day.name|@default:"&#160;"}{if isset($day.properties.Active) and $day.properties.Active}</a>{/if}</td>
{/foreach}
</tr>
{/foreach}
</table>
Something went wrong with that request. Please try again.