css 및 js 호출순서 조정기능 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5785 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2009-03-06 05:33:56 +00:00
parent 4f380d9c48
commit 61851f1dfe
2149 changed files with 109090 additions and 18689 deletions

View file

@ -22,7 +22,7 @@
<div class="date">
<strong>{$comment->getRegdate('Y.m.d')}</strong> {$comment->getRegdate('H:i:s')}
<!--@if($grant->is_admin || $module_info->display_ip_address!='N')-->({$comment->getIpaddress()})<!--@end-->
<!--@if($grant->manager|| $module_info->display_ip_address!='N')-->({$comment->getIpaddress()})<!--@end-->
</div>
<div class="author">
@ -48,7 +48,6 @@
<div class="replyContent">
<!--@if(!$comment->isAccessible())-->
<!--%import("filter/input_password.xml")-->
<div class="secretContent">
<form action="./" method="get" onsubmit="return procFilter(this, input_password)">
<input type="hidden" name="mid" value="{$mid}" />

View file

@ -7,7 +7,7 @@
<div class="author"><div class="member_{$oSourceComment->getMemberSrl()}">{$oSourceComment->getNickName()}</div></div>
<div class="date">
{$oSourceComment->getRegdate("Y.m.d H:i")}
<!--@if($grant->is_admin)-->
<!--@if($grant->manager)-->
({$oSourceComment->get('ipaddress')})
<!--@end-->
</div>
@ -21,7 +21,6 @@
<!--@end-->
<!-- 글쓰기 폼 -->
<!--%import("filter/insert_comment.xml")-->
<form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="boardEditor" >
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="document_srl" value="{$oComment->get('document_srl')}" />

View file

