diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-08-22 12:06:25 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-08-22 12:06:25 +0000 |
| commit | c1aef67d2803a7f3408c4b14044805c260de5f4e (patch) | |
| tree | b6382cc8d3a84c41aaae6b848ea494df98dd85d5 | |
| parent | f7d5a1d29b7dc95d2c73e9206ee4e5a7a4a3737f (diff) | |
| download | calendar-c1aef67d2803a7f3408c4b14044805c260de5f4e.tar.gz calendar-c1aef67d2803a7f3408c4b14044805c260de5f4e.tar.bz2 calendar-c1aef67d2803a7f3408c4b14044805c260de5f4e.zip | |
improve classes for styling
| -rw-r--r-- | templates/calendar.tpl | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/templates/calendar.tpl b/templates/calendar.tpl index 90612e7..b4ed9a5 100644 --- a/templates/calendar.tpl +++ b/templates/calendar.tpl @@ -1,4 +1,4 @@ -{* $Header: /cvsroot/bitweaver/_bit_calendar/templates/calendar.tpl,v 1.21 2005/08/22 11:59:31 lsces Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_calendar/templates/calendar.tpl,v 1.22 2005/08/22 12:06:25 squareing Exp $ *} {strip} {if !$gBitSystem->isFeatureActive( 'feature_helppopup' )} @@ -63,14 +63,13 @@ {cycle values="odd,even" print=false advance=false} {/if} - <td class="calday {cycle}" style="vertical-align:top;"> + <td class="calday {if $day.day eq $navigation.focus_date}current{/if} {cycle}" style="vertical-align:top;"> {if $day.day|bit_date_format:"%m" eq $navigation.focus_month or $smarty.session.calendar.view_mode eq "week"} - {if $day.day eq $navigation.focus_date}<strong>{/if} - <a href="{$smarty.const.CALENDAR_PKG_URL}index.php?todate={$day.day}&{$url_string}">{$day.day|bit_date_format:"%d"}</a> - {if $day.day eq $navigation.focus_date}</strong>{/if} - <hr /> + <div class="calnumber"> + <a href="{$smarty.const.CALENDAR_PKG_URL}index.php?todate={$day.day}&{$url_string}">{$day.day|bit_date_format:"%d"}</a> + </div> - {* - Calendar Content - *} + {* - Cell Content - *} {foreach from=$day.items item=item} {assign var=over value=$item.over} <div class="cal{$item.content_type_guid}"> |
