From 2dc2c24b2073c838e7d0a75b61a009c6f7bb1f75 Mon Sep 17 00:00:00 2001 From: juanmanuelr Date: Tue, 22 Feb 2011 13:42:01 +0000 Subject: [PATCH] 2011-02-22 Juan Manuel Ramon * godmode/reporting/visual_console_builder.php: Small icons created in visual console wizard are resized after changed it into a smaller one. Fixed bug 3175809. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3978 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 7 +++++++ .../godmode/reporting/visual_console_builder.php | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 292f1a4e52..86447f3513 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2011-02-22 Juan Manuel Ramon + + * godmode/reporting/visual_console_builder.php: Small icons created + in visual console wizard are resized after changed it into a smaller one. + + Fixed bug 3175809. + 2011-02-22 Sancho Lerena * include/functions_extensions.php: Extension menu entries text not diff --git a/pandora_console/godmode/reporting/visual_console_builder.php b/pandora_console/godmode/reporting/visual_console_builder.php index d758798470..379a718daf 100755 --- a/pandora_console/godmode/reporting/visual_console_builder.php +++ b/pandora_console/godmode/reporting/visual_console_builder.php @@ -158,12 +158,6 @@ switch ($activeTab) { $width = (int) get_parameter ("width", 0); $height = (int) get_parameter ("height", 0); - if($width == 0 || $height == 0) { - $sizeImage = getimagesize($config['homedir'] . '/images/console/icons/' . $image . '.png'); - $width = $sizeImage[0]; - $height = $sizeImage[1]; - } - $message = ''; if (empty($name_modules)) {