@ -56,7 +56,7 @@ Jeong, Chan Myeong 070601~070630
.boardRead .titleAndUser .userInfo { float:right; white-space:nowrap; margin-top:11px; }
.boardRead .titleAndUser .userInfo .author { color:#3074a5; }
.boardRead .titleAndUser .userInfo .author a { font-size:.9em; color:#3074a5; text-decoration:none; }
.boardRead .titleAndUser .userInfo .author a { color:#3074a5; text-decoration:none; }
.boardRead .dateAndCount { clear:both; white-space:nowrap; color:#444444; margin:5px 0 0 0; font-size:.9em; font-family:tahoma; line-height:17px; padding-bottom:10px; }
@ -112,7 +112,7 @@ Jeong, Chan Myeong 070601~070630
.replyBox { padding:10px; color:#666666; border:1px solid #e0e1db; margin-top:.5em;}
.replyBox .replyItem { background-color:#FFFFFF; padding:.6em .8em .6em .6em; line-height:1.25em; clear:both; border-bottom:1px dotted #EEEEEE; list-style:none;}
.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 { float:left; padding:0 .3em 0 0; 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;}
@ -147,6 +147,7 @@ Jeong, Chan Myeong 070601~070630
.boardList tbody td { white-space:nowrap; }
.boardList tbody td.title { white-space:normal; }
.boardList tbody td.webzineTitle { white-space:normal; }
.boardList tbody td.wrap { white-space:normal; }
.boardListNoTopBorder { border:none; }
.boardList th { color:#3e3f3e; font-weight:normal; border-top:1px solid #e0e1db; border-bottom:1px solid #ffffff; white-space:nowrap; padding-top:5px; height:28px; overflow:hidden;}
@ -187,13 +188,13 @@ html:not([lang*=""]) .boardList th { height:33px; }
.boardList td.topic strong a { font-size:1em; font-weight:normal; text-decoration:none; color:#222222; }
.boardList td.topic strong a:visited { color:#777777; }
.boardList td.topic .category { background:url(../images/common/line_1x10_e0e0e0.gif) no-repeat left 3px; padding-left:.5em; margin-left:.5em; color:#AAAAAA; }
.boardList td.topic div.author { margin-top:.5em; color:#BBBBBB; font-size:0.8em; }
.boardList td.topic div.author strong { font-size:1.2em; font-weight:normal; color:#666666; }
.boardList td.topic div.author { margin-top:.5em; color:#BBBBBB; }
.boardList td.topic div.author strong { font-weight:normal; color:#666666; }
.boardList td.commentCount { font:bold .8em Tahoma; color:#888888; text-align:center; }
.boardList td.latestPost { color:#888888; }
.boardList td.latestPost div.author { margin-top:.5em; color:#BBBBBB; font-size:0.8em; }
.boardList td.latestPost div.author strong { font-size:1.2em; font-weight:normal; color:#666666; }
.boardList td.latestPost div.author { margin-top:.5em; color:#BBBBBB; }
.boardList td.latestPost div.author strong { font-weight:normal; color:#666666; }
.boardList td.latestPost div.date { font-size:0.8em; margin-top:.5em; }
.boardList td.latestPost div.date strong { font-family:Tahoma; font-weight:normal; color:#666666; }
@ -214,8 +215,8 @@ html:not([lang*=""]) .boardList th { height:33px; }
.boardList td .replyAndTrackback img.trackback { margin-bottom:-.1em;}
.boardList td .replyAndTrackback strong { font:bold 1em Tahoma;}
.boardList td .replyAndTrackback { font:.8em Tahoma; }
.boardList td.author { color:#333333; font-size:.95em; padding-left:1em;}
.boardList td.author a { font-size:1em; color:#333333;}
.boardList td.author { color:#333333; padding-left:1em;}
.boardList td.author a { color:#333333;}
.boardList td.reading { font:.8em Tahoma; color:#999999; text-align:center;}
.boardList td.recommend { font:bold .8em Tahoma; text-align:center;}
.boardList td.date { font:.8em Tahoma; color:#999999; text-align:center; white-space:nowrap;}
@ -287,7 +288,7 @@ html:not([lang*=""]) .boardList th { height:33px; }
.boardWrite .extraVarsList p { margin:5px 0 0 0; padding:0; }
.boardWrite .extraVarsList ul { margin:0; padding:0; }
.smallBox { border:1px solid #e0e1db; margin-left:auto; margin-right:auto; }
.smallBox { border:1px solid #e0e1db; margin-left:auto; margin-right:auto; padding-bottom:10px; }
.smallBox.w268 { width:268px;}
.smallBox .header { margin:0; padding:0; position:relative; _width:100%; background:#ffffff url(../images/common/bgH3.gif) no-repeat left bottom; overflow:hidden;}
.smallBox .header h3 { margin:0; padding:0; clear:both; font-size:1.2em; padding:.8em 2em .6em 1.2em; border-bottom:3px solid #fe3614; }
@ -295,7 +296,7 @@ html:not([lang*=""]) .boardList th { height:33px; }
.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;}
.smallBox .messageBox { background-color:#F3F3F3; padding:20px; border-bottom:1px solid #EEEEEE;}
.smallBox .messageBox { background-color:#F3F3F3; padding:10px; border-bottom:1px solid #EEEEEE;}
/* Pagination Reset */
.pagination{ padding:15px 0; margin:0; text-align:center;}
@ -385,3 +386,15 @@ html:not([lang*=""]) .boardList th { height:33px; }
.replyBox .xe_content { display:inline; }
.display_date { cursor:pointer; width:80px; border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; height:1em; padding:3px; margin-right:10px;}
/* 확장 변수 폼 */
.extraVarsList tr td .text { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; margin-right:10px; width:90%; }
.extraVarsList tr td .email_address { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; margin-right:10px; width:300px; }
.extraVarsList tr td .homepage { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; margin-right:10px; width:300px; }
.extraVarsList tr td .tel { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; margin-right:10px; width:40px; margin-right:10px;}
.extraVarsList tr td .textarea { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; margin-right:10px; width:90%; height:80px; font-size:12px;}
.extraVarsList tr td ul { margin:0; padding:0; list-style:none; }
.extraVarsList tr td ul li { display:inline-block; margin-right:10px; }
.extraVarsList tr td ul li input { margin-right:5px; vertical-align:middle;}
.extraVarsList tr td .date { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; margin-right:10px; width:100px; }
.extraVarsList tr td .address { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; margin-right:10px; width:300px; }

View file

@ -1,4 +1,3 @@
<!--%import("filter/delete_comment.xml")-->
<!--#include("header.html")-->
<div class="smallBox w268">

View file

@ -1,4 +1,3 @@
<!--%import("filter/delete_document.xml")-->
<!--#include("header.html")-->
<div class="smallBox w268">

View file

@ -1,4 +1,3 @@
<!--%import("filter/delete_trackback.xml")-->
<!--#include("header.html")-->
<div class="smallBox w268">

View file

@ -1,81 +0,0 @@
<!--// 이 파일은 extra_vars의 form을 출력하는 파일이며 다른 스킨에서 그대로 가져가서 css만 바꾸어 주면 된다 -->
<!--// type=select,checkbox이고 기본값이 , 로 연결되어 있으면 배열로 만든다 -->
<!--@if(in_array($val->type, array('select', 'checkbox')))-->
{@ $val->default = explode(',', $val->default) }
<!--@end-->
<!--// 확장변수의 이름을 지정 -->
{@ $val->column_name = "extra_vars".$key}
<!--// 확장변수의 값을 documentItem::getExtraValue로 가져옴 -->
{@ $val->value = $oDocument->getExtraValue($key)}
<!--// 일반 text -->
<!--@if($val->type == 'text')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" />
<!--// 홈페이지 주소 -->
<!--@elseif($val->type == 'homepage')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" />
<!-- Email 주소 -->
<!--@elseif($val->type == 'email_address')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" />
<!--// 전화번호 -->
<!--@elseif($val->type == 'tel')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value[0])}" size="4" class="inputTypeText" />
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value[1])}" size="4" class="inputTypeText" />
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value[2])}" size="4" class="inputTypeText" />
<!--// textarea -->
<!--@elseif($val->type == 'textarea')-->
<textarea name="{$val->column_name}" class="inputTypeTextArea w400">{htmlspecialchars($val->value)}</textarea>
<!--// 다중 선택 -->
<!--@elseif($val->type == 'checkbox')-->
<!--@if($val->default)-->
<ul>
<!--@foreach($val->default as $v)-->
<li><input type="checkbox" name="{$val->column_name}" value="{$v}" <!--@if($v==$val->value||is_array($val->value)&&in_array($v, $val->value))-->checked="checked"<!--@end-->/> {$v}</li>
<!--@end-->
</ul>
<!--@end-->
<!--// 단일 선택 -->
<!--@elseif($val->type == 'select')-->
<select name="{$val->column_name}">
<!--@if($val->default)-->
<!--@foreach($val->default as $v)-->
<option value="{$v}" <!--@if($v == $val->value)-->selected="selected"<!--@end-->>{$v}</option>
<!--@end-->
<!--@end-->
</select>
<!--// 날짜 입력 -->
<!--@elseif($val->type == 'date')-->
<!--// datepicker javascript plugin load -->
<!--%load_js_plugin("ui.datepicker")-->
<input type="hidden" name="{$val->column_name}" id="date_{$val->column_name}" value="{$val->value}" />
<input type="text" class="inputDate" value="{zdate($val->value,'Y-m-d')}" readonly="readonly" />
<script type="text/javascript">
(function($){
$(function(){
var option = { gotoCurrent: false,yearRange:'-100:+10', onSelect:function(){
$(this).prev('input[type="hidden"]').val(this.value.replace(/-/g,""))}
};
$.extend(option,$.datepicker.regional['{$lang_type}']);
$(".inputDate").datepicker(option);
});
})(jQuery);
</script>
<!--@end-->
<!--@if($val->desc)-->
<p class="info">{$val->desc}</p>
<!--@end-->

View file

@ -1,64 +0,0 @@
<!--// 이 파일은 extra_vars의 결과값을 출력하는 파일이며 다른 스킨에서 그대로 가져가서 css만 바꾸어 주면 된다 -->
<!--// 확장변수의 이름을 지정 -->
{@ $val->column_name = "extra_vars".$key}
<!--// 확장변수의 값을 documentItem::getExtraValue로 가져옴 -->
{@ $val->value = $oDocument->getExtraValue($key)}
{@ $_tmp_value = array(); }
<!--// 일반 text -->
<!--@if($val->type == 'text')-->
{htmlspecialchars($val->value)}
<!--// 홈페이지 주소 -->
<!--@elseif($val->type == 'homepage')-->
<!--@if($val->value)-->
<a href="{htmlspecialchars($val->value)}" onclick="window.open(this.href);return false;">{$val->value}</a>
<!--@else-->
&nbsp;
<!--@end-->
<!--// Email 주소 -->
<!--@elseif($val->type == 'email_address')-->
<!--@if($val->value)-->
<a href="mailto:{htmlspecialchars($val->value)}">{$val->value}</a>
<!--@else-->
&nbsp;
<!--@end-->
<!--// 전화번호 -->
<!--@elseif($val->type == 'tel')-->
{htmlspecialchars($val->value[0])}
<!--@if($val->value[1])-->-<!--@end-->
{htmlspecialchars($val->value[1])}
<!--@if($val->value[2])-->-<!--@end-->
{htmlspecialchars($val->value[2])}
&nbsp;
<!--// textarea -->
<!--@elseif($val->type == 'textarea')-->
{nl2br(htmlspecialchars($val->value))}
&nbsp;
<!--// 다중 선택 -->
<!--@elseif($val->type == 'checkbox')-->
<!--@if(!is_array($val->value))-->{@ $val->value = array($val->value) }<!--@end-->
<!--@foreach($val->value as $v)-->
{@ $_tmp_value[] = htmlspecialchars($v)}
<!--@end-->
{implode(",",$_tmp_value)}
&nbsp;
<!--// 단일 선택 -->
<!--@elseif($val->type == 'select')-->
{htmlspecialchars($val->value)}
&nbsp;
<!--// 날짜 입력 -->
<!--@elseif($val->type == 'date')-->
{zdate($val->value,"Y-m-d")}
&nbsp;
<!--@end-->
<!--@if(!$val->value)-->&nbsp;<!--@end-->

View file

@ -1,18 +0,0 @@
<filter name="delete_comment" module="board" act="procBoardDeleteComment">
<form>
<node target="comment_srl" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="page" target="page" />
<param name="document_srl" target="document_srl" />
<param name="comment_srl" target="comment_srl" />
</parameter>
<response callback_func="completeDeleteComment">
<tag name="error" />
<tag name="message" />
<tag name="mid" />
<tag name="document_srl" />
<tag name="page" />
</response>
</filter>

View file

@ -1,16 +0,0 @@
<filter name="delete_document" module="board" act="procBoardDeleteDocument">
<form>
<node target="document_srl" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="page" target="page" />
<param name="document_srl" target="document_srl" />
</parameter>
<response callback_func="completeDeleteDocument">
<tag name="error" />
<tag name="message" />
<tag name="mid" />
<tag name="page" />
</response>
</filter>

View file

@ -1,18 +0,0 @@
<filter name="delete_trackback" module="board" act="procBoardDeleteTrackback">
<form>
<node target="trackback_srl" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="page" target="page" />
<param name="document_srl" target="document_srl" />
<param name="trackback_srl" target="trackback_srl" />
</parameter>
<response callback_func="completeDeleteTrackback">
<tag name="error" />
<tag name="message" />
<tag name="mid" />
<tag name="document_srl" />
<tag name="page" />
</response>
</filter>

View file

@ -1,16 +0,0 @@
<filter name="input_password" module="board" act="procBoardVerificationPassword" >
<form>
<node target="document_srl" required="true" />
<node target="password" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="document_srl" target="document_srl" />
<param name="comment_srl" target="comment_srl" />
<param name="password" target="password" />
</parameter>
<response>
<tag name="error" />
<tag name="message" />
</response>
</filter>

View file

@ -1,17 +0,0 @@
<filter name="insert" module="board" act="procBoardInsertDocument" confirm_msg_code="confirm_submit">
<form>
<node target="nick_name" required="true" />
<node target="password" required="true" />
<node target="email_address" maxlength="250" />
<node target="homepage" maxlength="250"/>
<node target="title" required="true" minlength="1" maxlength="250" />
<node target="content" required="true" />
</form>
<response callback_func="completeDocumentInserted">
<tag name="error" />
<tag name="message" />
<tag name="mid" />
<tag name="document_srl" />
<tag name="category_srl" />
</response>
</filter>

View file

@ -1,30 +0,0 @@
<filter name="insert_comment" module="board" act="procBoardInsertComment" confirm_msg_code="confirm_submit">
<form>
<node target="document_srl" required="true" />
<node target="nick_name" required="true" />
<node target="password" required="true" />
<node target="email_address" maxlength="250" />
<node target="homepage" maxlength="250"/>
<node target="content" required="true" minlength="1" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="document_srl" target="document_srl" />
<param name="comment_srl" target="comment_srl" />
<param name="parent_srl" target="parent_srl" />
<param name="nick_name" target="nick_name" />
<param name="password" target="password" />
<param name="email_address" target="email_address" />
<param name="homepage" target="homepage" />
<param name="content" target="content" />
<param name="is_secret" target="is_secret" />
<param name="notify_message" target="notify_message" />
</parameter>
<response callback_func="completeInsertComment">
<tag name="error" />
<tag name="message" />
<tag name="mid" />
<tag name="document_srl" />
<tag name="comment_srl" />
</response>
</filter>

View file

@ -1,15 +0,0 @@
<filter name="search" module="board">
<form>
<node target="search_target" required="true" />
<node target="search_keyword" minlegnth="2" maxlength="40" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="search_target" target="search_target" />
<param name="search_keyword" target="search_keyword" />
</parameter>
<response callback_func="completeSearch">
<tag name="error" />
<tag name="message" />
</response>
</filter>

View file

@ -1,13 +0,0 @@
<filter name="vote" module="board" act="procBoardVoteDocument" confirm_msg_code="confirm_vote">
<form>
<node target="document_srl" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="document_srl" target="document_srl" />
</parameter>
<response callback_func="completeVote">
<tag name="error" />
<tag name="message" />
</response>
</filter>

View file

@ -1,6 +1,3 @@
<!--// JS 파일 로드 -->
<!--%import("js/board.js")-->
<!--// 컬러셋 체크 -->
<!--@if(!$module_info->colorset)-->
{@$module_info->colorset = "white"}
@ -81,7 +78,7 @@
<!--@if($is_logged)-->
<!--// 관리자이면 설정 버튼 출력 -->
<!--@if($logged_info->is_admin=='Y' && $module_info->display_setup_button != 'N')-->
<!--@if($grant->manager && $module_info->display_setup_button != 'N')-->
<li class="setup"><a href="{getUrl('act','dispBoardAdminBoardInfo')}">{$lang->cmd_setup}</a></li>
<!--@end-->

View file

@ -1,4 +1,3 @@
<!--%import("filter/input_password.xml")-->
<!--@if(!$form_include)--><!--#include("header.html")--><!--@end-->
<div class="smallBox w400">

View file

@ -1,116 +0,0 @@
/**
* @file modules/board/js/board.js
* @author zero (zero@nzeo.com)
* @brief board 모듈의 javascript
**/
/* 글쓰기 작성후 */
function completeDocumentInserted(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var mid = ret_obj['mid'];
var document_srl = ret_obj['document_srl'];
var category_srl = ret_obj['category_srl'];
//alert(message);
var url = current_url.setQuery('mid',mid).setQuery('document_srl',document_srl).setQuery('act','');
if(category_srl) url = url.setQuery('category',category_srl);
location.href = url;
}
/* 글 삭제 */
function completeDeleteDocument(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var mid = ret_obj['mid'];
var page = ret_obj['page'];
var url = current_url.setQuery('mid',mid).setQuery('act','').setQuery('document_srl','');
if(page) url = url.setQuery('page',page);
//alert(message);
location.href = url;
}
/* 검색 실행 */
function completeSearch(fo_obj, params) {
fo_obj.submit();
}
function completeVote(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
alert(message);
location.href = location.href;
}
// 현재 페이지 reload
function completeReload(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
location.href = location.href;
}
/* 댓글 글쓰기 작성후 */
function completeInsertComment(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var mid = ret_obj['mid'];
var document_srl = ret_obj['document_srl'];
var comment_srl = ret_obj['comment_srl'];
var url = current_url.setQuery('mid',mid).setQuery('document_srl',document_srl).setQuery('act','');
if(comment_srl) url = url.setQuery('rnd',comment_srl)+"#comment_"+comment_srl;
//alert(message);
location.href = url;
}
/* 댓글 삭제 */
function completeDeleteComment(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var mid = ret_obj['mid'];
var document_srl = ret_obj['document_srl'];
var page = ret_obj['page'];
var url = current_url.setQuery('mid',mid).setQuery('document_srl',document_srl).setQuery('act','');
if(page) url = url.setQuery('page',page);
//alert(message);
location.href = url;
}
/* 트랙백 삭제 */
function completeDeleteTrackback(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var mid = ret_obj['mid'];
var document_srl = ret_obj['document_srl'];
var page = ret_obj['page'];
var url = current_url.setQuery('mid',mid).setQuery('document_srl',document_srl).setQuery('act','');
if(page) url = url.setQuery('page',page);
//alert(message);
location.href = url;
}
/* 카테고리 이동 */
function doChangeCategory() {
var category_srl = jQuery('#board_category option:selected').val();
location.href = decodeURI(current_url).setQuery('category',category_srl);
}
/* 스크랩 */
function doScrap(document_srl) {
var params = new Array();
params["document_srl"] = document_srl;
exec_xml("member","procMemberScrapDocument", params, null);
}

View file

@ -1,9 +1,6 @@
<!--// header.html include -->
<!--#include("header.html")-->
<!--// 검색을 위한 xml filter import-->
<!--%import("filter/search.xml")-->
<!--// 선택된 게시물이 있고 권한이 있으면 내용 출력 -->
<!--@if($oDocument->isExists() && $module_info->default_style != 'blog')-->
<div class="viewDocument">
@ -28,8 +25,8 @@
<!-- 글쓰기, 목록 버튼 -->
<div class="leftButtonBox">
<!--@if($grant->is_admin)-->
<a href="{getUrl('','module','document','act','dispDocumentAdminManageDocument')}" onclick="popopen(this.href,'manageDocument'); return false;" class="button {$btn_class}"><span>{$lang->cmd_manage_document}</span></a>
<!--@if($grant->manager)-->
<a href="{getUrl('','module','document','act','dispDocumentManageDocument')}" onclick="popopen(this.href,'manageDocument'); return false;" class="button {$btn_class}"><span>{$lang->cmd_manage_document}</span></a>
<!--@end-->
<!--@if($module_info->default_style != 'blog')-->
<a href="{getUrl('','mid',$mid,'page',$page,'document_srl','','listStyle',$listStyle)}" class="button {$btn_class}"><span>{$lang->cmd_list}</span></a>
@ -43,15 +40,15 @@
<!-- 페이지 네비게이션 -->
<div class="pagination a1">
<a href="{getUrl('page','','document_srl','','division',$division,'last_division',$last_division)}" class="prevEnd">{$lang->first_page}</a>
<a href="{getUrl('page','','document_srl','','division',$division,'last_division',$last_division,'entry','')}" class="prevEnd">{$lang->first_page}</a>
<!--@while($page_no = $page_navigation->getNextPage())-->
<!--@if($page == $page_no)-->
<strong>{$page_no}</strong>
<!--@else-->
<a href="{getUrl('page',$page_no,'document_srl','','division',$division,'last_division',$last_division)}">{$page_no}</a>
<a href="{getUrl('page',$page_no,'document_srl','','division',$division,'last_division',$last_division,'entry','')}">{$page_no}</a>
<!--@end-->
<!--@end-->
<a href="{getUrl('page',$page_navigation->last_page,'document_srl','','division',$division,'last_division',$last_division)}" class="nextEnd">{$lang->last_page}</a>
<a href="{getUrl('page',$page_navigation->last_page,'document_srl','','division',$division,'last_division',$last_division,'entry','')}" class="nextEnd">{$lang->last_page}</a>
</div>
@ -69,7 +66,7 @@
</select>
<input type="text" name="search_keyword" value="{htmlspecialchars($search_keyword)}" class="inputTypeText"/>
<!--@if($last_division)-->
<a href="{getUrl('page',1,'document_srl','','division',$last_division,'last_division','')}" class="button {$btn_class}"><span>{$lang->cmd_search_next}</span></a>
<a href="{getUrl('page',1,'document_srl','','division',$last_division,'last_division','','entry','')}" class="button {$btn_class}"><span>{$lang->cmd_search_next}</span></a>
<!--@end-->
<a href="#" onclick="xGetElementById('fo_search').submit();return false;" class="button {$btn_class}"><span>{$lang->cmd_search}</span></a>
<a href="{getUrl('','mid',$mid,'listStyle',$listStyle)}" class="button {$btn_class}"><span>{$lang->cmd_cancel}</span></a>

View file

@ -409,7 +409,7 @@
<title xml:lang="jp">IPアドレス表示</title>
<title xml:lang="zh-CN">显示IP地址</title>
<title xml:lang="es-CN">Display ip address</title>
<title xml:lang="zh-TW">顯示IP</title>
<title xml:lang="zh-TW">顯示IP</title>
<options value="Y">
<title xml:lang="ko">출력</title>
<title xml:lang="en">display</title>
@ -452,6 +452,36 @@
</options>
<description />
</var>
<var name="display_sign" type="select">
<title xml:lang="ko">서명 표시</title>
<title xml:lang="jp">서명 표시</title>
<title xml:lang="zh-CN">显示签名</title>
<title xml:lang="en">서명 표시</title>
<title xml:lang="es">서명 표시</title>
<title xml:lang="zh-TW">顯示簽名檔</title>
<description xml:lang="ko">글내용 사용자의 서명과 프로필 이미지를 표시하거나 숨길 수 있습니다.</description>
<description xml:lang="jp">글내용 사용자의 서명과 프로필 이미지를 표시하거나 숨길 수 있습니다.</description>
<description xml:lang="zh-CN">可以设置主题发布者的个人签名及个性头像显示与否。</description>
<description xml:lang="en">글내용 사용자의 서명과 프로필 이미지를 표시하거나 숨길 수 있습니다.</description>
<description xml:lang="es">글내용 사용자의 서명과 프로필 이미지를 표시하거나 숨길 수 있습니다.</description>
<description xml:lang="zh-TW">可選擇是否在文章中顯示個人圖片和簽名檔。</description>
<options value="Y">
<title xml:lang="ko">출력</title>
<title xml:lang="en">display</title>
<title xml:lang="jp">表示</title>
<title xml:lang="zh-CN">显示</title>
<title xml:lang="es">display</title>
<title xml:lang="zh-TW">顯示</title>
</options>
<options value="N">
<title xml:lang="ko">출력하지 않음</title>
<title xml:lang="en">not display</title>
<title xml:lang="jp">非表示</title>
<title xml:lang="zh-CN">不显示</title>
<title xml:lang="es">not display</title>
<title xml:lang="zh-TW">隱藏</title>
</options>
</var>
<var name="duration_new" type="text" default="24">
<title xml:lang="ko">new표시 시간 (hours)</title>
<title xml:lang="jp">Newの表示時間 (Hours)</title>

View file

@ -5,7 +5,7 @@
<thead>
{@ $no_line_class = " no_line" }
<tr>
<!--@if($grant->is_admin)-->
<!--@if($grant->manager)-->
<th scope="col" class="checkbox{$no_line_class}"><div>
<input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true }); return false;" />
</div></th>
@ -51,7 +51,7 @@
<!--@if(!$document_list && !$notice_list)-->
<!--// 게시물이 없으면 등록된 글이 없음을 표시 -->
<tr class="bg0 tCenter">
<td colspan="<!--@if($grant->is_admin)-->5<!--@else-->4<!--@end-->" class="title">
<td colspan="<!--@if($grant->manager)-->5<!--@else-->4<!--@end-->" class="title">
{$lang->no_documents}
</td>
</tr>
@ -60,7 +60,7 @@
<!--// 공지사항 출력 -->
<!--@foreach($notice_list as $no => $document)-->
<tr class="notice">
<!--@if($grant->is_admin)-->
<!--@if($grant->manager)-->
<td class="checkbox">
<input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> />
</td>
@ -100,7 +100,7 @@
<!--// 일반 글 출력 -->
<!--@foreach($document_list as $no => $document)-->
<tr class="bg{($no+1)%2+1}">
<!--@if($grant->is_admin)-->
<!--@if($grant->manager)-->
<td class="checkbox">
<input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> />
</td>

View file

@ -6,7 +6,7 @@
<div class="boardSubMenu">
<!--@if($module_info->use_category == "Y")-->
<div class="fl">
<!--@if($grant->is_admin)--><input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true }); return false;" /><!--@end-->
<!--@if($grant->manager)--><input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true }); return false;" /><!--@end-->
<!--// 카테고리 사용시 카테고리 선택 표시 -->
<select name="category" id="board_category">
<option value="">{$lang->category}</option>
@ -45,7 +45,7 @@
<!--@foreach($notice_list as $no => $document)-->
<table cellspacing="0" summary="" class="boardList boardListNoTopBorder">
<!--@if($module_info->display_number!='N')--><col width="80" />{@ $_col_count++}<!--@end-->
<!--@if($grant->is_admin)--><col width="30" />{@ $_col_count++}<!--@end-->
<!--@if($grant->manager)--><col width="30" />{@ $_col_count++}<!--@end-->
<col />
<!--@if($module_info->display_author!='N')--><col width="120" />{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_readed_count!='N')--><col width="70" />{@ $_col_count++}<!--@end-->
@ -55,7 +55,7 @@
<tbody>
<tr class="notice">
<!--@if($module_info->display_number!='N')--><td class="notice">{$lang->notice}</td><!--@end-->
<!--@if($grant->is_admin)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<!--@if($grant->manager)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<td class="title">
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
@ -106,7 +106,7 @@
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong><br />
<!--@end-->
<!--@if($grant->is_admin)-->
<!--@if($grant->manager)-->
<input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> />
<!--@end-->

View file

@ -1,25 +1,32 @@
<!-- 목록 출력 -->
{@ $_col_count = 1; }
<!--@if($module_info->display_number!='N')-->{@ $_col_count++}<!--@end-->
<!--@if($grant->is_admin)-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_author!='N')-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_readed_count!='N')-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_voted_count!='N')-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_regdate != 'N')-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_last_update == 'Y')-->{@ $_col_count++}<!--@end-->
<form action="./" method="get">
<form action="./" method="get">
<table cellspacing="0" summary="" class="boardList">
<thead>
<tr>
<!--// 관리자일 경우 게시글 선택 checkbox 표시 -->
<!--@if($grant->manager)-->
<th scope="col" class="no_line"><input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true }); return false;" /></th>
<!--@end-->
<table cellspacing="0" summary="" class="boardList">
<!--@if($_col_count>1)-->
<thead>
{@ $no_line_class = " no_line" }
<tr>
<!--@if($module_info->display_number!='N')--><th scope="col" class="num{$no_line_class}"><div>{$lang->no}</div></th>{@ $no_line_class=""}<!--@end-->
<!--// 목록 설정으로 table theader 생성 -->
{@ $_line_idx = 0;}
<!--@foreach($list_config as $key => $val)-->
<!--// 디자인 요소를 위한 내부 변수 설정(첫번째 th의 no_line 클래스 부여) -->
<!--@if(!$grant->manager && $_line_idx==0)-->
{@$_lc = 'class="no_line"';$_l = "no_line"}
<!--@else-->
{@$_lc = $_l = ""}
<!--@end-->
<!--@if($grant->is_admin)--><th scope="col" class="checkbox{$no_line_class}"><input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true }); return false;" /></th>{@ $no_line_class=""}<!--@end-->
<!--// 기본 컨텐츠일 경우 -->
<!--@if($val->idx == -1)-->
<th scope="col" class="<!--@if($module_info->use_category == 'Y')-->category<!--@else-->title<!--@end-->{$no_line_class}"><div>
<!--// 컨텐츠 종류에 따라서 출력 -->
<!--@if($val->type == 'no')-->
<th scope="col" {$_lc}><div>{$lang->no}</div></th>
<!--@elseif($val->type == 'title')-->
<th scope="col" class="<!--@if($module_info->use_category == 'Y')-->category<!--@else-->title<!--@end--> {$_l}">
<div>
<!--@if($module_info->use_category == "Y")-->
<!--// 카테고리 사용시 카테고리 선택 표시 -->
<select name="category" id="board_category">
@ -32,93 +39,168 @@
<!--@else-->
{$lang->title}
<!--@end-->
</div></th>
</div>
</th>
<!--@elseif($val->type == 'regdate')-->
<th scope="col" class="date {$_l}"><div><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}<!--@if($sort_index=='regdate')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></div></th>
<!--@elseif($val->type == 'last_update')-->
<th scope="col" class="date {$_l}"><div><a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_update}<!--@if($sort_index=='last_update')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></div></th>
<!--@elseif($val->type == 'nick_name')-->
<th class="author" scope="col" {$_lc}><div>{$lang->writer}</div></th>
<!--@elseif($val->type == 'user_id')-->
<th class="author" scope="col" {$_lc}><div>{$lang->user_id}</div></th>
<!--@elseif($val->type == 'user_name')-->
<th class="author" scope="col" {$_lc}><div>{$lang->user_name}</div></th>
<!--@elseif($val->type == 'readed_count')-->
<th class="reading" scope="col" {$_lc}><div><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></div></th>
<!--@elseif($val->type == 'voted_count')-->
<th class="recommend" scope="col" {$_lc}><div><a href="{getUrl('sort_index','voted_count','order_type',$order_type)}">{$lang->voted_count}<!--@if($sort_index=='voted_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></div></th>
<!--@end-->
<!--@if($module_info->display_author!='N')--><th class="author" scope="col"><div>{$lang->writer}</div></th><!--@end-->
<!--@if($module_info->display_readed_count!='N')--><th class="reading" scope="col"><div><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></div></th><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><th class="recommend" scope="col"><div><a href="{getUrl('sort_index','voted_count','order_type',$order_type)}">{$lang->voted_count}<!--@if($sort_index=='voted_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></div></th><!--@end-->
<!--@if($module_info->display_regdate != 'N')--><th scope="col" class="date"><div><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}<!--@if($sort_index=='regdate')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></div></th><!--@end-->
<!--@if($module_info->display_last_update=='Y')--><th scope="col" class="date"><div><a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_update}<!--@if($sort_index=='last_update')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></div></th><!--@end-->
</tr>
</thead>
<!--@end-->
<tbody>
<!--@if(!$document_list && !$notice_list)-->
<!--// 게시물이 없으면 등록된 글이 없음을 표시 -->
<tr class="bg0 tCenter">
<td colspan="{$_col_count}" class="title">
{$lang->no_documents}
</td>
</tr>
<!--// 사용자 선언 확장변수일 경우 -->
<!--@else-->
<!--// 공지사항 출력 -->
<!--@foreach($notice_list as $no => $document)-->
<tr class="notice">
<!--@if($module_info->display_number!='N')--><td class="notice"><!--@if($document_srl == $document->document_srl)--><img src="./images/common/iconArrowD8.gif" border="0" alt="" /><!--@else-->{$lang->notice}<!--@end--></td><!--@end-->
<!--@if($grant->is_admin)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<td class="title">
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category" <!--@if($category_list[$document->get('category_srl')]->color)-->style="color:{$category_list[$document->get('category_srl')]->color};"<!--@end-->>{$category_list[$document->get('category_srl')]->title}</strong>
<!--@end-->
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyAndTrackback" title="Replies"><img src="./images/{$module_info->colorset}/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong>{$document->getCommentCount()}</strong></span>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<span class="replyAndTrackback" title="Trackbacks"><img src="./images/{$module_info->colorset}/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong>{$document->getTrackbackCount()}</strong></span>
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}
</td>
<!--@if($module_info->display_author!='N')--><td class="author"><div class="member_{$document->get('member_srl')}">{$document->getNickName()}</div></td><!--@end-->
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):'&nbsp;'}</td><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):'&nbsp;'}</td><!--@end-->
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
</tr>
<!--@end-->
<!--// 일반 글 출력 -->
<!--@foreach($document_list as $no => $document)-->
<tr class="bg{($no+1)%2+1}">
<!--@if($module_info->display_number!='N')--><td class="num"><!--@if($document_srl == $document->document_srl)--><img src="./images/common/iconArrowD8.gif" border="0" alt="" /><!--@else-->{$no}<!--@end--></td><!--@end-->
<!--@if($grant->is_admin)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<td class="title">
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category" <!--@if($category_list[$document->get('category_srl')]->color)-->style="color:{$category_list[$document->get('category_srl')]->color};"<!--@end-->>{$category_list[$document->get('category_srl')]->title}</strong>
<!--@end-->
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyAndTrackback" title="Replies"><img src="./images/{$module_info->colorset}/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong>{$document->getCommentCount()}</strong></span>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<span class="replyAndTrackback" title="Trackbacks"><img src="./images/{$module_info->colorset}/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong>{$document->getTrackbackCount()}</strong></span>
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}
</td>
<!--@if($module_info->display_author!='N')--><td class="author"><div class="member_{$document->get('member_srl')}">{$document->getNickName()}</div></td><!--@end-->
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):'&nbsp;'}</td><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):'&nbsp;'}</td><!--@end-->
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
</tr>
<!--@end-->
<th scope="col" {$_lc}><div>{$val->name}</div></th>
<!--@end-->
</tbody>
</table>
</form>
{@ $_line_idx++;}
<!--@end-->
</tr>
</thead>
<tbody>
<!--// 게시물이 없으면 등록된 글이 없음을 표시 -->
<!--@if(!$document_list && !$notice_list)-->
<tr class="bg0 tCenter">
<td colspan="<!--@if($grant->manager)-->{count($list_config)+1}<!--@else-->{count($list_config)}<!--@end-->" class="title">
{$lang->no_documents}
</td>
</tr>
<!--@else-->
<!--// 공지사항 출력 -->
<!--@foreach($notice_list as $no => $document)-->
<tr class="notice">
<!--// 관리자일 경우 게시글 선택 checkbox 표시 -->
<!--@if($grant->manager)-->
<td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td>
<!--@end-->
<!--// 목록 설정으로 table theader 생성 -->
<!--@foreach($list_config as $key => $val)-->
<!--// 기본 컨텐츠일 경우 -->
<!--@if($val->idx == -1)-->
<!--// 컨텐츠 종류에 따라서 출력 -->
<!--@if($val->type == 'no')-->
<td class="notice"><!--@if($document_srl == $document->document_srl)--><img src="./images/common/iconArrowD8.gif" border="0" alt="" /><!--@else-->{$lang->notice}<!--@end--></td>
<!--@elseif($val->type == 'title')-->
<td class="title">
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category" <!--@if($category_list[$document->get('category_srl')]->color)-->style="color:{$category_list[$document->get('category_srl')]->color};"<!--@end-->>{$category_list[$document->get('category_srl')]->title}</strong>
<!--@end-->
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyAndTrackback" title="Replies"><img src="./images/{$module_info->colorset}/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong>{$document->getCommentCount()}</strong></span>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<span class="replyAndTrackback" title="Trackbacks"><img src="./images/{$module_info->colorset}/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong>{$document->getTrackbackCount()}</strong></span>
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}
</td>
<!--@elseif($val->type == 'regdate')-->
<td class="date">{$document->getRegdate('Y-m-d')}</td>
<!--@elseif($val->type == 'last_update')-->
<td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td>
<!--@elseif($val->type == 'nick_name')-->
<td class="author"><div class="member_{$document->get('member_srl')}">{$document->getNickName()}</div></td>
<!--@elseif($val->type == 'user_id')-->
<td class="author">{$document->getUserID()}</td>
<!--@elseif($val->type == 'user_name')-->
<td class="author">{$document->getUserName()}</td>
<!--@elseif($val->type == 'readed_count')-->
<td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):'&nbsp;'}</td>
<!--@elseif($val->type == 'voted_count')-->
<td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):'&nbsp;'}</td>
<!--@end-->
<!--// 사용자 선언 확장변수일 경우 -->
<!--@else-->
<td class="wrap">{$document->getExtraValueHTML($val->idx)}&nbsp;</td>
<!--@end-->
<!--@end-->
</tr>
<!--@end-->
<!--// 일반 글 출력 -->
<!--@foreach($document_list as $no => $document)-->
<tr class="bg{($no+1)%2+1}">
<!--// 관리자일 경우 게시글 선택 checkbox 표시 -->
<!--@if($grant->manager)-->
<td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td>
<!--@end-->
<!--// 목록 설정으로 table theader 생성 -->
<!--@foreach($list_config as $key => $val)-->
<!--// 기본 컨텐츠일 경우 -->
<!--@if($val->idx == -1)-->
<!--// 컨텐츠 종류에 따라서 출력 -->
<!--@if($val->type == 'no')-->
<td class="num"><!--@if($document_srl == $document->document_srl)--><img src="./images/common/iconArrowD8.gif" border="0" alt="" /><!--@else-->{$no}<!--@end--></td>
<!--@elseif($val->type == 'title')-->
<td class="title">
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category" <!--@if($category_list[$document->get('category_srl')]->color)-->style="color:{$category_list[$document->get('category_srl')]->color};"<!--@end-->>{$category_list[$document->get('category_srl')]->title}</strong>
<!--@end-->
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyAndTrackback" title="Replies"><img src="./images/{$module_info->colorset}/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong>{$document->getCommentCount()}</strong></span>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<span class="replyAndTrackback" title="Trackbacks"><img src="./images/{$module_info->colorset}/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong>{$document->getTrackbackCount()}</strong></span>
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}
</td>
<!--@elseif($val->type == 'regdate')-->
<td class="date">{$document->getRegdate('Y-m-d')}</td>
<!--@elseif($val->type == 'last_update')-->
<td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td>
<!--@elseif($val->type == 'nick_name')-->
<td class="author"><div class="member_{$document->get('member_srl')}">{$document->getNickName()}</div></td>
<!--@elseif($val->type == 'user_id')-->
<td class="author">{$document->getUserID()}</td>
<!--@elseif($val->type == 'user_name')-->
<td class="author">{$document->getUserName()}</td>
<!--@elseif($val->type == 'readed_count')-->
<td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):'&nbsp;'}</td>
<!--@elseif($val->type == 'voted_count')-->
<td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):'&nbsp;'}</td>
<!--@end-->
<!--// 사용자 선언 확장변수일 경우 -->
<!--@else-->
<td class="wrap">{$document->getExtraValueHTML($val->idx)}&nbsp;</td>
<!--@end-->
<!--@end-->
<!--@end-->
</tr>
<!--@end-->
</tbody>
</table>
</form>

