installers (calendaring), RT#16584
[freeside.git] / rt / share / html / Search / Schedule.html
1 <& /Elements/Header, Title => 'Schedule' &>
2
3 %#init_overlib.html
4 %foreach my $file (@files) {
5 <SCRIPT TYPE="text/javascript" SRC="<%$fsurl%>elements/<%$file%>.js"></SCRIPT>
6 %}
7
8 <& /Search/Calendar.html,
9      @_,
10      Query       => "( Status = 'new' OR Status = 'open' OR Status = 'stalled')
11                      AND ( Type = 'reminder' OR 'Type' = 'ticket' )",
12                     #XXX and we have the magic custom field
13      slots       => scalar( @{ $ARGS{username} } ),
14      Embed       => 'Schedule.html',
15      DimPast     => 1,
16      Display     => 'Schedule',
17      DisplayArgs => [ username => $ARGS{username} ],
18 &>
19
20 <%init>
21 my @files = ();
22 #if ( ! $initialized ) {
23   push @files, map "overlibmws$_", ( '', qw( _iframe _draggable _crossframe ) );
24   push @files, map { "${_}contentmws" } qw( iframe ajax );
25 #%}
26 </%init>