PDA

View Full Version : small bug with calendar_smallmonth_header template


Richard
05-25-2004, 03:20 PM
the replacement text from the templates.txt file is missing the opening <tr>

<if condition="$show['dontshowweek']">
<td class="tcat" colspan="$colspan" align="left"><span class="smallfont"><b>$vba_options[portal_blockbullet]
<else />
<td class="tcat" colspan="$colspan" align="center"><b>
</if><a href="calendar.php?$session[sessionurl]month=$month&amp;year=$year&amp;c=$calendarid&amp;do=displaymonth">$monthname $year</a></td>
</tr>
<tr align="center">
<if condition="!$show['dontshowweek']"><td class="thead">&nbsp;</td></if>
<if condition="$show['day1']"><td class="thead">$day1</td></if>
<if condition="$show['day2']"><td class="thead">$day2</td></if>
<if condition="$show['day3']"><td class="thead">$day3</td></if>
<if condition="$show['day4']"><td class="thead">$day4</td></if>
<if condition="$show['day5']"><td class="thead">$day5</td></if>
<if condition="$show['day6']"><td class="thead">$day6</td></if>
<if condition="$show['day7']"><td class="thead">$day7</td></if>
</tr>
$calendarrowbits

should be:

<tr>
<if condition="$show['dontshowweek']">
<td class="tcat" colspan="$colspan" align="left"><span class="smallfont"><b>$vba_options[portal_blockbullet]
<else />
<td class="tcat" colspan="$colspan" align="center"><b>
</if><a href="calendar.php?$session[sessionurl]month=$month&amp;year=$year&amp;c=$calendarid&amp;do=displaymonth">$monthname $year</a></td>
</tr>
<tr align="center">
<if condition="!$show['dontshowweek']"><td class="thead">&nbsp;</td></if>
<if condition="$show['day1']"><td class="thead">$day1</td></if>
<if condition="$show['day2']"><td class="thead">$day2</td></if>
<if condition="$show['day3']"><td class="thead">$day3</td></if>
<if condition="$show['day4']"><td class="thead">$day4</td></if>
<if condition="$show['day5']"><td class="thead">$day5</td></if>
<if condition="$show['day6']"><td class="thead">$day6</td></if>
<if condition="$show['day7']"><td class="thead">$day7</td></if>
</tr>
$calendarrowbits

Brian
05-25-2004, 03:27 PM
Thanks for pointing that out. I'll update the zip file to include the correct template in just a few minutes. :)