diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 87d849eef1..92835ca680 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,11 @@ +2011-02-16 Miguel de Dios + + * include/functions_visual_map.php: fixed the edit to set items with empty + names. + + * include/ajax/visual_console_builder.ajax.php: fixed the position of + items "icons". + 2011-02-16 Miguel de Dios * include/functions_db.php: fixed check "<>" in other case as the ajax diff --git a/pandora_console/include/ajax/visual_console_builder.ajax.php b/pandora_console/include/ajax/visual_console_builder.ajax.php index a7719d39c6..7b8df96f07 100644 --- a/pandora_console/include/ajax/visual_console_builder.ajax.php +++ b/pandora_console/include/ajax/visual_console_builder.ajax.php @@ -36,7 +36,7 @@ $id_element = get_parameter('id_element', null); $image = get_parameter('image', null); $background = get_parameter('background', null); -$label = get_parameter('label', null); +$label = get_parameter('label', ''); $left = get_parameter('left', null); $top = get_parameter('top', null); $agent = get_parameter('agent', null); diff --git a/pandora_console/include/functions_visual_map.php b/pandora_console/include/functions_visual_map.php index 891ab7ddda..fa1d27cd0d 100644 --- a/pandora_console/include/functions_visual_map.php +++ b/pandora_console/include/functions_visual_map.php @@ -135,7 +135,7 @@ function printItemInVisualConsole($layoutData) { $sizeStyle = 'width: ' . $width . 'px; height: ' . $height . 'px;'; $imageSize = 'width="' . $width . '" height="' . $height . '"'; } - echo '
'; + echo '
'; if ($layoutData['image'] != null) { if (($width != 0) && ($height != 0))