View file

@ -2,7 +2,7 @@
<form action="./" method="get">
{@ $_col_count = 2; }
<!--@if($module_info->display_number!='N')-->{@ $_col_count++ }<!--@end-->
<!--@if($grant->is_admin)-->{@ $_col_count++}<!--@end-->
<!--@if($grant->manager)-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_author!='N')-->{@ $_col_count++ }<!--@end-->
<!--@if($module_info->display_readed_count!='N')-->{@ $_col_count++ }<!--@end-->
<!--@if($module_info->display_voted_count!='N')-->{@ $_col_count++ }<!--@end-->
@ -16,7 +16,7 @@
<tr>
<!--@if($module_info->display_number!='N')--><th scope="col" class="num{$no_line_class}"><div>{$lang->no}</div></th>{@ $no_line_class=""}<!--@end-->
<!--@if($grant->is_admin)--><th scope="col" class="checkbox{$no_line_class}"><input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true }); return false;" /></th>{@ $no_line_class=""}<!--@end-->
<!--@if($grant->manager)--><th scope="col" class="checkbox{$no_line_class}"><input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true }); return false;" /></th>{@ $no_line_class=""}<!--@end-->
<th scope="col" colspan="2" class="<!--@if($module_info->use_category=='Y')-->category<!--@else-->title<!--@end-->{$no_line_class}"><div>
@ -59,7 +59,7 @@
<!--@foreach($notice_list as $no => $document)-->
<tr class="notice">
<!--@if($module_info->display_number!='N')--><td class="notice">{$lang->notice}</td><!--@end-->
<!--@if($grant->is_admin)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<!--@if($grant->manager)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<td class="title" colspan="2">
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
@ -91,7 +91,7 @@
<!--@if($module_info->display_number!='N')--><td rowspan="2" class="num"><!--@if($document_srl == $document->document_srl)--><img src="./images/common/iconArrowD8.gif" border="0" alt="" /><!--@else-->{$no}<!--@end--></td><!--@end-->
<!--@if($grant->is_admin)--><td class="checkbox" rowspan="2"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<!--@if($grant->manager)--><td class="checkbox" rowspan="2"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<!--@if($document->thumbnailExists($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type))-->
<td rowspan="2" class="thumb"><a href="{getUrl('document_srl',$document->document_srl,'listStyle',$listStyle, 'cpage','')}"><img src="{$document->getThumbnail($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type)}" border="0" alt="" /></a></td>

