- <td colspan=<%$slots%>
- class="weekly
-%# <% $is_today ? 'today'
-%# : $is_yesterday ? 'yesterday'
-%# : $is_aweekago ? 'aweekago'
-%# : ''
-%# %>
- "
- >MULTIPLE
- </td>
-
-% } else {
-%
-% foreach my $slot ( @{ $slots[$sday] } ) {
-% my( $id, $ticket ) = @$slot;
-
- <td class="weekly
-%# <% $is_today ? 'today'
-%# : $is_yesterday ? 'yesterday'
-%# : $is_aweekago ? 'aweekago'
-%# : ''
-%# %>
- "
- ><% $id %>
- </td>
-
-% }
-%
-% if ( scalar(@{$slots[$sday]}) < $slots ) {
-
- <td colspan=<% $slots - scalar(@{$slots[$sday]}) %>
- class="weekly
-%# <% $is_today ? 'today'
-%# : $is_yesterday ? 'yesterday'
-%# : $is_aweekago ? 'aweekago'
-%# : ''
-%# %>
- "
- >
- </td>
-% }
-%
-% }
+ <td style="background:#<%$bgcolor%>" class="weekly"
+%# <% $is_today ? 'today'
+%# : $is_yesterday ? 'yesterday'
+%# : $is_aweekago ? 'aweekago'
+%# : ''
+%# %>"
+% if ( $onmouse ) {
+ onmouseover="boxon(this);"
+ onmouseout ="boxoff(this);"
+% }
+ ><% $content %></td>
+% }