git-svn-id: http://xe-core.googlecode.com/svn/trunk@805 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-30 06:01:24 +00:00
parent 84d0a85ebb
commit df75151c85
79 changed files with 1972 additions and 1919 deletions

View file

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<component version="0.1">
<title xml:lang="ko">네이버맵 연동</title>
<author email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28">
<name xml:lang="ko">제로</name>
<description xml:lang="ko">네이버에서 제공하는 네이버 지도 open api를 이용하여 에디터에 원하는 곳의 지도를 추가하거나 수정할 수 있습니다.\n네이버 지도 open api키를 발급 받아서 등록을 해주셔야 정상적인 사용이 가능합니다.</description>
</author>
<extra_vars>
<var name="api_key">
<title xml:lang="ko">네이버지도 api key</title>
<description xml:lang="ko">http://www.naver.com/ 에서 네이버 지도 API key를 발급 받으신 후 입력해주세요.</description>
</var>
</extra_vars>
<title xml:lang="ko">네이버맵 연동</title>
<author email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28">
<name xml:lang="ko">제로</name>
<description xml:lang="ko">네이버에서 제공하는 네이버 지도 open api를 이용하여 에디터에 원하는 곳의 지도를 추가하거나 수정할 수 있습니다.\n네이버 지도 open api키를 발급 받아서 등록을 해주셔야 정상적인 사용이 가능합니다.</description>
</author>
<extra_vars>
<var name="api_key">
<title xml:lang="ko">네이버지도 api key</title>
<description xml:lang="ko">http://www.naver.com/ 에서 네이버 지도 API key를 발급 받으신 후 입력해주세요.</description>
</var>
</extra_vars>
</component>

View file

@ -1,10 +1,10 @@
<!--%import("popup.css")-->
<!--%import("../lang")-->
<div class="error_window">
<div class="error_text">
{nl2br($lang->msg_no_apikey)}
</div>
<div class="editor_button_area">
<input type="button" value="{$lang->cmd_close}" onclick="window.close();" class="editor_button" />
</div>
<div class="error_text">
{nl2br($lang->msg_no_apikey)}
</div>
<div class="editor_button_area">
<input type="button" value="{$lang->cmd_close}" onclick="window.close();" class="editor_button" />
</div>
</div>

View file

@ -1,130 +1,131 @@
@charset "utf-8";
.editor_window {
width:700px;
clear:both;
width:700px;
clear:both;
}
.error_window {
width:700px;
width:700px;
}
.error_text {
padding:20px;
color:#444444;
border:10px solid #DDDDDD;
font-size:9pt;
line-height:200%;
padding:20px;
color:#444444;
border:10px solid #DDDDDD;
font-size:9pt;
line-height:200%;
}
.editor_title {
font-size:10pt;
font-weight:bold;
clear:both;
height:20px;
background-color:#555555;
color:#EFEFEF;
vertical-align:middle;
padding-top:5px;
border-bottom:1px solid #000000;
text-align:center;
font-size:10pt;
font-weight:bold;
clear:both;
height:20px;
background-color:#555555;
color:#EFEFEF;
vertical-align:middle;
padding-top:5px;
border-bottom:1px solid #000000;
text-align:center;
}
.address_box {
float:left;
width:250px;
border:1px solid #EEEEEE;
padding:5px;
margin:5px;
float:left;
width:250px;
border:1px solid #EEEEEE;
padding:5px;
margin:5px;
}
.input_address {
width:200px;
border:1px solid #AAAAAA;
height:12px;
font-size:9pt;
width:200px;
border:1px solid #AAAAAA;
height:12px;
font-size:9pt;
}
.address_button {
margin-top:4px;
background-color:#AAAAAA;
border:1px solid #333333;
color:#FFFFFF;
height:16px;
font-size:9pt;
margin-top:4px;
background-color:#AAAAAA;
border:1px solid #333333;
color:#FFFFFF;
height:16px;
font-size:9pt;
}
.about_address {
font-size:8pt;
color:#AAAAAA;
margin-top:3px;
font-size:8pt;
color:#AAAAAA;
margin-top:3px;
}
.address_list_box {
border:1px solid #DDDDDD;
padding:5px;
float:left;
width:250px;
height:288px;
margin:5px;
font-size:9pt;
color:#AAAAAA;
overflow:auto;
border:1px solid #DDDDDD;
padding:5px;
float:left;
width:250px;
height:288px;
margin:5px;
font-size:9pt;
color:#AAAAAA;
overflow:auto;
}
.address_list_box A {
color:#888888;
line-height:15px;
color:#888888;
line-height:15px;
}
.map_scale_box {
float:left;
width:250px;
border:1px solid #EEEEEE;
padding:5px;
margin:5px;
float:left;
width:250px;
border:1px solid #EEEEEE;
padding:5px;
margin:5px;
}
.map_scale_header {
float:left;
font-size:9pt;
width:60px;
float:left;
font-size:9pt;
width:60px;
}
.map_scale_body {
width:180px;
float:left;
margin-left:5px;
font-size:9pt;
width:180px;
float:left;
margin-left:5px;
font-size:9pt;
}
.input_map_size {
width:30px;
border:1px solid #EEEEEE;
height:12px;
font-size:9pt;
width:30px;
border:1px solid #EEEEEE;
height:12px;
font-size:9pt;
}
.map_display {
float:right;
width:410px;
height:410px;
margin:5px 5px 0px 6px;
float:right;
width:410px;
height:410px;
margin:5px 5px 0px 6px;
}
.editor_button_area {
width:100%;
border-top:1px solid #AAAAAA;
text-align:center;
background-color:#EEEEEE;
padding:0px 0px 2px 0px;
clear:both;
height:25px;
width:100%;
border-top:1px solid #AAAAAA;
text-align:center;
background-color:#EEEEEE;
padding:0px 0px 2px 0px;
clear:both;
height:25px;
}
.editor_button {
margin-top:4px;
background-color:#FFFFFF;
border:1px solid #AAAAAA;
height:18px;
font-size:9pt;
margin-top:4px;
background-color:#FFFFFF;
border:1px solid #AAAAAA;
height:18px;
font-size:9pt;
}

