From 6116703a716ec067245c0322c2a2d75211a6a9c5 Mon Sep 17 00:00:00 2001 From: zero Date: Thu, 29 Mar 2007 09:59:26 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@778 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- .../components/naver_map/naver_map.class.php | 35 +++++++++++++++++-- .../components/naver_map/tpl/popup.html | 3 ++ .../editor/components/naver_map/tpl/popup.js | 14 +++++++- 3 files changed, 48 insertions(+), 4 deletions(-) diff --git a/modules/editor/components/naver_map/naver_map.class.php b/modules/editor/components/naver_map/naver_map.class.php index 4613c35db..114f0bd7c 100644 --- a/modules/editor/components/naver_map/naver_map.class.php +++ b/modules/editor/components/naver_map/naver_map.class.php @@ -100,10 +100,12 @@ function transHTML($xml_obj) { $x = $xml_obj->attrs->x; $y = $xml_obj->attrs->y; + $marker_1 = $xml_obj->attrs->marker_1; + $marker_2 = $xml_obj->attrs->marker_2; + $marker_3 = $xml_obj->attrs->marker_3; $width = $xml_obj->attrs->width; $height = $xml_obj->attrs->height; - - $body_code = sprintf('
', $width, $height, Context::getRequestUri(), $width, $height, $x, $y, $width, $height); + $body_code = sprintf('
', $width, $height, Context::getRequestUri(), $width, $height, $x, $y, $marker_1, $marker_2, $marker_3, $width, $height); return $body_code; } @@ -122,6 +124,10 @@ $y = Context::get('y'); if(!$y) $y = 529730; + $marker_1 = Context::get('marker_1'); + $marker_2 = Context::get('marker_2'); + $marker_3 = Context::get('marker_3'); + $html = ''. ''. ''. @@ -131,16 +137,39 @@ ''. ''. ''. ''. '
'. '