2010-08-24 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/visual_console_builder.php: Fixed the size of the icons when choose 0 pixels into the wizard git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3176 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
0ff5941110
commit
510d5bd64b
|
@ -1,3 +1,9 @@
|
|||
2010-08-24 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* godmode/reporting/visual_console_builder.php: Fixed
|
||||
the size of the icons when choose 0 pixels into
|
||||
the wizard
|
||||
|
||||
2010-08-23 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* operation/agentes/networkmap.php: Add the feature of
|
||||
|
|
|
@ -158,10 +158,10 @@ switch ($activeTab) {
|
|||
$width = (int) get_parameter ("width", 0);
|
||||
$height = (int) get_parameter ("height", 0);
|
||||
|
||||
if($width == 0 && $height == 0) {
|
||||
$sizeBackground = getimagesize($config['homedir'] . '/images/console/background/' . $background);
|
||||
$width = $sizeBackground[0];
|
||||
$height = $sizeBackground[1];
|
||||
if($width == 0 || $height == 0) {
|
||||
$sizeImage = getimagesize($config['homedir'] . '/images/console/icons/' . $image . '.png');
|
||||
$width = $sizeImage[0];
|
||||
$height = $sizeImage[1];
|
||||
}
|
||||
|
||||
$message = '';
|
||||
|
|
Loading…
Reference in New Issue