9ba41c7e3aab4d2b588283cfcbbdee894bae9f30
[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      Display     => 'Schedule',
16      DisplayArgs => [ username => $ARGS{username} ],
17 &>
18
19 <%init>
20 my @files = ();
21 #if ( ! $initialized ) {
22   push @files, map "overlibmws$_", ( '', qw( _iframe _draggable _crossframe ) );
23   push @files, map { "${_}contentmws" } qw( iframe ajax );
24 #%}
25 </%init>