From 6d855e89c26f17b12b158cbe3422ef2ee18b59ad Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Mon, 12 Mar 2012 18:53:32 +0000 Subject: [PATCH] 2012-03-12 Miguel de Dios * include/functions_html.php: into the function "html_print_select" removed the hardcode style for the selectbox. * godmode/reporting/visual_console_builder.wizard.php: force the style of content table of form. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 8 ++++++++ .../godmode/reporting/visual_console_builder.wizard.php | 2 ++ pandora_console/include/functions_html.php | 4 ++-- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 55ae6da118..8b1c543413 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,11 @@ +2012-03-12 Miguel de Dios + + * include/functions_html.php: into the function "html_print_select" removed + the hardcode style for the selectbox. + + * godmode/reporting/visual_console_builder.wizard.php: force the style of + content table of form. + 2012-03-12 Miguel de Dios * include/functions_visual_map.php, diff --git a/pandora_console/godmode/reporting/visual_console_builder.wizard.php b/pandora_console/godmode/reporting/visual_console_builder.wizard.php index 752fcd8286..1cc6bd4434 100644 --- a/pandora_console/godmode/reporting/visual_console_builder.wizard.php +++ b/pandora_console/godmode/reporting/visual_console_builder.wizard.php @@ -143,6 +143,8 @@ $table->data["all_5"][1] = html_print_select ($label_type, 'label_type', 'agent_ echo '
'; +$table->size[0] = "20%"; +$table->size[1] = "80%"; html_print_table ($table); echo '
'; diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index 411eb12314..e2564ff8e2 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -283,10 +283,10 @@ function html_print_select ($fields, $name, $selected = '', $script = '', $nothi } if ($style === false) { - $styleText = 'style="max-width: 180px"'; + $styleText = 'style=""'; } else { - $styleText = 'style="max-width: 180px; ' .$style . '"'; + $styleText = 'style="' .$style . '"'; } $output .= '