1 <table class="box" bgcolor="#336699" style="border-style:none solid solid solid;border-width:1px;border-color:#2E2E8C;" cellpadding="0" cellspacing="0">
4 <th style="color: rgb(51, 102, 153);" class="titlebox">
5 <span class="titleboxclose">
6 <a href="#" onclick="hideshow('stats_control')">X</a></span>
7 <span class="titleboxtitle" style="color: rgb(255, 255, 255);">
8 <b><% $Title %></b></span>
10 <th style="color: rgb(51, 102, 153);" class="titleboxright">
11 <span class="titleboxright"> </span>
14 <tr id="element-stats_control">
15 <td colspan="3" class="" bgcolor="#dddddd">
16 <table border="0" cellpadding="1" cellspacing="0">
17 % if (defined $ShowStatus) {
19 <td class="collection-as-table" style="text-align:left;">Show Status:</td>
20 <td COLSPAN=3 class="collection-as-table" style="text-align:left;">
21 <& /Elements/SelectStatus, Name=>"status", Default => $Status, DefaultValue => undef &>
25 % if (defined $ShowSingleQueue) {
27 <td class="collection-as-table" style="text-align:left;">Show Queue:</td>
28 <td COLSPAN=3 class="collection-as-table" style="text-align:left;">
29 <& /Elements/SelectQueue, Name=>"Queue", Default=>$Queue ,ShowNullOption=>0,
30 CheckQueueRight=>'SeeQueue' &>
34 % if (defined $ShowDates) {
36 <& /RTx/Statistics/Elements/DateSelectRow, Label => "Start Date:",
37 refMonth => $sMonth, nameMonth => "sMonth",
38 refDay => $sDay, nameDay => "sDay",
39 refYear => $sYear, nameYear => "sYear" &>
42 <& /RTx/Statistics/Elements/DateSelectRow, Label => "End Date:",
43 refMonth => $eMonth, nameMonth => "eMonth",
44 refDay => $eDay, nameDay => "eDay",
45 refYear => $eYear, nameYear => "eYear" &>
48 <td class="collection-as-table" style="text-align:left;">Show Weekends:</td>
49 <td class="collection-as-table" style="text-align:left;">
50 <select name=weekends>
51 <option value=0 <% (!$weekends) && 'selected' %> >No</option>
52 <option value=1 <% $weekends && 'selected' %> >Yes</option>
57 % if (defined $ShowMultiQueues) {
59 % if (defined $ShowDates) {
60 %# If we're showing the dates, we put these side by side.
61 <td COLSPAN=2 class="collection-as-table" style="text-align:left;">Select All Queues: <input type=checkbox name="AddAllCheck"></td>
62 <td COLSPAN=3 class="collection-as-table" >
63 <& /RTx/Statistics/Elements/SelectMultiQueue, Name=>"queues", Selected=>$queues_ref,
64 ShowNullOption=>0, CheckQueueRight=>'SeeQueue', Size => 10, NamedValues => 1 &>
67 <td COLSPAN=3 class="collection-as-table" style="text-align:left;">
68 <& /RTx/Statistics/Elements/SelectMultiQueue, Name=>"queues", Selected=>$queues_ref,
69 ShowNullOption=>0, CheckQueueRight=>'SeeQueue', Size => 10, NamedValues => 1 &>
73 <td class="collection-as-table" style="text-align:left;">Select All Queues: <input type=checkbox name="AddAllCheck"></td>
77 <& /RTx/Statistics/Elements/ControlsAsTable/UpdatePage &>
88 $ShowMultiQueues => undef
98 $ShowSingleQueue => undef