2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: fixed the position of items in visual map when print by PHP. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3868 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
46e5822ef7
commit
77695b1cb3
|
@ -1,3 +1,8 @@
|
|||
2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_visual_map.php: fixed the position of items in visual
|
||||
map when print by PHP.
|
||||
|
||||
2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/javascript/pandora.js, operation/agentes/ver_agente.php,
|
||||
|
|
|
@ -80,7 +80,7 @@ function printItemInVisualConsole($layoutData) {
|
|||
$sizeStyle = 'width: ' . $width . 'px; height: ' . $height . 'px;';
|
||||
$imageSize = 'width="' . $width . '" height="' . $height . '"';
|
||||
}
|
||||
echo '<div id="' . $id . '" class="item static_graph" style="text-align: center; color: ' . $color . '; position: absolute; ' . $sizeStyle . ' margin-top: ' . $top . 'px; margin-left: ' . $left . 'px;">';
|
||||
echo '<div id="' . $id . '" class="item static_graph" style="left: 0px; top: 0px; text-align: center; color: ' . $color . '; position: absolute; ' . $sizeStyle . ' margin-top: ' . $top . 'px; margin-left: ' . $left . 'px;">';
|
||||
if ($layoutData['image'] != null) {
|
||||
if (($width != 0) && ($height != 0))
|
||||
echo print_image($img, true, array("class" => "image", "id" => "image_" . $id, "width" => "$width", "height" => "$height", "style" => $borderStyle));
|
||||
|
|
Loading…
Reference in New Issue