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,8 +1,8 @@
<?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">글의 배경색을 변경합니다.</description>
</author>
<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">글의 배경색을 변경합니다.</description>
</author>
</component>

View file

@ -1,45 +1,46 @@
@charset "utf-8";
.colorpicker {
width:160px;
padding:5px;
clear:both;
width:160px;
padding:5px;
clear:both;
}
img.preview_color {
width:30px;
height:16px;
border:1px solid #000000;
background-color:#FFFFFF;
width:30px;
height:16px;
border:1px solid #000000;
background-color:#FFFFFF;
}
img.color_icon {
width:14px;
height:14px;
border:1px solid #FFFFFF;
width:14px;
height:14px;
border:1px solid #FFFFFF;
}
img.color_icon_over {
width:14px;
height:14px;
border:1px solid #000000;
cursor:pointer;
width:14px;
height:14px;
border:1px solid #000000;
cursor:pointer;
}
.input_area {
width:160px;
padding:5px;
font-family:tahoma;
font-size:8pt;
clear:both;
text-align:center;
background-color:#EEEEEE;
width:160px;
padding:5px;
font-family:tahoma;
font-size:8pt;
clear:both;
text-align:center;
background-color:#EEEEEE;
}
.popup_input {
border:1px solid #AAAAAA;
height:14px;
border:1px solid #AAAAAA;
height:14px;
}
.popup_submit {
border:1px solid #AAAAAA;
height:18px;
border:1px solid #AAAAAA;
height:18px;
}

View file

@ -1,19 +1,19 @@
<!--%import("popup.js")-->
<!--%import("popup.css")-->
<div class="colorpicker">
<script type='text/javascript'>
printColor("{$tpl_path}/blank.gif");
</script>
<script type='text/javascript'>
printColor("{$tpl_path}/blank.gif");
</script>
</div>
<div class="input_area">
<form action="./" method="get" onsubmit="return applyColor()">
<table border="0">
<tr>
<td><img src="blank.gif" alt="blank" class="preview_color" id="preview_color" /></td>
<td>#</td>
<td><input type="text" id="color_input" size="6" maxlength="6" class="popup_input" value="FFFFFF" onkeyup="manual_select_color(this)"/></td>
<td><input type="submit" value="{$lang->cmd_select}" class="popup_submit"/></td>
</tr>
</table>
</form>
<form action="./" method="get" onsubmit="return applyColor()">
<table border="0">
<tr>
<td><img src="blank.gif" alt="blank" class="preview_color" id="preview_color" /></td>
<td>#</td>
<td><input type="text" id="color_input" size="6" maxlength="6" class="popup_input" value="FFFFFF" onkeyup="manual_select_color(this)"/></td>
<td><input type="submit" value="{$lang->cmd_select}" class="popup_submit"/></td>
</tr>
</table>
</form>
</div>

View file