View file

@ -32,7 +32,7 @@
<div class="uri" title="{$lang->document_url}"><a href="{$oDocument->getPermanentUrl()}">{$oDocument->getPermanentUrl()}</a></div>
<div class="date" title="{$lang->regdate}">
<strong>{$oDocument->getRegdate('Y.m.d')}</strong> {$oDocument->getRegdate('H:i:s')} <!--@if($grant->is_admin || $module_info->display_ip_address!='N')-->({$oDocument->getIpaddress()})<!--@end-->
<strong>{$oDocument->getRegdate('Y.m.d')}</strong> {$oDocument->getRegdate('H:i:s')} <!--@if($grant->manager || $module_info->display_ip_address!='N')-->({$oDocument->getIpaddress()})<!--@end-->
</div>
<div class="readedCount" title="{$lang->readed_count}">{$oDocument->get('readed_count')}</div>
@ -63,21 +63,15 @@
</div>
<div class="clear"></div>
<!--@if($oDocument->isExtraVarsExists() && (!$oDocument->isSecret() || $oDocument->isGranted()) )-->
<table cellspacing="0" summary="" class="extraVarsList">
<col width="150" />
<col />
<!--@foreach($module_info->extra_vars as $key => $val)-->
<!--@if($val->name)-->
<!--@foreach($oDocument->getExtraVars() as $key => $val)-->
<tr>
<th scope="row">{$val->name}</th>
<td>
<!--// 확장변수(extra_var)의 type에 따른 값을 출력하기 위해서 특별히 제작된 파일을 include 한다 -->
<!--#include("./extra_var_value.html")-->
</td>
<th>{$val->name}</th>
<td>{$val->getValueHTML()}</td>
</tr>
<!--@end-->
<!--@end-->
</table>
<!--@end-->
@ -86,7 +80,6 @@
<div class="contentBody">
<!--@if($oDocument->isSecret() && !$oDocument->isGranted())-->
<!--%import("filter/input_password.xml")-->
<div class="secretContent">
<form action="./" method="get" onsubmit="return procFilter(this, input_password)">
<input type="hidden" name="mid" value="{$mid}" />
@ -103,7 +96,7 @@
<!--@end-->
<!-- 서명 / 프로필 이미지 출력 -->
<!--@if($oDocument->getProfileImage() || $oDocument->getSignature())-->
<!--@if($module_info->display_sign != 'N' && ($oDocument->getProfileImage() || $oDocument->getSignature()))-->
<div class="memberSignature">
<!--@if($oDocument->getProfileImage())-->
<div class="profile"><img src="{$oDocument->getProfileImage()}" alt="profile" /></div>
@ -166,7 +159,6 @@
<!-- 댓글 입력 폼 -->
<!--@if($grant->write_comment && $oDocument->isEnableComment() )-->
<!--%import("filter/insert_comment.xml")-->
<form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="boardEditor" >
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="document_srl" value="{$oDocument->document_srl}" />
@ -190,10 +182,10 @@
<input type="checkbox" name="notify_message" value="Y" id="notify_message" />
<label for="notify_message">{$lang->notify}</label>
<!--@end-->
<!--@if($module_info->secret=="Y")-->
<input type="checkbox" name="is_secret" value="Y" id="is_secret" />
<label for="is_secret">{$lang->secret}</label>
<!--@end-->
</div>
<div class="editor">{$oDocument->getCommentEditor()}</div>

View file

@ -1,4 +1,3 @@
<!--%import("filter/insert.xml")-->
<!--#include("header.html")-->
<form action="./" method="post" onsubmit="return procFilter(this, insert)" id="fo_write">
@ -83,17 +82,15 @@
<!--@end-->
</dl>
<!--@if($module_info->extra_vars)-->
<!--@if(count($extra_keys))-->
<table cellspacing="0" summary="" class="extraVarsList">
<col width="150" />
<col />
<!--@foreach($module_info->extra_vars as $key => $val)-->
<!--@if($val->name)-->
<!--@foreach($extra_keys as $key => $val)-->
<tr>
<th scope="row">{$val->name} <!--@if($val->is_required=='Y')-->*<!--@end--></th>
<td><!--#include("./extra_var_form.html")--></td>
<td>{$val->getFormHTML()}</td>
</tr>
<!--@endif-->
<!--@endforeach-->
</table>
<!--@endif-->

View file

@ -1,68 +0,0 @@
<!--@if(in_array($val->type, array('select', 'checkbox')))-->
{@ $val->default = explode(',', $val->default) }
<!--@end-->
{@ $val->column_name = "extra_vars".$key}
{@ $val->value = $oDocument->getExtraValue($key)}
<!--@if($val->type == 'text')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputText" />
<!--@elseif($val->type == 'homepage')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputText" />
<!--@elseif($val->type == 'email_address')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputText" />
<!--@elseif($val->type == 'tel')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value[0])}" size="4" class="inputNum" />
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value[1])}" size="4" class="inputNum" />
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value[2])}" size="4" class="inputNum" />
<!--// textarea -->
<!--@elseif($val->type == 'textarea')-->
<textarea name="{$val->column_name}" rows="5" cols="20">{htmlspecialchars($val->value)}</textarea>
<!--@elseif($val->type == 'checkbox')-->
<!--@if($val->default)-->
<ul>
<!--@foreach($val->default as $v)-->
<li><input type="checkbox" name="{$val->column_name}" value="{$v}" <!--@if($v==$val->value||is_array($val->value)&&in_array($v, $val->value))-->checked="checked"<!--@end--> class="inputCheck" /> {$v}</li>
<!--@end-->
</ul>
<!--@end-->
<!--@elseif($val->type == 'select')-->
<select name="{$val->column_name}">
<!--@if($val->default)-->
<!--@foreach($val->default as $v)-->
<option value="{$v}" <!--@if($v == $val->value)-->selected="selected"<!--@end-->>{$v}</option>
<!--@end-->
<!--@end-->
</select>
<!--@elseif($val->type == 'date')-->
<!--// datepicker javascript plugin load -->
<!--%load_js_plugin("ui.datepicker")-->
<input type="hidden" name="{$val->column_name}" id="date_{$val->column_name}" value="{$val->value}" />
<input type="text" class="inputDate" value="{zdate($val->value,'Y-m-d')}" readonly="readonly" />
<script type="text/javascript">
(function($){
$(function(){
var option = { gotoCurrent: false,yearRange:'-100:+10', onSelect:function(){
$(this).prev('input[type="hidden"]').val(this.value.replace(/-/g,""))}
};
$.extend(option,$.datepicker.regional['{$lang_type}']);
$(".inputDate").datepicker(option);
});
})(jQuery);
</script>
<!--@end-->
<!--@if($val->desc)-->
<p class="info">{$val->desc}</p>
<!--@end-->

View file

@ -1,52 +0,0 @@
{@ $val->column_name = "extra_vars".$key}
{@ $val->value = $oDocument->getExtraValue($key)}
{@ $_tmp_value = array(); }
<!--@if($val->type == 'text')-->
{htmlspecialchars($val->value)}
<!--@elseif($val->type == 'homepage')-->
<!--@if($val->value)-->
<a href="{htmlspecialchars($val->value)}" onclick="window.open(this.href);return false;">{$val->value}</a>
<!--@else-->
&nbsp;
<!--@end-->
<!--@elseif($val->type == 'email_address')-->
<!--@if($val->value)-->
<a href="mailto:{htmlspecialchars($val->value)}">{$val->value}</a>
<!--@else-->
&nbsp;
<!--@end-->
<!--@elseif($val->type == 'tel')-->
{htmlspecialchars($val->value[0])}
<!--@if($val->value[1])-->-<!--@end-->
{htmlspecialchars($val->value[1])}
<!--@if($val->value[2])-->-<!--@end-->
{htmlspecialchars($val->value[2])}
&nbsp;
<!--@elseif($val->type == 'textarea')-->
{nl2br(htmlspecialchars($val->value))}
&nbsp;
<!--@elseif($val->type == 'checkbox')-->
<!--@if(!is_array($val->value))-->{@ $val->value = array($val->value) }<!--@end-->
<!--@foreach($val->value as $v)-->
{@ $_tmp_value[] = htmlspecialchars($v)}
<!--@end-->
{implode(",",$_tmp_value)}
&nbsp;
<!--@elseif($val->type == 'select')-->
{htmlspecialchars($val->value)}
&nbsp;
<!--@elseif($val->type == 'date')-->
{zdate($val->value,"Y-m-d")}
&nbsp;
<!--@end-->
<!--@if(!$val->value)-->&nbsp;<!--@end-->

