From a2087d46d2ddf577151b072f7bbce58fea735050 Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 8 May 2008 01:13:13 +0000 Subject: 2 template features: - added a {html_head} smarty block - allow any template file to add content just before tag (handy for plugins and allows to move more presentation logic to tpls); the content is usually +{/html_head} {foreach from=$plugins item=plugin name=plugins_loop} - + {$plugin.NAME} {$plugin.VERSION} diff --git a/template/yoga/month_calendar.tpl b/template/yoga/month_calendar.tpl index 34f035915..410824b23 100644 --- a/template/yoga/month_calendar.tpl +++ b/template/yoga/month_calendar.tpl @@ -36,7 +36,13 @@ {/foreach} - +{html_head} {*add the style to html head for strict standard compliance*} + +{/html_head} {foreach from=$chronology_calendar.month_view.weeks item=week} {foreach from=$week item=day} @@ -44,16 +50,16 @@ {if isset($day.IMAGE)}
{$day.DAY}
{$day.DAY}
-
+ {else} - {$day.DAY} + {$day.DAY} {/if} {else} - + {/if} {/foreach} {*day in week*} -- cgit v1.2.3