@ -1,40 +1,40 @@
/* 부모창의 위지윅 에디터의 선택된 영역의 글자색을 변경 */
function applyColor() {
var code = xGetElementById("color_input").value;
var code = xGetElementById("color_input").value;
if(opener.xIE4Up) opener.editorDo("BackColor","#"+code, opener.editorPrevSrl);
else opener.editorDo("hilitecolor","#"+code, opener.editorPrevSrl);
if(opener.xIE4Up) opener.editorDo("BackColor","#"+code, opener.editorPrevSrl);
else opener.editorDo("hilitecolor","#"+code, opener.editorPrevSrl);
opener.editorFocus(opener.editorPrevSrl);
opener.editorFocus(opener.editorPrevSrl);
window.close();
window.close();
}
/* 색상 클릭시 */
function select_color(code) {
xGetElementById("color_input").value = code;
xGetElementById("preview_color").style.backgroundColor = "#"+code;
xGetElementById("color_input").value = code;
xGetElementById("preview_color").style.backgroundColor = "#"+code;
}
/* 색상표를 출력 */
function printColor(blank_img_src) {
var colorTable = new Array('22','44','66','88','AA','CC','EE');
var html = "";
var colorTable = new Array('22','44','66','88','AA','CC','EE');
var html = "";
for(var i=0;i<8;i+=1) html += printColorBlock(i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16), blank_img_src);
for(var i=0;i<8;i+=1) html += printColorBlock(i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16), blank_img_src);
for(var i=0; i<colorTable.length; i+=3) {
for(var j=0; j<colorTable.length; j+=2) {
for(var k=0; k<colorTable.length; k++) {
var code = colorTable[i] + colorTable[j] + colorTable[k];
html += printColorBlock(code, blank_img_src);
}
for(var i=0; i<colorTable.length; i+=3) {
for(var j=0; j<colorTable.length; j+=2) {
for(var k=0; k<colorTable.length; k++) {
var code = colorTable[i] + colorTable[j] + colorTable[k];
html += printColorBlock(code, blank_img_src);
}
}
}
}
for(var i=8;i<16;i+=1) html += printColorBlock(i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16), blank_img_src);
for(var i=8;i<16;i+=1) html += printColorBlock(i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16), blank_img_src);
document.write(html);
document.write(html);
}
/* 개별 색상 block 출력 함수 */
@ -44,6 +44,6 @@ function printColorBlock(code, blank_img_src) {
/* 수동 색상 변경시 */
function manual_select_color(obj) {
if(obj.value.length!=6) return;
xGetElementById("preview_color").style.backgroundColor = "#"+obj.value;
if(obj.value.length!=6) return;
xGetElementById("preview_color").style.backgroundColor = "#"+obj.value;
}

View file

@ -1,8 +1,8 @@
<?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">글자색을 변경합니다.</description>
</author>
<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">글자색을 변경합니다.</description>
</author>
</component>

View file

@ -1,45 +1,47 @@
@charset "utf-8";
.colorpicker {
width:160px;
padding:5px;
clear:both;
width:160px;
padding:5px;
clear:both;
}
img.preview_color {
width:30px;
height:16px;
border:1px solid #000000;
background-color:#000000;
width:30px;
height:16px;
border:1px solid #000000;
background-color:#000000;
}
img.color_icon {
width:14px;
height:14px;
border:1px solid #FFFFFF;
width:14px;
height:14px;
border:1px solid #FFFFFF;
}
img.color_icon_over {
width:14px;
height:14px;
border:1px solid #000000;
cursor:pointer;
width:14px;
height:14px;
border:1px solid #000000;
cursor:pointer;
}
.input_area {
width:160px;
padding:5px;
font-family:tahoma;
font-size:8pt;
clear:both;
text-align:center;
background-color:#EEEEEE;
width:160px;
padding:5px;
font-family:tahoma;
font-size:8pt;
clear:both;
text-align:center;
background-color:#EEEEEE;
}
.popup_input {
border:1px solid #AAAAAA;
height:14px;
border:1px solid #AAAAAA;
height:14px;
}
.popup_submit {
border:1px solid #AAAAAA;
height:18px;
border:1px solid #AAAAAA;
height:18px;
}

View file

@ -1,19 +1,19 @@
<!--%import("popup.js")-->
<!--%import("popup.css")-->
<div class="colorpicker">
<script type='text/javascript'>
printColor("{$tpl_path}/blank.gif");
</script>
<script type='text/javascript'>
printColor("{$tpl_path}/blank.gif");
</script>
</div>
<div class="input_area">
<form action="./" method="get" onsubmit="return applyColor()">
<table border="0">
<tr>
<td><img src="blank.gif" alt="blank" class="preview_color" id="preview_color" /></td>
<td>#</td>
<td><input type="text" id="color_input" size="6" maxlength="6" class="popup_input" value="000000" onkeyup="manual_select_color(this)"/></td>
<td><input type="submit" value="{$lang->cmd_select}" class="popup_submit"/></td>
</tr>
</table>
</form>
<form action="./" method="get" onsubmit="return applyColor()">
<table border="0">
<tr>
<td><img src="blank.gif" alt="blank" class="preview_color" id="preview_color" /></td>
<td>#</td>
<td><input type="text" id="color_input" size="6" maxlength="6" class="popup_input" value="000000" onkeyup="manual_select_color(this)"/></td>
<td><input type="submit" value="{$lang->cmd_select}" class="popup_submit"/></td>
</tr>
</table>
</form>
</div>

View file

@ -1,41 +1,41 @@
/* 부모창의 위지윅 에디터의 선택된 영역의 글자색을 변경 */
function applyColor() {
var code = xGetElementById("color_input").value;
var code = xGetElementById("color_input").value;
opener.editorFocus(opener.editorPrevSrl);
opener.editorFocus(opener.editorPrevSrl);
opener.editorDo("ForeColor", "#"+code, opener.editorPrevSrl);
opener.editorDo("ForeColor", "#"+code, opener.editorPrevSrl);
opener.editorFocus(opener.editorPrevSrl);
opener.editorFocus(opener.editorPrevSrl);
self.close();
self.close();
}
/* 색상 클릭시 */
function select_color(code) {
xGetElementById("color_input").value = code;
xGetElementById("preview_color").style.backgroundColor = "#"+code;
xGetElementById("color_input").value = code;
xGetElementById("preview_color").style.backgroundColor = "#"+code;
}
/* 색상표를 출력 */
function printColor(blank_img_src) {
var colorTable = new Array('22','44','66','88','AA','CC','EE');
var html = "";
var colorTable = new Array('22','44','66','88','AA','CC','EE');
var html = "";
for(var i=0;i<8;i+=1) html += printColorBlock(i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16), blank_img_src);
for(var i=0;i<8;i+=1) html += printColorBlock(i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16), blank_img_src);
for(var i=0; i<colorTable.length; i+=3) {
for(var j=0; j<colorTable.length; j+=2) {
for(var k=0; k<colorTable.length; k++) {
var code = colorTable[i] + colorTable[j] + colorTable[k];
html += printColorBlock(code, blank_img_src);
}
for(var i=0; i<colorTable.length; i+=3) {
for(var j=0; j<colorTable.length; j+=2) {
for(var k=0; k<colorTable.length; k++) {
var code = colorTable[i] + colorTable[j] + colorTable[k];
html += printColorBlock(code, blank_img_src);
}
}
}
}
for(var i=8;i<16;i+=1) html += printColorBlock(i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16), blank_img_src);
for(var i=8;i<16;i+=1) html += printColorBlock(i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16), blank_img_src);
document.write(html);
document.write(html);
}
/* 개별 색상 block 출력 함수 */
@ -45,6 +45,6 @@ function printColorBlock(code, blank_img_src) {
/* 수동 색상 변경시 */
function manual_select_color(obj) {
if(obj.value.length!=6) return;
xGetElementById("preview_color").style.backgroundColor = "#"+obj.value;
if(obj.value.length!=6) return;
xGetElementById("preview_color").style.backgroundColor = "#"+obj.value;
}

View file

@ -1,8 +1,8 @@
<?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">이모티콘을 에디터에 삽입할 수 있습니다.</description>
</author>
<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">이모티콘을 에디터에 삽입할 수 있습니다.</description>
</author>
</component>

View file

@ -1,43 +1,45 @@
@charset "utf-8";
.editor_window {
width:300px;
text-align:center;
width:300px;
text-align:center;
}
.editor_emoticon {
padding:10px;
padding:10px;
}
.editor_window img {
margin:2px;
cursor:pointer;
margin:2px;
cursor:pointer;
}
.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;
}
.editor_button_area {
border-top:1px solid #AAAAAA;
text-align:center;
background-color:#EEEEEE;
padding:2px 0px 2px 0px;
clear:both;
height:25px;
border-top:1px solid #AAAAAA;
text-align:center;
background-color:#EEEEEE;
padding:2px 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

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<component version="0.1">
<title xml:lang="ko">HTML 코드 수정</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">에디터에서 HTML 코드를 직접 수정하거나 추가할 수 있습니다.\n보안 문제로 인하여 가능한 끄는 것이 좋습니다.</description>
</author>
<title xml:lang="ko">HTML 코드 수정</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">에디터에서 HTML 코드를 직접 수정하거나 추가할 수 있습니다.\n보안 문제로 인하여 가능한 끄는 것이 좋습니다.</description>
</author>
</component>

View file

@ -1,44 +1,46 @@
@charset "utf-8";
.editor_window {
width:400px;
background-color:#F3F3F3;
text-align:center;
width:400px;
background-color:#F3F3F3;
text-align:center;
}
.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;
}
.editor_textarea {
width:385px;
height:400px;
border:1px solid #888888;
clear:both;
font-size:9pt;
margin:10px 0px 10px 0px;
width:385px;
height:400px;
border:1px solid #888888;
clear:both;
font-size:9pt;
margin:10px 0px 10px 0px;
}
.editor_button_area {
border-top:1px solid #AAAAAA;
text-align:center;
background-color:#EEEEEE;
padding:2px 0px 2px 0px;
clear:both;
height:25px;
border-top:1px solid #AAAAAA;
text-align:center;
background-color:#EEEEEE;
padding:2px 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

@ -1,8 +1,8 @@
<?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">첨부된 이미지파일을 이용하여 슬라이드/목록형 이미지 갤러리를 만들 수 있습니다.</description>
</author>
<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">첨부된 이미지파일을 이용하여 슬라이드/목록형 이미지 갤러리를 만들 수 있습니다.</description>
</author>
</component>

View file

@ -1,15 +1,14 @@
<!--%import("list_gallery.js")-->
<script type='text/javascript'>
// 이미지갤러리에 보여줄 이미지 등록
<!--@foreach($gallery_info->image_list as $image)-->
list_gallery_add_image({$gallery_info->srl},'{$image}');
<!--@end-->
// 이미지갤러리에 보여줄 이미지 등록
<!--@foreach($gallery_info->image_list as $image)-->
list_gallery_add_image({$gallery_info->srl},'{$image}');
<!--@end-->
// window.onLoad 이벤트 후에 이미지갤러리 시작
xAddEventListener(window,'load',start_list_gallery);
// window.onLoad 이벤트 후에 이미지갤러리 시작
xAddEventListener(window,'load',start_list_gallery);
</script>
<div align="{$gallery_info->gallery_align}">
<div id='zone_list_gallery_{$gallery_info->srl}' style="width:{$gallery_info->width}px;background-color:#{$gallery_info->bg_color};border:{$gallery_info->border_thickness}px solid #{$gallery_info->border_color};text-align:left;">
</div>
<div id='zone_list_gallery_{$gallery_info->srl}' style="width:{$gallery_info->width}px;background-color:#{$gallery_info->bg_color};border:{$gallery_info->border_thickness}px solid #{$gallery_info->border_color};text-align:left;"></div>
</div>

View file

@ -1,133 +1,135 @@
@charset "utf-8";
.editor_window {
width:550px;
text-align:center;
width:550px;
text-align:center;
}
.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;
}
.short_header {
float:left;
width:80px;
text-align:left;
font-weight:bold;
margin:5px;
font-size:9pt;
float:left;
width:80px;
text-align:left;
font-weight:bold;
margin:5px;
font-size:9pt;
}
.short_body {
float:left;
width:90px;
text-align:left;
margin:5px;
font-size:9pt;
float:left;
width:90px;
text-align:left;
margin:5px;
font-size:9pt;
}
.header {
float:left;
width:80px;
clear:left;
text-align:left;
font-weight:bold;
margin:5px;
font-size:9pt;
float:left;
width:80px;
clear:left;
text-align:left;
font-weight:bold;
margin:5px;
font-size:9pt;
}
.body {
float:left;
width:350px;
text-align:left;
margin:5px;
font-size:9pt;
float:left;
width:350px;
text-align:left;
margin:5px;
font-size:9pt;
}
.image_list {
width:380px;
width:380px;
}
.about_image_list {
margin-top:10px;
font-size:9pt;
color:#AAAAAA;
margin-top:10px;
font-size:9pt;
color:#AAAAAA;
}
.editor_input {
width:40px;
height:13px;
font-size:9pt;
border:1px solid #AAAAAA;
width:40px;
height:13px;
font-size:9pt;
border:1px solid #AAAAAA;
}
.editor_button_area {
border-top:1px solid #AAAAAA;
text-align:center;
background-color:#EEEEEE;
padding:2px 0px 2px 0px;
clear:both;
height:25px;
border-top:1px solid #AAAAAA;
text-align:center;
background-color:#EEEEEE;
padding:2px 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;
}
.editor_color_box {
clear:both;
height:65px;
width:400px;
border:1px solid #DDDDDD;
padding:2px;
margin-bottom:3px;
clear:both;
height:65px;
width:400px;
border:1px solid #DDDDDD;
padding:2px;
margin-bottom:3px;
}
.editor_color_input {
clear:both;
clear:both;
}
img.bg_preview_color {
width:30px;
height:16px;
border:1px solid #000000;
background-color:#FFFFFF;
width:30px;
height:16px;
border:1px solid #000000;
background-color:#FFFFFF;
}
img.border_preview_color {
width:30px;
height:16px;
border:1px solid #EEEEEE;
background-color:#000000;
width:30px;
height:16px;
border:1px solid #EEEEEE;
background-color:#000000;
}
img.color_icon {
width:14px;
height:14px;
border:1px solid #FFFFFF;
width:14px;
height:14px;
border:1px solid #FFFFFF;
}
img.color_icon_over {
width:14px;
height:14px;
border:1px solid #000000;
cursor:pointer;
width:14px;
height:14px;
border:1px solid #000000;
cursor:pointer;
}
.table_input {
width:40px;
height:13px;
font-size:9pt;
border:1px solid #AAAAAA;
width:40px;
height:13px;
font-size:9pt;
border:1px solid #AAAAAA;
}

