default to a session cookie instead of setting an explicit timeout, weird timezone...
[freeside.git] / rt / share / html / Elements / CalendarSlotHeaderSchedule
1 <%ARGS>
2 $Date      => undef
3 $Tickets   => undef
4 $DateTypes => undef
5 @username  => ()
6 $slots     => $default_slots
7 </%ARGS>
8 % foreach my $username ( @username ) {
9     <td align="center"><% $username %></td>
10 % }
11 % if ( scalar(@username) < $slots ) {
12     <td colspan=<% $slots - scalar(@username) %>
13     </td>
14 % }
15 <%ONCE>
16 my $default_slots = RT->Config->Get('CalendarWeeklySlots') || 5;
17 </%ONCE>