Changeset 6249 for trunk/centreon/www/include/nagiosStats/nagiosStats.php
- Timestamp:
- 08/21/08 19:19:15 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/centreon/www/include/nagiosStats/nagiosStats.php
r6197 r6249 27 27 unset($path); 28 28 29 30 29 /* 31 30 * Time period select 32 31 */ 33 32 $form = new HTML_QuickForm('form', 'post', "?p=".$p); 34 $time_period = array("today" =>_("Today"),35 "yesterday" => _("Yesterday"),36 "last4days" =>_("Last 4 days"),37 "lastweek" =>_("Last week"),38 "lastmonth" =>_("Last month"),39 "last6month" =>_("Last 6 months"),40 "lastyear" =>_("Last year"));33 $time_period = array("today" => _("Today"), 34 "yesterday" => _("Yesterday"), 35 "last4days" => _("Last 4 days"), 36 "lastweek" => _("Last week"), 37 "lastmonth" => _("Last month"), 38 "last6month" => _("Last 6 months"), 39 "lastyear" => _("Last year")); 41 40 42 41 $selTP =& $form->addElement('select', 'start', _("Select time period :"), $time_period, array("onChange" =>"this.form.submit();")); … … 44 43 $form->setDefaults(array('start' => $_POST["start"])); 45 44 } else { 46 $form->setDefaults(array('start' => " last4days"));45 $form->setDefaults(array('start' => "Today")); 47 46 } 48 47