View file

@ -1,5 +1,3 @@
<!--%import("js/board.js")-->
<!--@if(!$module_info->colorset)-->
{@$module_info->colorset = "white"}
<!--@end-->
@ -64,7 +62,7 @@
<div class="infoRight">
<ul>
<!--@if($is_logged)-->
<!--@if($logged_info->is_admin=='Y' && $module_info->display_setup_button != 'N')-->
<!--@if($grant->manager && $module_info->display_setup_button != 'N')-->
<li class="setup"><a href="{getUrl('act','dispBoardAdminBoardInfo')}">{$lang->cmd_setup}</a></li>
<!--@end-->
<!--@if($module_info->display_login_info != 'N')-->

View file

@ -5,7 +5,7 @@
<thead>
{@ $no_line_class = " no_line" }
<tr>
<!--@if($grant->is_admin)-->
<!--@if($grant->manager)-->
<th scope="col">
<input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true }); return false;" />
</th>
@ -37,7 +37,7 @@
<!--@if(!$document_list && !$notice_list)-->
<tr>
<td colspan="<!--@if($grant->is_admin)-->5<!--@else-->4<!--@end-->">
<td colspan="<!--@if($grant->manager)-->5<!--@else-->4<!--@end-->">
{$lang->no_documents}
</td>
</tr>
@ -45,7 +45,7 @@
<!--@foreach($notice_list as $no => $document)-->
<tr class="notice">
<!--@if($grant->is_admin)-->
<!--@if($grant->manager)-->
<td class="check">
<input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> />
</td>
@ -82,7 +82,7 @@
<!--@foreach($document_list as $no => $document)-->
<tr class="bg{($no+1)%2+1}">
<!--@if($grant->is_admin)-->
<!--@if($grant->manager)-->
<td class="check">
<input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> />
</td>

View file

@ -4,7 +4,7 @@
<div class="thumbHeader">
<div class="left">
<!--@if($grant->is_admin)--><span><input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true }); return false;" /></span>{@ $no_line_class=""}<!--@end-->
<!--@if($grant->manager)--><span><input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true }); return false;" /></span>{@ $no_line_class=""}<!--@end-->
<!--@if($module_info->use_category == "Y")-->
<span class="jumpTo">
@ -42,7 +42,7 @@
<tbody>
<tr class="notice">
<!--@if($module_info->display_number!='N')--><td class="notice">{$lang->notice}</td><!--@end-->
<!--@if($grant->is_admin)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<!--@if($grant->manager)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<td class="title">
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
@ -102,7 +102,7 @@
</div>
<div class="title">
<!--@if($grant->is_admin)-->
<!--@if($grant->manager)-->
<input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> />
<!--@end-->

View file

@ -2,118 +2,178 @@
<fieldset>
<legend>List of Articles</legend>
{@ $_col_count = 1; }
<!--@if($module_info->display_number!='N')-->{@ $_col_count++}<!--@end-->
<!--@if($grant->is_admin)-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_author!='N')-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_readed_count!='N')-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_voted_count!='N')-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_regdate != 'N')-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_last_update == 'Y')-->{@ $_col_count++}<!--@end-->
<table cellspacing="0" border="1" summary="List of Articles" class="boardList">
<!--@if($_col_count>1)-->
<thead>
{@ $no_line_class = " no_line" }
<tr>
<!--@if($module_info->display_number!='N')--><th scope="col">{$lang->no}</th>{@ $no_line_class=""}<!--@end-->
<!--@if($grant->manager)--><th scope="col"><input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true }); return false;" /></th><!--@end-->
<!--@if($grant->is_admin)--><th scope="col"><input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true }); return false;" /></th>{@ $no_line_class=""}<!--@end-->
<!--// 목록 설정으로 table theader 생성 -->
<!--@foreach($list_config as $key => $val)-->
<!--// 기본 컨텐츠일 경우 -->
<!--@if($val->idx == -1)-->
<th scope="col" class="title">
<!--@if($module_info->use_category == "Y")-->
<span class="jumpTo">
<select name="category" id="board_category">
<option value="">{$lang->category}</option>
<!--@foreach($category_list as $val)-->
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl)-->selected="selected"<!--@end-->>{str_repeat("&nbsp;&nbsp;",$val->depth)} {$val->title} <!--@if($val->document_count)-->({$val->document_count})<!--@end--></option>
<!--@end-->
</select>
<button type="button" name="go_button" id="go_button" onclick="doChangeCategory(); return false;" class="button">Go</button>
</span>
<!--// 컨텐츠 종류에 따라서 출력 -->
<!--@if($val->type == 'no')-->
<th scope="col">{$lang->no}</th>
<!--@elseif($val->type == 'title')-->
<th scope="col" class="title">
<!--@if($module_info->use_category == "Y")-->
<span class="jumpTo">
<select name="category" id="board_category">
<option value="">{$lang->category}</option>
<!--@foreach($category_list as $val)-->
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl)-->selected="selected"<!--@end-->>{str_repeat("&nbsp;&nbsp;",$val->depth)} {$val->title} <!--@if($val->document_count)-->({$val->document_count})<!--@end--></option>
<!--@end-->
</select>
<button type="button" name="go_button" id="go_button" onclick="doChangeCategory(); return false;" class="button">Go</button>
</span>
<!--@end-->
{$lang->title}
</th>
<!--@elseif($val->type == 'regdate')-->
<th scope="col"><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}<!--@if($sort_index=='regdate')--><img src="./images/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th>
<!--@elseif($val->type == 'last_update')-->
<th scope="col"><a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_update}<!--@if($sort_index=='last_update')--><img src="./images/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th>
<!--@elseif($val->type == 'nick_name')-->
<th scope="col">{$lang->writer}</th>
<!--@elseif($val->type == 'user_id')-->
<th scope="col">{$lang->user_id}</th>
<!--@elseif($val->type == 'user_name')-->
<th scope="col">{$lang->user_name}</th>
<!--@elseif($val->type == 'readed_count')-->
<th scope="col"><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--><img src="./images/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th>
<!--@elseif($val->type == 'voted_count')-->
<th scope="col"><a href="{getUrl('sort_index','voted_count','order_type',$order_type)}">{$lang->voted_count}<!--@if($sort_index=='voted_count')--><img src="./images/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th>
<!--@end-->
<!--// 사용자 선언 확장변수일 경우 -->
<!--@else-->
<th scope="col"><div>{$val->name}</div></th>
<!--@end-->
{$lang->title}
</th>
<!--@if($module_info->display_author!='N')--><th scope="col">{$lang->writer}</th><!--@end-->
<!--@if($module_info->display_readed_count!='N')--><th scope="col"><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--><img src="./images/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><th scope="col"><a href="{getUrl('sort_index','voted_count','order_type',$order_type)}">{$lang->voted_count}<!--@if($sort_index=='voted_count')--><img src="./images/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
<!--@if($module_info->display_regdate != 'N')--><th scope="col"><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}<!--@if($sort_index=='regdate')--><img src="./images/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
<!--@if($module_info->display_last_update=='Y')--><th scope="col"><a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_update}<!--@if($sort_index=='last_update')--><img src="./images/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
<!--@end-->
</tr>
</thead>
<!--@end-->
<tbody>
<!--@if(!$document_list && !$notice_list)-->
<tr>
<td colspan="{$_col_count}">
<td colspan="<!--@if($grant->manager)-->{count($list_config)+1}<!--@else-->{count($list_config)}<!--@end-->">
{$lang->no_documents}
</td>
</tr>
<!--@else-->
<!--@foreach($notice_list as $no => $document)-->
<tr class="notice">
<!--@if($module_info->display_number!='N')--><td class="notice"><!--@if($document_srl == $document->document_srl)-->&raquo;<!--@else-->{$lang->notice}<!--@end--></td><!--@end-->
<!--@if($grant->is_admin)--><td class="check"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<td class="title">
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
<!--@foreach($notice_list as $no => $document)-->
<tr class="notice">
<!--@if($grant->manager)-->
<td class="check"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td>
<!--@end-->
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<a href="{getUrl('document_srl', $document->document_srl)}#comment"><span class="replyNum" title="Replies"><strong>[{$document->getCommentCount()}]</strong></span></a>
<!--// 목록 설정으로 table theader 생성 -->
<!--@foreach($list_config as $key => $val)-->
<!--// 기본 컨텐츠일 경우 -->
<!--@if($val->idx == -1)-->
<!--// 컨텐츠 종류에 따라서 출력 -->
<!--@if($val->type == 'no')-->
<td class="notice"><!--@if($document_srl == $document->document_srl)-->&raquo;<!--@else-->{$lang->notice}<!--@end--></td>
<!--@elseif($val->type == 'title')-->
<td class="title">
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
<!--@end-->
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<a href="{getUrl('document_srl', $document->document_srl)}#comment"><span class="replyNum" title="Replies"><strong>[{$document->getCommentCount()}]</strong></span></a>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<a href="{getUrl('document_srl', $document->document_srl)}#trackback"><span class="replyNum" title="Trackbacks"><strong class="trackback">[{$document->getTrackbackCount()}]</strong></span></a>
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}
</td>
<!--@elseif($val->type == 'regdate')-->
<td class="date">{$document->getRegdate('Y-m-d')}</td>
<!--@elseif($val->type == 'last_update')-->
<td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td>
<!--@elseif($val->type == 'nick_name')-->
<td class="author"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></td>
<!--@elseif($val->type == 'user_id')-->
<td class="author">{$document->getUserID()}</a></td>
<!--@elseif($val->type == 'user_name')-->
<td class="author">{$document->getUserName()}</a></td>
<!--@elseif($val->type == 'readed_count')-->
<td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):'&nbsp;'}</td>
<!--@elseif($val->type == 'voted_count')-->
<td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):'&nbsp;'}</td>
<!--@end-->
<!--// 사용자 선언 확장변수일 경우 -->
<!--@else-->
<td class="wrap">{$document->getExtraValueHTML($val->idx)}&nbsp;</td>
<!--@end-->
<!--@end-->
</tr>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<a href="{getUrl('document_srl', $document->document_srl)}#trackback"><span class="replyNum" title="Trackbacks"><strong class="trackback">[{$document->getTrackbackCount()}]</strong></span></a>
<!--@foreach($document_list as $no => $document)-->
<tr class="bg{($no+1)%2+1}">
<!--@if($grant->manager)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<!--// 목록 설정으로 table theader 생성 -->
<!--@foreach($list_config as $key => $val)-->
<!--// 기본 컨텐츠일 경우 -->
<!--@if($val->idx == -1)-->
<!--// 컨텐츠 종류에 따라서 출력 -->
<!--@if($val->type == 'no')-->
<td class="num"><!--@if($document_srl == $document->document_srl)-->&raquo;<!--@else-->{$no}<!--@end--></td>
<!--@elseif($val->type == 'title')-->
<td class="title">
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
<!--@end-->
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<a href="{getUrl('document_srl', $document->document_srl)}#comment"><span class="replyNum" title="Replies"><strong>[{$document->getCommentCount()}]</strong></span></a>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<a href="{getUrl('document_srl', $document->document_srl)}#trackback"><span class="replyNum" title="Trackbacks"><strong class="trackback">[{$document->getTrackbackCount()}]</strong></span></a>
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}
</td>
<!--@elseif($val->type == 'nick_name')-->
<td class="author"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></td>
<!--@elseif($val->type == 'user_id')-->
<td class="author">{$document->getUserID()}</a></td>
<!--@elseif($val->type == 'user_name')-->
<td class="author">{$document->getUserName()}</a></td>
<!--@elseif($val->type == 'regdate')-->
<td class="date">{$document->getRegdate('Y-m-d')}</td>
<!--@elseif($val->type == 'last_update')-->
<td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td>
<!--@elseif($val->type == 'readed_count')-->
<td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):'&nbsp;'}</td>
<!--@elseif($val->type == 'voted_count')-->
<td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):'&nbsp;'}</td>
<!--@end-->
<!--// 사용자 선언 확장변수일 경우 -->
<!--@else-->
<td class="wrap">{$document->getExtraValueHTML($val->idx)}&nbsp;</td>
<!--@end-->
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}
</td>
<!--@if($module_info->display_author!='N')--><td class="author"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></td><!--@end-->
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):'&nbsp;'}</td><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):'&nbsp;'}</td><!--@end-->
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
</tr>
<!--@end-->
<!--@foreach($document_list as $no => $document)-->
<tr class="bg{($no+1)%2+1}">
<!--@if($module_info->display_number!='N')--><td class="num"><!--@if($document_srl == $document->document_srl)-->&raquo;<!--@else-->{$no}<!--@end--></td><!--@end-->
<!--@if($grant->is_admin)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<td class="title">
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
<!--@end-->
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<a href="{getUrl('document_srl', $document->document_srl)}#comment"><span class="replyNum" title="Replies"><strong>[{$document->getCommentCount()}]</strong></span></a>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<a href="{getUrl('document_srl', $document->document_srl)}#trackback"><span class="replyNum" title="Trackbacks"><strong class="trackback">[{$document->getTrackbackCount()}]</strong></span></a>
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}
</td>
<!--@if($module_info->display_author!='N')--><td class="author"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></td><!--@end-->
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):'&nbsp;'}</td><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):'&nbsp;'}</td><!--@end-->
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}
</td>
<!--@end-->
</tr>
<!--@end-->
</tr>
<!--@end-->
<!--@end-->
</tbody>

