1 <?php
defined('SYSPATH') OR die('No direct access allowed.'); ?
>
2 <div id
="response"></div
>
3 <div id
="progress"></div
>
13 <h1
><?php
echo _('Event History Report') ?
></h1
>
15 <div id
="histogram_report">
16 <?php
echo form
::open('histogram/generate', array('id' => 'histogram_form')); ?
>
17 <?php
echo new View('reports/objselector'); ?
>
19 <div
class="setup-table" >
23 <?php
echo _('Report Period') ?
><br
/>
24 <?php
echo form
::dropdown(array('name' => 'report_period'), $options->get_alternatives('report_period'), $options['report_period']); ?
>
26 <td style
="width: 18px"> 
;</td
>
28 <?php
echo _('State Types To Graph') ?
><br
/>
29 <?php
echo form
::dropdown('state_types', $options->get_alternatives('state_types')) ?
>
33 <tr id
="custom_time" style
="display: none; clear: both;">
34 <td
><?php
echo help
::render('start-date').' '._('Start date') ?
> (<em id
="start_time_tmp"><?php
echo _('Click calendar to select date') ?
></em
>)<br
/>
35 <input type
="text" id
="cal_start" name
="cal_start" maxlength
="10" autocomplete
="off" class="date-pick datepick-start" title
="<?php echo _('Date Start selector') ?>" />
36 <input type
="hidden" name
="start_time" id
="start_time" value
=""/>
37 <input type
="text" maxlength
="5" name
="time_start" id
="time_start" class="time_start" value
="08:00">
40 <td
><?php
echo help
::render('end-date').' '._('End date') ?
> (<em id
="end_time_tmp"><?php
echo _('Click calendar to select date') ?
></em
>)<br
/>
41 <input type
="text" id
="cal_end" name
="cal_end" maxlength
="10" autocomplete
="off" class="date-pick datepick-end" title
="<?php echo _('Date End selector') ?>" />
42 <input type
="hidden" name
="end_time" id
="end_time" value
="" />
43 <input type
="text" maxlength
="5" name
="time_end" id
="time_end" class="time_end" value
="09:00">
48 <?php
echo _('Statistics Breakdown') ?
><br
/>
49 <?php
echo form
::dropdown('breakdown', $options->get_alternatives('breakdown'), $options['breakdown']) ?
>
51 <td style
="width: 18px"> 
;</td
>
53 <div data
-show
-for="hosts hostgroups">
54 <?php
echo _('Events To Graph') ?
><br
/>
55 <?php
echo form
::dropdown('host_states', $options->get_alternatives('host_states')) ?
>
57 <div data
-show
-for="services servicegroups">
58 <?php
echo _('Events To Graph') ?
><br
/>
59 <?php
echo form
::dropdown('service_states', $options->get_alternatives('service_states')) ?
>
65 <?php
echo form
::checkbox('newstatesonly', 1, $options['newstatesonly']); ?
>
66 <?php
echo _('Ignore Repeated States') ?
>
70 <td colspan
="3"><input id
="reports_submit_button" type
="submit" name
="" value
="<?php echo _('Create report') ?>" class="button create-report" /></td
>
74 <?php
echo form
::close(); ?
>