View file

@ -3,82 +3,84 @@
<!--%import("../lang")-->
<form action="./" method="get" onSubmit="return false" id="fo">
<input type="hidden" name="upload_target_srl" value="{$upload_target_srl}" />
<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" name="upload_target_srl" value="{$upload_target_srl}" />
<div class="short_header">{$lang->width}</div>
<div class="short_body"><input type="text" class="editor_input" id="width" value="600" />px</div>
<div class="editor_window">
<div class="header">{$lang->gallery_style}</div>
<div class="body">
<select id="gallery_style">
<option value="slide">{$lang->gallery_slide_style}</option>
<option value="list">{$lang->gallery_list_style}</option>
</select>
<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="short_header">{$lang->width}</div>
<div class="short_body"><input type="text" class="editor_input" id="width" value="600" />px</div>
<div class="header">{$lang->gallery_style}</div>
<div class="body">
<select id="gallery_style">
<option value="slide">{$lang->gallery_slide_style}</option>
<option value="list">{$lang->gallery_list_style}</option>
</select>
</div>
<div class="header">{$lang->gallery_slide_align}</div>
<div class="body">
<select id="gallery_align">
<option value="center">{$lang->gallery_slide_center}</option>
<option value="left">{$lang->gallery_slide_left}</option>
<option value="right">{$lang->gallery_slide_right}</option>
</select>
</div>
<div class="header">{$lang->gallery_border_thickness}</div>
<div class="body"><input type="text" class="editor_input" id="border_thickness" value="0" />px</div>
<div class="header">{$lang->gallery_border_color}</div>
<div class="body">
<div class="editor_color_box">
<script type="text/javascript">
printColor("border", "{$tpl_path}/images/blank.gif");
</script>
</div>
<div class="editor_color_input">
<table border="0" cellspacing="0">
<tr>
<td><img src="./images/border_solid.gif" alt="blank" class="border_preview_color" id="border_preview_color" /></td>
<td>#</td>
<td><input type="text" id="border_color_input" size="6" maxlength="6" class="table_input" value="000000" onkeyup="manual_select_color('border',this)"/></td>
</tr>
</table>
</div>
</div>
<div class="header">{$lang->gallery_bg_color}</div>
<div class="body">
<div class="editor_color_box">
<script type="text/javascript">
printColor("bg", "{$tpl_path}/images/blank.gif");
</script>
</div>
<div class="editor_color_input">
<table border="0" cellspacing="0">
<tr>
<td><img src="./images/blank.gif" alt="blank" class="bg_preview_color" id="bg_preview_color" /></td>
<td>#</td>
<td><input type="text" id="bg_color_input" size="6" maxlength="6" class="table_input" value="FFFFFF" onkeyup="manual_select_color('bg',this)"/></td>
</tr>
</table>
</div>
</div>
<div class="header">{$lang->image_list}</div>
<div class="body">
<div>
<select id="image_list" size="10" class="image_list" multiple="true">
</select>
</div>
<div class="about_image_list">{$lang->about_image_list}</div>
</div>
<div class="editor_button_area">
<input type="button" value="{$lang->cmd_insert}" class="editor_button" onclick="insertSlideShow()" />
<input type="button" value="{$lang->cmd_close}" class="editor_button" onclick="window.close();" />
</div>
</div>
<div class="header">{$lang->gallery_slide_align}</div>
<div class="body">
<select id="gallery_align">
<option value="center">{$lang->gallery_slide_center}</option>
<option value="left">{$lang->gallery_slide_left}</option>
<option value="right">{$lang->gallery_slide_right}</option>
</select>
</div>
<div class="header">{$lang->gallery_border_thickness}</div>
<div class="body"><input type="text" class="editor_input" id="border_thickness" value="0" />px</div>
<div class="header">{$lang->gallery_border_color}</div>
<div class="body">
<div class="editor_color_box">
<script type="text/javascript">
printColor("border", "{$tpl_path}/images/blank.gif");
</script>
</div>
<div class="editor_color_input">
<table border="0" cellspacing="0">
<tr>
<td><img src="./images/border_solid.gif" alt="blank" class="border_preview_color" id="border_preview_color" /></td>
<td>#</td>
<td><input type="text" id="border_color_input" size="6" maxlength="6" class="table_input" value="000000" onkeyup="manual_select_color('border',this)"/></td>
</tr>
</table>
</div>
</div>
<div class="header">{$lang->gallery_bg_color}</div>
<div class="body">
<div class="editor_color_box">
<script type="text/javascript">
printColor("bg", "{$tpl_path}/images/blank.gif");
</script>
</div>
<div class="editor_color_input">
<table border="0" cellspacing="0">
<tr>
<td><img src="./images/blank.gif" alt="blank" class="bg_preview_color" id="bg_preview_color" /></td>
<td>#</td>
<td><input type="text" id="bg_color_input" size="6" maxlength="6" class="table_input" value="FFFFFF" onkeyup="manual_select_color('bg',this)"/></td>
</tr>
</table>
</div>
</div>
<div class="header">{$lang->image_list}</div>
<div class="body">
<div>
<select id="image_list" size="10" class="image_list" multiple="true">
</select>
</div>
<div class="about_image_list">{$lang->about_image_list}</div>
</div>
<div class="editor_button_area">
<input type="button" value="{$lang->cmd_insert}" class="editor_button" onclick="insertSlideShow()" />
<input type="button" value="{$lang->cmd_close}" class="editor_button" onclick="window.close();" />
</div>
</div>
</form>

View file

@ -1,41 +1,42 @@
@charset "utf-8";
.slide_gallery_loading_text {
color:#555555;
font-size:8pt;
font-family:tahoma;
font-weight:bold;
margin:20px 0px 20px 0px;
text-align:center;
color:#555555;
font-size:8pt;
font-family:tahoma;
font-weight:bold;
margin:20px 0px 20px 0px;
text-align:center;
}
.slide_gallery_navigator_box {
font-size:9pt;
text-align:center;
margin:5px 0px 5px 0px;
font-size:9pt;
text-align:center;
margin:5px 0px 5px 0px;
}
.zone_gallery_navigator_status {
color:#444444;
font-family:verdana;
font-size:8pt;
cursor:pointer;
color:#444444;
font-family:verdana;
font-size:8pt;
cursor:pointer;
}
.slide_gallery_navigator_box img {
vertical-align:bottom;
vertical-align:bottom;
}
.slide_gallery_main_image_box {
border:3px solid #EEEEEE;
margin:10px;
border:3px solid #EEEEEE;
margin:10px;
}
.slide_gallery_thumbnail_image_box {
margin:10px;
text-align:left;
margin:10px;
text-align:left;
}
.slide_gallery_thumbnail_image_box img {
border:1px solid #555555;
padding:1px;
margin:4px;
border:1px solid #555555;
padding:1px;
margin:4px;
}

View file