View file

@ -4,7 +4,7 @@
{@ $_col_count = 2; }
<!--@if($module_info->display_number!='N')-->{@ $_col_count++ }<!--@end-->
<!--@if($grant->is_admin)-->{@ $_col_count++}<!--@end-->
<!--@if($grant->manager)-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_author!='N')-->{@ $_col_count++ }<!--@end-->
<!--@if($module_info->display_readed_count!='N')-->{@ $_col_count++ }<!--@end-->
<!--@if($module_info->display_voted_count!='N')-->{@ $_col_count++ }<!--@end-->
@ -18,7 +18,7 @@
<tr>
<!--@if($module_info->display_number!='N')--><th scope="col">{$lang->no}</th>{@ $no_line_class=""}<!--@end-->
<!--@if($grant->is_admin)--><th scope="col"><input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true }); return false;" /></th>{@ $no_line_class=""}<!--@end-->
<!--@if($grant->manager)--><th scope="col"><input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true }); return false;" /></th>{@ $no_line_class=""}<!--@end-->
<th scope="col" class="title">
@ -57,7 +57,7 @@
<!--@foreach($notice_list as $no => $document)-->
<tr class="notice">
<!--@if($module_info->display_number!='N')--><td class="notice">{$lang->notice}</td><!--@end-->
<!--@if($grant->is_admin)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<!--@if($grant->manager)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<td class="title">
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
@ -89,7 +89,7 @@
<!--@if($module_info->display_number!='N')--><td class="num" rowspan="2"><!--@if($document_srl == $document->document_srl)-->&raquo;<!--@else-->{$no}<!--@end--></td><!--@end-->
<!--@if($grant->is_admin)--><td class="check" rowspan="2"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<!--@if($grant->manager)--><td class="check" rowspan="2"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<td class="title">
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->

View file

@ -33,7 +33,7 @@
<dd>
{$comment->getRegdate('H:i:s')}
</dd>
<!--@if($grant->is_admin || $module_info->display_ip_address!='N')-->
<!--@if($grant->manager || $module_info->display_ip_address!='N')-->
<dd>
({$comment->getIpaddress()})
</dd>
@ -43,7 +43,6 @@
<a name="comment_{$comment->get('comment_srl')}"></a>
<div class="itemContent">
<!--@if(!$comment->isAccessible())-->
<!--%import("filter/input_password.xml")-->
<form action="./" method="get" onsubmit="return procFilter(this, input_password)" class="secretMessage">
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="page" value="{$page}" />

View file

@ -7,7 +7,7 @@
<dl class="time">
<dt>Time :</dt>
<dd>{$oSourceComment->getRegdate("Y.m.d H:i")}</dd>
<!--@if($grant->is_admin)-->
<!--@if($grant->manager)-->
<dd>({$oSourceComment->get('ipaddress')})</dd>
<!--@end-->
</dl>
@ -18,7 +18,6 @@
</div>
<!--@end-->
<!--%import("filter/insert_comment.xml")-->
<form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="boardEditor" >
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="document_srl" value="{$oComment->get('document_srl')}" />

View file

@ -285,7 +285,7 @@
.extraVarsList td{ border:0; padding:5px 10px; text-align:left; border-top:1px solid; vertical-align:top;}
.extraVarsList th{ white-space:nowrap;}
.extraVarsList td{ width:100%;}
.extraVarsList td p{ display:inline-block; *display:inline; margin:3px 0;}
.extraVarsList td p{ display:block; *display:block; margin:3px 0;}
.extraVarsList td *{ vertical-align:middle;}
.extraVarsList td li{ display:inline; margin-right:10px;}
.extraVarsList td .inputText{ padding:3px 4px; font-size:12px; width:96%; display:block;}
@ -310,3 +310,15 @@
.smallBox .header { text-align:center; }
/* 확장 변수 폼 */
.extraVarsList tr td .text { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; margin-right:10px; width:90%; }
.extraVarsList tr td .email_address { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; margin-right:10px; width:300px; }
.extraVarsList tr td .homepage { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; margin-right:10px; width:300px; }
.extraVarsList tr td .tel { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; margin-right:10px; width:40px; margin-right:10px;}
.extraVarsList tr td .textarea { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; margin-right:10px; width:90%; height:80px; }
.extraVarsList tr td ul { margin:0; padding:0; list-style:none; }
.extraVarsList tr td ul li { display:inline-block; margin-right:10px; }
.extraVarsList tr td ul li input { margin-right:5px; vertical-align:middle;}
.extraVarsList tr td .date { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; margin-right:10px; width:100px; }
.extraVarsList tr td .address { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; margin-right:10px; width:300px; }

View file

@ -1,4 +1,3 @@
<!--%import("filter/delete_comment.xml")-->
<!--#include("_header.html")-->
<div class="smallBox w268">

View file

@ -1,4 +1,3 @@
<!--%import("filter/delete_document.xml")-->
<!--#include("_header.html")-->
<div class="smallBox w268">

View file

@ -1,4 +1,3 @@
<!--%import("filter/delete_trackback.xml")-->
<!--#include("_header.html")-->
<div class="smallBox w268">

View file

@ -1,18 +0,0 @@
<filter name="delete_comment" module="board" act="procBoardDeleteComment">
<form>
<node target="comment_srl" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="page" target="page" />
<param name="document_srl" target="document_srl" />
<param name="comment_srl" target="comment_srl" />
</parameter>
<response callback_func="completeDeleteComment">
<tag name="error" />
<tag name="message" />
<tag name="mid" />
<tag name="document_srl" />
<tag name="page" />
</response>
</filter>

View file

@ -1,16 +0,0 @@
<filter name="delete_document" module="board" act="procBoardDeleteDocument">
<form>
<node target="document_srl" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="page" target="page" />
<param name="document_srl" target="document_srl" />
</parameter>
<response callback_func="completeDeleteDocument">
<tag name="error" />
<tag name="message" />
<tag name="mid" />
<tag name="page" />
</response>
</filter>

View file

@ -1,18 +0,0 @@
<filter name="delete_trackback" module="board" act="procBoardDeleteTrackback">
<form>
<node target="trackback_srl" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="page" target="page" />
<param name="document_srl" target="document_srl" />
<param name="trackback_srl" target="trackback_srl" />
</parameter>
<response callback_func="completeDeleteTrackback">
<tag name="error" />
<tag name="message" />
<tag name="mid" />
<tag name="document_srl" />
<tag name="page" />
</response>
</filter>

View file

@ -1,16 +0,0 @@
<filter name="input_password" module="board" act="procBoardVerificationPassword" >
<form>
<node target="document_srl" required="true" />
<node target="password" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="document_srl" target="document_srl" />
<param name="comment_srl" target="comment_srl" />
<param name="password" target="password" />
</parameter>
<response>
<tag name="error" />
<tag name="message" />
</response>
</filter>

View file

@ -1,17 +0,0 @@
<filter name="insert" module="board" act="procBoardInsertDocument" confirm_msg_code="">
<form>
<node target="nick_name" required="true" />
<node target="password" required="true" />
<node target="email_address" maxlength="250" />
<node target="homepage" maxlength="250"/>
<node target="title" required="true" maxlength="250" />
<node target="content" required="true" />
</form>
<response callback_func="completeDocumentInserted">
<tag name="error" />
<tag name="message" />
<tag name="mid" />
<tag name="document_srl" />
<tag name="category_srl" />
</response>
</filter>

View file

@ -1,30 +0,0 @@
<filter name="insert_comment" module="board" act="procBoardInsertComment" confirm_msg_code="confirm_submit">
<form>
<node target="document_srl" required="true" />
<node target="nick_name" required="true" />
<node target="password" required="true" />
<node target="email_address" maxlength="250" />
<node target="homepage" maxlength="250"/>
<node target="content" required="true" minlength="1" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="document_srl" target="document_srl" />
<param name="comment_srl" target="comment_srl" />
<param name="parent_srl" target="parent_srl" />
<param name="nick_name" target="nick_name" />
<param name="password" target="password" />
<param name="email_address" target="email_address" />
<param name="homepage" target="homepage" />
<param name="content" target="content" />
<param name="is_secret" target="is_secret" />
<param name="notify_message" target="notify_message" />
</parameter>
<response callback_func="completeInsertComment">
<tag name="error" />
<tag name="message" />
<tag name="mid" />
<tag name="document_srl" />
<tag name="comment_srl" />
</response>
</filter>

View file

@ -1,15 +0,0 @@
<filter name="search" module="board">
<form>
<node target="search_target" required="true" />
<node target="search_keyword" minlegnth="2" maxlength="40" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="search_target" target="search_target" />
<param name="search_keyword" target="search_keyword" />
</parameter>
<response callback_func="completeSearch">
<tag name="error" />
<tag name="message" />
</response>
</filter>

View file

@ -1,13 +0,0 @@
<filter name="vote" module="board" act="procBoardVoteDocument" confirm_msg_code="confirm_vote">
<form>
<node target="document_srl" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="document_srl" target="document_srl" />
</parameter>
<response callback_func="completeVote">
<tag name="error" />
<tag name="message" />
</response>
</filter>

View file

@ -1,4 +1,3 @@
<!--%import("filter/input_password.xml")-->
<!--@if(!$form_include)--><!--#include("_header.html")--><!--@end-->
<div class="smallBox w400">

View file

@ -1,116 +0,0 @@
/**
* @file modules/board/js/board.js
* @author zero (zero@nzeo.com)
* @brief board 모듈의 javascript
**/
/* 글쓰기 작성후 */
function completeDocumentInserted(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var mid = ret_obj['mid'];
var document_srl = ret_obj['document_srl'];
var category_srl = ret_obj['category_srl'];
//alert(message);
var url = current_url.setQuery('mid',mid).setQuery('document_srl',document_srl).setQuery('act','');
if(category_srl) url = url.setQuery('category',category_srl);
location.href = url;
}
/* 글 삭제 */
function completeDeleteDocument(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var mid = ret_obj['mid'];
var page = ret_obj['page'];
var url = current_url.setQuery('mid',mid).setQuery('act','').setQuery('document_srl','');
if(page) url = url.setQuery('page',page);
//alert(message);
location.href = url;
}
/* 검색 실행 */
function completeSearch(fo_obj, params) {
fo_obj.submit();
}
function completeVote(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
alert(message);
location.href = location.href;
}
// 현재 페이지 reload
function completeReload(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
location.href = location.href;
}
/* 댓글 글쓰기 작성후 */
function completeInsertComment(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var mid = ret_obj['mid'];
var document_srl = ret_obj['document_srl'];
var comment_srl = ret_obj['comment_srl'];
var url = current_url.setQuery('mid',mid).setQuery('document_srl',document_srl).setQuery('act','');
if(comment_srl) url = url.setQuery('rnd',comment_srl)+"#comment_"+comment_srl;
//alert(message);
location.href = url;
}
/* 댓글 삭제 */
function completeDeleteComment(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var mid = ret_obj['mid'];
var document_srl = ret_obj['document_srl'];
var page = ret_obj['page'];
var url = current_url.setQuery('mid',mid).setQuery('document_srl',document_srl).setQuery('act','');
if(page) url = url.setQuery('page',page);
//alert(message);
location.href = url;
}
/* 트랙백 삭제 */
function completeDeleteTrackback(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var mid = ret_obj['mid'];
var document_srl = ret_obj['document_srl'];
var page = ret_obj['page'];
var url = current_url.setQuery('mid',mid).setQuery('document_srl',document_srl).setQuery('act','');
if(page) url = url.setQuery('page',page);
//alert(message);
location.href = url;
}
/* 카테고리 이동 */
function doChangeCategory() {
var category_srl = jQuery('#board_category option:selected').val();
location.href = decodeURI(current_url).setQuery('category',category_srl);
}
/* 스크랩 */
function doScrap(document_srl) {
var params = new Array();
params["document_srl"] = document_srl;
exec_xml("member","procMemberScrapDocument", params, null);
}

View file

@ -1,7 +1,5 @@
<!--#include("_header.html")-->
<!--%import("filter/search.xml")-->
<!--@if($oDocument->isExists() && $module_info->default_style != 'blog')-->
<div class="viewDocument">
<!--#include("./view_document.html")-->
@ -23,8 +21,8 @@
<div class="boardNavigation">
<div class="buttonLeft">
<!--@if($grant->is_admin)-->
<a href="{getUrl('','module','document','act','dispDocumentAdminManageDocument')}" onclick="popopen(this.href,'manageDocument'); return false;" class="button"><span>{$lang->cmd_manage_document}</span></a>
<!--@if($grant->manager)-->
<a href="{getUrl('','module','document','act','dispDocumentManageDocument')}" onclick="popopen(this.href,'manageDocument'); return false;" class="button"><span>{$lang->cmd_manage_document}</span></a>
<!--@end-->
<!--@if($module_info->default_style != 'blog')-->
<a href="{getUrl('','mid',$mid,'page',$page,'document_srl','','listStyle',$listStyle)}" class="button"><span>{$lang->cmd_list}</span></a>

