2013-10-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php, include/Image/image_functions.php: fixed the show visualmap widget in dashboard. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8872 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
1122dd9714
commit
1521214cb7
|
@ -1,3 +1,9 @@
|
|||
2013-10-08 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_visual_map.php,
|
||||
include/Image/image_functions.php: fixed the show visualmap widget
|
||||
in dashboard.
|
||||
|
||||
2013-10-08 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/styles/pandora.css: add the style for the dialogs in
|
||||
|
|
|
@ -43,7 +43,7 @@ if (isset($_GET['getFile'])) {
|
|||
createthumb( $_SERVER['DOCUMENT_ROOT'] . $file, $fileTemp,$newWidth,$newHeight);
|
||||
}
|
||||
}
|
||||
else createthumb( $_SERVER['DOCUMENT_ROOT'] . $file, $fileTemp,$newWidth,$newHeight);
|
||||
else createthumb($file, $fileTemp,$newWidth,$newHeight);
|
||||
getFile($fileName, $fileTemp);
|
||||
unlink($fileTemp);
|
||||
}
|
||||
|
|
|
@ -903,8 +903,16 @@ function visual_map_print_visual_map ($id_layout, $show_links = true, $draw_line
|
|||
$proportion = $width / $layout["width"];
|
||||
$mapHeight = $proportion * $layout["height"];
|
||||
}
|
||||
$backgroundImage = '/include/Image/image_functions.php?getFile=1&thumb=1&thumb_size=' . $mapWidth . 'x' . $mapHeight . '&file=' .
|
||||
$config['homeurl'] . 'images/console/background/'.io_safe_input ($layout["background"]);
|
||||
|
||||
if (defined('METACONSOLE')) {
|
||||
$backgroundImage = '/include/Image/image_functions.php?getFile=1&thumb=1&thumb_size=' . $mapWidth . 'x' . $mapHeight . '&file=' .
|
||||
$config['homeurl'] . 'images/console/background/'.io_safe_input ($layout["background"]);
|
||||
}
|
||||
else {
|
||||
html_debug_print($config, true);
|
||||
$backgroundImage = '/include/Image/image_functions.php?getFile=1&thumb=1&thumb_size=' . $mapWidth . 'x' . $mapHeight . '&file=' .
|
||||
$config['homedir'] . '/images/console/background/'.io_safe_input ($layout["background"]);
|
||||
}
|
||||
}
|
||||
else {
|
||||
$mapWidth = $layout["width"];
|
||||
|
|
Loading…
Reference in New Issue