2012-03-12 Miguel de Dios <miguel.dedios@artica.es>

* 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
This commit is contained in:
mdtrooper 2012-03-12 18:53:32 +00:00
parent 05b28e1302
commit 6d855e89c2
3 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2012-03-12 Miguel de Dios <miguel.dedios@artica.es>
* 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 <miguel.dedios@artica.es>
* include/functions_visual_map.php,

View File

@ -143,6 +143,8 @@ $table->data["all_5"][1] = html_print_select ($label_type, 'label_type', 'agent_
echo '<form method="post"
action="index.php?sec=gmap&sec2=godmode/reporting/visual_console_builder&tab=' . $activeTab . '&id_visual_console=' . $visualConsole["id"] . '"
onsubmit="if (! confirm(\''.__('Are you sure to add many elements\nin visual map?').'\')) return false; else return check_fields();">';
$table->size[0] = "20%";
$table->size[1] = "80%";
html_print_table ($table);
echo '<div class="action-buttons" style="width: '.$table->width.'">';

View File

@ -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 .= '<select id="'.$id.'" name="'.$name.'"'.$attributes.' ' . $styleText . '>';