@ -2,24 +2,25 @@
<!--%import("slide_gallery.css")-->
<!--%import("../lang")-->
<script type='text/javascript'>
// 이미지갤러리에 보여줄 이미지 등록
<!--@foreach($gallery_info->image_list as $image)-->
slide_gallery_add_image({$gallery_info->srl},'{$image}');
<!--@end-->
// 이미지갤러리에 보여줄 이미지 등록
//
<!--@foreach($gallery_info->image_list as $image)-->
slide_gallery_add_image({$gallery_info->srl},'{$image}');
<!--@end-->
// window.onLoad 이벤트 후에 이미지갤러리 시작
xAddEventListener(window,'load',start_slide_gallery);
// window.onLoad 이벤트 후에 이미지갤러리 시작
xAddEventListener(window,'load',start_slide_gallery);
</script>
<div align="{$gallery_info->gallery_align}">
<div id='zone_slide_gallery_{$gallery_info->srl}' style="width:{$gallery_info->width}px;background-color:#{$gallery_info->bg_color};border:{$gallery_info->border_thickness}px solid #{$gallery_info->border_color};text-align:left;">
<div id='zone_slide_gallery_{$gallery_info->srl}' style="width:{$gallery_info->width}px;background-color:#{$gallery_info->bg_color};border:{$gallery_info->border_thickness}px solid #{$gallery_info->border_color};text-align:left;">
<div id='zone_image_navigator_{$gallery_info->srl}' class="slide_gallery_navigator_box">
<a href="#" onclick="gallery_view_prev('{$gallery_info->srl}');return false;"><img src="./images/prev.gif" alt="{$lang->cmd_gallery_prev}" title="{$lang->cmd_gallery_prev}" border="0" /></a>
<span class="zone_gallery_navigator_status" title="{$lang->cmd_gallery_thumbnail}" id="zone_gallery_navigator_status_{$gallery_info->srl}" onclick="gallery_view_thumbnail('{$gallery_info->srl}');return false;">1/1</span>
<a href="#" onclick="gallery_view_next('{$gallery_info->srl}');return false;"><img src="./images/next.gif" alt="{$lang->cmd_gallery_next}" title="{$lang->cmd_gallery_next}" border="0" /></a>
<a href="#" onclick="gallery_view_prev('{$gallery_info->srl}');return false;"><img src="./images/prev.gif" alt="{$lang->cmd_gallery_prev}" title="{$lang->cmd_gallery_prev}" border="0" /></a>
<span class="zone_gallery_navigator_status" title="{$lang->cmd_gallery_thumbnail}" id="zone_gallery_navigator_status_{$gallery_info->srl}" onclick="gallery_view_thumbnail('{$gallery_info->srl}');return false;">1/1</span>
<a href="#" onclick="gallery_view_next('{$gallery_info->srl}');return false;"><img src="./images/next.gif" alt="{$lang->cmd_gallery_next}" title="{$lang->cmd_gallery_next}" border="0" /></a>
</div>
<div id='zone_thumbnail_{$gallery_info->srl}' class="slide_gallery_thumbnail_image_box" style="display:none"></div>
<div id="slide_gallery_loading_text_{$gallery_info->srl}" class="slide_gallery_loading_text">loading images...</div>
<img id="slide_gallery_main_image_{$gallery_info->srl}" border="0" style="display:none" alt="slide_gallery" src="./images/blank.gif" />
</div>
<div id='zone_thumbnail_{$gallery_info->srl}' class="slide_gallery_thumbnail_image_box" style="display:none"></div>
<div id="slide_gallery_loading_text_{$gallery_info->srl}" class="slide_gallery_loading_text">loading images...</div>
<img id="slide_gallery_main_image_{$gallery_info->srl}" border="0" style="display:none" alt="slide_gallery" src="./images/blank.gif" />
</div>
</div>

View file

@ -1,8 +1,8 @@
<?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">에디터에 이미지를 추가하거나 속성을 변경할 수 있습니다.</description>
</author>
<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">에디터에 이미지를 추가하거나 속성을 변경할 수 있습니다.</description>
</author>
</component>

View file

