blob: 14956b2dbade933fed76381adf71103d139b5060 (
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
|
<& /Elements/Header, Title => 'Schedule' &>
%#init_overlib.html
%foreach my $file (@files) {
<SCRIPT TYPE="text/javascript" SRC="<%$fsurl%>elements/<%$file%>.js"></SCRIPT>
%}
<& /Search/Calendar.html,
@_,
Query => "( Status = 'new' OR Status = 'open' OR Status = 'stalled')
AND ( Type = 'reminder' OR 'Type' = 'ticket' )",
#XXX and we have the magic custom field
slots => scalar( @{ $ARGS{username} } ),
Embed => 'Schedule.html',
DimPast => 1,
Display => 'Schedule',
DisplayArgs => [ username => $ARGS{username} ],
&>
<%init>
my @files = ();
#if ( ! $initialized ) {
push @files, map "overlibmws$_", ( '', qw( _iframe _draggable _crossframe ) );
push @files, map { "${_}contentmws" } qw( iframe ajax );
#%}
</%init>
|