mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-25 14:54:52 +02:00
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>
|
2010-08-23 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* operation/agentes/networkmap.php: Add the feature of
|
* operation/agentes/networkmap.php: Add the feature of
|
||||||
|
@ -158,10 +158,10 @@ switch ($activeTab) {
|
|||||||
$width = (int) get_parameter ("width", 0);
|
$width = (int) get_parameter ("width", 0);
|
||||||
$height = (int) get_parameter ("height", 0);
|
$height = (int) get_parameter ("height", 0);
|
||||||
|
|
||||||
if($width == 0 && $height == 0) {
|
if($width == 0 || $height == 0) {
|
||||||
$sizeBackground = getimagesize($config['homedir'] . '/images/console/background/' . $background);
|
$sizeImage = getimagesize($config['homedir'] . '/images/console/icons/' . $image . '.png');
|
||||||
$width = $sizeBackground[0];
|
$width = $sizeImage[0];
|
||||||
$height = $sizeBackground[1];
|
$height = $sizeImage[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
$message = '';
|
$message = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user