@ -1,78 +1,79 @@
@charset "utf-8";
.editor_window {
width:500px;
text-align:center;
width:500px;
text-align:center;
}
.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;
}
.header {
float:left;
width:100px;
clear:left;
text-align:left;
font-weight:bold;
margin:5px;
font-size:9pt;
float:left;
width:100px;
clear:left;
text-align:left;
font-weight:bold;
margin:5px;
font-size:9pt;
}
.body {
float:left;
width:350px;
text-align:left;
margin:5px;
font-size:9pt;
font-size:9pt;
float:left;
width:350px;
text-align:left;
margin:5px;
font-size:9pt;
font-size:9pt;
}
.body label {
cursor:pointer;
font-size:9pt;
cursor:pointer;
font-size:9pt;
}
.image_align {
margin:0px 0px 5px 0px;
float:left;
width:150px;
margin:0px 0px 5px 0px;
float:left;
width:150px;
}
.image_url {
width:350px;
height:13px;
font-size:9pt;
border:1px solid #AAAAAA;
width:350px;
height:13px;
font-size:9pt;
border:1px solid #AAAAAA;
}
.editor_input {
width:40px;
height:13px;
font-size:9pt;
border:1px solid #AAAAAA;
width:40px;
height:13px;
font-size:9pt;
border:1px solid #AAAAAA;
}
.editor_button_area {
border-top:1px solid #AAAAAA;
text-align:center;
background-color:#EEEEEE;
padding:2px 0px 2px 0px;
clear:both;
height:25px;
border-top:1px solid #AAAAAA;
text-align:center;
background-color:#EEEEEE;
padding:2px 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,62 +3,65 @@
<!--%import("../lang")-->
<form action="./" method="get" onSubmit="return false" id="fo">
<div class="editor_window">
<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="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="header">{$lang->image_url}</div>
<div class="body"><input type="text" class="image_url" id="image_url" value="{$manual_url}" onblur="getImageScale();" /></div>
<div class="header">{$lang->image_url}</div>
<div class="body"><input type="text" class="image_url" id="image_url" value="{$manual_url}" onblur="getImageScale();" /></div>
<div class="header">{$lang->image_scale}</div>
<div class="body">
<input type="text" class="editor_input" id="width" value="0" />px
<input type="text" class="editor_input" id="height" value="0" />px
<input type="button" value="{$lang->cmd_get_scale}" class="editor_button" onclick="getImageScale();return false;" />
<div class="header">{$lang->image_scale}</div>
<div class="body">
<input type="text" class="editor_input" id="width" value="0" />px
<input type="text" class="editor_input" id="height" value="0" />px
<input type="button" value="{$lang->cmd_get_scale}" class="editor_button" onclick="getImageScale();return false;" />
</div>
<div class="header">{$lang->image_alt}</div>
<div class="body"><input type="text" class="image_url" id="image_alt" value="" /></div>
<div class="header">{$lang->image_align}</div>
<div class="body">
<div class="image_align">
<input type="radio" name="align" value="" id="align_normal" checked="true"/>
<label for="align_normal">
<img src="./images/align_normal.gif" alt="{$lang->image_align_normal}" />
{$lang->image_align_normal}
</label>
</div>
<div class="image_align">
<input type="radio" name="align" value="left" id="align_left" />
<label for="align_left">
<img src="./images/align_left.gif" alt="{$lang->image_align_left}" />
{$lang->image_align_left}
</label>
</div>
<div class="image_align">
<input type="radio" name="align" value="middle" id="align_middle" />
<label for="align_middle">
<img src="./images/align_middle.gif" alt="{$lang->image_align_middle}" />
{$lang->image_align_middle}
</label>
</div>
<div class="image_align">
<input type="radio" name="align" value="right" id="align_right" />
<label for="align_right">
<img src="./images/align_right.gif" alt="{$lang->image_align_right}" />
{$lang->image_align_right}
</label>
</div>
</div>
<div class="header">{$lang->image_border}</div>
<div class="body"><input type="text" class="editor_input" id="image_border" value="0" />px</div>
<div class="editor_button_area">
<input type="button" value="{$lang->cmd_insert}" class="editor_button" onclick="insertImage()" />
<input type="button" value="{$lang->cmd_close}" class="editor_button" onclick="window.close();" />
</div>
</div>
<div class="header">{$lang->image_alt}</div>
<div class="body"><input type="text" class="image_url" id="image_alt" value="" /></div>
<div class="header">{$lang->image_align}</div>
<div class="body">
<div class="image_align">
<input type="radio" name="align" value="" id="align_normal" checked="true"/>
<label for="align_normal">
<img src="./images/align_normal.gif" alt="{$lang->image_align_normal}" />
{$lang->image_align_normal}
</label>
</div>
<div class="image_align">
<input type="radio" name="align" value="left" id="align_left" />
<label for="align_left">
<img src="./images/align_left.gif" alt="{$lang->image_align_left}" />
{$lang->image_align_left}
</label>
</div>
<div class="image_align">
<input type="radio" name="align" value="middle" id="align_middle" />
<label for="align_middle">
<img src="./images/align_middle.gif" alt="{$lang->image_align_middle}" />
{$lang->image_align_middle}
</label>
</div>
<div class="image_align">
<input type="radio" name="align" value="right" id="align_right" />
<label for="align_right">
<img src="./images/align_right.gif" alt="{$lang->image_align_right}" />
{$lang->image_align_right}
</label>
</div>
</div>
<div class="header">{$lang->image_border}</div>
<div class="body"><input type="text" class="editor_input" id="image_border" value="0" />px</div>
<div class="editor_button_area">
<input type="button" value="{$lang->cmd_insert}" class="editor_button" onclick="insertImage()" />
<input type="button" value="{$lang->cmd_close}" class="editor_button" onclick="window.close();" />
</div>
</div>
</form>

View file

@ -1,8 +1,8 @@
<?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">에디터에 wmv,avi,flv등의 멀티미디어 자료를 추가하거나 속성을 수정할 수 있습니다.</description>
</author>
<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">에디터에 wmv,avi,flv등의 멀티미디어 자료를 추가하거나 속성을 수정할 수 있습니다.</description>
</author>
</component>

View file

@ -1,72 +1,73 @@
@charset "utf-8";
.editor_window {
width:400px;
clear:both;
width:400px;
clear:both;
}
.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;
}
.header {
float:left;
width:100px;
clear:left;
text-align:left;
font-weight:bold;
margin:5px;
font-size:9pt;
font-size:9pt;
float:left;
width:100px;
clear:left;
text-align:left;
font-weight:bold;
margin:5px;
font-size:9pt;
font-size:9pt;
}
.body {
float:left;
width:250px;
text-align:left;
margin:5px;
font-size:9pt;
float:left;
width:250px;
text-align:left;
margin:5px;
font-size:9pt;
}
.body label {
cursor:pointer;
font-size:9pt;
cursor:pointer;
font-size:9pt;
}
.multimedia_url {
width:240px;
border:1px solid #AAAAAA;
height:13px;
font-size:9pt;
width:240px;
border:1px solid #AAAAAA;
height:13px;
font-size:9pt;
}
.multimedia_size {
width:40px;
height:13px;
font-size:9pt;
border:1px solid #AAAAAA;
width:40px;
height:13px;
font-size:9pt;
border:1px solid #AAAAAA;
}
.editor_button_area {
border-top:1px solid #AAAAAA;
text-align:center;
background-color:#EEEEEE;
padding:0px 0px 2px 0px;
clear:both;
height:25px;
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,27 +3,27 @@
<!--%import("../lang")-->
<form action="./" method="get" onSubmit="return false" id="fo">
<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="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="header">{$lang->multimedia_url}</div>
<div class="body"><input type="text" class="multimedia_url" id="multimedia_url" value="{$manual_url}" /></div>
<div class="header">{$lang->multimedia_url}</div>
<div class="body"><input type="text" class="multimedia_url" id="multimedia_url" value="{$manual_url}" /></div>
<div class="header">{$lang->multimedia_caption}</div>
<div class="body"><input type="text" class="multimedia_url" id="multimedia_caption" value="" /></div>
<div class="header">{$lang->multimedia_caption}</div>
<div class="body"><input type="text" class="multimedia_url" id="multimedia_caption" value="" /></div>
<div class="header">{$lang->multimedia_width}</div>
<div class="body"><input type="text" class="multimedia_size" id="multimedia_width" value="640" />px</div>
<div class="header">{$lang->multimedia_width}</div>
<div class="body"><input type="text" class="multimedia_size" id="multimedia_width" value="640" />px</div>
<div class="header">{$lang->multimedia_height}</div>
<div class="body"><input type="text" class="multimedia_size" id="multimedia_height" value="480" />px</div>
<div class="header">{$lang->multimedia_height}</div>
<div class="body"><input type="text" class="multimedia_size" id="multimedia_height" value="480" />px</div>
<div class="header">{$lang->multimedia_auto_start}</div>
<div class="body"><input type="checkbox" id="multimedia_auto_start" value="Y" /></div>
<div class="header">{$lang->multimedia_auto_start}</div>
<div class="body"><input type="checkbox" id="multimedia_auto_start" value="Y" /></div>
<div class="editor_button_area">
<input type="button" value="{$lang->cmd_insert}" class="editor_button" onclick="insertMultimedia()" />
<input type="button" value="{$lang->cmd_close}" class="editor_button" onclick="window.close();" />
<div class="editor_button_area">
<input type="button" value="{$lang->cmd_insert}" class="editor_button" onclick="insertMultimedia()" />
<input type="button" value="{$lang->cmd_close}" class="editor_button" onclick="window.close();" />
</div>
</div>
</div>
</form>

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>

View file

@ -1,8 +1,8 @@
<?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">특정 범위를 인용문으로 꾸밀 수 있습니다. 외곽선의 종류나 색상, 굵기를 수정할 수 있으며 열기/닫기 기능을 가진 폴더기능을 만들 수 있습니다.</description>
</author>
<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">특정 범위를 인용문으로 꾸밀 수 있습니다. 외곽선의 종류나 색상, 굵기를 수정할 수 있으며 열기/닫기 기능을 가진 폴더기능을 만들 수 있습니다.</description>
</author>
</component>

View file

@ -1,131 +1,132 @@
@charset "utf-8";
.editor_window {
width:555px;
text-align:center;
width:555px;
text-align:center;
}
.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;
}
.header {
float:left;
width:100px;
clear:left;
text-align:left;
font-weight:bold;
margin:5px;
font-size:9pt;
font-size:9pt;
float:left;
width:100px;
clear:left;
text-align:left;
font-weight:bold;
margin:5px;
font-size:9pt;
font-size:9pt;
}
.body {
float:left;
width:400px;
text-align:left;
margin:5px;
font-size:9pt;
float:left;
width:400px;
text-align:left;
margin:5px;
font-size:9pt;
}
#folder_area {
clear:left;
height:115px;
border:1px dotted #DDDDDD;
margin:0px 10px 10px 10px;
clear:left;
height:115px;
border:1px dotted #DDDDDD;
margin:0px 10px 10px 10px;
}
.body label {
cursor:pointer;
font-size:9pt;
cursor:pointer;
font-size:9pt;
}
.editor_input {
width:50px;
height:13px;
font-size:9pt;
border:1px solid #AAAAAA;
width:50px;
height:13px;
font-size:9pt;
border:1px solid #AAAAAA;
}
.editor_input_long {
width:380px;
height:13px;
font-size:9pt;
border:1px solid #AAAAAA;
width:380px;
height:13px;
font-size:9pt;
border:1px solid #AAAAAA;
}
.editor_select {
width:80px;
height:14px;
font-size:9pt;
width:80px;
height:14px;
font-size:9pt;
}
.editor_button_area {
clear:both;
text-align:center;
height:25px;
padding-top:3px;
background-color:#EEEEEE;
clear:both;
text-align:center;
height:25px;
padding-top:3px;
background-color:#EEEEEE;
}
.editor_button {
margin-top:4px;
background-color:#FFFFFF;
border:1px solid #AAAAAA;
height:18px;
font-size:8pt;
margin-top:4px;
background-color:#FFFFFF;
border:1px solid #AAAAAA;
height:18px;
font-size:8pt;
}
img.color_icon {
width:14px;
height:14px;
border:1px solid #FFFFFF;
width:14px;
height:14px;
border:1px solid #FFFFFF;
}
img.color_icon_over {
width:14px;
height:14px;
border:1px solid #000000;
cursor:pointer;
width:14px;
height:14px;
border:1px solid #000000;
cursor:pointer;
}
img.border_preview_color {
width:30px;
height:16px;
border:1px solid #EEEEEE;
background-color:#88EE22;
width:30px;
height:16px;
border:1px solid #EEEEEE;
background-color:#88EE22;
}
img.border_preview_none_color {
width:30px;
height:12px;
border:1px solid #EEEEEE;
background-color:#FFFFFF;
width:30px;
height:12px;
border:1px solid #EEEEEE;
background-color:#FFFFFF;
}
img.bg_preview_color {
width:30px;
height:16px;
border:1px solid #000000;
background-color:#FFFFFF;
width:30px;
height:16px;
border:1px solid #000000;
background-color:#FFFFFF;
}
.editor_color_box {
clear:both;
height:65px;
width:400px;
border:1px solid #DDDDDD;
padding:2px;
margin-bottom:3px;
clear:both;
height:65px;
width:400px;
border:1px solid #DDDDDD;
padding:2px;
margin-bottom:3px;
}
.editor_color_input {
clear:both;
clear:both;
}

View file

