diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-08-25 06:58:48 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-08-25 06:58:48 +0000 |
| commit | 0baa9a47967dfbd5ffee69e7451d668591527b53 (patch) | |
| tree | 37b58221d12f3d0de5395beb41caba5d030064f3 /templates | |
| parent | 22dfcb3ce2b48fa081352a5f163b761d39ef6968 (diff) | |
| download | calendar-0baa9a47967dfbd5ffee69e7451d668591527b53.tar.gz calendar-0baa9a47967dfbd5ffee69e7451d668591527b53.tar.bz2 calendar-0baa9a47967dfbd5ffee69e7451d668591527b53.zip | |
apply offset only to focus date. this way everything should shift correctly
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/calendar.tpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/calendar.tpl b/templates/calendar.tpl index 2ebca3f..f932e23 100644 --- a/templates/calendar.tpl +++ b/templates/calendar.tpl @@ -1,4 +1,4 @@ -{* $Header: /cvsroot/bitweaver/_bit_calendar/templates/calendar.tpl,v 1.24 2005/08/24 22:39:37 squareing Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_calendar/templates/calendar.tpl,v 1.25 2005/08/25 06:58:48 squareing Exp $ *} {strip} {if !$gBitSystem->isFeatureActive( 'feature_helppopup' )} @@ -19,7 +19,7 @@ {include file="bitpackage:calendar/calendar_nav_inc.tpl"} <table class="data caltable {$smarty.session.calendar.view_mode}"> - <caption>{tr}Selection: {$navigation.focus_date|date_format}{/tr}</caption> + <caption>{tr}Selection: {$navigation.focus_date|bit_long_date}{/tr}</caption> {if $smarty.session.calendar.view_mode eq 'day'} <tr> <th style="width:5%;">{tr}Time{/tr}</th> @@ -63,7 +63,7 @@ {cycle values="odd,even" print=false advance=false} {/if} - <td class="calday {if $day.day eq $navigation.focus_date}current{/if} {cycle}" style="vertical-align:top;"> + <td class="calday {if $day.day eq $navigation.server_focus_date}current{/if} {cycle}" style="vertical-align:top;"> {if $day.day|date_format:"%m" eq $navigation.focus_month or $smarty.session.calendar.view_mode eq "week"} <div class="calnumber"> <a href="{$smarty.const.CALENDAR_PKG_URL}index.php?view_mode=day&todate={$day.day}&{$url_string}">{$day.day|date_format:"%d"}</a> |
