방명록 기본 스킨 정리
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3014 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
|
@ -60,9 +60,13 @@
|
|||
if(!$option->enable_component) $enable_component = false;
|
||||
else $enable_component = true;
|
||||
|
||||
// html 모드 조절
|
||||
if($option->disable_html) $html_mode = false;
|
||||
else $html_mode = true;
|
||||
|
||||
// 크기 조절 옵션 설정
|
||||
if(!$option->resizable) $resizable = 'false';
|
||||
else $resizable = 'true';
|
||||
if(!$option->resizable) $resizable = false;
|
||||
else $resizable = true;
|
||||
|
||||
// 높이 설정
|
||||
if(!$option->height) $editor_height = 400;
|
||||
|
|
@ -145,6 +149,11 @@
|
|||
Context::set('enable_component', $enable_component);
|
||||
Context::set('enable_default_component', $enable_default_component);
|
||||
|
||||
/**
|
||||
* html_mode 가능한지 변수 설정
|
||||
**/
|
||||
Context::set('html_mode', $html_mode);
|
||||
|
||||
/**
|
||||
* resizable 가능한지 변수 설정
|
||||
**/
|
||||
|
|
|
|||
|
|
@ -21,13 +21,13 @@
|
|||
|
||||
.xeEditor .editorInfo { background:#fbfbfb; padding:.5em; border:1px solid #e1e1dd; color:#999999; position:relative; margin:5px 20px 0 20px;}
|
||||
.xeEditor .close { cursor:pointer; position:absolute; top:3px; right:3px; _top:3px; _right:25px;}
|
||||
.xeEditor .editor_iframe_box { background:#ffffff; clear:both; border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:5px; margin:0 20px 0 20px; }
|
||||
.xeEditor .editor_iframe_box { background:#ffffff; clear:both; border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:5px; margin:10px 20px 10px 20px; }
|
||||
.xeEditor .editor_iframe_textarea { background:#ffffff; clear:both; border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:.5em; margin:0 20px 0 20px; width:100%; font-size:1em; display:none;}
|
||||
|
||||
.xeEditor .textAreaDragIndicator { text-align:center; background:url(../images/lineTextAreaDrag.gif) repeat-x left center; padding:5px 0 5px 0; }
|
||||
.xeEditor .textAreaDragIndicatorBar { background:url(../images/buttonTextAreaDrag.gif) no-repeat center; cursor:move;height:14px;}
|
||||
|
||||
.xeEditor .editor_info { clear:both; padding:5px 20px 5px 20px; overflow:hidden;}
|
||||
.xeEditor .editor_info { clear:both; padding:10px 20px 5px 20px; overflow:hidden;}
|
||||
.xeEditor .editor_info .editor_option { float:left; color:#888888; }
|
||||
.xeEditor .editor_info .editor_autosaved_message { color:#888888; float:right; }
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
var auto_saved_msg = "{$lang->msg_auto_saved}";
|
||||
|
||||
<!--@if(!$editor_manual_start)-->
|
||||
xAddEventListener(window, 'load', function() { editorStart("{$editor_sequence}", "{$editor_primary_key_name}", "{$editor_content_key_name}", {$enable_resizable}, '{$editor_height}' ) } );
|
||||
xAddEventListener(window, 'load', function() { editorStart("{$editor_sequence}", "{$editor_primary_key_name}", "{$editor_content_key_name}", '{$editor_height}' ) } );
|
||||
<!--@end-->
|
||||
//]]></script>
|
||||
|
||||
|
|
@ -129,19 +129,27 @@
|
|||
<!--@end-->
|
||||
|
||||
<!-- HTML 모드 사용 기능 및 자동저장 메세지 출력용 -->
|
||||
<!--@if($html_mode || $enable_autosave)-->
|
||||
<div class="editor_info">
|
||||
<!--@if($html_mode)-->
|
||||
<div class="editor_option">
|
||||
<input type="checkbox" id="use_html_{$editor_sequence}" value="Y" onclick="editorChangeMode(this, '{$editor_sequence}');" /> <label for="use_html_{$editor_sequence}">HTML</label>
|
||||
</div>
|
||||
<!--@end-->
|
||||
<!--@if($enable_autosave)-->
|
||||
<div class="editor_autosaved_message" id="editor_autosaved_message_{$editor_sequence}"> </div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 에디터 출력 -->
|
||||
<div class="editor_iframe_box"><iframe id="editor_iframe_{$editor_sequence}" frameborder="0" height="{$editor_height}" style="background-color:transparent;"></iframe></div>
|
||||
<textarea id="editor_textarea_{$editor_sequence}" class="editor_iframe_textarea" style="display:none; height:{$editor_height}" rows="10" cols="10"></textarea>
|
||||
|
||||
<!-- 에디터 크기 조절 bar -->
|
||||
<!--@if($enable_resizable)-->
|
||||
<div class="textAreaDragIndicator"><div class="textAreaDragIndicatorBar" id="editor_drag_bar_{$editor_sequence}"></div></div>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($allow_fileupload)-->
|
||||
<!-- 첨부파일 영역 -->
|
||||
|
|
|
|||
|
|
@ -95,11 +95,7 @@ function editorGetSelectedNode(editor_sequence) {
|
|||
/**
|
||||
* editor 시작 (editor_sequence로 iframe객체를 얻어서 쓰기 모드로 전환)
|
||||
**/
|
||||
function editorStart(editor_sequence, primary_key, content_key, resizable, editor_height) {
|
||||
// resize 가/불가에 대한 체크
|
||||
if(typeof(resizable)=="undefined"||!resizable) resizable = false;
|
||||
else resizable = true;
|
||||
|
||||
function editorStart(editor_sequence, primary_key, content_key, editor_height) {
|
||||
// iframe obj를 찾음
|
||||
var iframe_obj = editorGetIFrame(editor_sequence);
|
||||
if(!iframe_obj) return;
|
||||
|
|
@ -140,13 +136,6 @@ function editorStart(editor_sequence, primary_key, content_key, resizable, edito
|
|||
// IE가 아니고 내용이 없으면 <br /> 추가 (FF등에서 iframe 선택시 focus를 주기 위한 꽁수)
|
||||
if(!content && !xIE4Up) content = "<br />";
|
||||
|
||||
// 크기 변경 불가일 경우 드래그바 숨김
|
||||
var dragObj = xGetElementById("editor_drag_bar_"+editor_sequence);
|
||||
if(dragObj) {
|
||||
if(resizable == false) dragObj.style.display = "none";
|
||||
else dragObj.style.display = "block";
|
||||
}
|
||||
|
||||
// IE일 경우 ctrl-Enter 안내 문구를 노출
|
||||
var ieHelpObj = xGetElementById("for_ie_help_"+editor_sequence);
|
||||
if(xIE4Up && ieHelpObj) {
|
||||
|
|
|
|||
|
|
@ -38,11 +38,6 @@
|
|||
$template_path = sprintf("%sskins/%s/",$this->module_path, $this->module_info->skin);
|
||||
$this->setTemplatePath($template_path);
|
||||
|
||||
/**
|
||||
* 방명록 모듈 생성 또는 정보 수정시 open_rss값의 세팅에 따라서 rss_url을 선언해 놓는다.
|
||||
* 이 rss_url은 ./common/tpl/common_layout.html에서 application/rss+xml의 href로 지정된다
|
||||
**/
|
||||
if($this->module_info->open_rss != 'N') Context::set('rss_url', getUrl('','mid',$this->mid,'act','rss'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -83,10 +78,11 @@
|
|||
$option->primary_key_name = 'document_srl';
|
||||
$option->content_key_name = 'content';
|
||||
$option->allow_fileupload = false; ///< 파일 업로드 기능을 제한
|
||||
$option->enable_autosave = true; ///< 자동 저장 기능을 활성화
|
||||
$option->enable_default_component = true; ///< 기본 에디터 컴포넌트의 활성화
|
||||
$option->enable_component = true; ///< 추가 에디터 컴포넌트의 활성화
|
||||
$option->enable_autosave = false; ///< 자동 저장 기능을 활성화
|
||||
$option->enable_default_component = false; ///< 기본 에디터 컴포넌트의 활성화
|
||||
$option->enable_component = false; ///< 추가 에디터 컴포넌트의 활성화
|
||||
$option->resizable = false; ///< 글쓰기 폼의 상하 조절 가능하도록 설정
|
||||
$option->disable_html = true; ///< html_mode
|
||||
$option->height = 200; ///< 에디터의 높이 지정
|
||||
$editor = $oEditorModel->getEditor($document_srl, $option); ///< 에디터코드를 받음
|
||||
Context::set('editor', $editor); ///< 에디터코드를 editor라는 이름으로 세팅.
|
||||
|
|
|
|||
|
|
@ -1,43 +1,66 @@
|
|||
<!-- 댓글 정보 출력 -->
|
||||
<a name="comment_top_{$document->document_srl}"></a>
|
||||
<!--@if($document->getCommentCount())-->
|
||||
<div class="replyBox">
|
||||
|
||||
<!-- 댓글 출력 -->
|
||||
<div class="clear">
|
||||
<!-- 댓글 목록 -->
|
||||
{@ $_comment_list = $document->getComments() }
|
||||
<!--@foreach($_comment_list as $key => $comment)-->
|
||||
|
||||
<!--@if($document->getCommentCount())-->
|
||||
<div class="replyItem reply">
|
||||
<div style="margin-left:{($comment->get('depth'))*20}px" class="replyIndent">
|
||||
|
||||
<!--@foreach($document->getComments() as $key => $val)-->
|
||||
<a name="comment_{$key}"></a>
|
||||
<div class="comment_box" style="margin-left:{$val->depth*15}px" >
|
||||
<div class="fl member_{$val->member_srl}">{htmlspecialchars($val->nick_name)}</div>
|
||||
<div class="fr">{zdate($val->regdate, "Y-m-d H:i:s")}</div>
|
||||
<div class="comment_content">
|
||||
<div class="content">{$val->content}</div>
|
||||
<a name="comment_{$comment->comment_srl}"></a>
|
||||
|
||||
<div class="comment_sub_info">
|
||||
{$val->ipaddress}
|
||||
</div>
|
||||
<div class="button_area">
|
||||
<a href="{getUrl('act','dispGuestbookReplyComment','comment_srl',$val->comment_srl)}" class="button"><span>{$lang->cmd_reply}</span></a>
|
||||
|
||||
<!--@if($val->is_granted || !$val->member_srl || $grant->is_admin)-->
|
||||
<a href="{getUrl('act','dispGuestbookModifyComment','comment_srl',$val->comment_srl)}" class="button"><span>{$lang->cmd_modify}</span></a>
|
||||
<a href="{getUrl('act','dispGuestbookDeleteComment','comment_srl',$val->comment_srl)}" class="button"><span>{$lang->cmd_delete}</span></a>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<div class="replyOption">
|
||||
<!--@if($comment->isGranted())-->
|
||||
<a href="{getUrl('act','dispGuestbookDeleteComment','comment_srl',$comment->comment_srl)}"><img src="./images/buttonDeleteX.gif" alt="{$lang->cmd_delete}" width="12" height="13" /></a>
|
||||
<a href="{getUrl('act','dispGuestbookModifyComment','comment_srl',$comment->comment_srl)}"><img src="./images/buttonModifyE.gif" alt="{$lang->cmd_modify}" width="20" height="17" /></a>
|
||||
<!--@end-->
|
||||
<a href="{getUrl('act','dispGuestbookReplyComment','comment_srl',$comment->comment_srl)}"><img src="./images/buttonReply.gif" alt="{$lang->cmd_reply}" width="20" height="17" /></a>
|
||||
</div>
|
||||
|
||||
<div class="date">
|
||||
|
||||
<strong>{$comment->getRegdate('Y.m.d')}</strong> {$comment->getRegdate('H:i:s')}
|
||||
|
||||
<!--@if($grant->is_admin)-->
|
||||
({$comment->get('ipaddress')})
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="author">
|
||||
<!--@if(!$comment->member_srl)-->
|
||||
<!--@if($comment->homepage)-->
|
||||
<a href="{$comment->homepage}" onclick="window.open(this.href);return false;">{$comment->getNickName()}</a>
|
||||
<!--@else-->
|
||||
{$comment->getNickName()}
|
||||
<!--@end-->
|
||||
<!--@else-->
|
||||
<div class="member_{$comment->member_srl}">{$comment->getNickName()}</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="replyContent">
|
||||
<!--@if(!$comment->isAccessible())-->
|
||||
<!--%import("filter/input_password.xml")-->
|
||||
<strong>{$lang->msg_is_secret}</strong>
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, input_password)">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="document_srl" value="{$comment->get('document_srl')}" />
|
||||
<input type="hidden" name="comment_srl" value="{$comment->get('comment_srl')}" />
|
||||
<div class="inputPassword">
|
||||
<input type="password" name="password" class="inputTypeText" /><span class="button"><input type="submit" value="{$lang->cmd_input}" accesskey="s" /></span>
|
||||
</div>
|
||||
</form>
|
||||
<!--@else-->
|
||||
{$comment->getContent(false)}
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!--@end-->
|
||||
|
||||
<!-- 댓글 입력 폼 -->
|
||||
|
||||
<!--@if($grant->write_comment && !$document->isLocked())-->
|
||||
{@ $document_srl = $document->document_srl }
|
||||
<!--#include("./comment_form.html")-->
|
||||
<!--@end-->
|
||||
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
|
|
|||
|
|
@ -7,72 +7,98 @@
|
|||
|
||||
<!-- 만약 댓글의 답을 다는 것이라면 원문 보여줌 -->
|
||||
<!--@if($source_comment)-->
|
||||
<div>
|
||||
<table cellspacing="0" width="100%">
|
||||
<col width="120" />
|
||||
<col width="*" />
|
||||
<tr>
|
||||
<th>{$lang->date}</th>
|
||||
<td>{$source_comment->regdate}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->writer}</th>
|
||||
<td><div class="member_{$source_comment->member_srl}">{htmlspecialchars($source_comment->nick_name)}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->content}</th>
|
||||
<td height="100" valign="top">{$source_comment->content}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="replyBox">
|
||||
<div class="replyItem">
|
||||
<div class="date">
|
||||
|
||||
<strong>{$source_comment->getRegdate('Y.m.d')}</strong> {$source_comment->getRegdate('H:i:s')}
|
||||
|
||||
<!--@if($grant->is_admin)-->
|
||||
({$source_comment->get('ipaddress')})
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="author">
|
||||
<!--@if(!$source_comment->member_srl)-->
|
||||
<!--@if($source_comment->homepage)-->
|
||||
<a href="{$source_comment->homepage}" onclick="window.open(this.href);return false;">{$source_comment->getNickName()}</a>
|
||||
<!--@else-->
|
||||
{$source_comment->getNickName()}
|
||||
<!--@end-->
|
||||
<!--@else-->
|
||||
<div class="member_{$source_comment->member_srl}">{$source_comment->getNickName()}</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="replyContent">
|
||||
<!--@if(!$source_comment->isAccessible())-->
|
||||
<!--%import("filter/input_password.xml")-->
|
||||
<strong>{$lang->msg_is_secret}</strong>
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, input_password)">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="document_srl" value="{$comment->get('document_srl')}" />
|
||||
<input type="hidden" name="comment_srl" value="{$comment->get('comment_srl')}" />
|
||||
<div class="inputPassword">
|
||||
<input type="password" name="password" class="inputTypeText" /><span class="button"><input type="submit" value="{$lang->cmd_input}" accesskey="s" /></span>
|
||||
</div>
|
||||
</form>
|
||||
<!--@else-->
|
||||
{$source_comment->getContent(false)}
|
||||
<!--@end-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 글쓰기 폼 -->
|
||||
<form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" <!--@if($grant->fileupload)-->enctype="multipart/form-data"<!--@end-->>
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="document_srl" value="{$document_srl?$document_srl:$document->document_srl}" />
|
||||
<input type="hidden" name="comment_srl" value="{$comment_srl}" />
|
||||
<input type="hidden" name="parent_srl" value="{$parent_srl}" />
|
||||
<div class="commentWrite">
|
||||
<form action="./" method="post" onsubmit="return procFilter(this, insert_comment)">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="document_srl" value="{$document_srl?$document_srl:$document->document_srl}" />
|
||||
<input type="hidden" name="comment_srl" value="{$comment_srl}" />
|
||||
<input type="hidden" name="parent_srl" value="{$parent_srl}" />
|
||||
|
||||
<table width="100%">
|
||||
<col width="120" />
|
||||
<col width="*" />
|
||||
<!--@if(!$is_logged)-->
|
||||
<div class="userNameAndPw">
|
||||
<label for="userName">{$lang->writer}</label>
|
||||
<input type="text" name="nick_name" class="userName inputTypeText" value="{htmlspecialchars($comment->nick_name)}" id="userName"/>
|
||||
|
||||
<!--@if(!$is_logged)-->
|
||||
<tr>
|
||||
<th>{$lang->writer}</th>
|
||||
<td><input type="text" name="nick_name" value="{htmlspecialchars($comment->nick_name)}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->password}</th>
|
||||
<td><input type="password" name="password" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->email_address}</th>
|
||||
<td><input type="text" name="email_address" value="{htmlspecialchars($comment->email_address)}"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->homepage}</th>
|
||||
<td><input type="text" name="homepage" value="{htmlspecialchars($comment->homepage)}" /></td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<label for="userPw">{$lang->password}</label>
|
||||
<input type="password" name="password" id="userPw" class="userPw inputTypeText" />
|
||||
|
||||
<tr>
|
||||
<td colspan="2" class="tRight">
|
||||
<textarea class="comment_form" name="content">{strip_tags($comment->content)}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="tRight">
|
||||
<span class="button"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
|
||||
<label for="emailAddress">{$lang->email_address}</label>
|
||||
<input type="text" name="email_address" id="emailAddress" class="emailAddress inputTypeText" value="{htmlspecialchars($comment->email_address)}"/>
|
||||
|
||||
<label for="homePage">{$lang->homepage}</label>
|
||||
<input type="text" name="homepage" id="homePage" class="homePage inputTypeText" value="{htmlspecialchars($comment->homepage)}"/>
|
||||
</div>
|
||||
<!--@end-->
|
||||
<dl class="option">
|
||||
<dd>
|
||||
<input type="checkbox" name="is_secret" value="Y" id="is_secret" <!--@if($comment->is_secret=='Y')-->checked="checked"<!--@end-->/>
|
||||
<label for="is_secret">{$lang->secret}</label>
|
||||
</dd>
|
||||
<!--@if($is_logged)-->
|
||||
<dd>
|
||||
<input type="checkbox" name="notify_message" value="Y" <!--@if($comment->notify_message == 'Y')-->checked="checked"<!--@end--> id="notify_message" />
|
||||
<label for="notify_message">{$lang->notify}</label>
|
||||
</dd>
|
||||
<!--@end-->
|
||||
</dl>
|
||||
|
||||
<div class="editorBox"><textarea name="content" rows="8" cols="20" class="textarea">{strip_tags($comment->content)}</textarea></div>
|
||||
|
||||
<div class="tCenter">
|
||||
<!--@if($act&&$act!='dispGuestbookContent')-->
|
||||
<span class="button"><input type="button" value="{$lang->cmd_back}" onclick="location.href='{getUrl('act','')}'" /></span>
|
||||
<!--@end-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<span class="button"><input type="submit" value="{$lang->cmd_comment_registration}" accesskey="s" /></span>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!--@if($source_comment)-->
|
||||
<!--#include("footer.html")-->
|
||||
|
|
|
|||
|
|
@ -1,28 +1,105 @@
|
|||
@charset "utf-8";
|
||||
|
||||
a { color:#555555; text-decoration:none; }
|
||||
/* guestbook Title */
|
||||
.guestbookHeader { border:1px solid #e1e1dd; border-bottom:none; background:#ffffff url(../images/bgH3.gif) repeat-x left bottom; overflow:hidden; _width:100%;}
|
||||
.guestbookHeader h3 { border-bottom:3px solid #fe3614; }
|
||||
.guestbookHeader h3 { float:left; font-size:1.2em; padding:1em 2em .7em 1.2em; background:#ffffff url(../images/lineH3.gif) no-repeat right bottom;}
|
||||
|
||||
.titleBox { border:4px solid #EEEEEE; padding:.5em; margin-bottom:1em; }
|
||||
.titleBox .title { font-weight:bold; }
|
||||
.titleBox .memo { color:#888888; }
|
||||
/* guestbook Description */
|
||||
.guestbookDescription { color:#AEAEAE; border:1px solid #DDDDDD; overflow:hidden; padding:1em; margin-top:1em;}
|
||||
|
||||
.info .status { float:left; overflow:hidden; }
|
||||
.info .link { float:right; overflow:hidden; }
|
||||
.guestbookInformation { width:100%; clear:both; margin:1em 0 .5em 0; overflow:hidden; color:#666666;}
|
||||
|
||||
.write_form { padding:10px; margin:0px; border:3px solid #CCCCCC; margin-top:.5em; }
|
||||
.write_form table { border:0; padding:0; }
|
||||
.write_form td.option { text-align:right; padding:.3em; }
|
||||
.articleNum { float:left; padding:0 0 0 15px; }
|
||||
|
||||
.document { padding:0; margin-top:1em; border:3px solid #EEEEEE; }
|
||||
.document .info { background-color:#EFEFEF; padding:.5em; }
|
||||
.document .subinfo { text-align:right; color:#CCCCCC;}
|
||||
.document .content { padding:1em; }
|
||||
.document .comment { padding:1em; }
|
||||
/* account Navigation */
|
||||
.accountNavigation { float:right; }
|
||||
.accountNavigation li { float:left; margin-left:7px; list-style:none; padding-top:3px;}
|
||||
.accountNavigation li a { font-size:12px; white-space:nowrap; color:#666666; text-decoration:none;}
|
||||
.accountNavigation li.setup a { background:url(../images/iconSetup.gif) no-repeat left top; padding-left:14px; }
|
||||
.accountNavigation li.admin a { background:url(../images/iconAdmin.gif) no-repeat left top; padding-left:12px; }
|
||||
.accountNavigation li.listType { margin-left:5px; }
|
||||
.accountNavigation li.loginAndLogout { background:url(../images/line_1x10_e0e0e0.gif) no-repeat left 5px; padding-left:8px; _padding-top:5px;}
|
||||
*:first-child+html li.loginAndLogout { padding-top:5px; }
|
||||
|
||||
.comment_box { border:0; padding:.5em; border-top:1px solid #EEEEEE; margin:1em 0 1em 0;}
|
||||
.comment_box .comment_content { }
|
||||
.comment_box .comment_content .content { margin:1em 0 2em 0;}
|
||||
.comment_box .comment_content .comment_sub_info { float:left; }
|
||||
.comment_box .comment_content .button_area { float:right; }
|
||||
|
||||
textarea.comment_form { border:1px solid #EEEEEE; width:90%;}
|
||||
/* pageNavigation */
|
||||
.pageNavigation { display:block; margin-top:1em; text-align:center; font:bold 11px Tahoma; margin-top:1.5em;}
|
||||
.pageNavigation a { position:relative; margin-left:-4px; font:bold 1em Tahoma; color:#666666; display:inline-block; padding:1px 7px 2px 6px; border-left:1px solid #dedfde; border-right:1px solid #CCCCCC; text-decoration:none; line-height:1em; }
|
||||
.pageNavigation .current { position:relative; margin-left:-4px; font:bold 11px Tahoma; display:inline-block; padding:1px 7px 1px 6px; border-left:1px solid #dedfde; text-decoration:none; line-height:1em; }
|
||||
.pageNavigation a:hover { background:#F7F7F7; text-decoration:none; }
|
||||
.pageNavigation a:visited { color:#999999; }
|
||||
.pageNavigation a.goToFirst, .pageNavigation a.goToLast { border:none; border-right:1px solid #ffffff; border-left:1px solid #ffffff; z-index:99; vertical-align:top; padding:0px 7px 4px 6px;}
|
||||
.pageNavigation a.goToFirst img, .pageNavigation a.goToLast img { display:inline-block; padding:2px 0; position:relative; top:2px; _top:1px;}
|
||||
|
||||
.boardWrite { border:1px solid #DDDDDD; background-color:#EFEFEF; overflow:hidden; position:relative; margin-bottom:20px; padding:.5em 0; }
|
||||
.boardWrite .inputTypeText { width:100px; }
|
||||
.boardWrite .userNameAndPw { margin-bottom:-1px; padding:.5em 0; margin-left:20px;}
|
||||
.boardWrite .boardEditor fieldset { width:auto; position:relative;}
|
||||
.boardWrite .option { margin-left:20px; padding:.5em 0; overflow:hidden; width:90%;}
|
||||
.boardWrite .option dd { float:left; margin-right:1em; padding-top:.2em; _padding-top:.1em;}
|
||||
.boardWrite .option dd * { vertical-align:middle;}
|
||||
.boardWrite .option dd select { width:7em; font-size:.95em;height:20px;}
|
||||
.boardWrite .inputTypeText { background:#fbfbfb;}
|
||||
|
||||
.commentWrite { border:1px solid #EFEFEF; overflow:hidden; position:relative; margin-top:10px; margin-bottom:20px; padding:.5em 0; }
|
||||
.commentWrite .inputTypeText { width:100px; }
|
||||
.commentWrite .userNameAndPw { margin-bottom:-1px; padding:.5em 0; margin-left:20px;}
|
||||
.commentWrite .commentEditor fieldset { width:auto; position:relative; border:none;}
|
||||
.commentWrite .option { margin-left:20px; padding:.5em 0; overflow:hidden; width:90%;}
|
||||
.commentWrite .option dd { float:left; margin-right:1em; padding-top:.2em; _padding-top:.1em;}
|
||||
.commentWrite .option dd * { vertical-align:middle;}
|
||||
.commentWrite .option dd select { width:7em; font-size:.95em;height:20px;}
|
||||
.commentWrite .inputTypeText { background:#fbfbfb;}
|
||||
.commentWrite .editorBox { text-align:center; margin-bottom:10px;}
|
||||
.commentWrite .textarea { width:98%; border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; height:8em; padding:.2em 0 0 .3em; background:#ffffff; font-size:1em; }
|
||||
|
||||
.documentBox { padding:.6em .6em; color:#666666; border:1px solid #e0e1db; margin-top:.5em;}
|
||||
.documentBox .documentItem { padding:.6em .8em .6em .6em; line-height:1.25em; clear:both; list-style:none;}
|
||||
.documentBox p { display:inline; margin-bottom:1em;}
|
||||
.documentBox .author { float:left; padding:0 .3em 0 0; font-size:.9em; color:#3074a5; margin:0 .3em .5em 0;}
|
||||
.documentBox .author a { color:#3074a5; margin-right:.3em; text-decoration:none; }
|
||||
.documentBox .voted { float:left; font-size:.9em; color:#AAAAAA; margin:0 .3em .5em 1em;}
|
||||
.documentBox .date { float:right; font:.8em Tahoma; color:#cccccc; margin:.3em 0 .5em 0;}
|
||||
|
||||
.documentBox .documentOption { float:right; white-space:nowrap; margin-left:.2em;}
|
||||
.documentBox .documentOption img { vertical-align:middle;}
|
||||
|
||||
.documentBox .documentContent { clear:left; }
|
||||
.documentBox .documentContent p { display:block; }
|
||||
.documentBox .documentContent ul li { padding:0; border:none; line-height:1.25em; list-style:disc;}
|
||||
.documentBox .documentContent ol li { padding:0; border:none; line-height:1.25em; list-style:decimal;}
|
||||
.documentBox .document { background-color:#FAFAFA;}
|
||||
|
||||
.smallBox { border:1px solid #e0e1db; margin-left:auto; margin-right:auto; }
|
||||
.smallBox.w268 { width:268px;}
|
||||
.smallBox .header { position:relative; _width:100%; background:#ffffff url(../images/normal/bgH3.gif) no-repeat left bottom; overflow:hidden;}
|
||||
.smallBox .header h3 { clear:both; font-size:1.2em; padding:.8em 2em .6em 1.2em; border-bottom:3px solid #fe3614; }
|
||||
.smallBox .complex { padding:1.5em 2em 2em 2em;}
|
||||
.smallBox .inputPassword { position:relative; border:none; padding:2em 2em 1.5em 2em;}
|
||||
.smallBox .inputPassword .inputTypeText { float:left; margin-right:.5em; width:8em;}
|
||||
.smallBox .inputPassword legend { position:absolute; overflow:hidden; width:1px; height:1px; font-size:.001em; text-indent:-100em;}
|
||||
|
||||
|
||||
.replyBox { padding:.6em .6em; color:#666666; border:1px solid #e0e1db; margin-top:.5em;}
|
||||
.replyBox .replyItem { padding:.6em .8em .6em .6em; line-height:1.25em; clear:both; list-style:none; border-bottom:1px dotted #e0e1db;}
|
||||
.replyBox p { display:inline; margin-bottom:1em;}
|
||||
.replyBox .author { float:left; padding:0 .3em 0 0; font-size:.9em; color:#3074a5; margin:0 .3em .5em 0;}
|
||||
.replyBox .author a { color:#3074a5; margin-right:.3em; text-decoration:none; }
|
||||
.replyBox .voted { float:left; font-size:.9em; color:#AAAAAA; margin:0 .3em .5em 1em;}
|
||||
.replyBox .date { float:right; font:.8em Tahoma; color:#cccccc; margin:.3em 0 .5em 0;}
|
||||
|
||||
.replyBox .replyOption { float:right; white-space:nowrap; margin-left:.2em;}
|
||||
.replyBox .replyOption img { vertical-align:middle;}
|
||||
|
||||
.replyBox .replyContent { clear:left; }
|
||||
.replyBox .replyContent p { display:block; }
|
||||
.replyBox .replyContent ul li { padding:0; border:none; line-height:1.25em; list-style:disc;}
|
||||
.replyBox .replyContent ol li { padding:0; border:none; line-height:1.25em; list-style:decimal;}
|
||||
.replyBox .reply { background-color:#FAFAFA;}
|
||||
.replyBox .replyIndent { background:url(../images/common/iconReplyArrow.gif) no-repeat .0em .3em; padding-left:1.3em;}
|
||||
|
||||
.replyBox .fileAttached { _width:99%; border:1px solid #eaeae7; overflow:hidden; background:#fbfbfb; margin-top:.3em; list-style:none;}
|
||||
.replyBox .fileAttached ul { float:left; padding:.3em 1em .2em 0; margin-left:.5em; _margin-left:.25em;}
|
||||
.replyBox .fileAttached li a { font-size:.9em; white-space:nowrap; position:relative; color:#444444; }
|
||||
.replyBox .fileAttached li a:visited { color:#777777;}
|
||||
|
|
|
|||
|
|
@ -1,23 +1,25 @@
|
|||
<!--%import("filter/delete_comment.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, delete_comment)">
|
||||
<div class="smallBox w268">
|
||||
|
||||
<div class="header">
|
||||
<h3>{$lang->confirm_delete}</h3>
|
||||
</div>
|
||||
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, delete_comment)">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="document_srl" value="{$document_srl}" />
|
||||
<input type="hidden" name="comment_srl" value="{$comment_srl}" />
|
||||
<input type="hidden" name="document_srl" value="{$oComment->get('document_srl')}" />
|
||||
<input type="hidden" name="comment_srl" value="{$oComment->get('comment_srl')}" />
|
||||
|
||||
<div class="inputPassword tCenter">
|
||||
<span class="button"><input type="submit" value="{$lang->cmd_delete}" accesskey="s" /></span>
|
||||
<a href="{getUrl('act','','comment_srl','')}" class="button"><span>{$lang->cmd_cancel}</span></a>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th colspan="2">{$lang->confirm_delete}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="submit" value="{$lang->cmd_delete}" />
|
||||
<input type="button" value="{$lang->cmd_back}" onclick="location.href='{getUrl('act','')}'" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<!--#include("footer.html")-->
|
||||
|
|
|
|||
|
|
@ -1,27 +1,23 @@
|
|||
<!--%import("filter/delete_document.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, delete_document)">
|
||||
<div class="smallBox w268">
|
||||
|
||||
<div class="header">
|
||||
<h3>{$lang->confirm_delete}</h3>
|
||||
</div>
|
||||
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, delete_document)">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="document_srl" value="{$document_srl}" />
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th colspan="2">{$lang->confirm_delete}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->title}</th>
|
||||
<td>{$oDocument->getTitleText()}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="submit" value="{$lang->cmd_delete}" />
|
||||
<input type="button" value="{$lang->cmd_back}" onclick="location.href='{getUrl('act','')}'" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="inputPassword tCenter">
|
||||
<span class="button"><input type="submit" value="{$lang->cmd_delete}" accesskey="s" /></span>
|
||||
<a href="{getUrl('act','')}" class="button"><span>{$lang->cmd_cancel}</span></a>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!--#include("footer.html")-->
|
||||
|
|
|
|||
|
|
@ -2,52 +2,57 @@
|
|||
<!--%import("css/guestbook.css")-->
|
||||
{$module_info->header_text}
|
||||
|
||||
<!-- 스킨의 제목/내용으로 내용 구성 -->
|
||||
<!--@if($module_info->title || $module_info->memo)-->
|
||||
<div class="titleBox">
|
||||
<!--@if($module_info->title)-->
|
||||
<div class="title">{$module_info->title}</div>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($module_info->memo)-->
|
||||
<div class="memo">{nl2br($module_info->memo)}</div>
|
||||
<!--@end-->
|
||||
<!-- 스킨의 제목/간단한 설명 출력 -->
|
||||
<!--@if($module_info->title)-->
|
||||
<div class="guestbookHeader">
|
||||
<h3>{$module_info->title}</h3>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 스킨의 상세 설명 -->
|
||||
<!--@if($module_info->memo)-->
|
||||
<div class="guestbookDescription">{$module_info->memo}</div>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 정보 -->
|
||||
<div class="info">
|
||||
<div class="status">
|
||||
<div class="guestbookInformation">
|
||||
|
||||
<!-- 게시물 수 -->
|
||||
<!--@if($total_count)-->
|
||||
{$lang->document_count} : {number_format($total_count)},
|
||||
{$lang->page_count} : {number_format($page)} / {number_format($total_page)}
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="link">
|
||||
<!--@if($rss_url)-->
|
||||
<a href="{$rss_url}">rss</a>
|
||||
<div class="articleNum">{$lang->document_count} <strong>{number_format($total_count)}</strong></div>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 로그인 정보 -->
|
||||
<ul class="accountNavigation">
|
||||
|
||||
<!-- 로그인 되어 있을 경우 -->
|
||||
<!--@if($is_logged)-->
|
||||
[
|
||||
<a href="{getUrl('act','dispMemberInfo')}">{$lang->cmd_view_member_info}</a> |
|
||||
<a href="{getUrl('act','dispMemberLogout')}">{$lang->cmd_logout}</a>
|
||||
]
|
||||
|
||||
<!--@else-->
|
||||
[
|
||||
<a href="{getUrl('act','dispMemberSignUpForm')}">{$lang->cmd_signup}</a> |
|
||||
<a href="{getUrl('act','dispMemberLoginForm')}">{$lang->cmd_login}</a>
|
||||
]
|
||||
<!-- 관리자이면 설정 버튼 출력 -->
|
||||
<!--@if($grant->is_admin)-->
|
||||
<li class="setup"><a href="{getUrl('act','dispGuestbookAdminGuestbookInfo')}">{$lang->cmd_setup}</a></li>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 최고관리자이면 관리자 페이지 버튼 출력 -->
|
||||
<!--@if($logged_info->is_admin == 'Y')-->
|
||||
<li class="admin"><a href="{getUrl('','module','admin','act','dispGuestbookAdminContent')}" onclick="window.open(this.href); return false;">{$lang->cmd_management}</a></li>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 레이아웃이 없으면 회원정보 버튼 출력 -->
|
||||
<!--@if(!$module_info->layout_srl)-->
|
||||
<li class="myInfo"><a href="{getUrl('act','dispMemberInfo')}">{$lang->cmd_view_member_info}</a></li>
|
||||
<li class="loginAndLogout"><a href="{getUrl('act','dispMemberLogout')}">{$lang->cmd_logout}</a></li>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 로그인 되어 있지 않고 레이아웃이 없으면 -->
|
||||
<!--@elseif(!$is_logged && !$module_info->layout_srl)-->
|
||||
<li class="join"><a href="{getUrl('act','dispMemberSignUpForm')}">{$lang->cmd_signup}</a></li>
|
||||
<li class="loginAndLogout"><a href="{getUrl('act','dispMemberLoginForm')}">{$lang->cmd_login}</a></li>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($grant->is_admin)-->
|
||||
<a href="{getUrl('act','dispGuestbookAdminGuestbookInfo')}">[{$lang->cmd_setup}]</a>
|
||||
<a href="{getUrl('module','admin','act','dispGuestbookAdminGuestbookInfo')}" onclick="winopen(this.href);return false;">[{$lang->cmd_management}]</a>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<li class="skin_info"><a href="{getUrl('','module','module','act','dispModuleSkinInfo','selected_module',$module_info->module, 'skin', $module_info->skin)}" onclick="popopen(this.href,'skinInfo'); return false;"><img src="./images/buttonHelp.gif" alt="Skin Info" width="13" height="13"/></a></li>
|
||||
|
||||
<div class="clear"></div>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
|||
BIN
modules/guestbook/skins/default/images/bgH3.gif
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
modules/guestbook/skins/default/images/bottomGotoFirst.gif
Normal file
|
After Width: | Height: | Size: 51 B |
BIN
modules/guestbook/skins/default/images/bottomGotoLast.gif
Normal file
|
After Width: | Height: | Size: 51 B |
BIN
modules/guestbook/skins/default/images/buttonDeleteX.gif
Normal file
|
After Width: | Height: | Size: 61 B |
BIN
modules/guestbook/skins/default/images/buttonHelp.gif
Normal file
|
After Width: | Height: | Size: 101 B |
BIN
modules/guestbook/skins/default/images/buttonModifyE.gif
Normal file
|
After Width: | Height: | Size: 407 B |
BIN
modules/guestbook/skins/default/images/buttonReply.gif
Normal file
|
After Width: | Height: | Size: 400 B |
BIN
modules/guestbook/skins/default/images/iconAdmin.gif
Normal file
|
After Width: | Height: | Size: 88 B |
BIN
modules/guestbook/skins/default/images/iconArrowD8.gif
Normal file
|
After Width: | Height: | Size: 46 B |
BIN
modules/guestbook/skins/default/images/iconRss.gif
Normal file
|
After Width: | Height: | Size: 988 B |
BIN
modules/guestbook/skins/default/images/iconSetup.gif
Normal file
|
After Width: | Height: | Size: 155 B |
BIN
modules/guestbook/skins/default/images/lineH3.gif
Normal file
|
After Width: | Height: | Size: 45 B |
BIN
modules/guestbook/skins/default/images/line_1x10_e0e0e0.gif
Normal file
|
After Width: | Height: | Size: 44 B |
|
|
@ -9,57 +9,122 @@
|
|||
<!--@end-->
|
||||
|
||||
<!-- 목록 -->
|
||||
<div>
|
||||
<!--@foreach($document_list as $no => $document)-->
|
||||
<!-- 글 내용 보여주기 -->
|
||||
<div class="document">
|
||||
<div class="info">
|
||||
<div class="fl member_{$document->get('member_srl')}">{$document->getNickName()}</div>
|
||||
|
||||
<!--@if($document->isEditable())-->
|
||||
<div class="fr">
|
||||
<a href="{getUrl('act','dispGuestbookModify','document_srl',$document->document_srl,'page',$page)}" class="button"><span>{$lang->cmd_modify}</span></a>
|
||||
<a href="{getUrl('act','dispGuestbookDelete','document_srl',$document->document_srl,'page',$page)}" class="button"><span>{$lang->cmd_delete}</span></a>
|
||||
</div>
|
||||
<div class="documentBox">
|
||||
<div class="documentItem">
|
||||
<div class="documentOption">
|
||||
<!--@if($document->isGranted())-->
|
||||
<a href="{getUrl('act','dispGuestbookDelete','document_srl',$document->document_srl)}"><img src="./images/buttonDeleteX.gif" alt="{$lang->cmd_delete}" width="12" height="13" /></a>
|
||||
<a href="{getUrl('act','dispGuestbookModify','document_srl',$document->document_srl)}"><img src="./images/buttonModifyE.gif" alt="{$lang->cmd_modify}" width="20" height="17" /></a>
|
||||
<!--@end-->
|
||||
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
<div class="date">
|
||||
|
||||
<div class="clear content">
|
||||
{$document->getContent()}
|
||||
<strong>{$document->getRegdate('Y.m.d')}</strong> {$document->getRegdate('H:i:s')}
|
||||
|
||||
<!--@if($grant->is_admin)-->
|
||||
({$document->get('ipaddress')})
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="subinfo">
|
||||
{$document->getRegdate('Y-m-d H:i:s')} |
|
||||
{$document->get('ipaddress')}
|
||||
</div>
|
||||
|
||||
<div class="comment">
|
||||
<!-- 댓글 파일 include -->
|
||||
<!--@if($grant->write_comment && $document->allowComment())-->
|
||||
<!--#include("./comment.html")-->
|
||||
<div class="author">
|
||||
<!--@if(!$document->member_srl)-->
|
||||
<!--@if($document->homepage)-->
|
||||
<a href="{$document->homepage}" onclick="window.open(this.href);return false;">{$document->getNickName()}</a>
|
||||
<!--@else-->
|
||||
{$document->getNickName()}
|
||||
<!--@end-->
|
||||
<!--@else-->
|
||||
<div class="member_{$document->member_srl}">{$document->getNickName()}</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="documentContent">
|
||||
<!--@if($oDocument->isSecret() && !$oDocument->isGranted())-->
|
||||
<!--%import("filter/input_password.xml")-->
|
||||
<strong>{$lang->msg_is_secret}</strong>
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, input_password)">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="document_srl" value="{$document->get('document_srl')}" />
|
||||
<input type="hidden" name="document_srl" value="{$document->get('document_srl')}" />
|
||||
<div class="inputPassword">
|
||||
<input type="password" name="password" class="inputTypeText" /><span class="button"><input type="submit" value="{$lang->cmd_input}" accesskey="s" /></span>
|
||||
</div>
|
||||
</form>
|
||||
<!--@else-->
|
||||
{$document->getContent(false)}
|
||||
<!--@end-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 댓글 입력 폼 -->
|
||||
<!--#include("./comment.html")-->
|
||||
<!--@if($grant->write_comment && !$oDocument->isLocked() && $oDocument->allowComment() )-->
|
||||
<!--%import("filter/insert_comment.xml")-->
|
||||
<div class="commentWrite">
|
||||
|
||||
<form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="commentEditor" >
|
||||
<fieldset>
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="document_srl" value="{$document->document_srl}" />
|
||||
<input type="hidden" name="comment_srl" value="" />
|
||||
|
||||
<!--@if(!$is_logged)-->
|
||||
<div class="userNameAndPw">
|
||||
<label>{$lang->writer}</label>
|
||||
<input type="text" name="nick_name" value="" class="userName inputTypeText" />
|
||||
|
||||
<label>{$lang->password}</label>
|
||||
<input type="password" name="password" value="" class="userPw inputTypeText" />
|
||||
|
||||
<label>{$lang->email_address}</label>
|
||||
<input type="text" name="email_address" value="" class="emailAddress inputTypeText"/>
|
||||
|
||||
<label>{$lang->homepage}</label>
|
||||
<input type="text" name="homepage" value="" class="homePage inputTypeText"/>
|
||||
</div>
|
||||
<!--@end-->
|
||||
<dl class="option">
|
||||
<dd>
|
||||
<input type="checkbox" name="is_secret" value="Y" />
|
||||
<label>{$lang->secret}</label>
|
||||
</dd>
|
||||
<!--@if($is_logged)-->
|
||||
<dd>
|
||||
<input type="checkbox" name="notify_message" value="Y" id="notify_message" />
|
||||
<label for="notify_message">{$lang->notify}</label>
|
||||
</dd>
|
||||
<!--@end-->
|
||||
</dl>
|
||||
|
||||
<div class="editorBox"><textarea name="content" rows="8" cols="20" class="textarea"></textarea></div>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<div class="tCenter">
|
||||
<span class="button"><input type="submit" value="{$lang->cmd_comment_registration}" accesskey="s" /></span>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<!-- 페이지 네비게이션 -->
|
||||
<div>
|
||||
<a href="{getUrl('page','','document_srl','')}">[{$lang->first_page}]</a>
|
||||
|
||||
<div class="pageNavigation">
|
||||
<a href="{getUrl('page','','document_srl','')}" class="goToFirst"><img src="./images/bottomGotoFirst.gif" alt="{$lang->first_page}" width="7" height="5" /></a>
|
||||
<!--@while($page_no = $page_navigation->getNextPage())-->
|
||||
<!--@if($page == $page_no)-->
|
||||
{$page_no}
|
||||
<!--@else-->
|
||||
<a href="{getUrl('page',$page_no,'document_srl','')}">[{$page_no}]</a>
|
||||
<!--@if($page == $page_no)-->
|
||||
<span class="current">{$page_no}</span>
|
||||
<!--@else-->
|
||||
<a href="{getUrl('page',$page_no,'document_srl','')}">{$page_no}</a>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
|
||||
<a href="{getUrl('page',$page_navigation->last_page,'document_srl','')}">[{$lang->last_page}]</a>
|
||||
<a href="{getUrl('page',$page_navigation->last_page,'document_srl','')}" class="goToLast"><img src="./images/bottomGotoLast.gif" alt="{$lang->last_page}" width="7" height="5" /></a>
|
||||
</div>
|
||||
|
||||
<!--#include("footer.html")-->
|
||||
|
|
|
|||
|
|
@ -1,39 +1,39 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<skin>
|
||||
<title xml:lang="ko">방명록 기본 스킨</title>
|
||||
<title xml:lang="ko">방명록 기본 스킨</title>
|
||||
<title xml:lang="zh-CN">留言本默认皮肤</title>
|
||||
<title xml:lang="jp">ゲストブックのデフォルトスキン</title>
|
||||
<maker email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28">
|
||||
<name xml:lang="ko">제로</name>
|
||||
<name xml:lang="zh-CN">Zero</name>
|
||||
<name xml:lang="jp">Zero</name>
|
||||
<description xml:lang="ko">board모듈의 default스킨</description>
|
||||
<description xml:lang="zh-CN">留言本模块的默认皮肤。</description>
|
||||
<description xml:lang="jp">ボード(board)モジュールのデフォルトスキンです。</description>
|
||||
</maker>
|
||||
<colorset>
|
||||
<color name="normal" src="screenshot/normal.gif">
|
||||
<title xml:lang="ko">기본</title>
|
||||
<title xml:lang="zh-CN">默认</title>
|
||||
<title xml:lang="jp">デフォルト</title>
|
||||
</color>
|
||||
</colorset>
|
||||
<extra_vars>
|
||||
<var name="title" type="text">
|
||||
<title xml:lang="ko">제목</title>
|
||||
<title xml:lang="zh-CN">标题</title>
|
||||
<title xml:lang="jp">タイトル</title>
|
||||
<description xml:lang="ko">방명록의 제목을 적어주세요.</description>
|
||||
<description xml:lang="zh-CN">请输入留言本标题。</description>
|
||||
<description xml:lang="jp">ゲストブックのタイトルを入力してください。</description>
|
||||
</var>
|
||||
<var name="memo" type="textarea">
|
||||
<title xml:lang="ko">방명록 설명</title>
|
||||
<title xml:lang="zh-CN">留言本说明</title>
|
||||
<title xml:lang="jp">ゲストブックの説明</title>
|
||||
<description lang="ko">내용의 기본값</description>
|
||||
<description lang="zh-CN">内容默认值</description>
|
||||
<description lang="jp">内容のデフォルト値</description>
|
||||
</var>
|
||||
</extra_vars>
|
||||
<title xml:lang="jp">ゲストブックのデフォルトスキン</title>
|
||||
<maker email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28">
|
||||
<name xml:lang="ko">제로</name>
|
||||
<name xml:lang="zh-CN">Zero</name>
|
||||
<name xml:lang="jp">Zero</name>
|
||||
<description xml:lang="ko">board모듈의 default스킨</description>
|
||||
<description xml:lang="zh-CN">留言本模块的默认皮肤。</description>
|
||||
<description xml:lang="jp">ボード(board)モジュールのデフォルトスキンです。</description>
|
||||
</maker>
|
||||
<colorset>
|
||||
<color name="normal">
|
||||
<title xml:lang="ko">기본</title>
|
||||
<title xml:lang="zh-CN">默认</title>
|
||||
<title xml:lang="jp">デフォルト</title>
|
||||
</color>
|
||||
</colorset>
|
||||
<extra_vars>
|
||||
<var name="title" type="text">
|
||||
<title xml:lang="ko">제목</title>
|
||||
<title xml:lang="zh-CN">标题</title>
|
||||
<title xml:lang="jp">タイトル</title>
|
||||
<description xml:lang="ko">방명록의 제목을 적어주세요.</description>
|
||||
<description xml:lang="zh-CN">请输入留言本标题。</description>
|
||||
<description xml:lang="jp">ゲストブックのタイトルを入力してください。</description>
|
||||
</var>
|
||||
<var name="memo" type="textarea">
|
||||
<title xml:lang="ko">방명록 설명</title>
|
||||
<title xml:lang="zh-CN">留言本说明</title>
|
||||
<title xml:lang="jp">ゲストブックの説明</title>
|
||||
<description lang="ko">내용의 기본값</description>
|
||||
<description lang="zh-CN">内容默认值</description>
|
||||
<description lang="jp">内容のデフォルト値</description>
|
||||
</var>
|
||||
</extra_vars>
|
||||
</skin>
|
||||
|
|
|
|||
|
|
@ -4,63 +4,60 @@
|
|||
<!--#include("header.html")-->
|
||||
<!--@end-->
|
||||
|
||||
<div class="write_form">
|
||||
<form action="./" method="post" onsubmit="return procFilter(this, insert)">
|
||||
<div class="boardWrite">
|
||||
<form action="./" method="post" onsubmit="return procFilter(this, insert)" class="boardEditor">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="content" value="{$oDocument->getContentText()}" />
|
||||
<input type="hidden" name="document_srl" value="{$oDocument->get('document_srl')}" />
|
||||
<input type="hidden" name="allow_trackback" value="N" />
|
||||
|
||||
<table cellspacing="0" width="100%">
|
||||
<col width="120" />
|
||||
<col width="*" />
|
||||
|
||||
<!--@if(!$is_logged)-->
|
||||
<tr>
|
||||
<th>{$lang->writer}</th>
|
||||
<td><input type="text" name="nick_name" value="{$oDocument->getNickName()}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->password}</th>
|
||||
<td><input type="password" name="password" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->email_address}</th>
|
||||
<td><input type="text" name="email_address" value="{htmlspecialchars($oDocument->get('email_address'))}"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->homepage}</th>
|
||||
<td><input type="text" name="homepage" value="{htmlspecialchars($oDocument->get('homepage'))}" /></td>
|
||||
</tr>
|
||||
<div class="userNameAndPw">
|
||||
<label for="userName">{$lang->writer}</label>
|
||||
<input type="text" name="nick_name" value="{$oDocument->getNickName()}" class="userName inputTypeText" id="userName"/>
|
||||
|
||||
<label for="userPw">{$lang->password}</label>
|
||||
<input type="password" name="password" value="" id="userPw" class="userPw inputTypeText" />
|
||||
|
||||
<label for="emailAddress">{$lang->email_address}</label>
|
||||
<input type="text" name="email_address" value="{htmlspecialchars($oDocument->get('email_address'))}" id="emailAddress" class="emailAddress inputTypeText"/>
|
||||
|
||||
<label for="homePage">{$lang->homepage}</label>
|
||||
<input type="text" name="homepage" value="{htmlspecialchars($oDocument->get('homepage'))}" id="homePage" class="homePage inputTypeText"/>
|
||||
</div>
|
||||
<!--@end-->
|
||||
<tr>
|
||||
<td colspan="2" class="option">
|
||||
<!--@if($grant->manager)-->
|
||||
<input type="checkbox" name="is_notice" value="Y" <!--@if($oDocument->isNotice())-->checked="checked"<!--@end--> id="is_notice" />
|
||||
<label for="is_notice">{$lang->notice}</label>
|
||||
<!--@end-->
|
||||
|
||||
<input type="checkbox" name="is_secret" value="Y" <!--@if($oDocument->isSecret())-->checked="checked"<!--@end--> id="is_secret" />
|
||||
<label for="is_secret">{$lang->secret}</label>
|
||||
|
||||
<input type="checkbox" name="allow_comment" value="Y" <!--@if($oDocument->allowComment())-->checked="checked"<!--@end--> id="allow_comment" />
|
||||
<label for="allow_comment">{$lang->allow_comment}</label>
|
||||
|
||||
<dl class="option">
|
||||
<!--@if($grant->manager)-->
|
||||
<dd>
|
||||
<input type="checkbox" name="lock_comment" value="Y" <!--@if($oDocument->isLocked())-->checked="checked"<!--@end--> id="lock_comment" />
|
||||
<label for="lock_comment">{$lang->lock_comment}</label>
|
||||
</dd>
|
||||
<!--@end-->
|
||||
<dd>
|
||||
<input type="checkbox" name="is_secret" value="Y" <!--@if($oDocument->isSecret())-->checked="checked"<!--@end--> id="is_secret" />
|
||||
<label for="is_secret">{$lang->secret}</label>
|
||||
</dd>
|
||||
<dd>
|
||||
<input type="checkbox" name="allow_comment" value="Y" <!--@if($oDocument->allowComment())-->checked="checked"<!--@end--> id="allow_comment" />
|
||||
<label for="allow_comment">{$lang->allow_comment}</label>
|
||||
</dd>
|
||||
<!--@if($is_logged)-->
|
||||
<dd>
|
||||
<input type="checkbox" name="notify_message" value="Y" <!--@if($oDocument->useNotify())-->checked="checked"<!--@end--> id="notify_message" />
|
||||
<label for="notify_message">{$lang->notify}</label>
|
||||
</dd>
|
||||
<!--@end-->
|
||||
</dl>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">{$editor}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div>{$editor}</div>
|
||||
|
||||
<div class="tRight">
|
||||
<div class="tCenter">
|
||||
<span class="button"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
|
||||
<span class="button"><input type="button" value="{$lang->cmd_cancel}" onclick="location.href='{getUrl('act','')}'" /></span>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -35,10 +35,6 @@
|
|||
<th scope="row">{$lang->use_category}</th>
|
||||
<td><!--@if($module_info->use_category=='Y')-->{$lang->use}<!--@else-->{$lang->notuse}<!--@end--></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">{$lang->open_rss}</th>
|
||||
<td>{$lang->open_rss_types[$module_info->open_rss]}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">{$lang->list_count}</th>
|
||||
<td>{$module_info->list_count?$module_info->list_count:20}</td>
|
||||
|
|
|
|||
|
|
@ -74,17 +74,6 @@
|
|||
<p>{$lang->about_skin}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">{$lang->open_rss}</th>
|
||||
<td>
|
||||
<select name="open_rss">
|
||||
<!--@foreach($lang->open_rss_types as $key=>$val)-->
|
||||
<option value="{$key}" <!--@if($module_info->open_rss==$key)-->selected="selected"<!--@end-->>{$val}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<p>{$lang->about_open_rss}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">{$lang->list_count}</th>
|
||||
<td>
|
||||
|
|
|
|||