@ -3,130 +3,130 @@
<!--%import("../lang")-->
<form action="./" method="get" onSubmit="return false" id="fo">
<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="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="header">{$lang->quotation_use_folder}</div>
<div class="body"><input type="checkbox" id="quotation_use" value="Y" onclick="toggle_folder(this)" /></div>
<div class="header">{$lang->quotation_use_folder}</div>
<div class="body"><input type="checkbox" id="quotation_use" value="Y" onclick="toggle_folder(this)" /></div>
<div id="folder_area" style="display:none">
<div class="header">{$lang->quotation_opener}</div>
<div class="body"><input type="text" class="editor_input_long" id="quotation_opener" value="{$lang->quotation_cmd_opener}" /></div>
<div id="folder_area" style="display:none">
<div class="header">{$lang->quotation_opener}</div>
<div class="body"><input type="text" class="editor_input_long" id="quotation_opener" value="{$lang->quotation_cmd_opener}" /></div>
<div class="header">{$lang->quotation_closer}</div>
<div class="body"><input type="text" class="editor_input_long" id="quotation_closer" value="{$lang->quotation_cmd_closer}" /></div>
<div class="header">{$lang->quotation_closer}</div>
<div class="body"><input type="text" class="editor_input_long" id="quotation_closer" value="{$lang->quotation_cmd_closer}" /></div>
<div class="header">{$lang->folder_text_bold}</div>
<div class="body"><input type="checkbox" name="bold" value="Y" id="quotation_bold" /> <label for="quotation_bold">{$lang->about_folder_text_bold}</label></div>
<div class="header">{$lang->folder_text_bold}</div>
<div class="body"><input type="checkbox" name="bold" value="Y" id="quotation_bold" /> <label for="quotation_bold">{$lang->about_folder_text_bold}</label></div>
<div class="header">{$lang->folder_text_color}</div>
<div class="header">{$lang->folder_text_color}</div>
<div class="body">
<span>
<input type="radio" name="color" value="blue" id="quotation_color_blue" />
<label for="quotation_color_blue" class="editor_blue_text">{$lang->folder_text_color_blue}</label>
</span>
<span>
<input type="radio" name="color" value="red" id="quotation_color_red" />
<label for="quotation_color_red" class="editor_red_text">{$lang->folder_text_color_red}</label>
</span>
<span>
<input type="radio" name="color" value="yellow" id="quotation_color_yellow" />
<label for="quotation_color_yellow" class="editor_yellow_text">{$lang->folder_text_color_yellow}</label>
</span>
<span>
<input type="radio" name="color" value="green" id="quotation_color_green" />
<label for="quotation_color_green" class="editor_green_text">{$lang->folder_text_color_green}</label>
</span>
</div>
</div>
<div class="header">{$lang->quotation_padding}</div>
<div class="body"><input type="text" class="editor_input" id="quotation_padding" value="5" />px</div>
<div class="header">{$lang->quotation_margin}</div>
<div class="body"><input type="text" class="editor_input" id="quotation_margin" value="5" />px</div>
<div class="header">{$lang->quotation_border_style}</div>
<div class="body">
<span>
<input type="radio" name="color" value="blue" id="quotation_color_blue" />
<label for="quotation_color_blue" class="editor_blue_text">{$lang->folder_text_color_blue}</label>
</span>
<span>
<input type="radio" name="color" value="red" id="quotation_color_red" />
<label for="quotation_color_red" class="editor_red_text">{$lang->folder_text_color_red}</label>
</span>
<span>
<input type="radio" name="color" value="yellow" id="quotation_color_yellow" />
<label for="quotation_color_yellow" class="editor_yellow_text">{$lang->folder_text_color_yellow}</label>
</span>
<span>
<input type="radio" name="color" value="green" id="quotation_color_green" />
<label for="quotation_color_green" class="editor_green_text">{$lang->folder_text_color_green}</label>
</span>
<div>
<input type="radio" name="border_style" value="" id="border_style_none" />
<label for="border_style_none">
<img src="./images/blank.gif" class="border_preview_none_color" alt="blank" />
{$lang->quotation_border_style_list[0]}
</label>
</div>
<div>
<input type="radio" name="border_style" value="solid" id="border_style_solid" checked="true" />
<label for="border_style_solid">
<img src="./images/border_solid.gif" class="border_preview_color" id="border_style_solid_icon" alt="solid" />
{$lang->quotation_border_style_list[1]}
</label>
</div>
<div>
<input type="radio" name="border_style" value="dotted" id="border_style_dotted" />
<label for="border_style_dotted">
<img src="./images/border_dotted.gif" class="border_preview_color" id="border_style_dotted_icon" alt="dotted" />
{$lang->quotation_border_style_list[2]}
</label>
</div>
<div>
<input type="radio" name="border_style" value="left_solid" id="border_style_left_solid" />
<label for="border_style_left_solid">
<img src="./images/border_left_solid.gif" class="border_preview_color" id="border_style_left_solid_icon" alt="left solid"/>
{$lang->quotation_border_style_list[3]}
</label>
</div>
<div>
<input type="radio" name="border_style" value="left_dotted" id="border_style_left_dotted" />
<label for="border_style_left_dotted">
<img src="./images/border_left_dotted.gif" class="border_preview_color" id="border_style_left_dotted_icon" alt="left dotted"/>
{$lang->quotation_border_style_list[4]}
</label>
</div>
</div>
<div class="header">{$lang->quotation_border_thickness}</div>
<div class="body"><input type="text" class="editor_input" id="border_thickness" value="1" />px</div>
<div class="header">{$lang->quotation_border_color}</div>
<div class="body">
<div class="editor_color_box">
<script type="text/javascript">
printColor("border", "{$tpl_path}/images/blank.gif");
</script>
</div>
<div class="editor_color_input">
<table border="0" cellspacing="0">
<tr>
<td><img src="./images/border_solid.gif" alt="blank" class="border_preview_color" id="border_preview_color" /></td>
<td>#</td>
<td><input type="text" id="border_color_input" size="6" maxlength="6" class="editor_input" value="88EE22" onkeyup="manual_select_color('border',this)"/></td>
</tr>
</table>
</div>
</div>
<div class="header">{$lang->quotation_bg_color}</div>
<div class="body">
<div class="editor_color_box">
<script type="text/javascript">
printColor("bg", "{$tpl_path}/images/blank.gif");
</script>
</div>
<div class="editor_color_input">
<table border="0" cellspacing="0">
<tr>
<td><img src="./images/blank.gif" alt="blank" class="bg_preview_color" id="bg_preview_color" /></td>
<td>#</td>
<td><input type="text" id="bg_color_input" size="6" maxlength="6" class="editor_input" value="FFFFFF" onkeyup="manual_select_color('bg',this)"/></td>
</tr>
</table>
</div>
</div>
<div class="editor_button_area">
<input type="button" value="{$lang->cmd_insert}" class="editor_button" onclick="insertQuotation()" />
<input type="button" value="{$lang->cmd_close}" class="editor_button" onclick="window.close();" />
</div>
</div>
<div class="header">{$lang->quotation_padding}</div>
<div class="body"><input type="text" class="editor_input" id="quotation_padding" value="5" />px</div>
<div class="header">{$lang->quotation_margin}</div>
<div class="body"><input type="text" class="editor_input" id="quotation_margin" value="5" />px</div>
<div class="header">{$lang->quotation_border_style}</div>
<div class="body">
<div>
<input type="radio" name="border_style" value="" id="border_style_none" />
<label for="border_style_none">
<img src="./images/blank.gif" class="border_preview_none_color" alt="blank" />
{$lang->quotation_border_style_list[0]}
</label>
</div>
<div>
<input type="radio" name="border_style" value="solid" id="border_style_solid" checked="true" />
<label for="border_style_solid">
<img src="./images/border_solid.gif" class="border_preview_color" id="border_style_solid_icon" alt="solid" />
{$lang->quotation_border_style_list[1]}
</label>
</div>
<div>
<input type="radio" name="border_style" value="dotted" id="border_style_dotted" />
<label for="border_style_dotted">
<img src="./images/border_dotted.gif" class="border_preview_color" id="border_style_dotted_icon" alt="dotted" />
{$lang->quotation_border_style_list[2]}
</label>
</div>
<div>
<input type="radio" name="border_style" value="left_solid" id="border_style_left_solid" />
<label for="border_style_left_solid">
<img src="./images/border_left_solid.gif" class="border_preview_color" id="border_style_left_solid_icon" alt="left solid"/>
{$lang->quotation_border_style_list[3]}
</label>
</div>
<div>
<input type="radio" name="border_style" value="left_dotted" id="border_style_left_dotted" />
<label for="border_style_left_dotted">
<img src="./images/border_left_dotted.gif" class="border_preview_color" id="border_style_left_dotted_icon" alt="left dotted"/>
{$lang->quotation_border_style_list[4]}
</label>
</div>
</div>
<div class="header">{$lang->quotation_border_thickness}</div>
<div class="body"><input type="text" class="editor_input" id="border_thickness" value="1" />px</div>
<div class="header">{$lang->quotation_border_color}</div>
<div class="body">
<div class="editor_color_box">
<script type="text/javascript">
printColor("border", "{$tpl_path}/images/blank.gif");
</script>
</div>
<div class="editor_color_input">
<table border="0" cellspacing="0">
<tr>
<td><img src="./images/border_solid.gif" alt="blank" class="border_preview_color" id="border_preview_color" /></td>
<td>#</td>
<td><input type="text" id="border_color_input" size="6" maxlength="6" class="editor_input" value="88EE22" onkeyup="manual_select_color('border',this)"/></td>
</tr>
</table>
</div>
</div>
<div class="header">{$lang->quotation_bg_color}</div>
<div class="body">
<div class="editor_color_box">
<script type="text/javascript">
printColor("bg", "{$tpl_path}/images/blank.gif");
</script>
</div>
<div class="editor_color_input">
<table border="0" cellspacing="0">
<tr>
<td><img src="./images/blank.gif" alt="blank" class="bg_preview_color" id="bg_preview_color" /></td>
<td>#</td>
<td><input type="text" id="bg_color_input" size="6" maxlength="6" class="editor_input" value="FFFFFF" onkeyup="manual_select_color('bg',this)"/></td>
</tr>
</table>
</div>
</div>
<div class="editor_button_area">
<input type="button" value="{$lang->cmd_insert}" class="editor_button" onclick="insertQuotation()" />
<input type="button" value="{$lang->cmd_close}" class="editor_button" onclick="window.close();" />
</div>
</div>
</form>