View file

@ -376,7 +376,7 @@
<title xml:lang="jp">IPアドレス表示</title>
<title xml:lang="zh-CN">显示IP地址</title>
<title xml:lang="es-CN">Display ip address</title>
<title xml:lang="zh-TW">顯示IP</title>
<title xml:lang="zh-TW">顯示IP</title>
<options value="Y">
<title xml:lang="ko">출력</title>
<title xml:lang="en">display</title>
@ -419,6 +419,36 @@
</options>
<description />
</var>
<var name="display_sign" type="select">
<title xml:lang="ko">서명 표시</title>
<title xml:lang="jp">서명 표시</title>
<title xml:lang="zh-CN">显示签名</title>
<title xml:lang="en">서명 표시</title>
<title xml:lang="es">서명 표시</title>
<title xml:lang="zh-TW">顯示簽名檔</title>
<description xml:lang="ko">글내용 사용자의 서명과 프로필 이미지를 표시하거나 숨길 수 있습니다.</description>
<description xml:lang="jp">글내용 사용자의 서명과 프로필 이미지를 표시하거나 숨길 수 있습니다.</description>
<description xml:lang="zh-CN">可以设置主题发布者的个人签名及个性头像显示与否。</description>
<description xml:lang="en">글내용 사용자의 서명과 프로필 이미지를 표시하거나 숨길 수 있습니다.</description>
<description xml:lang="es">글내용 사용자의 서명과 프로필 이미지를 표시하거나 숨길 수 있습니다.</description>
<description xml:lang="zh-TW">可選擇是否在文章中顯示個人圖片和簽名檔</description>
<options value="Y">
<title xml:lang="ko">출력</title>
<title xml:lang="en">display</title>
<title xml:lang="jp">表示</title>
<title xml:lang="zh-CN">显示</title>
<title xml:lang="es">display</title>
<title xml:lang="zh-TW">顯示</title>
</options>
<options value="N">
<title xml:lang="ko">출력하지 않음</title>
<title xml:lang="en">not display</title>
<title xml:lang="jp">非表示</title>
<title xml:lang="zh-CN">不显示</title>
<title xml:lang="es">not display</title>
<title xml:lang="zh-TW">隱藏</title>
</options>
</var>
<var name="duration_new" type="text" default="24">
<title xml:lang="ko">new표시 시간 (hours)</title>
<title xml:lang="jp">Newの表示時間 (Hours)</title>

View file

@ -22,22 +22,17 @@
<!--@if($oDocument->isExtraVarsExists() && (!$oDocument->isSecret() || $oDocument->isGranted()) )-->
<table border="1" cellspacing="0" summary="Extra Form" class="extraVarsList">
<!--@foreach($module_info->extra_vars as $key => $val)-->
<!--@if($val->name)-->
<tr>
<th scope="row">{$val->name}</th>
<td>
<!--#include("./_extra_var_value.html")-->
</td>
</tr>
<!--@end-->
<!--@end-->
<!--@foreach($oDocument->getExtraVars() as $key => $val)-->
<tr>
<th>{$val->name} :</th>
<td>{$val->getValueHTML()}</td>
</tr>
<!--@end-->
</table>
<!--@end-->
<div class="boardReadBody">
<!--@if($oDocument->isSecret() && !$oDocument->isGranted())-->
<!--%import("filter/input_password.xml")-->
<form action="./" method="get" onsubmit="return procFilter(this, input_password)" class="secretMessage">
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="page" value="{$page}" />
@ -54,7 +49,7 @@
{$oDocument->getContent()}
<!--@end-->
<!--@if($oDocument->getProfileImage() || $oDocument->getSignature())-->
<!--@if($module_info->display_sign != 'N' && ($oDocument->getProfileImage() || $oDocument->getSignature()))-->
<div class="memberSignature">
<!--@if($oDocument->getProfileImage())-->
<img src="{$oDocument->getProfileImage()}" alt="profile" class="profile" />
@ -111,7 +106,7 @@
<!--@end-->
<dt>{$lang->regdate} :</dt>
<dd title="{$lang->regdate}">{$oDocument->getRegdate('Y.m.d')}</dd>
<dd>{$oDocument->getRegdate('H:i:s')} <!--@if($grant->is_admin || $module_info->display_ip_address!='N')-->({$oDocument->getIpaddress()})<!--@end--></dd>
<dd>{$oDocument->getRegdate('H:i:s')} <!--@if($grant->manager || $module_info->display_ip_address!='N')-->({$oDocument->getIpaddress()})<!--@end--></dd>
</dl>
<dl>
@ -153,7 +148,6 @@
<!--#include("./comment.html")-->
<!--@if($grant->write_comment && $oDocument->isEnableComment() )-->
<!--%import("filter/insert_comment.xml")-->
<form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="boardEditor" >
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="document_srl" value="{$oDocument->document_srl}" />

View file

@ -1,4 +1,3 @@
<!--%import("filter/insert.xml")-->
<!--#include("_header.html")-->
<form action="./" method="post" onsubmit="return procFilter(this, window.insert)" id="fo_write" class="boardWrite">
@ -27,16 +26,14 @@
</div>
<!--@if($module_info->extra_vars)-->
<!--@if(count($extra_keys))-->
<table border="1" cellspacing="0" summary="Extra Form" class="extraVarsList">
<caption><em>*</em> : {$lang->is_required}</caption>
<!--@foreach($module_info->extra_vars as $key => $val)-->
<!--@if($val->name)-->
<!--@foreach($extra_keys as $key => $val)-->
<tr>
<th scope="row">{$val->name} <!--@if($val->is_required=='Y')--><em>*</em><!--@end--></th>
<td><!--#include("./_extra_var_form.html")--></td>
<td>{$val->getFormHTML()}</td>
</tr>
<!--@endif-->
<!--@endforeach-->
</table>
<!--@endif-->

View file

@ -1,7 +1,7 @@
<!--@if($oDocument->getCommentCount())-->
<div class="replyBox">
<a name="comment_{$comment->comment_srl}"></a>
<a name="comment<!--@if($comment->comment_srl)-->_{$comment->comment_srl}<!--@end-->"></a>
{@ $_comment_list = $oDocument->getComments() }
<!--@foreach($_comment_list as $key => $comment)-->
@ -35,7 +35,7 @@
<strong>{$comment->getRegdate('Y.m.d')}</strong> {$comment->getRegdate('H:i:s')}
<!--@if($grant->is_admin)-->
<!--@if($grant->manager)-->
({$comment->get('ipaddress')})
<!--@end-->
</div>
@ -51,7 +51,6 @@
<div class="replyContent">
<!--@if(!$comment->isAccessible())-->
<!--%import("filter/input_password.xml")-->
<div class="secretContent">
<form action="./" method="get" onsubmit="return procFilter(this, input_password)">
<input type="hidden" name="mid" value="{$mid}" />

View file

@ -7,7 +7,7 @@
<div class="author"><div class="member_{$oSourceComment->getMemberSrl()}">{$oSourceComment->getNickName()}</div></div>
<div class="date">
{$oSourceComment->getRegdate("Y.m.d H:i")}
<!--@if($grant->is_admin)-->
<!--@if($grant->manager)-->
({$oSourceComment->get('ipaddress')})
<!--@end-->
</div>
@ -25,7 +25,7 @@
<div class="author"><div class="member_{$oDocument->getMemberSrl()}">{$oDocument->getNickName()}</div></div>
<div class="date">
{$oDocument->getRegdate("Y.m.d H:i")}
<!--@if($grant->is_admin)-->
<!--@if($grant->manager)-->
({$oDocument->get('ipaddress')})
<!--@end-->
</div>
@ -39,7 +39,6 @@
<!--@end-->
<!-- 글쓰기 폼 -->
<!--%import("filter/insert_comment.xml")-->
<form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="boardEditor" >
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="document_srl" value="{$oComment->get('document_srl')}" />
@ -86,7 +85,7 @@
<div class="editor">{$oComment->getEditor()}</div>
<div class="commentButton tRight">
<span class="button"><input type="button" value="{$lang->cmd_back}" onclick="location.href='{getUrl('act','')}'"/></span>
<span class="button"><input type="button" value="{$lang->cmd_back}" onclick="location.href='{getUrl('act','','document_srl','')}'"/></span>
<span class="button"><input type="submit" value="{$lang->cmd_comment_registration}" accesskey="s" /></span>
</div>

View file

@ -333,3 +333,15 @@ h5 { padding:2px; }
.listWrite { margin-bottom:20px; }
.display_date { cursor:pointer; width:80px; border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; height:1em; padding:3px; margin-right:10px;}
/* 확장 변수 폼 */
.extraVarsList tr td .text { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; margin-right:10px; width:90%; }
.extraVarsList tr td .email_address { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; margin-right:10px; width:300px; }
.extraVarsList tr td .homepage { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; margin-right:10px; width:300px; }
.extraVarsList tr td .tel { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; margin-right:10px; width:40px; margin-right:10px;}
.extraVarsList tr td .textarea { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; margin-right:10px; width:90%; height:80px; }
.extraVarsList tr td ul { margin:0; padding:0; list-style:none; }
.extraVarsList tr td ul li { display:inline-block; margin-right:10px; }
.extraVarsList tr td .date { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; margin-right:10px; width:100px; }
.extraVarsList tr td .address { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; margin-right:10px; width:300px; }

View file

@ -1,4 +1,3 @@
<!--%import("filter/delete_comment.xml")-->
<!--#include("header.html")-->
<div class="smallBox w268">

View file

@ -1,4 +1,3 @@
<!--%import("filter/delete_document.xml")-->
<!--#include("header.html")-->
<div class="smallBox w268">

View file

@ -1,4 +1,3 @@
<!--%import("filter/delete_trackback.xml")-->
<!--#include("header.html")-->
<div class="smallBox w268">

View file

@ -1,81 +0,0 @@
<!--// 이 파일은 extra_vars의 form을 출력하는 파일이며 다른 스킨에서 그대로 가져가서 css만 바꾸어 주면 된다 -->
<!--// type=select,checkbox이고 기본값이 , 로 연결되어 있으면 배열로 만든다 -->
<!--@if(in_array($val->type, array('select', 'checkbox')))-->
{@ $val->default = explode(',', $val->default) }
<!--@end-->
<!--// 확장변수의 이름을 지정 -->
{@ $val->column_name = "extra_vars".$key}
<!--// 확장변수의 값을 documentItem::getExtraValue로 가져옴 -->
{@ $val->value = $oDocument->getExtraValue($key)}
<!--// 일반 text -->
<!--@if($val->type == 'text')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" />
<!--// 홈페이지 주소 -->
<!--@elseif($val->type == 'homepage')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" />
<!--// Email 주소 -->
<!--@elseif($val->type == 'email_address')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" />
<!--// 전화번호 -->
<!--@elseif($val->type == 'tel')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value[0])}" size="4" class="inputTypeText" />
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value[1])}" size="4" class="inputTypeText" />
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value[2])}" size="4" class="inputTypeText" />
<!--// textarea -->
<!--@elseif($val->type == 'textarea')-->
<textarea name="{$val->column_name}" class="inputTypeTextArea w400">{htmlspecialchars($val->value)}</textarea>
<!--// 다중 선택 -->
<!--@elseif($val->type == 'checkbox')-->
<!--@if($val->default)-->
<ul style="padding:0;margin:0;list-style:none;">
<!--@foreach($val->default as $v)-->
<li><input type="checkbox" name="{$val->column_name}" value="{$v}" <!--@if($v==$val->value||is_array($val->value)&&in_array($v, $val->value))-->checked="checked"<!--@end-->/> {$v}</li>
<!--@end-->
</ul>
<!--@end-->
<!--// 단일 선택 -->
<!--@elseif($val->type == 'select')-->
<select name="{$val->column_name}">
<!--@if($val->default)-->
<!--@foreach($val->default as $v)-->
<option value="{$v}" <!--@if($v == $val->value)-->selected="selected"<!--@end-->>{$v}</option>
<!--@end-->
<!--@end-->
</select>
<!--// 날짜 입력 -->
<!--@elseif($val->type == 'date')-->
<!--// datepicker javascript plugin load -->
<!--%load_js_plugin("ui.datepicker")-->
<input type="hidden" name="{$val->column_name}" id="date_{$val->column_name}" value="{$val->value}" />
<input type="text" class="inputDate" value="{zdate($val->value,'Y-m-d')}" readonly="readonly" />
<script type="text/javascript">
(function($){
$(function(){
var option = { gotoCurrent: false,yearRange:'-100:+10', onSelect:function(){
$(this).prev('input[type="hidden"]').val(this.value.replace(/-/g,""))}
};
$.extend(option,$.datepicker.regional['{$lang_type}']);
$(".inputDate").datepicker(option);
});
})(jQuery);
</script>
<!--@end-->
<!--@if($val->desc)-->
<p class="info">{$val->desc}</p>
<!--@end-->