View file

@ -3,32 +3,33 @@
<!--%import("../lang")-->
<form action="./" method="get" onSubmit="search_address(); return false;" id="fo">
<input type="hidden" id="map_x" name="x" value="" />
<input type="hidden" id="map_y" name="x" value="" />
<input type="hidden" id="marker" name="marker_1" value="" />
<div class="editor_window">
<div class="editor_title">{$component_info->title} ver. {$component_info->version} <a href="#" onclick="winopen('./?module=editor&amp;act=viewComponentInfo&amp;component_name={$component_info->component_name}','ComponentInfo','left=10,top=10,width=10,height=10,resizable=no,scrollbars=no,toolbars=no');return false;"><img src="../../../tpl/images/about_component.gif" title="{$lang->about_component}" alt="{$lang->about_component}" class="about_component_icon" border="0" /></a></div>
<input type="hidden" id="map_x" name="x" value="" />
<input type="hidden" id="map_y" name="x" value="" />
<input type="hidden" id="marker" name="marker_1" value="" />
<div class="map_display"><iframe name="display_map" id="display_map" frameBorder="0" style="width:400px;height:400px;border:0px;margin:5px;" src="./?module=editor&amp;component=naver_map&amp;act=procCall&amp;method=displayMap&amp;width=400&amp;height=400"></iframe></div>
<div class="editor_window">
<div class="editor_title">{$component_info->title} ver. {$component_info->version} <a href="#" onclick="winopen('./?module=editor&amp;act=viewComponentInfo&amp;component_name={$component_info->component_name}','ComponentInfo','left=10,top=10,width=10,height=10,resizable=no,scrollbars=no,toolbars=no');return false;"><img src="../../../tpl/images/about_component.gif" title="{$lang->about_component}" alt="{$lang->about_component}" class="about_component_icon" border="0" /></a></div>
<div class="address_box">
<input type="text" class="input_address" id="address" value="" /><input type="submit" value="{$lang->cmd_search}" class="address_button" onclick="search_address();return false;"/>
<div class="about_address">{$lang->about_address}</div>
<div class="map_display"><iframe name="display_map" id="display_map" frameBorder="0" style="width:400px;height:400px;border:0px;margin:5px;" src="./?module=editor&amp;component=naver_map&amp;act=procCall&amp;method=displayMap&amp;width=400&amp;height=400"></iframe></div>
<div class="address_box">
<input type="text" class="input_address" id="address" value="" /><input type="submit" value="{$lang->cmd_search}" class="address_button" onclick="search_address();return false;"/>
<div class="about_address">{$lang->about_address}</div>
</div>
<div class="address_list_box" id="address_list">{$lang->about_address_use}</div>
<div class="map_scale_box">
<div class="map_scale_header">{$lang->map_width}</div>
<div class="map_scale_body"><input type="text" class="input_map_size" id="map_width" value="640" />px</div>
<div class="map_scale_header">{$lang->map_height}</div>
<div class="map_scale_body"><input type="text" class="input_map_size" id="map_height" value="480" />px</div>
</div>
<div class="editor_button_area">
<input type="button" value="{$lang->cmd_insert}" class="editor_button" onclick="insertNaverMap()" />
<input type="button" value="{$lang->cmd_close}" class="editor_button" onclick="window.close();" />
</div>
</div>
<div class="address_list_box" id="address_list">{$lang->about_address_use}</div>
<div class="map_scale_box">
<div class="map_scale_header">{$lang->map_width}</div>
<div class="map_scale_body"><input type="text" class="input_map_size" id="map_width" value="640" />px</div>
<div class="map_scale_header">{$lang->map_height}</div>
<div class="map_scale_body"><input type="text" class="input_map_size" id="map_height" value="480" />px</div>
</div>
<div class="editor_button_area">
<input type="button" value="{$lang->cmd_insert}" class="editor_button" onclick="insertNaverMap()" />
<input type="button" value="{$lang->cmd_close}" class="editor_button" onclick="window.close();" />
</div>
</div>
</form>