View file

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<component version="0.1">
<title xml:lang="ko">표(table) 생성</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">에디터에 표(table)을 생성하거나 표(table) 또는 칸(td)의 속성을 변경할 수 있습니다.</description>
</author>
<title xml:lang="ko">표(table) 생성</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">에디터에 표(table)을 생성하거나 표(table) 또는 칸(td)의 속성을 변경할 수 있습니다.</description>
</author>
</component>

View file

@ -1,125 +1,126 @@
@charset "utf-8";
.editor_window {
width:530px;
text-align:center;
width:530px;
text-align:center;
}
.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;
}
.editor_option {
text-align:center;
padding:5px 0px 5px 0px;
background-color:#EEEEEE;
margin-bottom:5px;
text-align:center;
padding:5px 0px 5px 0px;
background-color:#EEEEEE;
margin-bottom:5px;
}
.item_area {
clear:left;
clear:left;
}
.header {
width:85px;
float:left;
text-align:right;
font-weight:bold;
margin:5px;
font-size:9pt;
overflow:hidden;
width:85px;
float:left;
text-align:right;
font-weight:bold;
margin:5px;
font-size:9pt;
overflow:hidden;
}
.body {
overflow:hidden;
width:140px;
float:left;
text-align:left;
margin:5px 5px 5px 0px;
font-size:9pt;
overflow:hidden;
width:140px;
float:left;
text-align:left;
margin:5px 5px 5px 0px;
font-size:9pt;
}
.wide_body {
width:380px;
float:left;
clear:right;
text-align:left;
margin:5px 10px 5px 0px;
font-size:9pt;
width:380px;
float:left;
clear:right;
text-align:left;
margin:5px 10px 5px 0px;
font-size:9pt;
}
.table_input {
width:40px;
height:13px;
font-size:9pt;
border:1px solid #AAAAAA;
width:40px;
height:13px;
font-size:9pt;
border:1px solid #AAAAAA;
}
.editor_button_area {
clear:both;
text-align:center;
height:25px;
padding-top:3px;
background-color:#EEEEEE;
clear:both;
text-align:center;
height:25px;
padding-top:3px;
background-color:#EEEEEE;
}
.editor_button {
margin-top:4px;
background-color:#FFFFFF;
border:1px solid #AAAAAA;
height:18px;
font-size:8pt;
margin-top:4px;
background-color:#FFFFFF;
border:1px solid #AAAAAA;
height:18px;
font-size:8pt;
}
img.color_icon {
width:14px;
height:14px;
border:1px solid #FFFFFF;
width:14px;
height:14px;
border:1px solid #FFFFFF;
}
img.color_icon_over {
width:14px;
height:14px;
border:1px solid #000000;
cursor:pointer;
width:14px;
height:14px;
border:1px solid #000000;
cursor:pointer;
}
img.border_preview_color {
width:30px;
height:16px;
border:1px solid #EEEEEE;
background-color:#000000;
width:30px;
height:16px;
border:1px solid #EEEEEE;
background-color:#000000;
}
img.border_preview_none_color {
width:30px;
height:12px;
border:1px solid #EEEEEE;
background-color:#FFFFFF;
width:30px;
height:12px;
border:1px solid #EEEEEE;
background-color:#FFFFFF;
}
img.bg_preview_color {
width:30px;
height:16px;
border:1px solid #000000;
background-color:#FFFFFF;
width:30px;
height:16px;
border:1px solid #000000;
background-color:#FFFFFF;
}
.editor_color_box {
clear:both;
height:65px;
width:400px;
border:1px solid #DDDDDD;
padding:2px;
margin-bottom:3px;
clear:both;
height:65px;
width:400px;
border:1px solid #DDDDDD;
padding:2px;
margin-bottom:3px;
}
.editor_color_input {
clear:both;
clear:both;
}

View file

@ -3,109 +3,111 @@
<!--%import("../lang")-->
<form action="./" method="get" onSubmit="return false" id="fo">
<div class="editor_window">
<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="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="editor_option" id="table_option" style="display:none">
<input name="attr" type="radio" value="table" id="table_attribute_select" onclick="doSelectOption('table');"/> <label for="table_attribute_select">{$lang->table_attribute}</label>
<input name="attr" type="radio" value="cell" id="cell_attribute_select" onclick="doSelectOption('cell');"/> <label for="cell_attribute_select">{$lang->cell_attribute}</label>
</div>
<div id="table_attribute" style="display:none">
<div class="item_area" id="col_row_area" style="display:none" >
<div class="header">{$lang->table_cols_count} :</div>
<div class="body"><input type="text" class="table_input" id="cols_count" value="2" /></div>
<div class="header">{$lang->table_rows_count} :</div>
<div class="body"><input type="text" class="table_input" id="rows_count" value="1" /></div>
</div>
<div class="item_area">
<div class="header">{$lang->table_width} :</div>
<div class="wide_body">
<input type="text" class="table_input" id="width" value="100" />
<input type="radio" name="width_unit" id="width_unit_percent" checked="true" /><label for="width_unit_percent">%</label>
<input type="radio" name="width_unit" id="width_unit_pixel" /><label for="width_unit_pixel">px</label>
</div>
</div>
<div class="item_area">
<div class="header">{$lang->table_cellspacing} :</div>
<div class="body"><input type="text" class="table_input" id="cellspacing" value="0" />px</div>
<div class="header">{$lang->table_cellpadding} :</div>
<div class="body"><input type="text" class="table_input" id="cellpadding" value="1" />px</div>
</div>
<div class="item_area">
<div class="header">{$lang->table_border} :</div>
<div class="body"><input type="text" class="table_input" id="border" value="1" />px</div>
<div class="header">{$lang->table_inner_border} :</div>
<div class="body"><input type="text" class="table_input" id="inner_border" value="0" />px</div>
</div>
</div>
<div id="cell_attribute" style="display:none">
<div class="item_area">
<div class="header">{$lang->cell_width} :</div>
<div class="body">
<input type="text" class="table_input" id="cell_width" value="0" />
<input type="radio" name="cell_width_unit" id="cell_width_unit_percent" checked="true" /><label for="cell_width_unit_percent">%</label>
<input type="radio" name="cell_width_unit" id="cell_width_unit_pixel" /><label for="cell_width_unit_pixel">px</label>
<div class="editor_option" id="table_option" style="display:none">
<input name="attr" type="radio" value="table" id="table_attribute_select" onclick="doSelectOption('table');"/> <label for="table_attribute_select">{$lang->table_attribute}</label>
<input name="attr" type="radio" value="cell" id="cell_attribute_select" onclick="doSelectOption('cell');"/> <label for="cell_attribute_select">{$lang->cell_attribute}</label>
</div>
<div class="header">{$lang->cell_height} :</div>
<div class="body"><input type="text" class="table_input" id="cell_height" value="0" />px</div>
</div>
</div>
<div id="table_attribute" style="display:none">
<div class="item_area" id="border_color_area" style="display:none">
<div class="header">{$lang->table_border_color} :</div>
<div class="wide_body">
<div class="editor_color_box">
<script type="text/javascript">
printColor("border", "{$tpl_path}/images/blank.gif");
</script>
<div class="item_area" id="col_row_area" style="display:none" >
<div class="header">{$lang->table_cols_count} :</div>
<div class="body"><input type="text" class="table_input" id="cols_count" value="2" /></div>
<div class="header">{$lang->table_rows_count} :</div>
<div class="body"><input type="text" class="table_input" id="rows_count" value="1" /></div>
</div>
<div class="editor_color_input">
<table border="0" cellspacing="0">
<tr>
<td><img src="./images/border_solid.gif" alt="blank" class="border_preview_color" id="border_preview_color" /></td>
<td>#</td>
<td><input type="text" id="border_color_input" size="6" maxlength="6" class="table_input" value="000000" onkeyup="manual_select_color('border',this)"/></td>
</tr>
</table>
</div>
</div>
</div>
<div class="item_area" id="bg_color_area" style="display:none">
<div class="header">{$lang->table_bg_color} :</div>
<div class="wide_body">
<div class="editor_color_box">
<script type="text/javascript">
printColor("bg", "{$tpl_path}/images/blank.gif");
</script>
<div class="item_area">
<div class="header">{$lang->table_width} :</div>
<div class="wide_body">
<input type="text" class="table_input" id="width" value="100" />
<input type="radio" name="width_unit" id="width_unit_percent" checked="true" /><label for="width_unit_percent">%</label>
<input type="radio" name="width_unit" id="width_unit_pixel" /><label for="width_unit_pixel">px</label>
</div>
</div>
<div class="editor_color_input">
<table border="0" cellspacing="0">
<tr>
<td><img src="./images/blank.gif" alt="blank" class="bg_preview_color" id="bg_preview_color" /></td>
<td>#</td>
<td><input type="text" id="bg_color_input" size="6" maxlength="6" class="table_input" value="FFFFFF" onkeyup="manual_select_color('bg',this)"/></td>
</tr>
</table>
<div class="item_area">
<div class="header">{$lang->table_cellspacing} :</div>
<div class="body"><input type="text" class="table_input" id="cellspacing" value="0" />px</div>
<div class="header">{$lang->table_cellpadding} :</div>
<div class="body"><input type="text" class="table_input" id="cellpadding" value="1" />px</div>
</div>
</div>
</div>
<div class="editor_button_area">
<input type="button" value="{$lang->cmd_insert}" class="editor_button" onclick="insertTable()" />
<input type="button" value="{$lang->cmd_close}" class="editor_button" onclick="window.close();" />
</div>
<div class="item_area">
<div class="header">{$lang->table_border} :</div>
<div class="body"><input type="text" class="table_input" id="border" value="1" />px</div>
</div>
<div class="header">{$lang->table_inner_border} :</div>
<div class="body"><input type="text" class="table_input" id="inner_border" value="0" />px</div>
</div>
</div>
<div id="cell_attribute" style="display:none">
<div class="item_area">
<div class="header">{$lang->cell_width} :</div>
<div class="body">
<input type="text" class="table_input" id="cell_width" value="0" />
<input type="radio" name="cell_width_unit" id="cell_width_unit_percent" checked="true" /><label for="cell_width_unit_percent">%</label>
<input type="radio" name="cell_width_unit" id="cell_width_unit_pixel" /><label for="cell_width_unit_pixel">px</label>
</div>
<div class="header">{$lang->cell_height} :</div>
<div class="body"><input type="text" class="table_input" id="cell_height" value="0" />px</div>
</div>
</div>
<div class="item_area" id="border_color_area" style="display:none">
<div class="header">{$lang->table_border_color} :</div>
<div class="wide_body">
<div class="editor_color_box">
<script type="text/javascript">
printColor("border", "{$tpl_path}/images/blank.gif");
</script>
</div>
<div class="editor_color_input">
<table border="0" cellspacing="0">
<tr>
<td><img src="./images/border_solid.gif" alt="blank" class="border_preview_color" id="border_preview_color" /></td>
<td>#</td>
<td><input type="text" id="border_color_input" size="6" maxlength="6" class="table_input" value="000000" onkeyup="manual_select_color('border',this)"/></td>
</tr>
</table>
</div>
</div>
</div>
<div class="item_area" id="bg_color_area" style="display:none">
<div class="header">{$lang->table_bg_color} :</div>
<div class="wide_body">
<div class="editor_color_box">
<script type="text/javascript">
printColor("bg", "{$tpl_path}/images/blank.gif");
</script>
</div>
<div class="editor_color_input">
<table border="0" cellspacing="0">
<tr>
<td><img src="./images/blank.gif" alt="blank" class="bg_preview_color" id="bg_preview_color" /></td>
<td>#</td>
<td><input type="text" id="bg_color_input" size="6" maxlength="6" class="table_input" value="FFFFFF" onkeyup="manual_select_color('bg',this)"/></td>
</tr>
</table>
</div>
</div>
</div>
<div class="editor_button_area">
<input type="button" value="{$lang->cmd_insert}" class="editor_button" onclick="insertTable()" />
<input type="button" value="{$lang->cmd_close}" class="editor_button" onclick="window.close();" />
</div>
</div>
</form>

