mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@107 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7350705fa1
commit
47f322b297
27 changed files with 0 additions and 0 deletions
53
modules/board/skins/default/comment.html
Normal file
53
modules/board/skins/default/comment.html
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
<!--#include("header.html")-->
|
||||
|
||||
<!-- 댓글 정보 출력 -->
|
||||
<div>
|
||||
{$lang->comment} : {count($comment_list)}
|
||||
</div>
|
||||
|
||||
<!-- 댓글 출력 -->
|
||||
<div>
|
||||
<!-- 댓글 목록 -->
|
||||
|
||||
<!--@if($comment_list)-->
|
||||
<!--@foreach($comment_list as $key => $val)-->
|
||||
<a name="comment_{$key}"></a>
|
||||
<div style="margin-left:{$val->depth*15}px" >
|
||||
<table>
|
||||
<col width="120" />
|
||||
<col width="*" />
|
||||
<tr>
|
||||
<th>{$lang->date}</th>
|
||||
<td>{zdate($val->regdate, "Y-m-d H:i:s")}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->user_name}</th>
|
||||
<td>{$val->user_name}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->content}</th>
|
||||
<td height="100" valign="top">{nl2br($val->content)}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>ipaddress</th>
|
||||
<td>{$val->ipaddress}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<a href="{getUrl('act','dispCommentModifyForm','comment_srl',$val->comment_srl)}">[{$lang->cmd_modify}]</a>
|
||||
<a href="{getUrl('act','dispCommentReplyForm','comment_srl',$val->comment_srl)}">[{$lang->cmd_reply}]</a>
|
||||
<a href="{getUrl('act','dispCommentDeleteForm','comment_srl',$val->comment_srl)}">[{$lang->cmd_delete}]</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
|
||||
<!-- 댓글 입력 폼 -->
|
||||
<!--@if($document->lock_comment == 'N')-->
|
||||
<!--#include("./comment_form.html")-->
|
||||
<!--@end-->
|
||||
|
||||
</div>
|
||||
77
modules/board/skins/default/comment_form.html
Normal file
77
modules/board/skins/default/comment_form.html
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
<!--%import("filter/filter.insert_comment.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<!-- 만약 댓글의 답을 다는 것이라면 원문 보여줌 -->
|
||||
<!--@if($source_comment)-->
|
||||
<div>
|
||||
<table>
|
||||
<col width="120" />
|
||||
<col width="*" />
|
||||
<tr>
|
||||
<th>{$lang->date}</th>
|
||||
<td>{$source_comment->regdate}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->user_name}</th>
|
||||
<td>{$source_comment->user_name}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->readed_count}</th>
|
||||
<td>{$source_comment->readed_count}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->voted_count}</th>
|
||||
<td>{$source_comment->voted_count}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->content}</th>
|
||||
<td height="100" valign="top">{nl2br($source_comment->content)}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 글쓰기 폼 -->
|
||||
<form action="./" method="get" onsubmit="return procFormFilter(this, insert_comment, procInsertComment)">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="act" value="procInsertComment" />
|
||||
<input type="hidden" name="document_srl" value="{$document_srl}" />
|
||||
<input type="hidden" name="comment_srl" value="{$comment_srl}" />
|
||||
<input type="hidden" name="content" value="{htmlspecialchars($comment->content)}" />
|
||||
<input type="hidden" name="parent_srl" value="{$parent_srl}" />
|
||||
<table width="100%">
|
||||
<col width="120" />
|
||||
<col width="*" />
|
||||
<tr>
|
||||
<th>{$lang->user_name}</th>
|
||||
<td><input type="text" name="user_name" value="{$comment->user_name}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->password}</th>
|
||||
<td><input type="password" name="password" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->email_address}</th>
|
||||
<td><input type="text" name="email_address" value="{$comment->email_address}"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->homepage}</th>
|
||||
<td><input type="text" name="homepage" value="{$comment->homepage}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->content}</th>
|
||||
<td><!--#include("$editor_path/editor.html")--></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
|
||||
<!--@if($act&&$act!='dispContent')-->
|
||||
<input type="button" value="{$lang->cmd_cancel}" onclick="location.href='{@getUrl('act','')}'" />
|
||||
<!--@end-->
|
||||
|
||||
<input type="submit" value="{$lang->cmd_registration}" accesskey="s" />
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
23
modules/board/skins/default/delete_comment_form.html
Normal file
23
modules/board/skins/default/delete_comment_form.html
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<!--%import("filter/filter.delete_comment.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<form action="./" method="get" onsubmit="return procFormFilter(this, delete_comment, procDeleteComment)">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="act" value="procDeleteComment" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="document_srl" value="{$document_srl}" />
|
||||
<input type="hidden" name="comment_srl" value="{$comment_srl}" />
|
||||
<table>
|
||||
<tr>
|
||||
<th colspan="2">{$lang->confirm_delete}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="submit" value="{$lang->cmd_delete}" />
|
||||
<input type="button" value="{$lang->cmd_back}" onclick="location.href='{@getUrl('act','')}'" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
26
modules/board/skins/default/delete_form.html
Normal file
26
modules/board/skins/default/delete_form.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!--%import("filter/filter.delete_document.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<form action="./" method="get" onsubmit="return procFormFilter(this, delete_document, procDeleteDocument)">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="act" value="procDeleteDocument" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="document_srl" value="{$document_srl}" />
|
||||
<table>
|
||||
<tr>
|
||||
<th colspan="2">{$lang->confirm_delete}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->title}</th>
|
||||
<td>{$document->title}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="submit" value="{$lang->cmd_delete}" />
|
||||
<input type="button" value="{$lang->cmd_back}" onclick="location.href='{@getUrl('act','')}'" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
23
modules/board/skins/default/delete_trackback_form.html
Normal file
23
modules/board/skins/default/delete_trackback_form.html
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<!--%import("filter/filter.delete_trackback.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<form action="./" method="get" onsubmit="return procFormFilter(this, delete_trackback, procDeleteTrackback)">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="act" value="procDeleteTrackback" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="document_srl" value="{$document_srl}" />
|
||||
<input type="hidden" name="trackback_srl" value="{$trackback_srl}" />
|
||||
<table>
|
||||
<tr>
|
||||
<th colspan="2">{$lang->confirm_delete}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="submit" value="{$lang->cmd_delete}" />
|
||||
<input type="button" value="{$lang->cmd_back}" onclick="location.href='{@getUrl('act','')}'" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
19
modules/board/skins/default/filter/filter.delete_comment.xml
Normal file
19
modules/board/skins/default/filter/filter.delete_comment.xml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<filter id="delete_comment">
|
||||
<field>
|
||||
<item target="comment_srl" required="true" />
|
||||
</field>
|
||||
<parameter>
|
||||
<item param="mid" target="mid" />
|
||||
<item param="act" target="act" />
|
||||
<item param="page" target="page" />
|
||||
<item param="document_srl" target="document_srl" />
|
||||
<item param="comment_srl" target="comment_srl" />
|
||||
</parameter>
|
||||
<response>
|
||||
<item name="error" />
|
||||
<item name="message" />
|
||||
<item name="mid" />
|
||||
<item name="document_srl" />
|
||||
<item name="page" />
|
||||
</response>
|
||||
</filter>
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
<filter id="delete_document">
|
||||
<field>
|
||||
<item target="document_srl" required="true" />
|
||||
</field>
|
||||
<parameter>
|
||||
<item param="mid" target="mid" />
|
||||
<item param="act" target="act" />
|
||||
<item param="page" target="page" />
|
||||
<item param="document_srl" target="document_srl" />
|
||||
</parameter>
|
||||
<response>
|
||||
<item name="error" />
|
||||
<item name="message" />
|
||||
<item name="mid" />
|
||||
<item name="page" />
|
||||
</response>
|
||||
</filter>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<filter id="delete_trackback">
|
||||
<field>
|
||||
<item target="trackback_srl" required="true" />
|
||||
</field>
|
||||
<parameter>
|
||||
<item param="mid" target="mid" />
|
||||
<item param="act" target="act" />
|
||||
<item param="page" target="page" />
|
||||
<item param="document_srl" target="document_srl" />
|
||||
<item param="trackback_srl" target="trackback_srl" />
|
||||
</parameter>
|
||||
<response>
|
||||
<item name="error" />
|
||||
<item name="message" />
|
||||
<item name="mid" />
|
||||
<item name="document_srl" />
|
||||
<item name="page" />
|
||||
</response>
|
||||
</filter>
|
||||
17
modules/board/skins/default/filter/filter.input_password.xml
Normal file
17
modules/board/skins/default/filter/filter.input_password.xml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<filter id="input_password">
|
||||
<field>
|
||||
<item target="document_srl" required="true" />
|
||||
<item target="password" required="true" />
|
||||
</field>
|
||||
<parameter>
|
||||
<item param="mid" target="mid" />
|
||||
<item param="act" target="act" />
|
||||
<item param="document_srl" target="document_srl" />
|
||||
<item param="comment_srl" target="comment_srl" />
|
||||
<item param="password" target="password" />
|
||||
</parameter>
|
||||
<response>
|
||||
<item name="error" />
|
||||
<item name="message" />
|
||||
</response>
|
||||
</filter>
|
||||
18
modules/board/skins/default/filter/filter.insert.xml
Normal file
18
modules/board/skins/default/filter/filter.insert.xml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<filter id="insert" confirm_msg_code="confirm_submit">
|
||||
<field>
|
||||
<item target="document_srl" required="true" />
|
||||
<item target="user_name" required="true" />
|
||||
<item target="password" required="true" />
|
||||
<item target="email_address" maxlength="250" />
|
||||
<item target="homepage" maxlength="250"/>
|
||||
<item target="title" required="true" minlength="1" maxlength="250" />
|
||||
<item target="content" required="true" />
|
||||
</field>
|
||||
<response>
|
||||
<item name="error" />
|
||||
<item name="message" />
|
||||
<item name="mid" />
|
||||
<item name="document_srl" />
|
||||
<item name="category_srl" />
|
||||
</response>
|
||||
</filter>
|
||||
29
modules/board/skins/default/filter/filter.insert_comment.xml
Normal file
29
modules/board/skins/default/filter/filter.insert_comment.xml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<filter id="insert_comment" confirm_msg_code="confirm_submit">
|
||||
<field>
|
||||
<item target="document_srl" required="true" />
|
||||
<item target="user_name" required="true" />
|
||||
<item target="password" required="true" />
|
||||
<item target="email_address" maxlength="250" />
|
||||
<item target="homepage" maxlength="250"/>
|
||||
<item target="content" required="true" minlength="1" />
|
||||
</field>
|
||||
<parameter>
|
||||
<item param="mid" target="mid" />
|
||||
<item param="act" target="act" />
|
||||
<item param="document_srl" target="document_srl" />
|
||||
<item param="comment_srl" target="comment_srl" />
|
||||
<item param="parent_srl" target="parent_srl" />
|
||||
<item param="user_name" target="user_name" />
|
||||
<item param="password" target="password" />
|
||||
<item param="email_address" target="email_address" />
|
||||
<item param="homepage" target="homepage" />
|
||||
<item param="content" target="content" />
|
||||
</parameter>
|
||||
<response>
|
||||
<item name="error" />
|
||||
<item name="message" />
|
||||
<item name="mid" />
|
||||
<item name="document_srl" />
|
||||
<item name="comment_srl" />
|
||||
</response>
|
||||
</filter>
|
||||
16
modules/board/skins/default/filter/filter.login.xml
Normal file
16
modules/board/skins/default/filter/filter.login.xml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<filter id="login">
|
||||
<field>
|
||||
<item target="user_id" required="true" filter="user_id"/>
|
||||
<item target="password" required="true" />
|
||||
</field>
|
||||
<parameter>
|
||||
<item param="user_id" target="user_id" />
|
||||
<item param="password" target="password" />
|
||||
<item param="mid" target="mid" />
|
||||
<item param="act" target="act" />
|
||||
</parameter>
|
||||
<response>
|
||||
<item name="error" />
|
||||
<item name="message" />
|
||||
</response>
|
||||
</filter>
|
||||
14
modules/board/skins/default/filter/filter.logout.xml
Normal file
14
modules/board/skins/default/filter/filter.logout.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<filter id="logout">
|
||||
<field>
|
||||
<item target="mid" required="true" />
|
||||
<item target="act" required="true" />
|
||||
</field>
|
||||
<parameter>
|
||||
<item param="mid" target="mid" />
|
||||
<item param="act" target="act" />
|
||||
</parameter>
|
||||
<response>
|
||||
<item name="error" />
|
||||
<item name="message" />
|
||||
</response>
|
||||
</filter>
|
||||
15
modules/board/skins/default/filter/filter.search.xml
Normal file
15
modules/board/skins/default/filter/filter.search.xml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<filter id="search">
|
||||
<field>
|
||||
<item target="search_target" required="true" />
|
||||
<item target="keyword" minlegnth="2" maxlength="40" required="true" />
|
||||
</field>
|
||||
<parameter>
|
||||
<item param="mid" target="mid" />
|
||||
<item param="search_target" target="search_target" />
|
||||
<item param="keyword" target="keyword" />
|
||||
</parameter>
|
||||
<response>
|
||||
<item name="error" />
|
||||
<item name="message" />
|
||||
</response>
|
||||
</filter>
|
||||
14
modules/board/skins/default/filter/filter.vote.xml
Normal file
14
modules/board/skins/default/filter/filter.vote.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<filter id="vote" confirm_msg_code="confirm_vote">
|
||||
<field>
|
||||
<item target="document_srl" required="true" />
|
||||
</field>
|
||||
<parameter>
|
||||
<item param="mid" target="mid" />
|
||||
<item param="act" target="act" />
|
||||
<item param="document_srl" target="document_srl" />
|
||||
</parameter>
|
||||
<response>
|
||||
<item name="error" />
|
||||
<item name="message" />
|
||||
</response>
|
||||
</filter>
|
||||
1
modules/board/skins/default/header.html
Normal file
1
modules/board/skins/default/header.html
Normal file
|
|
@ -0,0 +1 @@
|
|||
<!--%import("js/board.js")-->
|
||||
26
modules/board/skins/default/input_password_form.html
Normal file
26
modules/board/skins/default/input_password_form.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!--%import("filter/filter.input_password.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<form action="./" method="get" onsubmit="return procFormFilter(this, input_password, procReload)">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="act" value="procVerificationPassword" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="document_srl" value="{$document_srl}" />
|
||||
<input type="hidden" name="comment_srl" value="{$comment_srl}" />
|
||||
<table>
|
||||
<tr>
|
||||
<th colspan="2">{$lang->msg_input_password}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->password}</th>
|
||||
<td><input type="password" name="password" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="submit" value="{$lang->cmd_input}" />
|
||||
<input type="button" value="{$lang->cmd_back}" onclick="location.href='{@getUrl('act','','document_srl','','comment_srl','')}'" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
39
modules/board/skins/default/js/admin.js
Normal file
39
modules/board/skins/default/js/admin.js
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
/**
|
||||
* @file : modules/board/js/admin.js
|
||||
* @author : zero <zero@nzeo.com>
|
||||
* @desc : board 모듈의 관리자용 javascript
|
||||
**/
|
||||
|
||||
/* 모듈 생성 후 */
|
||||
function procInsertModule(ret_obj, response_tags) {
|
||||
var error = ret_obj['error'];
|
||||
var message = ret_obj['message'];
|
||||
var sid = ret_obj['sid'];
|
||||
var act = ret_obj['act'];
|
||||
var page = ret_obj['page'];
|
||||
var module_srl = ret_obj['module_srl'];
|
||||
alert(message);
|
||||
|
||||
url = "./admin.php?sid="+sid+"&module_srl="+module_srl+"&page="+page+"&act="+act;
|
||||
location.href = url;
|
||||
}
|
||||
|
||||
/* 카테고리 관련 작업들 */
|
||||
function doUpdateCategory(category_srl, mode, message) {
|
||||
if(typeof(message)!='undefined'&&!confirm(message)) return;
|
||||
|
||||
var fo_obj = xGetElementById('fo_module_category_info');
|
||||
fo_obj.category_srl.value = category_srl;
|
||||
fo_obj.mode.value = mode;
|
||||
|
||||
procFormFilter(fo_obj, update_category_info, procReload);
|
||||
}
|
||||
|
||||
/* 메세지 출력후 현페이지 리로드 */
|
||||
function procReload(ret_obj, response_tags) {
|
||||
var error = ret_obj['error'];
|
||||
var message = ret_obj['message'];
|
||||
if(message) alert(message);
|
||||
|
||||
location.href = location.href;
|
||||
}
|
||||
107
modules/board/skins/default/js/board.js
Normal file
107
modules/board/skins/default/js/board.js
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
/**
|
||||
* @file : modules/board/js/board.js
|
||||
* @author : zero <zero@nzeo.com>
|
||||
* @desc : board 모듈의 javascript
|
||||
**/
|
||||
|
||||
/* 글쓰기 작성후 */
|
||||
function procInsert(ret_obj, response_tags) {
|
||||
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);
|
||||
url = "./?mid="+mid+"&document_srl="+document_srl;
|
||||
if(category_srl) url += '&category='+category_srl;
|
||||
location.href = url;
|
||||
}
|
||||
|
||||
/* 글 삭제 */
|
||||
function procDeleteDocument(ret_obj, response_tags) {
|
||||
var error = ret_obj['error'];
|
||||
var message = ret_obj['message'];
|
||||
var mid = ret_obj['mid'];
|
||||
var page = ret_obj['page'];
|
||||
var url = "./?mid="+mid;
|
||||
if(page) url += "&page="+page;
|
||||
alert(message);
|
||||
location.href = url;
|
||||
}
|
||||
|
||||
/* 검색 실행 */
|
||||
function procSearch(fo_obj, args) {
|
||||
fo_obj.submit();
|
||||
}
|
||||
|
||||
/* 추천, 추천은 별도의 폼입력이 필요 없어 직접 필터 사용 */
|
||||
function doVote() {
|
||||
var fo_obj = document.getElementById('fo_document_info');
|
||||
procFormFilter(fo_obj, vote, procVote)
|
||||
}
|
||||
|
||||
function procVote(ret_obj, response_tags) {
|
||||
var error = ret_obj['error'];
|
||||
var message = ret_obj['message'];
|
||||
alert(message);
|
||||
|
||||
location.href = location.href;
|
||||
}
|
||||
|
||||
// 현재 페이지 reload
|
||||
function procReload(ret_obj, response_tags) {
|
||||
var error = ret_obj['error'];
|
||||
var message = ret_obj['message'];
|
||||
|
||||
location.href = location.href;
|
||||
}
|
||||
|
||||
/* 댓글 글쓰기 작성후 */
|
||||
function procInsertComment(ret_obj, response_tags) {
|
||||
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 = "./?mid="+mid+"&document_srl="+document_srl;
|
||||
if(comment_srl) url += "#comment_"+comment_srl;
|
||||
|
||||
alert(message);
|
||||
|
||||
location.href = url;
|
||||
}
|
||||
|
||||
/* 댓글 삭제 */
|
||||
function procDeleteComment(ret_obj, response_tags) {
|
||||
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 = "./?mid="+mid+'&document_srl='+document_srl;
|
||||
if(page) url += "&page="+page;
|
||||
alert(message);
|
||||
|
||||
location.href = url;
|
||||
}
|
||||
|
||||
/* 트랙백 삭제 */
|
||||
function procDeleteTrackback(ret_obj, response_tags) {
|
||||
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 = "./?mid="+mid+'&document_srl='+document_srl;
|
||||
if(page) url += "&page="+page;
|
||||
alert(message);
|
||||
|
||||
location.href = url;
|
||||
}
|
||||
|
||||
/* 카테고리 이동 */
|
||||
function procChangeCategory(sel_obj, url) {
|
||||
var category_srl = sel_obj.options[sel_obj.selectedIndex].value;
|
||||
if(!category_srl) location.href=url;
|
||||
else location.href=url+'&category='+category_srl;
|
||||
}
|
||||
136
modules/board/skins/default/list.html
Normal file
136
modules/board/skins/default/list.html
Normal file
|
|
@ -0,0 +1,136 @@
|
|||
<!--%import("filter/filter.search.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
{$module_info->header_text}
|
||||
|
||||
<!-- 게시판 제목/ 설명 -->
|
||||
<!--@if($module_info->title || $module_info->desc)-->
|
||||
<div>
|
||||
<table>
|
||||
<tr>
|
||||
<td>{$module_info->title}</td>
|
||||
</tr>
|
||||
<!--@if($module_info->desc)-->
|
||||
<tr>
|
||||
<td>{nl2br($module_info->desc)}</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
</table>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 게시판 정보 -->
|
||||
<div>
|
||||
{$lang->document_count} : {number_format($total_count)},
|
||||
{$lang->page_count} : {number_format($page)} / {number_format($total_page)}
|
||||
<!--@if($grant->view)-->
|
||||
<a href="./rss.php?mid={$mid}">rss</a>
|
||||
<!--@end-->
|
||||
<!--@if($is_logged)-->
|
||||
<a href="{getUrl('act','dispLogout')}">[{$lang->cmd_logout}]</a>
|
||||
<!--@else-->
|
||||
<a href="{getUrl('act','dispLogin')}">[{$lang->cmd_login}]</a>
|
||||
<!--@end-->
|
||||
<!--@if($logged_info->is_admin=='Y')-->
|
||||
<a href="./admin.php?sid=board&act=dispModuleInfo&module_srl={$module_srl}" target="_blank">[{$lang->cmd_management}]</a>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<!-- 게시물 내용 include -->
|
||||
<!--@if($document && $grant->view)-->
|
||||
<!--#include("./view_document.html")-->
|
||||
<!--@end-->
|
||||
|
||||
<!-- 목록 -->
|
||||
<div>
|
||||
<table>
|
||||
<tr>
|
||||
<th>{$lang->no}</th>
|
||||
<!--@if($category_list)-->
|
||||
<th>
|
||||
<form action="./" method="get">
|
||||
<select name="category" onchange="procChangeCategory(this, '{getUrl('category','')}')" >
|
||||
<option value="">{$lang->category}</option>
|
||||
<!--@foreach($category_list as $val)-->
|
||||
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl)-->selected="true"<!--@end-->>{$val->title} <!--@if($val->document_count)-->({$val->document_count})<!--@end--></option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
</form>
|
||||
</th>
|
||||
<!--@end-->
|
||||
<th>{$lang->title}</th>
|
||||
<th>{$lang->user_name}</th>
|
||||
<th>{$lang->readed_count}</th>
|
||||
<th>{$lang->voted_count}</th>
|
||||
<th>{$lang->date}</th>
|
||||
</tr>
|
||||
<!--@foreach($document_list as $no => $val)-->
|
||||
<tr>
|
||||
<td>{$no}</td>
|
||||
<!--@if($category_list)-->
|
||||
<td>{$category_list[$val->category_srl]->title}</td>
|
||||
<!--@end-->
|
||||
<td>
|
||||
<!--@if($grant->view)-->
|
||||
<a href="{getUrl('document_srl',$val->document_srl)}">{$val->title}</a>
|
||||
<!--@else-->
|
||||
{$val->title}
|
||||
<!--@end-->
|
||||
<!--@if($val->comment_count>0)-->
|
||||
[{$val->comment_count}]
|
||||
<!--@end-->
|
||||
<!--@if($val->trackback_count>0)-->
|
||||
[{$val->trackback_count}]
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td>{$val->user_name}</td>
|
||||
<td>{$val->readed_count}</td>
|
||||
<td>{$val->voted_count}</td>
|
||||
<td>{zdate($val->regdate,"Y-m-d")}</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- 버튼 -->
|
||||
<div>
|
||||
<!--@if($grant->write_document)-->
|
||||
<a href="{getUrl('act','dispWriteForm','document_srl','')}">[{$lang->cmd_write}]</a>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<!--@if($grant->view)-->
|
||||
|
||||
<!-- 검색 -->
|
||||
<div>
|
||||
<form action="./" method="get" onsubmit="return procFormFilter(this, search, procSearch)">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<select name="search_target">
|
||||
<!--@foreach($search_option as $key => $val)-->
|
||||
<option value="{$key}" <!--@if($search_target==$key)-->selected="true"<!--@end-->>{$val}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<input type="text" name="keyword" value="{htmlspecialchars($keyword)}" />
|
||||
<input type="submit" value="{$lang->cmd_search}" />
|
||||
<input type="button" value="{$lang->cmd_cancel}" onclick="location.href='{getUrl('search_target','','keyword','','page','1','document_srl','')}'"/>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!-- 페이지 네비게이션 -->
|
||||
<div>
|
||||
<a href="{getUrl('page','','document_srl','')}">[{$lang->first_page}]</a>
|
||||
|
||||
<!--@while($page_no = $page_navigation->getNextPage())-->
|
||||
<!--@if($page == $page_no)-->
|
||||
{$page_no}
|
||||
<!--@else-->
|
||||
<a href="{getUrl('page',$page_no,'document_srl','')}">[{$page_no}]</a>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
|
||||
<a href="{getUrl('page',$page_navigation->last_page,'document_srl','')}">[{$lang->last_page}]</a>
|
||||
</div>
|
||||
|
||||
<!--@end-->
|
||||
|
||||
{$module_info->footer_text}
|
||||
26
modules/board/skins/default/login_form.html
Normal file
26
modules/board/skins/default/login_form.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!--%import("filter/filter.login.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<form action="./" method="get" onsubmit="return procFormFilter(this, login, procReload)">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="act" value="procLogin" />
|
||||
<table>
|
||||
<col width="120" />
|
||||
<col width="*" />
|
||||
<tr>
|
||||
<th>{$lang->user_id}</th>
|
||||
<td><input type="text" name="user_id" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->password}</th>
|
||||
<td><input type="password" name="password" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="button" value="{$lang->cmd_cancel}" onclick="location.href='{@getUrl('act','')}'" />
|
||||
<input type="submit" value="{$lang->cmd_login}" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
22
modules/board/skins/default/logout.html
Normal file
22
modules/board/skins/default/logout.html
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<!--%import("filter/filter.logout.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<form action="./" method="get" onsubmit="return procFormFilter(this, logout, procReload)">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="act" value="procLogout" />
|
||||
<table>
|
||||
<tr>
|
||||
<th>{$lang->cmd_logout}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lang->confirm_logout}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="button" value="{$lang->cmd_cancel}" onclick="location.href='{@getUrl('act','')}'" />
|
||||
<input type="submit" value="{$lang->cmd_logout}" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
4
modules/board/skins/default/message.html
Normal file
4
modules/board/skins/default/message.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<div>{$message}</div>
|
||||
<!--@if(!$is_logged)-->
|
||||
<a href="{getUrl('act','dispLogin')}">{$lang->cmd_login}</a>
|
||||
<!--@end-->
|
||||
67
modules/board/skins/default/skin.xml
Normal file
67
modules/board/skins/default/skin.xml
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<skin>
|
||||
<title xml:lang="ko">게시판 기본 스킨</title>
|
||||
<title xml:lang="en">BBS default skin</title>
|
||||
<maker email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28">
|
||||
<name xml:lang="ko">제로</name>
|
||||
<name xml:lang="en">zero</name>
|
||||
<description xml:lang="ko">board모듈의 default스킨</description>
|
||||
<description xml:lang="en">default skin of the board module</description>
|
||||
</maker>
|
||||
<colorset>
|
||||
<color name="normal" src="screenshot/normal.gif">
|
||||
<title xml:lang="ko">기본</title>
|
||||
<title xml:lang="en">normal</title>
|
||||
</color>
|
||||
<color name="deep" src="screenshot/blue.gif">
|
||||
<title xml:lang="ko">이상한거</title>
|
||||
<title xml:lang="en">deep</title>
|
||||
</color>
|
||||
</colorset>
|
||||
<extra_vars>
|
||||
<var name="title" type="text">
|
||||
<title xml:lang="ko">제목</title>
|
||||
<title xml:lang="en">title</title>
|
||||
<description xml:lang="ko">그냥 테스트용입니다</description>
|
||||
<description xml:lang="en">just for test..</description>
|
||||
</var>
|
||||
<var name="title2" type="text">
|
||||
<title xml:lang="ko">제목 2</title>
|
||||
<title xml:lang="en">title 2</title>
|
||||
<default>haha</default>
|
||||
</var>
|
||||
<var name="memo" type="textarea">
|
||||
<title xml:lang="ko">내용</title>
|
||||
<title xml:lang="en">memo</title>
|
||||
<default lang="ko">내용의 기본값</default>
|
||||
<default lang="en">default value of memo</default>
|
||||
</var>
|
||||
<var name="select" type="select">
|
||||
<title xml:lang="ko">선택1</title>
|
||||
<title xml:lang="en">select 1</title>
|
||||
<default>1</default>
|
||||
<default>2</default>
|
||||
<default>3</default>
|
||||
<default>4</default>
|
||||
<default>5</default>
|
||||
</var>
|
||||
<var name="checkbox" type="checkbox">
|
||||
<title xml:lang="ko">다중선택</title>
|
||||
<title xml:lang="en">multi select</title>
|
||||
<default>a</default>
|
||||
<default>b</default>
|
||||
<default>c</default>
|
||||
</var>
|
||||
<var name="radio" type="radio">
|
||||
<title xml:lang="ko">하나선택</title>
|
||||
<title xml:lang="en">one select</title>
|
||||
<default>A</default>
|
||||
<default>B</default>
|
||||
<default>C</default>
|
||||
</var>
|
||||
<var name="logo_image" type="image" width="60" height="60">
|
||||
<title xml:lang="ko">로고이미지</title>
|
||||
<title xml:lang="en">logo image</title>
|
||||
</var>
|
||||
</extra_vars>
|
||||
<skin>
|
||||
50
modules/board/skins/default/trackback.html
Normal file
50
modules/board/skins/default/trackback.html
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
<!--#include("header.html")-->
|
||||
|
||||
<!-- 엮인글 정보 출력 -->
|
||||
<div>
|
||||
{$lang->trackback} : {count($trackback_list)}
|
||||
</div>
|
||||
|
||||
<!-- 엮인글 출력 -->
|
||||
<div>
|
||||
<!-- 엮인글 목록 -->
|
||||
|
||||
<!--@if($trackback_list)-->
|
||||
<!--@foreach($trackback_list as $key => $val)-->
|
||||
<a name="trackback_{$key}"></a>
|
||||
<div style="margin-left:{$val->depth*15}px" >
|
||||
<table>
|
||||
<col width="120" />
|
||||
<col width="*" />
|
||||
<tr>
|
||||
<th>{$lang->title}</th>
|
||||
<td>{$val->title}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->date}</th>
|
||||
<td>{zdate($val->regdate, "Y-m-d H:i:s")}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->blog_name}</th>
|
||||
<td><a href="{$val->url}">{$val->blog_name}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->excerpt}</th>
|
||||
<td height="100" valign="top">{nl2br($val->excerpt)}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>ipaddress</th>
|
||||
<td>{$val->ipaddress}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<a href="{getUrl('act','dispTrackbackDeleteForm','trackback_srl',$val->trackback_srl)}">[{$lang->cmd_delete}]</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
|
||||
</div>
|
||||
108
modules/board/skins/default/view_document.html
Normal file
108
modules/board/skins/default/view_document.html
Normal file
|
|
@ -0,0 +1,108 @@
|
|||
<!--%import("filter/filter.vote.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<!-- 현 글의 기본 정보를 담고 있는 form. 필수 -->
|
||||
<form id="fo_document_info" action="./" method="get">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="act" value="procVoteDocument" />
|
||||
<input type="hidden" name="document_srl" value="{$document_srl}" />
|
||||
</form>
|
||||
|
||||
<!-- 글 내용 보여주기 -->
|
||||
<div>
|
||||
<table width="100%" style="table-layout:fixed">
|
||||
<col width="120" />
|
||||
<col width="*" />
|
||||
<!--@if($category_list && $document->category_srl)-->
|
||||
<tr>
|
||||
<th>{$lang->category}</th>
|
||||
<td>{$category_list[$document->category_srl]->title}</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<tr>
|
||||
<th>{$lang->title}</th>
|
||||
<td>{$document->title}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->date}</th>
|
||||
<td>{zdate($document->regdate,"Y-m-d H:i:s")}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->user_name}</th>
|
||||
<td>{$document->user_name}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->readed_count}</th>
|
||||
<td>{$document->readed_count}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->voted_count}</th>
|
||||
<td>{$document->voted_count}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->content}</th>
|
||||
<td height="100" valign="top">{Document::transContent($document->content)}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
{$lang->document_url} : {getUrl()}?document_srl={$document->document_srl}
|
||||
<!--@if($document->allow_trackback=='Y')-->
|
||||
<br />
|
||||
{$lang->trackback_url} : {getUrl()}trackback.php?document_srl={$document->document_srl}
|
||||
<!--@end-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--@if($document->tags)-->
|
||||
<tr>
|
||||
<th>{$lang->tag}</th>
|
||||
<td>{$document->tags}</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<!--@if($document->uploaded_count && $document->uploaded_list)-->
|
||||
<tr>
|
||||
<td>{$lang->uploaded_file}</td>
|
||||
<td>
|
||||
<!--@foreach($document->uploaded_list as $key => $file)-->
|
||||
<div><a href="./?mid={$mid}&act=procDownload&file_srl={$file->file_srl}&sid={$file->sid}&document_srl={$file->document_srl}">{$file->source_filename} ({FileHandler::filesize($file->file_size)})</a> ({number_format($file->download_count)})</div>
|
||||
<!--@end-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<tr>
|
||||
<th>ipaddress</th>
|
||||
<td>{$document->ipaddress}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<!--@if($document->allow_comment=='Y')-->
|
||||
{$lang->allow_comment}
|
||||
<!--@end-->
|
||||
<!--@if($document->lock_comment=='Y')-->
|
||||
{$lang->lock_comment}
|
||||
<!--@end-->
|
||||
<!--@if($document->allow_trackback=='Y')-->
|
||||
{$lang->allow_trackback}
|
||||
<!--@end-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- 관련 링크 -->
|
||||
<div>
|
||||
<a href="{getUrl('document_srl','')}">[{$lang->cmd_list}]</a>
|
||||
<a href="#" onclick="doVote();return false;">[{$lang->cmd_vote}]</a>
|
||||
<a href="{getUrl('act','dispWriteForm')}">[{$lang->cmd_modify}]</a>
|
||||
<a href="{getUrl('act','dispDeleteForm')}">[{$lang->cmd_delete}]</a>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 엮인글 파일 include -->
|
||||
<!--@if($document->allow_trackback=='Y')-->
|
||||
<!--#include("./trackback.html")-->
|
||||
<!--@end-->
|
||||
|
||||
<!-- 댓글 파일 include -->
|
||||
<!--@if($grant->write_comment&&$document->allow_comment=='Y')-->
|
||||
<!--#include("./comment.html")-->
|
||||
<!--@end-->
|
||||
102
modules/board/skins/default/write_form.html
Normal file
102
modules/board/skins/default/write_form.html
Normal file
|
|
@ -0,0 +1,102 @@
|
|||
<!--%import("filter/filter.insert.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<form action="./" method="post" onsubmit="return procFormFilter(this, insert, procInsert)" <!--@if($grant->fileupload)-->enctype="multipart/form-data"<!--@end-->>
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="act" value="procInsertDocument" />
|
||||
<input type="hidden" name="content" value="{htmlspecialchars($document->content)}" />
|
||||
<input type="hidden" name="document_srl" value="{$document_srl}" />
|
||||
<table width="100%">
|
||||
<col width="120" />
|
||||
<col width="*" />
|
||||
<!--@if($category_list)-->
|
||||
<tr>
|
||||
<th>{$lang->category}</th>
|
||||
<td>
|
||||
<select name="category_srl" >
|
||||
<option value="">{$lang->category}</option>
|
||||
<!--@foreach($category_list as $val)-->
|
||||
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl||$val->category_srl==$document->category_srl)-->selected="true"<!--@end-->>{$val->title} <!--@if($val->document_count)-->({$val->document_count})<!--@end--></option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
</td>
|
||||
<!--@end-->
|
||||
<tr>
|
||||
<th>{$lang->user_name}</th>
|
||||
<td><input type="text" name="user_name" value="{$document->user_name}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->password}</th>
|
||||
<td><input type="password" name="password" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->email_address}</th>
|
||||
<td><input type="text" name="email_address" value="{$document->email_address}"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->homepage}</th>
|
||||
<td><input type="text" name="homepage" value="{$document->homepage}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->title}</th>
|
||||
<td><input type="text" name="title" value="{$document->title}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<input type="checkbox" name="is_notice" value="Y" <!--@if($document->is_notice== "Y")-->checked="true"<!--@end--> id="is_notice" />
|
||||
<label for="is_notice">{$lang->notice}</label>
|
||||
|
||||
<input type="checkbox" name="is_secret" value="Y" <!--@if($document->is_secret== "Y")-->checked="true"<!--@end--> id="is_secret" />
|
||||
<label for="is_secret">{$lang->secret}</label>
|
||||
|
||||
<input type="checkbox" name="allow_comment" value="Y" <!--@if($document->allow_comment != "N")-->checked="true"<!--@end--> id="allow_comment" />
|
||||
<label for="allow_comment">{$lang->allow_comment}</label>
|
||||
|
||||
<input type="checkbox" name="lock_comment" value="Y" <!--@if($document->lock_comment == "Y")-->checked="true"<!--@end--> id="lock_comment" />
|
||||
<label for="lock_comment">{$lang->lock_comment}</label>
|
||||
|
||||
<input type="checkbox" name="allow_trackback" value="Y" <!--@if($document->allow_trackback != "N")-->checked="true"<!--@end--> id="allow_trackback" />
|
||||
<label for="allow_trackback">{$lang->allow_trackback}</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->content}</th>
|
||||
<td>
|
||||
<!--#include("$editor_path/editor.html")-->
|
||||
<!--@if($grant->fileupload)-->
|
||||
<!--#include("$editor_path/editor_uploader.html")-->
|
||||
<!--@end-->
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->cmd_send_trackback}</th>
|
||||
<td>
|
||||
<input type="text" name="trackback_url" />
|
||||
<select name="trackback_charset">
|
||||
<option value='UTF-8'>UTF-8</option>
|
||||
<option value='EUC-KR'>EUC-KR</option>
|
||||
<option value='EUC-JP'>EUC-JP</option>
|
||||
<option value='SHIFT_JIS'>SHIFT_JIS</option>
|
||||
<option value='EUC-CN'>EUC-CN</option>
|
||||
<option value='HZ'>HZ</option>
|
||||
<option value='BIG5'>BIG5</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->tag}</th>
|
||||
<td>
|
||||
<input type="text" name="tags" value="{htmlspecialchars($document->tags)}" /> <br />
|
||||
{$lang->about_tag}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="button" value="{$lang->cmd_cancel}" onclick="location.href='{@getUrl('act','')}'" />
|
||||
<input type="submit" value="{$lang->cmd_registration}" accesskey="s" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
Loading…
Add table
Add a link
Reference in a new issue