summaryrefslogtreecommitdiff
path: root/rt/share/html/Callbacks/RTx-Calendar/Ticket/Elements/Tabs/Default
blob: b6d390598e0cdca76ec6d261e6ec1146b764ec3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<%init>
my $args;
$args= "?" . $m->comp(
    '/Elements/QueryString',
    Query   => $ARGS{'Query'}   || $session{'CurrentSearchHash'}->{'Query'},
    Format  => $ARGS{'Format'}  || $session{'CurrentSearchHash'}->{'Format'},
    OrderBy => $ARGS{'OrderBy'} || $session{'CurrentSearchHash'}->{'OrderBy'},
    Order   => $ARGS{'Order'}   || $session{'CurrentSearchHash'}->{'Order'},
    Page   => $ARGS{'Page'}   || $session{'CurrentSearchHash'}->{'Page'},
    Rows    => $ARGS{'Rows'},
  ) if ($ARGS{'Query'} or $session{'CurrentSearchHash'}->{'Query'});
$args ||= '';

$tabs->{'zz'} = { title =>loc("Calendar"),
                  path  => "Search/Calendar.html$args" };
</%init>
<%args>
$tabs
</%args>