View file

@ -1,8 +1,8 @@
<?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">에디터에 링크를 추가하거나 링크의 속성을 변경할 수 있습니다.</description>
</author>
<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">에디터에 링크를 추가하거나 링크의 속성을 변경할 수 있습니다.</description>
</author>
</component>

View file

@ -1,67 +1,68 @@
@charset "utf-8";
.editor_window {
width:400px;
clear:both;
width:400px;
clear:both;
}
.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;
}
.header {
float:left;
width:60px;
clear:left;
text-align:left;
font-weight:bold;
margin:5px;
font-size:9pt;
padding-left:20px;
float:left;
width:60px;
clear:left;
text-align:left;
font-weight:bold;
margin:5px;
font-size:9pt;
padding-left:20px;
}
.body {
float:left;
width:290px;
text-align:left;
margin:5px;
font-size:9pt;
float:left;
width:290px;
text-align:left;
margin:5px;
font-size:9pt;
}
.editor_textarea {
width:280px;
height:50px;
border:1px solid #AAAAAA;
font-size:9pt;
width:280px;
height:50px;
border:1px solid #AAAAAA;
font-size:9pt;
}
.editor_input {
width:280px;
border:1px solid #AAAAAA;
font-size:9pt;
height:13px;
width:280px;
border:1px solid #AAAAAA;
font-size:9pt;
height:13px;
}
.editor_button_area {
border-top:1px solid #AAAAAA;
text-align:center;
background-color:#EEEEEE;
padding:0px 0px 2px 0px;
clear:both;
height:25px;
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

@ -2,46 +2,45 @@
<!--%import("popup.css")-->
<!--%import("../lang")-->
<form action="./" method="get" id="fo_component" onSubmit="return false">
<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="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="header">{$lang->urllink_title}</div>
<div class="body"><textarea name="text" class="editor_textarea"></textarea></div>
<div class="header">{$lang->urllink_title}</div>
<div class="body"><textarea name="text" class="editor_textarea"></textarea></div>
<div class="header">{$lang->urllink_url}</div>
<div class="body"><input type="text" name="url" class="editor_input" value="{$manual_url}"/></div>
<div class="header">{$lang->urllink_url}</div>
<div class="body"><input type="text" name="url" class="editor_input" value="{$manual_url}"/></div>
<div class="header">{$lang->urllink_open_window}</div>
<div class="body"><input type="checkbox" name="open_window" value="Y" id="editor_open_window" /> <label for="editor_open_window">{$lang->about_url_link_open_window}</label></div>
<div class="header">{$lang->urllink_open_window}</div>
<div class="body"><input type="checkbox" name="open_window" value="Y" id="editor_open_window" /> <label for="editor_open_window">{$lang->about_url_link_open_window}</label></div>
<div class="header">{$lang->urllink_bold}</div>
<div class="body"><input type="checkbox" name="bold" value="Y" id="editor_bold" /> <label for="editor_bold">{$lang->about_url_link_bold}</label></div>
<div class="header">{$lang->urllink_bold}</div>
<div class="body"><input type="checkbox" name="bold" value="Y" id="editor_bold" /> <label for="editor_bold">{$lang->about_url_link_bold}</label></div>
<div class="header">{$lang->urllink_color}</div>
<div class="body">
<span>
<input type="radio" name="color" value="blue" id="color_blue" />
<label for="color_blue" class="editor_blue_text">{$lang->urllink_color_blue}</label>
</span>
<span>
<input type="radio" name="color" value="red" id="color_red" />
<label for="color_red" class="editor_red_text">{$lang->urllink_color_red}</label>
</span>
<span>
<input type="radio" name="color" value="yellow" id="color_yellow" />
<label for="color_yellow" class="editor_yellow_text">{$lang->urllink_color_yellow}</label>
</span>
<span>
<input type="radio" name="color" value="green" id="color_green" />
<label for="color_green" class="editor_green_text">{$lang->urllink_color_green}</label>
</span>
</div>
<div class="editor_button_area">
<input type="button" class="editor_button" value="{$lang->cmd_insert}" onclick="setText()" />
<input type="button" class="editor_button" value="{$lang->cmd_close}" onclick="window.close()" />
</div>
<div class="header">{$lang->urllink_color}</div>
<div class="body">
<span>
<input type="radio" name="color" value="blue" id="color_blue" />
<label for="color_blue" class="editor_blue_text">{$lang->urllink_color_blue}</label>
</span>
<span>
<input type="radio" name="color" value="red" id="color_red" />
<label for="color_red" class="editor_red_text">{$lang->urllink_color_red}</label>
</span>
<span>
<input type="radio" name="color" value="yellow" id="color_yellow" />
<label for="color_yellow" class="editor_yellow_text">{$lang->urllink_color_yellow}</label>
</span>
<span>
<input type="radio" name="color" value="green" id="color_green" />
<label for="color_green" class="editor_green_text">{$lang->urllink_color_green}</label>
</span>
</div>
</div>
<div class="editor_button_area">
<input type="button" class="editor_button" value="{$lang->cmd_insert}" onclick="setText()" />
<input type="button" class="editor_button" value="{$lang->cmd_close}" onclick="window.close()" />
</div>
</form>