diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index a45bab78d5..c7f5f3a6ce 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,14 @@ +2011-07-12 Juan Manuel Ramon + + * include/functions_events.php + include/functions.php + operation/agentes/estado_monitores.php + operation/agentes/networkmap.php + godmode/modules/manage_nc_groups.php: Fixes in this views in order + to have compatibility with IE. + + Bug: #3274423 + 2011-07-11 Juan Manuel Ramon * install.php: Fixed installation over a new database. diff --git a/pandora_console/godmode/modules/manage_nc_groups.php b/pandora_console/godmode/modules/manage_nc_groups.php index 44d338fc33..8120bebbc9 100644 --- a/pandora_console/godmode/modules/manage_nc_groups.php +++ b/pandora_console/godmode/modules/manage_nc_groups.php @@ -120,7 +120,7 @@ foreach ($groups as $group) { $data[1] = network_components_get_group_name ($group['parent']); - $data[2] = '
'; + $data[2] = ''; $data[2] .= html_print_input_hidden ('delete', 1, true); $data[2] .= html_print_input_hidden ('id', $group['id_sg'], true); $data[2] .= html_print_input_image ('del', 'images/cross.png', 1, '', true, diff --git a/pandora_console/include/functions.php b/pandora_console/include/functions.php index 8aa1d3166f..ded5ff986c 100644 --- a/pandora_console/include/functions.php +++ b/pandora_console/include/functions.php @@ -1172,6 +1172,7 @@ function string2image($string, $width, $height, $fontsize = 3, imagedestroy($rotated); $file_url = str_replace('#','%23',$file_url); + $file_url = str_replace('%','%25',$file_url); return $file_url; } diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index eade9ecc6c..773b75b0d1 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -411,7 +411,7 @@ function events_print_event_table ($filter = "", $limit = 10, $width = 440, $ret - $data[3] = ''. ui_print_string_substr ($event["evento"],45,true). ''; + $data[3] = ''. ui_print_string_substr ($event["evento"], 45, true, '9.5'). ''; if ($event["id_agente"] > 0) { // Agent name @@ -434,7 +434,7 @@ function events_print_event_table ($filter = "", $limit = 10, $width = 440, $ret } // Timestamp - $data[6] = ui_print_timestamp ($event["timestamp"], true); + $data[6] = ui_print_timestamp ($event["timestamp"], true, array('style' => 'font-size: 7pt')); array_push ($table->rowclass, get_priority_class ($event["criticity"])); array_push ($table->data, $data); diff --git a/pandora_console/operation/agentes/estado_monitores.php b/pandora_console/operation/agentes/estado_monitores.php index 816c5dfce6..3e04ebf8b9 100644 --- a/pandora_console/operation/agentes/estado_monitores.php +++ b/pandora_console/operation/agentes/estado_monitores.php @@ -312,7 +312,7 @@ foreach ($modules as $module) { } } - $data[2] = servers_show_type ($module['id_modulo']) . '  '; + $data[2] = servers_show_type ($module['id_modulo']) . ' '; if (check_acl ($config['id_user'], $id_grupo, "AW")) $data[2] .= '' . html_print_image("images/config.png", true, array("alt" => '0', "border" => "")) . ''; @@ -415,7 +415,7 @@ foreach ($modules as $module) { // if ($nombre_tipo_modulo != "log4x") $data[8] .= '' . html_print_image("images/chart_curve.png", true, array("border" => '0', "alt" => "")) . '   '; - $data[8] .= " " . html_print_image('images/binary.png', true, array("border" => '0', "alt" => "")) . ""; + $data[8] .= "" . html_print_image('images/binary.png', true, array("border" => '0', "alt" => "")) . ""; } if ($module['estado'] == 3) { @@ -424,7 +424,7 @@ foreach ($modules as $module) { else { $data[9] = ''; } - $data[9] .= ui_print_timestamp ($module["utimestamp"], true); + $data[9] .= ui_print_timestamp ($module["utimestamp"], true, array('style' => 'font-size: 7pt')); $data[9] .= ''; array_push ($table->data, $data); diff --git a/pandora_console/operation/agentes/networkmap.php b/pandora_console/operation/agentes/networkmap.php index 8aa7448e71..6fc6151bee 100644 --- a/pandora_console/operation/agentes/networkmap.php +++ b/pandora_console/operation/agentes/networkmap.php @@ -214,7 +214,7 @@ switch($activeTab){ } if(!empty($name)) { - $title .= " » ".$name; + $title .= " » ". mb_substr($name, 0, 25); } ui_print_page_header (__('Network map')." - ".$title, "images/bricks.png", false, "network_map", false, $buttons);