mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
#1376 XE EDITION 게시판 스킨 제작.
This commit is contained in:
parent
b15393129a
commit
01face323b
22 changed files with 1811 additions and 0 deletions
83
modules/board/skins/xedition/_comment.html
Normal file
83
modules/board/skins/xedition/_comment.html
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
<!-- COMMENT -->
|
||||
<div class="feedback" id="comment">
|
||||
<div class="fbHeader">
|
||||
<h2><i class="xi-comment"></i> {$lang->comment} <em>{$oDocument->getCommentcount()}</em></h2>
|
||||
</div>
|
||||
<ul cond="$oDocument->getCommentcount()" class="fbList">
|
||||
<li loop="$oDocument->getComments()=>$key,$comment" class="fbItem"|cond="!$comment->get('depth')" class="fbItem indent indent{($comment->get('depth'))}"|cond="$comment->get('depth')" id="comment_{$comment->comment_srl}">
|
||||
<div class="fbMeta">
|
||||
<img cond="$comment->getProfileImage()" src="{$comment->getProfileImage()}" alt="Profile" class="profile" />
|
||||
<span cond="!$comment->getProfileImage()" class="profile"></span>
|
||||
<h3 class="author">
|
||||
<a cond="!$comment->member_srl && $comment->homepage" href="{$comment->getHomepageUrl()}">{$comment->getNickName()}</a>
|
||||
<strong cond="!$comment->member_srl && !$comment->homepage">{$comment->getNickName()}</strong>
|
||||
<a cond="$comment->member_srl" href="#popup_menu_area" class="member_{$comment->member_srl}" onclick="return false">{$comment->getNickName()}</a>
|
||||
</h3>
|
||||
<p class="time">{$comment->getRegdate('Y.m.d H:i')}</p>
|
||||
</div>
|
||||
<!--@if(!$comment->isAccessible())-->
|
||||
<form action="./" method="get" class="xe_content secretForm" onsubmit="return procFilter(this, input_password)">
|
||||
<p><label for="cpw_{$comment->comment_srl}">{$lang->msg_is_secret} {$lang->msg_input_password}</label></p>
|
||||
<p><input type="password" name="password" id="cpw_{$comment->comment_srl}" class="iText" /><input type="submit" class="btn" value="{$lang->cmd_input}" /></p>
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="document_srl" value="{$comment->get('document_srl')}" />
|
||||
<input type="hidden" name="comment_srl" value="{$comment->get('comment_srl')}" />
|
||||
</form>
|
||||
<!--@else-->
|
||||
{$comment->getContent(false)}
|
||||
<!--@end-->
|
||||
<div cond="$comment->hasUploadedFiles()" class="fileList">
|
||||
<button type="button" class="toggleFile" onclick="jQuery(this).next('ul.files').toggle();"><i class="xi-diskette"></i> {$lang->uploaded_file} [<strong>{$comment->get('uploaded_count')}</strong>]</button>
|
||||
<ul class="files">
|
||||
<li loop="$comment->getUploadedFiles()=>$key,$file"><a href="{getUrl('')}{$file->download_url}">{$file->source_filename} <span class="fileSize">[File Size:{FileHandler::filesize($file->file_size)}/Download:{number_format($file->download_count)}]</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<p class="action">
|
||||
<span class="vote" cond="$comment->get('voted_count')!=0">{$lang->cmd_vote}:{$comment->get('voted_count')?$comment->get('voted_count'):0}</span>
|
||||
<a cond="$oDocument->allowComment()" href="{getUrl('act','dispBoardReplyComment','comment_srl',$comment->comment_srl)}" class="reply"><i class="xi-reply"></i> {$lang->cmd_reply}</a>
|
||||
<a cond="$comment->isGranted()||!$comment->get('member_srl')" href="{getUrl('act','dispBoardModifyComment','comment_srl',$comment->comment_srl)}" class="modify"><i class="xi-eraser"></i> {$lang->cmd_modify}</a>
|
||||
<a cond="$comment->isGranted()||!$comment->get('member_srl')" href="{getUrl('act','dispBoardDeleteComment','comment_srl',$comment->comment_srl)}" class="delete"><i class="xi-trash"></i> {$lang->cmd_delete}</a>
|
||||
<a cond="$is_logged" class="comment_{$comment->comment_srl} this" href="#popup_menu_area" onclick="return false">{$lang->cmd_comment_do}</a>
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
<div cond="$oDocument->comment_page_navigation" class="pagination">
|
||||
<a href="{getUrl('cpage',1)}#comment" class="direction prev"><span></span><span></span> {$lang->first_page}</a>
|
||||
<block loop="$page_no=$oDocument->comment_page_navigation->getNextPage()">
|
||||
<strong cond="$cpage==$page_no">{$page_no}</strong>
|
||||
<a cond="$cpage!=$page_no" href="{getUrl('cpage',$page_no)}#comment">{$page_no}</a>
|
||||
</block>
|
||||
<a href="{getUrl('cpage',$oDocument->comment_page_navigation->last_page)}#comment" class="direction next">{$lang->last_page} <span></span><span></span></a>
|
||||
</div>
|
||||
<form cond="$grant->write_comment && $oDocument->isEnableComment()" action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="write_comment" id="write_comment">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="document_srl" value="{$oDocument->document_srl}" />
|
||||
<input type="hidden" name="comment_srl" value="" />
|
||||
<input type="hidden" name="content" value="" />
|
||||
{$oDocument->getCommentEditor()}
|
||||
|
||||
<div class="write_author">
|
||||
<span class="item" cond="!$is_logged">
|
||||
<label for="userName" class="iLabel">{$lang->writer}</label>
|
||||
<input type="text" name="nick_name" id="userName" class="iText userName" />
|
||||
</span>
|
||||
<span class="item" cond="!$is_logged">
|
||||
<label for="userPw" class="iLabel">{$lang->password}</label>
|
||||
<input type="password" name="password" id="userPw" class="iText userPw" />
|
||||
</span>
|
||||
<span class="item" cond="!$is_logged">
|
||||
<label for="homePage" class="iLabel">{$lang->homepage}</label>
|
||||
<input type="text" name="homepage" id="homePage" class="iText homePage" />
|
||||
</span>
|
||||
<input cond="$is_logged" type="checkbox" name="notify_message" value="Y" id="notify_message" class="iCheck" />
|
||||
<label cond="$is_logged" for="notify_message">{$lang->notify}</label>
|
||||
<input cond="$module_info->secret=='Y'" type="checkbox" name="is_secret" value="Y" id="is_secret" class="iCheck" />
|
||||
<label cond="$module_info->secret=='Y'" for="is_secret">{$lang->secret}</label>
|
||||
</div>
|
||||
<div style="float:right">
|
||||
<button type="submit" class="btn_insert"><i class="xi-message"></i> {$lang->cmd_comment_registration}</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<!-- /COMMENT -->
|
||||
2
modules/board/skins/xedition/_footer.html
Normal file
2
modules/board/skins/xedition/_footer.html
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
{$module_info->footer_text}
|
||||
</div>
|
||||
25
modules/board/skins/xedition/_header.html
Normal file
25
modules/board/skins/xedition/_header.html
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<load target="board.default.css" />
|
||||
<load target="board.default.js" type="body" />
|
||||
<load target="//cdn.jsdelivr.net/xeicon/1.0.4/xeicon.min.css" type="body" />
|
||||
|
||||
<!--@if($order_type == "desc")-->
|
||||
{@ $order_type = "asc"; }
|
||||
<!--@else-->
|
||||
{@ $order_type = "desc"; }
|
||||
<!--@end-->
|
||||
<block cond="!$module_info->duration_new = (int)$module_info->duration_new">{@ $module_info->duration_new = 12 }</block>
|
||||
{@ $cate_list = array(); $current_key = null; }
|
||||
<!--@foreach($category_list as $key=>$val)-->
|
||||
<!--@if(!$val->depth)-->
|
||||
{@
|
||||
$cate_list[$key] = $val;
|
||||
$cate_list[$key]->children = array();
|
||||
$current_key = $key;
|
||||
}
|
||||
<!--@elseif($current_key)-->
|
||||
{@ $cate_list[$current_key]->children[] = $val }
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
<div class="board">
|
||||
{$module_info->header_text}
|
||||
|
||||
110
modules/board/skins/xedition/_read.html
Normal file
110
modules/board/skins/xedition/_read.html
Normal file
|
|
@ -0,0 +1,110 @@
|
|||
<div class="board_read">
|
||||
<!-- READ HEADER -->
|
||||
<div class="read_header">
|
||||
<h1>
|
||||
<a href="{getUrl('category',$oDocument->get('category_srl'), 'document_srl', '')}" class="category" cond="$module_info->use_category=='Y' && $oDocument->get('category_srl')">{$category_list[$oDocument->get('category_srl')]->title}</a>
|
||||
<a href="{$oDocument->getPermanentUrl()}">{$oDocument->getTitle()}</a>
|
||||
</h1>
|
||||
<p class="meta">
|
||||
<span class="author">
|
||||
<i class="xi-user"></i><a cond="$module_info->display_author!='N' && !$oDocument->getMemberSrl() && $oDocument->isExistsHomepage()" href="{$oDocument->getHomepageUrl()}" onclick="window.open(this.href);return false;" class="author">{$oDocument->getNickName()}</a>
|
||||
<block cond="$module_info->display_author!='N' && !$oDocument->getMemberSrl() && !$oDocument->isExistsHomepage()">{$oDocument->getNickName()}</block>
|
||||
<a cond="$module_info->display_author!='N' && $oDocument->getMemberSrl()" href="#popup_menu_area" class="member_{$oDocument->get('member_srl')} author" onclick="return false">{$oDocument->getNickName()}</a>
|
||||
</span>
|
||||
<span class="time">
|
||||
<i class="xi-time"></i> {$oDocument->getRegdate('Y.m.d H:i')}
|
||||
</span>
|
||||
<span class="read_count">
|
||||
<i class="xi-eye"></i> {$lang->readed_count} : {$oDocument->get('readed_count')}
|
||||
</span>
|
||||
<span class="vote_count" cond="$oDocument->get('voted_count')!=0">
|
||||
{$lang->cmd_vote}:{$oDocument->get('voted_count')}
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
<!-- /READ HEADER -->
|
||||
<!-- Extra Output -->
|
||||
<div class="exOut" cond="$oDocument->isExtraVarsExists() && (!$oDocument->isSecret() || $oDocument->isGranted())">
|
||||
<table border="1" cellspacing="0" summary="Extra Form Output">
|
||||
<tr loop="$oDocument->getExtraVars() => $key,$val">
|
||||
<th scope="row">{$val->name}</th>
|
||||
<td>{$val->getValueHTML()} </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- /Extra Output -->
|
||||
<!-- READ BODY -->
|
||||
<div class="read_body">
|
||||
<!--@if($oDocument->isSecret() && !$oDocument->isGranted())-->
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, input_password)" class="secretForm">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="document_srl" value="{$oDocument->document_srl}" />
|
||||
<p><label for="cpw">{$lang->msg_is_secret} {$lang->msg_input_password}</label></p>
|
||||
<p><input type="password" name="password" id="cpw" class="iText" /><input type="submit" value="{$lang->cmd_input}" class="btn" />
|
||||
</p>
|
||||
</form>
|
||||
<!--@else-->
|
||||
{$oDocument->getContent(false)}
|
||||
<!--@end-->
|
||||
</div>
|
||||
<!-- /READ BODY -->
|
||||
<!-- READ FOOTER -->
|
||||
<div class="read_footer">
|
||||
<div cond="$oDocument->hasUploadedFiles()" class="fileList">
|
||||
<button type="button" class="toggleFile" onclick="jQuery(this).next('ul.files').toggle();"><i class="xi-diskette"></i> {$lang->uploaded_file} [<strong>{$oDocument->get('uploaded_count')}</strong>]</button>
|
||||
<ul class="files">
|
||||
<li loop="$oDocument->getUploadedFiles()=>$key,$file"><a href="{getUrl('')}{$file->download_url}">{$file->source_filename} <span class="fileSize">[File Size:{FileHandler::filesize($file->file_size)}/Download:{number_format($file->download_count)}]</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tns">
|
||||
{@ $tag_list = $oDocument->get('tag_list') }
|
||||
<span class="tags" cond="count($tag_list)">
|
||||
<i class="xi-tags"></i>
|
||||
<!--@for($i=0;$i<count($tag_list);$i++)-->
|
||||
{@ $tag = $tag_list[$i]; }
|
||||
<a href="{getUrl('search_target','tag','search_keyword',$tag,'document_srl','')}" class="tag" rel="tag">{htmlspecialchars($tag)}</a><span>,</span>
|
||||
<!--@end-->
|
||||
</span>
|
||||
<a class="document_{$oDocument->document_srl} action" href="#popup_menu_area" onclick="return false">{$lang->cmd_document_do}</a>
|
||||
<ul class="sns">
|
||||
<li class="twitter link"><a href="http://twitter.com/">Twitter</a></li>
|
||||
<li class="facebook link"><a href="http://facebook.com/">Facebook</a></li>
|
||||
<li class="delicious link"><a href="http://delicious.com/">Delicious</a></li>
|
||||
</ul>
|
||||
<script>
|
||||
var sTitle = '{str_ireplace(array('<script', '</script'), array("<scr'+'ipt", "</scr'+'ipt"), addslashes($oDocument->getTitleText()))}';
|
||||
jQuery(function($){
|
||||
$('.twitter>a').snspost({
|
||||
type : 'twitter',
|
||||
content : sTitle + ' {$oDocument->getPermanentUrl()}'
|
||||
});
|
||||
$('.facebook>a').snspost({
|
||||
type : 'facebook',
|
||||
content : sTitle
|
||||
});
|
||||
$('.delicious>a').snspost({
|
||||
type : 'delicious',
|
||||
content : sTitle
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<div class="sign" cond="$module_info->display_sign!='N'&&($oDocument->getProfileImage()||$oDocument->getSignature())">
|
||||
<img cond="$oDocument->getProfileImage()" src="{$oDocument->getProfileImage()}" alt="Profile" class="pf" />
|
||||
<div cond="$oDocument->getSignature()" class="tx">{$oDocument->getSignature()}</div>
|
||||
</div>
|
||||
<div class="btnArea">
|
||||
<a cond="$oDocument->isEditable()" class="btn" href="{getUrl('act','dispBoardWrite','document_srl',$oDocument->document_srl,'comment_srl','')}"><i class="xi-eraser"></i>{$lang->cmd_modify}</a>
|
||||
<a cond="$oDocument->isEditable()" class="btn" href="{getUrl('act','dispBoardDelete','document_srl',$oDocument->document_srl,'comment_srl','')}">{$lang->cmd_delete}</a>
|
||||
<span class="etc">
|
||||
<a href="{getUrl('document_srl','')}" class="btn">{$lang->cmd_list}</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /READ FOOTER -->
|
||||
</div>
|
||||
<block cond="$oDocument->allowTrackback()">
|
||||
<include target="_trackback.html" />
|
||||
</block>
|
||||
<include target="_comment.html" />
|
||||
18
modules/board/skins/xedition/_trackback.html
Normal file
18
modules/board/skins/xedition/_trackback.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<!-- TRACKBACK -->
|
||||
<div class="feedback" id="trackback">
|
||||
<div class="fbHeader">
|
||||
<h2>{$lang->trackback} <em>{$oDocument->getTrackbackCount()}</em></h2>
|
||||
<p class="trackbackURL"><a href="{$oDocument->getTrackbackUrl()}" onclick="return false;">{$oDocument->getTrackbackUrl()}</a></p>
|
||||
</div>
|
||||
<ul cond="$oDocument->getTrackbackCount()" class="fbList">
|
||||
<li class="fbItem" loop="$oDocument->getTrackbacks()=>$key,$val" id="trackback_{$val->trackback_srl}">
|
||||
<div class="fbMeta">
|
||||
<h3 class="author"><a href="{$val->url}" title="{htmlspecialchars($val->blog_name)}">{htmlspecialchars($val->blog_name)}</a></h3>
|
||||
<p class="time">{zdate($val->regdate, "Y.m.d H:i")}</p>
|
||||
</div>
|
||||
<p class="xe_content"><strong>{htmlspecialchars($val->title)}</strong> {$val->excerpt}</p>
|
||||
<p class="action" cond="$grant->manager"><a href="{getUrl('act','dispBoardDeleteTrackback','trackback_srl',$val->trackback_srl)}" class="delete">{$lang->cmd_delete}</a></p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- /TRACKBACK -->
|
||||
1120
modules/board/skins/xedition/board.default.css
Normal file
1120
modules/board/skins/xedition/board.default.css
Normal file
File diff suppressed because it is too large
Load diff
59
modules/board/skins/xedition/board.default.js
Normal file
59
modules/board/skins/xedition/board.default.js
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
jQuery(function($) {
|
||||
// hide last tag
|
||||
$('.read_footer .tags span:last-child').hide();
|
||||
// user input text blur/focus/change
|
||||
var iText = $('.item .iLabel').next('.iText');
|
||||
$('.item .iLabel').css('position','absolute');
|
||||
iText
|
||||
.focus(function() {
|
||||
$(this).prev('.iLabel').css('visibility','hidden');
|
||||
})
|
||||
.blur(function() {
|
||||
if(!$(this).val()) {
|
||||
$(this).prev('.iLabel').css('visibility','visible');
|
||||
} else {
|
||||
$(this).prev('.iLabel').css('visibility','hidden');
|
||||
}
|
||||
})
|
||||
.change(function() {
|
||||
if(!$(this).val()) {
|
||||
$(this).prev('.iLabel').css('visibility','visible');
|
||||
} else {
|
||||
$(this).prev('.iLabel').css('visibility','hidden');
|
||||
}
|
||||
})
|
||||
.blur();
|
||||
// add class to the parent category
|
||||
$('.cTab>li>ul>li.on_').parents('li:first').addClass('on');
|
||||
// delete the margin-top for the first child of the ccomments
|
||||
$('.feedback .xe_content>*:first-child').css('margin-top','0');
|
||||
});
|
||||
|
||||
// SNS post
|
||||
(function($) {
|
||||
$.fn.snspost = function(opts) {
|
||||
var loc = '';
|
||||
opts = $.extend({}, {type:'twitter', event:'click', content:''}, opts);
|
||||
opts.content = encodeURIComponent(opts.content);
|
||||
switch(opts.type) {
|
||||
case 'facebook':
|
||||
loc = 'http://www.facebook.com/share.php?t='+opts.content+'&u='+encodeURIComponent(opts.url||location.href);
|
||||
break;
|
||||
case 'delicious':
|
||||
loc = 'http://www.delicious.com/save?v=5&noui&jump=close&url='+encodeURIComponent(opts.url||location.href)+'&title='+opts.content;
|
||||
break;
|
||||
case 'twitter':
|
||||
loc = 'http://twitter.com/home?status='+opts.content;
|
||||
break;
|
||||
}
|
||||
this.bind(opts.event, function() {
|
||||
window.open(loc);
|
||||
return false;
|
||||
});
|
||||
};
|
||||
$.snspost = function(selectors, action) {
|
||||
$.each(selectors, function(key,val) {
|
||||
$(val).snspost( $.extend({}, action, {type:key}) );
|
||||
});
|
||||
};
|
||||
})(jQuery);
|
||||
40
modules/board/skins/xedition/comment_form.html
Normal file
40
modules/board/skins/xedition/comment_form.html
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
<include target="_header.html" />
|
||||
<div cond="$oSourceComment->isExists()" class="context_data">
|
||||
<h3 class="author">
|
||||
<a cond="$oSourceComment->homepage" href="{$oSourceComment->homepage}">{$oSourceComment->getNickName()}</a>
|
||||
<strong cond="!$oSourceComment->homepage">{$oSourceComment->getNickName()}</strong>
|
||||
</h3>
|
||||
{$oSourceComment->getContent(false)}
|
||||
</div>
|
||||
<div class="feedback">
|
||||
<form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="write_comment">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="document_srl" value="{$oComment->get('document_srl')}" />
|
||||
<input type="hidden" name="comment_srl" value="{$oComment->get('comment_srl')}" />
|
||||
<input type="hidden" name="parent_srl" value="{$oComment->get('parent_srl')}" />
|
||||
<input type="hidden" name="content" value="{htmlspecialchars($oComment->get('content'))}" />
|
||||
{$oComment->getEditor()}
|
||||
<div class="write_author">
|
||||
<span class="item" cond="!$is_logged">
|
||||
<label for="userName" class="iLabel">{$lang->writer}</label>
|
||||
<input type="text" name="nick_name" id="userName" class="iText userName" value="{$oComment->getNickName()}" />
|
||||
</span>
|
||||
<span class="item" cond="!$is_logged">
|
||||
<label for="userPw" class="iLabel">{$lang->password}</label>
|
||||
<input type="password" name="password" id="userPw" class="iText userPw" />
|
||||
</span>
|
||||
<span class="item" cond="!$is_logged">
|
||||
<label for="homePage" class="iLabel">{$lang->homepage}</label>
|
||||
<input type="text" name="homepage" id="homePage" class="iText homePage" value="{htmlspecialchars($oComment->get('homepage'))}" />
|
||||
</span>
|
||||
<input cond="$is_logged" type="checkbox" name="notify_message" value="Y" checked="checked"|cond="$oComment->get('notify_message')=='Y'" id="notify_message" class="iCheck" />
|
||||
<label cond="$is_logged" for="notify_message">{$lang->notify}</label>
|
||||
<input cond="$module_info->secret=='Y'" type="checkbox" name="is_secret" value="Y" id="is_secret" checked="checked"|cond="$oComment->get('is_secret')=='Y'" class="iCheck" />
|
||||
<label cond="$module_info->secret=='Y'" for="is_secret">{$lang->secret}</label>
|
||||
</div>
|
||||
<div style="float:right">
|
||||
<button type="submit" class="btn_insert"><i class="xi-message"></i> {$lang->cmd_comment_registration}</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<include target="_footer.html" />
|
||||
20
modules/board/skins/xedition/delete_comment_form.html
Normal file
20
modules/board/skins/xedition/delete_comment_form.html
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<include target="_header.html" />
|
||||
<div cond="$oComment->isExists()" class="context_data">
|
||||
<h3 class="author">
|
||||
<a cond="$oComment->homepage" href="{$oComment->homepage}">{$oComment->getNickName()}</a>
|
||||
<strong cond="!$oComment->homepage">{$oComment->getNickName()}</strong>
|
||||
</h3>
|
||||
{$oComment->getContent(false)}
|
||||
</div>
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, delete_comment)" class="context_message">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="document_srl" value="{$oComment->get('document_srl')}" />
|
||||
<input type="hidden" name="comment_srl" value="{$oComment->get('comment_srl')}" />
|
||||
<h1>{$lang->cmd_comment_do} {$lang->confirm_delete}</h1>
|
||||
<div class="btnArea">
|
||||
<input type="submit" class="btn" value="{$lang->cmd_delete}" />
|
||||
<button type="button" class="btn" onclick="history.back()">{$lang->cmd_cancel}</button>
|
||||
</div>
|
||||
</form>
|
||||
<include target="_footer.html" />
|
||||
18
modules/board/skins/xedition/delete_form.html
Normal file
18
modules/board/skins/xedition/delete_form.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<include target="_header.html" />
|
||||
<div cond="$oDocument->isExists()" class="context_data">
|
||||
<h3 class="title">{$oDocument->getTitle()}</h3>
|
||||
<p class="author">
|
||||
<strong>{$oDocument->getNickName()}</strong>
|
||||
</p>
|
||||
</div>
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, delete_document)" class="context_message">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="document_srl" value="{$document_srl}" />
|
||||
<h1>{$lang->cmd_document_do} {$lang->confirm_delete}</h1>
|
||||
<div class="btnArea">
|
||||
<input type="submit" class="btn" value="{$lang->cmd_delete}" />
|
||||
<button type="button" class="btn" onclick="history.back()">{$lang->cmd_cancel}</button>
|
||||
</div>
|
||||
</form>
|
||||
<include target="_footer.html" />
|
||||
13
modules/board/skins/xedition/delete_trackback_form.html
Normal file
13
modules/board/skins/xedition/delete_trackback_form.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<include target="_header.html" />
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, delete_trackback)" class="context_message">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="document_srl" value="{document_srl}" />
|
||||
<input type="hidden" name="trackback_srl" value="{$trackback_srl}" />
|
||||
<h1>{$lang->confirm_delete}</h1>
|
||||
<div class="btnArea">
|
||||
<input type="submit" class="btn" value="{$lang->cmd_delete}" />
|
||||
<button type="button" class="btn" onclick="history.back()">{$lang->cmd_cancel}</button>
|
||||
</div>
|
||||
</form>
|
||||
<include target="_footer.html" />
|
||||
BIN
modules/board/skins/xedition/icoIndent.gif
Normal file
BIN
modules/board/skins/xedition/icoIndent.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 66 B |
BIN
modules/board/skins/xedition/icoSet.gif
Normal file
BIN
modules/board/skins/xedition/icoSet.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
BIN
modules/board/skins/xedition/ico_default_360.png.jpeg
Normal file
BIN
modules/board/skins/xedition/ico_default_360.png.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2 KiB |
11
modules/board/skins/xedition/input_password_form.html
Normal file
11
modules/board/skins/xedition/input_password_form.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<include target="_header.html" />
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, input_password)" class="context_message">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="document_srl" value="{$document_srl}" />
|
||||
<input type="hidden" name="comment_srl" value="{$comment_srl}" />
|
||||
<h1>{$lang->msg_input_password}</h1>
|
||||
<input type="password" name="password" title="{$lang->password}" class="iText" />
|
||||
<input type="submit" class="btn" value="{$lang->cmd_input}" />
|
||||
</form>
|
||||
<include target="_footer.html" />
|
||||
160
modules/board/skins/xedition/list.html
Normal file
160
modules/board/skins/xedition/list.html
Normal file
|
|
@ -0,0 +1,160 @@
|
|||
<include target="_header.html" />
|
||||
<include cond="$oDocument->isExists()" target="_read.html" />
|
||||
<ul class="cTab" cond="$module_info->use_category=='Y'">
|
||||
<li class="on"|cond="!$category"><a href="{getUrl('category','','page','')}">{$lang->total}</a></li>
|
||||
<li loop="$cate_list=>$key,$val" class="on"|cond="$category==$val->category_srl"><a href="{getUrl(category,$val->category_srl,'document_srl','', 'page', '')}">{$val->title}<!--<em cond="$val->document_count">[{$val->document_count}]</em>--></a>
|
||||
<ul cond="count($val->children)">
|
||||
<li loop="$val->children=>$idx,$item" class="on_"|cond="$category==$item->category_srl"><a href="{getUrl(category,$item->category_srl,'document_srl','', 'page', '')}">{$item->title}<!--<em cond="$val->document_count">[{$item->document_count}]</em>--></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="board_list" id="board_list">
|
||||
<table width="100%" border="1" cellspacing="0" summary="List of Articles">
|
||||
<thead>
|
||||
<!-- LIST HEADER -->
|
||||
<tr>
|
||||
<block loop="$list_config=>$key,$val">
|
||||
<th scope="col" cond="$val->type=='no' && $val->idx==-1"><span>{$lang->no}</span></th>
|
||||
<th scope="col" class="title" cond="$val->type=='title' && $val->idx==-1"><span>{$lang->title}</span></th>
|
||||
<th scope="col" cond="$val->type=='nick_name' && $val->idx==-1"><span>{$lang->writer}</span></th>
|
||||
<th scope="col" cond="$val->type=='user_id' && $val->idx==-1"><span>{$lang->user_id}</span></th>
|
||||
<th scope="col" cond="$val->type=='user_name' && $val->idx==-1"><span>{$lang->user_name}</span></th>
|
||||
<th scope="col" cond="$val->type=='regdate' && $val->idx==-1"><span><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}</a></span></th>
|
||||
<th scope="col" cond="$val->type=='last_update' && $val->idx==-1"><span><a href="{getUrl('sort_index','update_order','order_type',$order_type)}">{$lang->last_update}</a></span></th>
|
||||
<th scope="col" cond="$val->type=='last_post' && $val->idx==-1"><span><a href="{getUrl('sort_index','update_order','order_type',$order_type)}">{$lang->last_post}</a></span></th>
|
||||
<th scope="col" cond="$val->type=='readed_count' && $val->idx==-1"><span><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}</a></span></th>
|
||||
<th scope="col" cond="$val->type=='voted_count' && $val->idx==-1"><span><a href="{getUrl('sort_index','voted_count','order_type',$order_type)}">{$lang->voted_count}</a></span></th>
|
||||
<th scope="col" cond="$val->type=='blamed_count' && $val->idx==-1"><span><a href="{getUrl('sort_index','blamed_count','order_type',$order_type)}">{$lang->blamed_count}</a></span></th>
|
||||
<th scope="col" cond="$val->idx!=-1"><span><a href="{getUrl('sort_index', $val->eid, 'order_type', $order_type)}">{$val->name}</a></span></th>
|
||||
</block>
|
||||
<th scope="col" cond="$grant->manager" style="width:44px"><span><input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true });" class="iCheck" title="Check All" /></span></th>
|
||||
</tr>
|
||||
<!-- /LIST HEADER -->
|
||||
</thead>
|
||||
<tbody cond="!$document_list && !$notice_list">
|
||||
<tr class="no_article">
|
||||
<td colspan="{count($list_config)}"|cond="!$grant->manager" colspan="{count($list_config)+1}"|cond="$grant->manager">
|
||||
<p style="text-align:center">{$lang->no_documents}</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody cond="$document_list || $notice_list">
|
||||
<!-- NOTICE -->
|
||||
<tr class="notice" loop="$notice_list=>$no,$document">
|
||||
<block loop="$list_config=>$key,$val">
|
||||
<td class="notice" cond="$val->type=='no' && $val->idx==-1">
|
||||
<block cond="$document_srl==$document->document_srl">»</block>
|
||||
<block cond="$document_srl!=$document->document_srl">{$lang->notice}</block>
|
||||
</td>
|
||||
<td class="title" cond="$val->type=='title' && $val->idx==-1">
|
||||
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">
|
||||
{$document->getTitle()}
|
||||
</a>
|
||||
<a cond="$document->getCommentCount()" href="{getUrl('document_srl', $document->document_srl)}#comment" class="replyNum" title="Replies">
|
||||
[{$document->getCommentCount()}]
|
||||
</a>
|
||||
<a cond="$document->getTrackbackCount()" href="{getUrl('document_srl', $document->document_srl)}#trackback" class="trackbackNum" title="Trackbacks">
|
||||
[{$document->getTrackbackCount()}]
|
||||
</a>
|
||||
</td>
|
||||
<td class="author" cond="$val->type=='nick_name' && $val->idx==-1"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></td>
|
||||
<td class="author" cond="$val->type=='user_id' && $val->idx==-1">{$document->getUserID()}</td>
|
||||
<td class="author" cond="$val->type=='user_name' && $val->idx==-1">{$document->getUserName()}</td>
|
||||
<td class="time" cond="$val->type=='regdate' && $val->idx==-1">{$document->getRegdate('Y.m.d')}</td>
|
||||
<td class="time" cond="$val->type=='last_update' && $val->idx==-1">{zdate($document->get('last_update'),'Y.m.d')}</td>
|
||||
<td class="lastReply" cond="$val->type=='last_post' && $val->idx==-1">
|
||||
<block cond="(int)($document->get('comment_count'))>0">
|
||||
<a href="{$document->getPermanentUrl()}#comment" title="Last Reply">
|
||||
{zdate($document->get('last_update'),'Y.m.d')}
|
||||
</a>
|
||||
<span cond="$document->getLastUpdater()">
|
||||
<sub>by</sub>
|
||||
{$document->getLastUpdater()}
|
||||
</span>
|
||||
</block>
|
||||
<block cond="(int)($document->get('comment_count'))==0"> </block>
|
||||
</td>
|
||||
<td class="readNum" cond="$val->type=='readed_count' && $val->idx==-1">{$document->get('readed_count')>0?$document->get('readed_count'):'0'}</td>
|
||||
<td class="voteNum" cond="$val->type=='voted_count' && $val->idx==-1">{$document->get('voted_count')!=0?$document->get('voted_count'):'0'}</td>
|
||||
<td class="voteNum" cond="$val->type=='blamed_count' && $val->idx==-1">{$document->get('blamed_count')!=0?$document->get('blamed_count'):'0'}</td>
|
||||
<td cond="$val->idx!=-1">{$document->getExtraValueHTML($val->idx)} </td>
|
||||
</block>
|
||||
<td cond="$grant->manager" class="check"><input type="checkbox" name="cart" value="{$document->document_srl}" class="iCheck" title="Check This Article" onclick="doAddDocumentCart(this)" checked="checked"|cond="$document->isCarted()" /></td>
|
||||
</tr>
|
||||
<!-- /NOTICE -->
|
||||
<!-- LIST -->
|
||||
<tr loop="$document_list=>$no,$document">
|
||||
<block loop="$list_config=>$key,$val">
|
||||
<td class="no" cond="$val->type=='no' && $val->idx==-1">
|
||||
<block cond="$document_srl==$document->document_srl">»</block>
|
||||
<block cond="$document_srl!=$document->document_srl">{$no}</block>
|
||||
</td>
|
||||
<td class="title" cond="$val->type=='title' && $val->idx==-1">
|
||||
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle()}</a>
|
||||
<a cond="$document->getCommentCount()" href="{getUrl('document_srl', $document->document_srl)}#comment" class="replyNum" title="Replies">[{$document->getCommentCount()}]</a>
|
||||
<a cond="$document->getTrackbackCount()" href="{getUrl('document_srl', $document->document_srl)}#trackback" class="trackbackNum" title="Trackbacks">[{$document->getTrackbackCount()}]</a>
|
||||
{$document->printExtraImages(60*60*$module_info->duration_new)}
|
||||
</td>
|
||||
<td class="author" cond="$val->type=='nick_name' && $val->idx==-1"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></td>
|
||||
<td class="author" cond="$val->type=='user_id' && $val->idx==-1">{$document->getUserID()}</td>
|
||||
<td class="author" cond="$val->type=='user_name' && $val->idx==-1">{$document->getUserName()}</td>
|
||||
<td class="time" cond="$val->type=='regdate' && $val->idx==-1">{$document->getRegdate('Y.m.d')}</td>
|
||||
<td class="time" cond="$val->type=='last_update' && $val->idx==-1">{zdate($document->get('last_update'),'Y.m.d')}</td>
|
||||
<td class="lastReply" cond="$val->type=='last_post' && $val->idx==-1">
|
||||
<block cond="(int)($document->get('comment_count'))>0">
|
||||
<a href="{$document->getPermanentUrl()}#comment" title="Last Reply">
|
||||
{zdate($document->get('last_update'),'Y.m.d')}
|
||||
</a>
|
||||
<span cond="$document->getLastUpdater()">
|
||||
<sub>by</sub>
|
||||
{$document->getLastUpdater()}
|
||||
</span>
|
||||
</block>
|
||||
<block cond="(int)($document->get('comment_count'))==0"> </block>
|
||||
</td>
|
||||
<td class="readNum" cond="$val->type=='readed_count' && $val->idx==-1">{$document->get('readed_count')>0?$document->get('readed_count'):'0'}</td>
|
||||
<td class="voteNum" cond="$val->type=='voted_count' && $val->idx==-1">{$document->get('voted_count')!=0?$document->get('voted_count'):'0'}</td>
|
||||
<td class="voteNum" cond="$val->type=='blamed_count' && $val->idx==-1">{$document->get('blamed_count')!=0?$document->get('blamed_count'):'0'}</td>
|
||||
<td cond="$val->idx!=-1">{$document->getExtraValueHTML($val->idx)} </td>
|
||||
</block>
|
||||
<td cond="$grant->manager" class="check"><input type="checkbox" name="cart" value="{$document->document_srl}" class="iCheck" title="Check This Article" onclick="doAddDocumentCart(this)" checked="checked"|cond="$document->isCarted()" /></td>
|
||||
</tr>
|
||||
<!-- /LIST -->
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="list_footer">
|
||||
|
||||
<div class="btnArea">
|
||||
<a href="{getUrl('act','dispBoardWrite','document_srl','')}" class="btn"><i class="xi-pen"></i> {$lang->cmd_write}</a>
|
||||
<a href="{getUrl('act','dispBoardTagList')}" class="btn" title="{$lang->tag}"><i class="xi-tag"></i> {$lang->tag}</a>
|
||||
<a cond="$grant->manager" class="btn" href="{getUrl('act','dispBoardAdminBoardInfo')}" title="{$lang->cmd_setup}"><i class="xi-cog"></i> {$lang->cmd_setup}</a>
|
||||
<a cond="$grant->manager" href="{getUrl('','module','document','act','dispDocumentManageDocument')}" class="btn" onclick="popopen(this.href,'manageDocument'); return false;">{$lang->cmd_manage_document}</a>
|
||||
</div>
|
||||
|
||||
<form cond="$grant->view" action="{getUrl()}" method="get" onsubmit="return procFilter(this, search)" id="board_search" class="board_search" no-error-return-url="true">
|
||||
<input type="hidden" name="vid" value="{$vid}" />
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="category" value="{$category}" />
|
||||
<select name="search_target">
|
||||
<option loop="$search_option=>$key,$val" value="{$key}" selected="selected"|cond="$search_target==$key">{$val}</option>
|
||||
</select>
|
||||
<div class="search_input">
|
||||
<i class="xi-magnifier"></i>
|
||||
<input type="text" name="search_keyword" value="{htmlspecialchars($search_keyword)}" title="{$lang->cmd_search}" class="iText" />
|
||||
</div>
|
||||
<button type="submit" class="btn" onclick="xGetElementById('board_search').submit();return false;">{$lang->cmd_search}</button>
|
||||
<a cond="$last_division" href="{getUrl('page',1,'document_srl','','division',$last_division,'last_division','')}" class="btn">{$lang->cmd_search_next}</a>
|
||||
</form>
|
||||
|
||||
<div class="pagination" cond="$document_list || $notice_list">
|
||||
<a href="{getUrl('page','','document_srl','','division',$division,'last_division',$last_division)}" class="direction prev"><i class="xi-angle-left"></i> {$lang->first_page}</a>
|
||||
<block loop="$page_no=$page_navigation->getNextPage()">
|
||||
<strong cond="$page==$page_no">{$page_no}</strong>
|
||||
<a cond="$page!=$page_no" href="{getUrl('page',$page_no,'document_srl','','division',$division,'last_division',$last_division)}">{$page_no}</a>
|
||||
</block>
|
||||
<a href="{getUrl('page',$page_navigation->last_page,'document_srl','','division',$division,'last_division',$last_division)}" class="direction next">{$lang->last_page} <i class="xi-angle-right"></i></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<include target="_footer.html" />
|
||||
9
modules/board/skins/xedition/message.html
Normal file
9
modules/board/skins/xedition/message.html
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<include target="_header.html" />
|
||||
<div class="context_message">
|
||||
<h1>{$message}</h1>
|
||||
<div class="btnArea">
|
||||
<a cond="!$is_logged" class="btn" href="{getUrl('act','dispMemberLoginForm')}">{$lang->cmd_login}</a>
|
||||
<button type="button" class="btn" onclick="history.back()">{$lang->cmd_back}</button>
|
||||
</div>
|
||||
</div>
|
||||
<include target="_footer.html" />
|
||||
BIN
modules/board/skins/xedition/profile.gif
Normal file
BIN
modules/board/skins/xedition/profile.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
16
modules/board/skins/xedition/skin.xml
Normal file
16
modules/board/skins/xedition/skin.xml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<skin version="0.2">
|
||||
<title xml:lang="ko">XE Edition</title>
|
||||
<title xml:lang="jp">XE Edition</title>
|
||||
<description xml:lang="ko">XE 에디션 테마 게시판.</description>
|
||||
<version>1.0</version>
|
||||
<date>2015-04-07</date>
|
||||
<author email_address="developers@xpressengine.com" link="http://xpressengine.com/">
|
||||
<name xml:lang="ko">NHN</name>
|
||||
<name xml:lang="jp">NHN</name>
|
||||
</author>
|
||||
<license>LGPL v2</license>
|
||||
<extra_vars>
|
||||
</extra_vars>
|
||||
</skin>
|
||||
|
||||
27
modules/board/skins/xedition/tag_list.html
Normal file
27
modules/board/skins/xedition/tag_list.html
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<include target="_header.html" />
|
||||
<div class="tagList">
|
||||
<!--@foreach($tag_list as $val)-->
|
||||
<!--@if($val->count>5)-->
|
||||
{@ $tag_class = "rank1" }
|
||||
<!--@elseif($val->count>3)-->
|
||||
{@ $tag_class = "rank2" }
|
||||
<!--@elseif($val->count>2)-->
|
||||
{@ $tag_class = "rank3" }
|
||||
<!--@elseif($val->count>1)-->
|
||||
{@ $tag_class = "rank4" }
|
||||
<!--@else-->
|
||||
{@ $tag_class = "rank5" }
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($layout_info->mid)-->
|
||||
<a class="{$tag_class}"|cond="$tag_class" href="{getUrl('','mid',$layout_info->mid,'search_target','tag','search_keyword',$val->tag)}">{htmlspecialchars($val->tag)}</a>
|
||||
<!--@else-->
|
||||
<a class="{$tag_class}"|cond="$tag_class" href="{getUrl('','mid',$mid,'search_target','tag','search_keyword',$val->tag)}">{htmlspecialchars($val->tag)}</a>
|
||||
<!--@end-->
|
||||
|
||||
<!--@end-->
|
||||
</div>
|
||||
<div class="tagFooter">
|
||||
<a href="{getUrl('act','')}" class="btn">{$lang->cmd_back}</a>
|
||||
</div>
|
||||
<include target="_footer.html" />
|
||||
BIN
modules/board/skins/xedition/thumbnail.png
Normal file
BIN
modules/board/skins/xedition/thumbnail.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.4 KiB |
80
modules/board/skins/xedition/write_form.html
Normal file
80
modules/board/skins/xedition/write_form.html
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
<include target="_header.html" />
|
||||
<form action="./" method="post" onsubmit="return procFilter(this, window.insert)" class="board_write">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="content" value="{$oDocument->getContentText()}" />
|
||||
<input type="hidden" name="document_srl" value="{$document_srl}" />
|
||||
<div class="write_header">
|
||||
<select name="category_srl" cond="$module_info->use_category=='Y'">
|
||||
<option value="">{$lang->category}</option>
|
||||
<option loop="$category_list => $val" disabled="disabled"|cond="!$val->grant" value="{$val->category_srl}" selected="selected"|cond="$val->grant&&$val->selected||$val->category_srl==$oDocument->get('category_srl')">
|
||||
{str_repeat(" ",$val->depth)} {$val->title} ({$val->document_count})
|
||||
</option>
|
||||
</select>
|
||||
<input cond="$oDocument->getTitleText()" type="text" name="title" class="iText" title="{$lang->title}" value="{htmlspecialchars($oDocument->getTitleText())}" />
|
||||
<input cond="!$oDocument->getTitleText()" type="text" name="title" class="iText" title="{$lang->title}" />
|
||||
<input cond="$grant->manager" type="checkbox" name="is_notice" value="Y" class="iCheck" checked="checked"|cond="$oDocument->isNotice()" id="is_notice" />
|
||||
<label cond="$grant->manager" for="is_notice">{$lang->notice}</label>
|
||||
</div>
|
||||
<div class="exForm" cond="count($extra_keys)">
|
||||
<table cond="count($extra_keys)" border="1" cellspacing="0" summary="Extra Form">
|
||||
<caption><em>*</em> : {$lang->is_required}</caption>
|
||||
<tr loop="$extra_keys=>$key,$val">
|
||||
<th scope="row"><em cond="$val->is_required=='Y'">*</em> {$val->name}</th>
|
||||
<td>{$val->getFormHTML()}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="write_editor">
|
||||
{$oDocument->getEditor()}
|
||||
</div>
|
||||
<div class="write_footer">
|
||||
<div class="write_option">
|
||||
<block cond="$grant->manager">
|
||||
<input type="checkbox" name="title_bold" id="title_bold" class="iCheck" value="Y" checked="checked"|cond="$oDocument->get('title_bold')=='Y'" />
|
||||
<label for="title_bold">{$lang->title_bold}</label>
|
||||
</block>
|
||||
<input cond="$module_info->secret=='Y'" type="checkbox" name="is_secret" class="iCheck" value="Y" checked="checked"|cond="$oDocument->isSecret()" id="is_secret" />
|
||||
<label cond="$module_info->secret=='Y'" for="is_secret">{$lang->secret}</label>
|
||||
<input type="checkbox" name="comment_status" class="iCheck" value="ALLOW" checked="checked"|cond="$oDocument->allowComment()" id="comment_status" />
|
||||
<label for="comment_status">{$lang->allow_comment}</label>
|
||||
<input type="checkbox" name="allow_trackback" class="iCheck" value="Y" checked="checked"|cond="$oDocument->allowTrackback()" id="allow_trackback" />
|
||||
<label for="allow_trackback">{$lang->allow_trackback}</label>
|
||||
<block cond="$is_logged">
|
||||
<input type="checkbox" name="notify_message" class="iCheck" value="Y" checked="checked"|cond="$oDocument->useNotify()" id="notify_message" />
|
||||
<label for="notify_message">{$lang->notify}</label>
|
||||
</block>
|
||||
<!--@if(is_array($status_list))-->
|
||||
<!--@foreach($status_list AS $key=>$value)-->
|
||||
<input type="radio" name="status" value="{$key}" id="{$key}" <!--@if($oDocument->get('status') == $key || ($key == 'PUBLIC' && !$document_srl))-->checked="checked"<!--@end--> />
|
||||
<label for="{$key}">{$value}</label>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</div>
|
||||
<div class="write_author">
|
||||
<span class="item" cond="!$is_logged">
|
||||
<label for="userName" class="iLabel">{$lang->writer}</label>
|
||||
<input type="text" name="nick_name" id="userName" class="iText userName" style="width:80px" value="{htmlspecialchars($oDocument->get('nick_name'))}" />
|
||||
</span>
|
||||
<span class="item" cond="!$is_logged">
|
||||
<label for="userPw" class="iLabel">{$lang->password}</label>
|
||||
<input type="password" name="password" id="userPw" class="iText userPw" style="width:80px" />
|
||||
</span>
|
||||
<span class="item" cond="!$is_logged">
|
||||
<label for="homePage" class="iLabel">{$lang->homepage}</label>
|
||||
<input type="text" name="homepage" id="homePage" class="iText homePage" style="width:140px"value="{htmlspecialchars($oDocument->get('homepage'))}" />
|
||||
</span>
|
||||
<span class="item">
|
||||
<label for="tags" class="iLabel">{$lang->tag}: {$lang->about_tag}</label>
|
||||
<input type="text" name="tags" id="tags" value="{htmlspecialchars($oDocument->get('tags'))}" class="iText" style="width:300px" title="Tag" />
|
||||
</span>
|
||||
</div>
|
||||
<div class="btnArea">
|
||||
<block cond="!$oDocument->isExists() || $oDocument->get('status') == 'TEMP'">
|
||||
<button cond="$is_logged" class="btn" type="button" onclick="doDocumentSave(this);">{$lang->cmd_temp_save}</button>
|
||||
<button cond="$is_logged" class="btn" type="button" onclick="doDocumentLoad(this);">{$lang->cmd_load}</button>
|
||||
</block>
|
||||
<button type="submit" class="btn_insert"><i class="xi-pen"></i> {$lang->cmd_registration}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<include target="_footer.html" />
|
||||
Loading…
Add table
Add a link
Reference in a new issue