묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
sketchbook5 / comment_form.html
비밀글 기능
2012.02.12 23:36
안녕하세요?
저는 초보자입니다.
1.5.1.7버전 업데이트했습니다.
보드스킨: hikaru, sketchbook5스킨
하지만, sketchbook5스킨에서는 '비밀글 기능' 체크박스가 없습니다.
저는 xe_official스킨 '비밀글 기능' 체크박스가 있습니다.
sketchbook5스킨 '비밀글 기능' 하고싶습니다지만 잘 모릅니다.
좀 알려주세요 ㅠㅠ.
xe_official / comment_form.html
<!--#include("_header.html")-->
<!--@if($oSourceComment->isExists())-->
<div class="feedbackList">
<div class="item itemOnly">
<div class="itemAside">
<h4 class="author"><a href="#popup_menu_area" class="member_{$oSourceComment->getMemberSrl()}" onclick="return false">{$oSourceComment->getNickName()}</a></h4>
<p class="meta">
{$oSourceComment->getRegdate("Y.m.d H:i")}
<!--@if($grant->manager)-->
<br />{$oSourceComment->get('ipaddress')}
<!--@end-->
</p>
</div>
<div class="itemContent">
{$oSourceComment->getContent(false)}
</div>
</div>
</div>
<!--@end-->
<form action="./" method="post" onsubmit="jQuery(this).find('input').each(function(){if(this.title==this.value)this.value='';});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')}" />
<input type="hidden" name="comment_srl" value="{$oComment->get('comment_srl')}" />
<input type="hidden" name="content" value="{htmlspecialchars($oComment->get('content'))}" />
<input type="hidden" name="parent_srl" value="{$oComment->get('parent_srl')}" />
<div class="boardWrite commentEditor">
<div class="editor">{$oComment->getEditor()}</div>
<div class="editOption">
<!--@if(!$is_logged)-->
<input type="text" name="nick_name" class="inputText userName" value="{htmlspecialchars($oComment->get('nick_name'))}" title="{$lang->writer}" onfocus="if(this.value==this.title)this.value='';return false;" />
<input type="password" name="password" class="inputText userPw" value="" title="{$lang->password}" onfocus="if(this.value==this.title)this.value='';return false;" />
<input type="text" name="email_address" class="inputText emailAddress" value="{htmlspecialchars($oComment->get('email_address'))}" title="{$lang->email_address}" onfocus="if(this.value==this.title)this.value='';return false;" />
<input type="text" name="homepage" class="inputText homePage" value="{htmlspecialchars($oComment->get('homepage'))}" title="{$lang->homepage}" onfocus="if(this.value==this.title)this.value='';return false;" />
<!--@end-->
<!--@if($is_logged)-->
<input type="checkbox" name="notify_message" value="Y" <!--@if($oComment->get('notify_message')=='Y')-->checked="checked"<!--@end--> id="notify_message" class="inputCheck" />
<label for="notify_message">{$lang->notify}</label>
<!--@end-->
<input type="checkbox" name="is_secret" value="Y" id="is_secret" <!--@if($oComment->get('is_secret')=='Y')-->checked="checked"<!--@end--> class="inputCheck" />
<label for="is_secret">{$lang->secret}</label>
</div>
<div class="boardNavigation">
<span class="buttonOfficial"><input type="submit" value="{$lang->cmd_comment_registration}" accesskey="s" /></span>
</div>
</div>
</form>
<!--#include("_footer.html")-->
sketchbook5 / comment_form.html
<include target="_header.html" />
<load target="js/editor.js" />
<!--@if($oSourceComment->isExists())-->
<div class="context_data">
<div class="fdb_itm" style="margin:0;padding:0;border:0">
<div class="meta">
<b>{$oSourceComment->getNickName()}</b><span class="date">{$oSourceComment->getRegdate("Y.m.d H:i")}</span>
</div>
{$oSourceComment->getContent(false)}
</div>
</div>
<div class="context_message"></div>
<div class="cmt_line">▼</div>
<!--@else-->
<div class="context_data">
<h3 class="title">"{$lang->cmd_reply} {$lang->cmd_modify}"</h3>
</div>
<div class="context_message" style="margin-bottom:40px"></div>
<!--@end-->
<!--// 댓글 수정화면 -->
<form action="./" method="post" onsubmit="jQuery(this).find('input').each(function(){if(this.title==this.value)this.value='';});return procFilter(this, insert_comment)" style="margin:0 30px" class="bd_wrt main clear">
<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="content" value="{htmlspecialchars($oComment->get('content'))}" />
<input type="hidden" name="parent_srl" value="{$oComment->get('parent_srl')}" />
<div>{$oComment->getEditor()}</div>
<div class="edit_opt">
<block cond="!$is_logged">
<span class="itx_wrp">
<label for="nick_name">{$lang->writer}</label>
<input type="text" name="nick_name" id="nick_name" class="itx n_p" />
</span>
<span class="itx_wrp">
<label for="password">{$lang->password}</label>
<input type="password" name="password" id="password" class="itx n_p" />
</span>
<span class="itx_wrp">
<label for="email_address">{$lang->email_address}</label>
<input type="text" name="email_address" id="email_address" class="itx m_h" />
</span>
<span class="itx_wrp">
<label for="homepage">{$lang->homepage}</label>
<input type="text" name="homepage" id="homepage" class="itx m_h" />
</span>
</block>
</div>
<div class="opt_chk clear">
<block cond="$is_logged">
<input type="checkbox" name="notify_message" value="Y" id="notify_message" />
<label for="notify_message">{$lang->notify}</label>
</block>
<block cond="$module_info->secret=='Y'">
<input type="checkbox" name="is_secret" value="Y" id="is_secret" />
<label for="is_secret">{$lang->secret}</label>
</block>
</div>
<div class="regist">
<button type="button" onclick="history.back()" class="btn">{$lang->cmd_back}</button>
<input type="submit" value="{$lang->cmd_registration}" class="btn blue" />
</div>
</form>
<include target="_footer.html" />