From 1f622e8ba676f2aeeda1a3571eec3990652b2a80 Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Wed, 1 Feb 2006 21:31:19 +0000 Subject: make sure {cycle} has values to cycle through --- templates/calendar.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'templates') diff --git a/templates/calendar.tpl b/templates/calendar.tpl index 8bdde1e..ad90bba 100644 --- a/templates/calendar.tpl +++ b/templates/calendar.tpl @@ -1,4 +1,4 @@ -{* $Header: /cvsroot/bitweaver/_bit_calendar/templates/calendar.tpl,v 1.37 2006/01/10 21:19:50 squareing Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_calendar/templates/calendar.tpl,v 1.38 2006/02/01 21:31:19 squareing Exp $ *} {strip} {if !$gBitSystem->isFeatureActive( 'feature_helppopup' )} {popup_init src="`$smarty.const.UTIL_PKG_URL`javascript/libs/overlib.js"} @@ -51,7 +51,7 @@ - + {if $day.day|cal_date_format:"%m" eq $navigation.focus_month or $smarty.session.calendar.view_mode eq "week"} {foreach from=$day.items item=item} {assign var=over value=$item.over} @@ -84,13 +84,13 @@ {if $day.day|cal_date_format:"%m" eq $navigation.focus_month} {cycle values="odd,even" print=false advance=false} {else} - {cycle values="notmonth" print=false advance=false} + {cycle values="notmonth,notmonth" print=false advance=false} {/if} {else} {cycle values="odd,even" print=false advance=false} {/if} - + {if $day.day|cal_date_format:"%m" eq $navigation.focus_month or $smarty.session.calendar.view_mode eq "week"}
{$day.day|cal_date_format:"%d"} -- cgit v1.3