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