mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
re-refix
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5910 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ba78fe29fb
commit
46a5544b52
1 changed files with 2 additions and 2 deletions
|
|
@ -117,7 +117,7 @@
|
|||
if(!$height) $height = 400;
|
||||
|
||||
$body_code = sprintf('<div style="width:%dpx;height:%dpx;margin-bottom:5px;"><iframe src="%s?module=editor&act=procEditorCall&method=displayMap&component=naver_map&width=%d&height=%d&x=%f&y=%f&zoom=%d&marker=%s" frameBorder="0" style="padding:1px; border:1px solid #AAAAAA;width:%dpx;height:%dpx;margin:0px;"></iframe></div>', $width, $height, Context::getRequestUri(), $width, $height, $x, $y, $zoom, $marker, $width, $height);
|
||||
return $zoom;
|
||||
return $body_code;
|
||||
}
|
||||
|
||||
function displayMap() {
|
||||
|
|
@ -140,7 +140,7 @@
|
|||
settype($y,"int");
|
||||
|
||||
$zoom = Context::get('zoom');
|
||||
if(!is_int($zoom)) $zoom = 3;
|
||||
if($zoom == '') $zoom = 3;
|
||||
settype($zoom,"int");
|
||||
|
||||
$marker = Context::get('marker');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue