installers (calendaring), RT#16584
[freeside.git] / rt / share / html / Elements / CalendarDaySchedule
1 <%args>
2 $Date      => undef
3 $Tickets   => undef
4 $DateTypes => undef
5 @username  => ()
6 </%args>
7 % foreach my $username ( @username ) {
8 %   my $mapname = "$username-$date";
9 <span class="calendarright"><% $username %><img src="<%$RT::WebPath%>/Schedule/UserBar?Username=<%$username%>;Date=<%$date%>" useMap="#<%$mapname%>"><span><br>
10 <MAP name="<%$mapname%>">
11 %# false laziness w/Schedule/UserBar
12 %#XXX block out unavailable times
13 %#alas.  abstractions break, freeside-specific stuff to get availability
14 %# move availability to RT side?  make it all callback/pluggable?
15 %
16 %#XXX block out / show / color code existing appointments
17 %
18 <AREA onmouseover="overlib('XX miles away<BR>more info')"
19       onmouseout="nd(); return true;"
20       shape = "rect"
21       coords="0,0,59,11"
22       href="test_href"
23 %#    alt=
24 %#    title=
25 >
26 </MAP>
27 % }
28 <%init>
29
30 my( $date, $time ) = split('T', $Date);
31
32 </%init>