diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-09-01 08:50:26 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-09-01 08:50:26 +0000 |
| commit | adec375bc92c1a2a77d8f581268cb175a9dd6400 (patch) | |
| tree | f509a2df8ddd73f0cf3ffb9ac7571572d9a03fcc /templates | |
| parent | f2ef837f32584c180edc93c421a9d06805d3d2d2 (diff) | |
| download | calendar-adec375bc92c1a2a77d8f581268cb175a9dd6400.tar.gz calendar-adec375bc92c1a2a77d8f581268cb175a9dd6400.tar.bz2 calendar-adec375bc92c1a2a77d8f581268cb175a9dd6400.zip | |
minor layout update
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/calendar.tpl | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/templates/calendar.tpl b/templates/calendar.tpl index 1683f3c..86df909 100644 --- a/templates/calendar.tpl +++ b/templates/calendar.tpl @@ -1,4 +1,4 @@ -{* $Header: /cvsroot/bitweaver/_bit_calendar/templates/calendar.tpl,v 1.31 2005/08/31 17:13:47 squareing Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_calendar/templates/calendar.tpl,v 1.32 2005/09/01 08:50:26 squareing Exp $ *} {strip} {if !$gBitSystem->isFeatureActive( 'feature_helppopup' )} @@ -15,7 +15,6 @@ {jstab title="Calendar"} {* this is used to keep stuff like sort_mode persistent in all links on this page *} {assign var=url_string value="sort_mode=`$smarty.request.sort_mode`&user_id=`$smarty.request.user_id`"} - {include file="bitpackage:calendar/calendar_nav_inc.tpl"} <table class="data caltable {$smarty.session.calendar.view_mode}"> @@ -41,25 +40,19 @@ </tr> {/foreach} {elseif $smarty.session.calendar.view_mode eq 'weeklist'} - <tr> - <th style="width:15%;">{tr}Day{/tr}</th> - <th>{tr}Events{/tr}</th> - </tr> {foreach from=$calMonth item=week} {counter assign=weekday print=false start=0} {foreach from=$week item=day} <tr> <th style="width:10%"> - {$dayNames.$weekday} + <a href="{$smarty.const.CALENDAR_PKG_URL}index.php?view_mode=day&todate={$day.day}&{$url_string}"> + {$dayNames.$weekday} - {$day.day|cal_date_format:"%d"} + </a> {counter assign=weekday print=false} - - <div class="calnumber"> - <a href="{$smarty.const.CALENDAR_PKG_URL}index.php?view_mode=day&todate={$day.day}&{$url_string}">{$day.day|cal_date_format:"%d"}</a> - </div> </th> - + </tr> + <tr> {cycle values="odd,even" print=false advance=false} - <td class="calitems {if $day.day eq $navigation.focus_date}current{/if} {cycle}"> {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} @@ -86,7 +79,7 @@ </tr> {foreach from=$calMonth key=week_num item=week} - <tr style="height:6em;"> + <tr> <th><a href="{$smarty.const.CALENDAR_PKG_URL}index.php?view_mode=week&todate={$week.6.day}">{$week_num}</a></th> {foreach from=$week item=day} {if $smarty.session.calendar.view_mode eq "month"} |
