From cb8a90073ab0d6a596816cea7bed600604100926 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Wed, 28 Jul 2010 09:26:21 +0000 Subject: [PATCH] 2010-07-28 Miguel de Dios * godmode/reporting/visual_console_builder.data.php: fixed the select box field for to don't show None value for map background. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3073 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 4 ++++ .../godmode/reporting/visual_console_builder.data.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index a8ebbd8ae3..216a87a1a2 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2010-07-28 Miguel de Dios + * godmode/reporting/visual_console_builder.data.php: fixed the select box + field for to don't show None value for map background. + 2010-07-27 Miguel de Dios * include/functions_reporting.php: added new parameters in the function "get_agentmodule_sla", the parameters days of week to search and range of diff --git a/pandora_console/godmode/reporting/visual_console_builder.data.php b/pandora_console/godmode/reporting/visual_console_builder.data.php index 122544c3eb..a6b3f56792 100644 --- a/pandora_console/godmode/reporting/visual_console_builder.data.php +++ b/pandora_console/godmode/reporting/visual_console_builder.data.php @@ -52,7 +52,7 @@ $table->data[1][1] = print_select_groups($config['id_user'], "AR", true, 'id_gro $backgrounds_list = list_files ('images/console/background/', "jpg", 1, 0); $backgrounds_list = array_merge ($backgrounds_list, list_files ('images/console/background/', "png", 1, 0)); $table->data[2][0] = __('Background'); -$table->data[2][1] = print_select ($backgrounds_list, 'background', $background, '', 'None', '', true); +$table->data[2][1] = print_select ($backgrounds_list, 'background', $background, '', '', 0, true); if ($action == 'new') { $textButtonSubmit = __('Save'); $classButtonSubmit = 'sub wand';