From 19a726a5d73b92e126b2206519253e33c8b163c9 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Fri, 28 May 2010 08:52:00 +0000 Subject: [PATCH] 2010-05-28 Miguel de Dios * godmode/reporting/reporting_builder.item_editor.php: added more intervals for the period (5 days, 15 days and 1 month) and removed tiny intervals. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ .../reporting/reporting_builder.item_editor.php | 10 ++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 31e98536ee..881b2faecd 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2010-05-28 Miguel de Dios + + * godmode/reporting/reporting_builder.item_editor.php: added more intervals + for the period (5 days, 15 days and 1 month) and removed tiny intervals. + 2010-05-27 Miguel de Dios * include/functions_api.php: added new calls for api diff --git a/pandora_console/godmode/reporting/reporting_builder.item_editor.php b/pandora_console/godmode/reporting/reporting_builder.item_editor.php index 20bbed821c..482cef61c0 100644 --- a/pandora_console/godmode/reporting/reporting_builder.item_editor.php +++ b/pandora_console/godmode/reporting/reporting_builder.item_editor.php @@ -205,14 +205,12 @@ switch ($action) { } $intervals = array (); -$intervals[30] = human_time_description_raw (30); -$intervals[60] = human_time_description_raw (60); $intervals[300] = human_time_description_raw (300); $intervals[600] = human_time_description_raw (600); -$intervals[1200] = human_time_description_raw (1200); -$intervals[1800] = human_time_description_raw (1800); -$intervals[3600] = human_time_description_raw (3600); -$intervals[7200] = human_time_description_raw (7200); +$intervals[86400] = human_time_description_raw (86400); +$intervals[432000] = human_time_description_raw (432000); +$intervals[1296000] = human_time_description_raw (1296000); +$intervals[2592000] = human_time_description_raw (2592000); $urlForm = 'index.php?sec=greporting&sec2=godmode/reporting/reporting_builder&tab=item_editor&action=' . $actionParameter . '&id_report=' . $idReport;