View file

@ -1,64 +0,0 @@
<!--// 이 파일은 extra_vars의 결과값을 출력하는 파일이며 다른 스킨에서 그대로 가져가서 css만 바꾸어 주면 된다 -->
<!--// 확장변수의 이름을 지정 -->
{@ $val->column_name = "extra_vars".$key}
<!--// 확장변수의 값을 documentItem::getExtraValue로 가져옴 -->
{@ $val->value = $oDocument->getExtraValue($key)}
{@ $_tmp_value = array(); }
<!--// 일반 text -->
<!--@if($val->type == 'text')-->
{htmlspecialchars($val->value)}
<!--// 홈페이지 주소 -->
<!--@elseif($val->type == 'homepage')-->
<!--@if($val->value)-->
<a href="{htmlspecialchars($val->value)}" onclick="window.open(this.href);return false;">{$val->value}</a>
<!--@else-->
&nbsp;
<!--@end-->
<!--// Email 주소 -->
<!--@elseif($val->type == 'email_address')-->
<!--@if($val->value)-->
<a href="mailto:{htmlspecialchars($val->value)}">{$val->value}</a>
<!--@else-->
&nbsp;
<!--@end-->
<!--// 전화번호 -->
<!--@elseif($val->type == 'tel')-->
{htmlspecialchars($val->value[0])}
<!--@if($val->value[1])-->-<!--@end-->
{htmlspecialchars($val->value[1])}
<!--@if($val->value[2])-->-<!--@end-->
{htmlspecialchars($val->value[2])}
&nbsp;
<!--// textarea -->
<!--@elseif($val->type == 'textarea')-->
{nl2br(htmlspecialchars($val->value))}
&nbsp;
<!--// 다중 선택 -->
<!--@elseif($val->type == 'checkbox')-->
<!--@if(!is_array($val->value))-->{@ $val->value = array($val->value) }<!--@end-->
<!--@foreach($val->value as $v)-->
{@ $_tmp_value[] = htmlspecialchars($v)}
<!--@end-->
{implode(",",$_tmp_value)}
&nbsp;
<!--// 단일 선택 -->
<!--@elseif($val->type == 'select')-->
{htmlspecialchars($val->value)}
&nbsp;
<!--// 날짜 입력 -->
<!--@elseif($val->type == 'date')-->
{zdate($val->value,"Y-m-d")}
&nbsp;
<!--@end-->
<!--@if(!$val->value)-->&nbsp;<!--@end-->

View file

@ -1,18 +0,0 @@
<filter name="delete_comment" module="board" act="procBoardDeleteComment">
<form>
<node target="comment_srl" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="page" target="page" />
<param name="document_srl" target="document_srl" />
<param name="comment_srl" target="comment_srl" />
</parameter>
<response callback_func="completeDeleteComment">
<tag name="error" />
<tag name="message" />
<tag name="mid" />
<tag name="document_srl" />
<tag name="page" />
</response>
</filter>

View file

@ -1,16 +0,0 @@
<filter name="delete_document" module="board" act="procBoardDeleteDocument">
<form>
<node target="document_srl" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="page" target="page" />
<param name="document_srl" target="document_srl" />
</parameter>
<response callback_func="completeDeleteDocument">
<tag name="error" />
<tag name="message" />
<tag name="mid" />
<tag name="page" />
</response>
</filter>

View file

@ -1,18 +0,0 @@
<filter name="delete_trackback" module="board" act="procBoardDeleteTrackback">
<form>
<node target="trackback_srl" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="page" target="page" />
<param name="document_srl" target="document_srl" />
<param name="trackback_srl" target="trackback_srl" />
</parameter>
<response callback_func="completeDeleteTrackback">
<tag name="error" />
<tag name="message" />
<tag name="mid" />
<tag name="document_srl" />
<tag name="page" />
</response>
</filter>

View file

@ -1,16 +0,0 @@
<filter name="input_password" module="board" act="procBoardVerificationPassword" >
<form>
<node target="document_srl" required="true" />
<node target="password" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="document_srl" target="document_srl" />
<param name="comment_srl" target="comment_srl" />
<param name="password" target="password" />
</parameter>
<response>
<tag name="error" />
<tag name="message" />
</response>
</filter>

View file

@ -1,16 +1,16 @@
<filter name="insert" module="board" act="procBoardInsertDocument" confirm_msg_code="confirm_submit">
<form>
<node target="nick_name" required="true" />
<node target="password" required="true" />
<node target="email_address" maxlength="250" />
<node target="homepage" maxlength="250"/>
<node target="content" required="true" />
</form>
<response callback_func="completeDocumentInserted">
<tag name="error" />
<tag name="message" />
<tag name="mid" />
<tag name="document_srl" />
<tag name="category_srl" />
</response>
</filter>
<filter name="insert" module="board" act="procBoardInsertDocument" confirm_msg_code="confirm_submit">
<form>
<node target="nick_name" required="true" />
<node target="password" required="true" />
<node target="email_address" maxlength="250" />
<node target="homepage" maxlength="250"/>
<node target="content" required="true" minlength="1" />
<node target="category_srl" required="true" />
</form>
<response callback_func="completeDocumentInserted">
<tag name="error" />
<tag name="message" />
<tag name="mid" />
<tag name="category_srl" />
</response>
</filter>

View file

@ -1,30 +0,0 @@
<filter name="insert_comment" module="board" act="procBoardInsertComment" confirm_msg_code="confirm_submit">
<form>
<node target="document_srl" required="true" />
<node target="nick_name" required="true" />
<node target="password" required="true" />
<node target="email_address" maxlength="250" />
<node target="homepage" maxlength="250"/>
<node target="content" required="true" minlength="1" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="document_srl" target="document_srl" />
<param name="comment_srl" target="comment_srl" />
<param name="parent_srl" target="parent_srl" />
<param name="nick_name" target="nick_name" />
<param name="password" target="password" />
<param name="email_address" target="email_address" />
<param name="homepage" target="homepage" />
<param name="content" target="content" />
<param name="is_secret" target="is_secret" />
<param name="notify_message" target="notify_message" />
</parameter>
<response callback_func="completeInsertComment">
<tag name="error" />
<tag name="message" />
<tag name="mid" />
<tag name="document_srl" />
<tag name="comment_srl" />
</response>
</filter>

View file

@ -1,15 +0,0 @@
<filter name="search" module="board">
<form>
<node target="search_target" required="true" />
<node target="search_keyword" minlegnth="2" maxlength="40" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="search_target" target="search_target" />
<param name="search_keyword" target="search_keyword" />
</parameter>
<response callback_func="completeSearch">
<tag name="error" />
<tag name="message" />
</response>
</filter>

View file

@ -1,13 +0,0 @@
<filter name="vote" module="board" act="procBoardVoteDocument" confirm_msg_code="confirm_vote">
<form>
<node target="document_srl" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="document_srl" target="document_srl" />
</parameter>
<response callback_func="completeVote">
<tag name="error" />
<tag name="message" />
</response>
</filter>

View file

@ -1,6 +1,3 @@
<!--// JS 파일 로드 -->
<!--%import("js/board.js")-->
<!--// 컬러셋 체크 -->
<!--@if(!$module_info->colorset)-->
{@$module_info->colorset = "white"}
@ -49,7 +46,7 @@
<!--@if($is_logged)-->
<!--// 관리자이면 설정 버튼 출력 -->
<!--@if($grant->is_admin)-->
<!--@if($grant->manager)-->
<li class="setup"><a href="{getUrl('act','dispBoardAdminBoardInfo')}">{$lang->cmd_setup}</a></li>
<!--@end-->

View file

@ -1,4 +1,3 @@
<!--%import("filter/input_password.xml")-->
<!--@if(!$form_include)--><!--#include("header.html")--><!--@end-->
sadf

View file

@ -1,116 +0,0 @@
/**
* @file modules/board/js/board.js
* @author zero (zero@nzeo.com)
* @brief board 모듈의 javascript
**/
/* 글쓰기 작성후 */
function completeDocumentInserted(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var mid = ret_obj['mid'];
var document_srl = ret_obj['document_srl'];
var category_srl = ret_obj['category_srl'];
//alert(message);
var url = current_url.setQuery('mid',mid).setQuery('act','').setQuery('document_srl','').setQuery('rnd',document_srl);
if(category_srl) url = url.setQuery('category',category_srl);
location.href = url+'#document_'+document_srl;
}
/* 글 삭제 */
function completeDeleteDocument(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var mid = ret_obj['mid'];
var page = ret_obj['page'];
var url = current_url.setQuery('mid',mid).setQuery('act','').setQuery('document_srl','');
if(page) url = url.setQuery('page',page);
//alert(message);
location.href = url;
}
/* 검색 실행 */
function completeSearch(fo_obj, params) {
fo_obj.submit();
}
function completeVote(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
alert(message);
location.href = location.href;
}
// 현재 페이지 reload
function completeReload(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
location.href = location.href;
}
/* 댓글 글쓰기 작성후 */
function completeInsertComment(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var mid = ret_obj['mid'];
var document_srl = ret_obj['document_srl'];
var comment_srl = ret_obj['comment_srl'];
var url = current_url.setQuery('mid',mid).setQuery('act','').setQuery('document_srl','');
if(comment_srl) url = url.setQuery('rnd',comment_srl)+"#comment_"+comment_srl;
//alert(message);
location.href = url;
}
/* 댓글 삭제 */
function completeDeleteComment(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var mid = ret_obj['mid'];
var document_srl = ret_obj['document_srl'];
var page = ret_obj['page'];
var url = current_url.setQuery('mid',mid).setQuery('document_srl','').setQuery('act','').setQuery('rnd',document_srl);
if(page) url = url.setQuery('page',page);
//alert(message);
location.href = url+'#document_'+document_srl;
}
/* 트랙백 삭제 */
function completeDeleteTrackback(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var mid = ret_obj['mid'];
var document_srl = ret_obj['document_srl'];
var page = ret_obj['page'];
var url = current_url.setQuery('mid',mid).setQuery('document_srl','').setQuery('act','');
if(page) url = url.setQuery('page',page);
//alert(message);
location.href = url;
}
/* 카테고리 이동 */
function doChangeCategory() {
var category_srl = jQuery('#board_category option:selected').val();
location.href = decodeURI(current_url).setQuery('category',category_srl);
}
/* 스크랩 */
function doScrap(document_srl) {
var params = new Array();
params["document_srl"] = document_srl;
exec_xml("member","procMemberScrapDocument", params, null);
}

View file

@ -1,9 +1,6 @@
<!--// header.html include -->
<!--#include("header.html")-->
<!--// 검색을 위한 xml filter import-->
<!--%import("filter/search.xml")-->
<!--// 선택된 게시물이 있고 권한이 있으면 내용 출력 -->
<!--// 글 쓰기 폼 출력 -->

View file

@ -29,7 +29,7 @@
<div class="date" title="{$lang->regdate}">
<strong>{$oDocument->getRegdate('Y.m.d')}</strong> {$oDocument->getRegdate('H:i:s')}
<!--@if($grant->is_admin)-->
<!--@if($grant->manager)-->
({$oDocument->get('ipaddress')})
<!--@end-->
</div>
@ -46,16 +46,11 @@
<table cellspacing="0" summary="" class="extraVarsList">
<col width="150" />
<col />
<!--@foreach($module_info->extra_vars as $key => $val)-->
<!--@if($val->name)-->
<!--@foreach($oDocument->getExtraVars() as $key => $val)-->
<tr>
<th scope="row">{$val->name}</th>
<td>
<!--// 확장변수(extra_var)의 type에 따른 값을 출력하기 위해서 특별히 제작된 파일을 include 한다 -->
<!--#include("./extra_var_value.html")-->
</td>
<th>{$val->name}</th>
<td>{$val->getValueHTML()}</td>
</tr>
<!--@end-->
<!--@end-->
</table>
<!--@end-->
@ -65,7 +60,6 @@
<a name="document_{$oDocument->document_srl}"></a>
<!--@if($oDocument->isSecret() && !$oDocument->isGranted())-->
<!--%import("filter/input_password.xml")-->
<div class="secretContent">
<form action="./" method="get" onsubmit="return procFilter(this, input_password)">
<input type="hidden" name="mid" value="{$mid}" />

View file

@ -1,8 +1,9 @@
<!--@if($act=="dispBoardWrite")-->
<!--#include("header.html")-->
<!--@else-->
<!--%import("filter/insert.xml")-->
<!--@end-->
<!--%import("filter/insert.xml")-->
<form action="./" method="post" onsubmit="return procFilter(this, window.insert)" id="fo_write">
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="content" value="{$oDocument->getContentText()}" />
@ -69,17 +70,15 @@
<!--@end-->
</dl>
<!--@if($module_info->extra_vars)-->
<!--@if($extra_keys)-->
<table cellspacing="0" summary="" class="extraVarsList">
<col width="150" />
<col />
<!--@foreach($module_info->extra_vars as $key => $val)-->
<!--@if($val->name)-->
<!--@foreach($extra_keys as $key => $val)-->
<tr>
<th scope="row">{$val->name} <!--@if($val->is_required=='Y')-->*<!--@end--></th>
<td><!--#include("./extra_var_form.html")--></td>
<td>{$val->getFormHTML()}</td>
</tr>
<!--@end-->
<!--@end-->
</table>
<!--@end-->