reports: Generalize dates, saved reports
[ninja.git] / modules / reports / views / summary / setup.php
blob19cdef3cffa672fece1cde15eef73a8b052de4b3
1 <?php defined('SYSPATH') OR die('No direct access allowed.'); ?>
2 <div id="response"><?php
3 if (isset($error_msg)) {
4 echo '<ul class="alert error"><li>'.$error_msg.'</li></ul>';
6 ?></div>
8 <div class="report-page-setup">
9 <?php echo new View('reports/saveselector'); ?>
11 <h2><?php echo _('Report Mode') ?></h2>
12 <hr />
13 <form id="report_mode_form"><br />
14 <label><?php echo form::radio(array('name' => 'report_mode'), 'standard', !$options['report_type'] || $options['standardreport']); ?> <?php echo _('Standard') ?></label> &nbsp; &nbsp; <label><?php echo form::radio(array('name' => 'report_mode'), 'custom', $options['report_type'] && !$options['standardreport']); ?> <?php echo _('Custom') ?></label>
15 </form>
16 <br />
18 <?php echo $report_options ?>
19 </div>