Add analytics
[bus.git] / busui / owa / modules / base / templates / filter_period.tpl
maxious 1 <div id="owa_reportPeriodControl">
2
3 <table id="owa_reportPeriodLabelContainer" cellpadding="0" cellspacing="0">
4 <TR>
5 <TD class="owa_reportPeriodLabelText">
6 <span><?php $this->out( $this->get( 'period_label' ) );?><?php $this->out( $this->get( 'date_label' ) );?></span>
7 </TD>
8 <TD class="owa_reportRevealControl"></TD>
9 </TR>
10 </table>
11
12 <table id="owa_reportPeriodFiltersContainer" style="display:none;" cellpadding="0" cellspacing="0">
13 <TR>
14 <TH>
15 Enter a Date Range:
16 </TH>
17 </TR>
18 <TR>
19 <TD>
20 <input type="text" id="owa_report-datepicker-start" size="10"> to <input type="text" id="owa_report-datepicker-end" size="10">
21 </TD>
22 </TR>
23 <TR>
24 <TH colspan="2">
25 Or choose a predefined date range below:
26 </TH>
27 </TR>
28 <TR>
29 <TD colspan="2">
30 <SELECT id="owa_reportPeriodFilter" name="owa_reportPeriodFilter">
31 <?php foreach ($reporting_periods as $reporting_period => $value):?>
32 <OPTION VALUE="<?php echo $reporting_period;?>" <?php if ($params['period'] == $reporting_period): echo 'selected'; endif; ?>><?php echo $value['label'];?></OPTION>
33 <?php endforeach;?>
34 </SELECT>
35 </TD>
36 </TR>
37 <TR>
38 <TD colspan="2"><INPUT type="submit" id="owa_reportPeriodFilterSubmit" name="" value="Change Date Period"></TD>
39 </TR>
40 </table>
41 </div>