Server

XE 스케치북 모바일 비회원 댓글쓰기에서 홈페이지 이메일 기입란 삭제하기

by Progress posted Apr 08, 2016
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

XE 스케치북 모바일 비회원 댓글쓰기에서 홈페이지 이메일 기입란 삭제하기


모바일 >>> .../modules/board/m.skins/sketchbook5


게시글 입력시 - write_form.html

댓글 입력시 - comment_form.html


안되네?


style="display:none" 구문으로 출력하지 않게함출력 않게 함.


<!--// 비로그인 입력 -->

<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" value="{$oDocument->getNickName()}" 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" style="display:none">{$lang->email_address}</label>

            <input type="text" style="display:none" name="email_address" id="email_address" value="{htmlspecialchars($oDocument->get('email_address'))}" class="itx m_h" />

</span>

<span class="itx_wrp">

<label for="homepage" style="display:none">{$lang->homepage}</label>

            <input type="text" style="display:none" name="homepage" id="homepage" value="{htmlspecialchars($oDocument->get('homepage'))}" class="itx m_h" />

</span>

</block>

</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" value="{$oComment->getNickName()}" />

</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" style="display:none">{$lang->email_address}</label>

<input type="text" style="display:none" name="email_address" id="email_address" class="itx m_h" />

</span>

<span class="itx_wrp">

<label for="homepage" style="display:none">{$lang->homepage}</label>

<input type="text" style="display:none" name="homepage" id="homepage" class="itx m_h" />

</span>

</block>

</div>

 




아래의 내용을 기입하니 없어졌다. 


아놔..


.../public_html/modules/board/m.skins/sketchbook5/_comment_write.html


<!--@if($grant->write_comment && $oDocument->isEnableComment())-->

<form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="bd_wrt cmt_wrt clear">

<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="" />

<div cond="$mi->cmt_wrt=='editor'" class="wysiwyg">{$oDocument->getCommentEditor()}</div>

<div cond="$mi->cmt_wrt=='simple'" class="simple_wrt">

<img cond="$logged_info->profile_image->src" class="profile img" src="{$logged_info->profile_image->src}" alt="profile" />

<span cond="!$logged_info->profile_image->src" class="profile img no_img">?</span>

<div class="text">

<input type="hidden" name="use_html" value="Y" />

<input type="hidden" id="htm_{$oDocument->document_srl}" value="n" />

<textarea id="editor_{$oDocument->document_srl}" cols="50" rows="4"></textarea>

</div>

<input type="submit" value="{$lang->cmd_submit}" class="bd_btn" />

</div>

<div class="edit_opt clear" style="display:none"|cond="$mi->cmt_wrt!='editor'">

<block cond="!$is_logged">

<span class="itx_wrp">

<label for="nick_name_{$oDocument->document_srl}">{$lang->writer}</label>

<input type="text" name="nick_name" id="nick_name_{$oDocument->document_srl}" class="itx n_p" />

</span>

<span class="itx_wrp">

<label for="password_{$oDocument->document_srl}">{$lang->password}</label>

<input type="password" name="password" id="password_{$oDocument->document_srl}" class="itx n_p" />

</span>

<span class="itx_wrp">

<label for="email_address_{$oDocument->document_srl}" style="display:none">{$lang->email_address}</label>

<input type="text" style="display:none" name="email_address" id="email_address_{$oDocument->document_srl}" class="itx m_h" />

</span>

<span class="itx_wrp">

<label for="homepage_{$oDocument->document_srl}" style="display:none">{$lang->homepage}</label>

<input type="text" style="display:none" name="homepage" id="homepage_{$oDocument->document_srl}" class="itx m_h" />

</span>

</block>

        <input cond="$mi->cmt_wrt=='editor'" type="submit" value="{$lang->cmd_submit}" class="bd_btn fr" />

<div class="opt_chk">

<block cond="$is_logged">

<input type="checkbox" name="notify_message" value="Y" id="notify_message_{$oDocument->document_srl}" checked="checked"|cond="@in_array('notify',$mi->wrt_opt)" />

<label for="notify_message_{$oDocument->document_srl}">{$lang->notify}</label>

</block>

<block cond="$mi->use_status!='PUBLIC'">

<input type="checkbox" name="is_secret" value="Y" id="is_secret_{$oDocument->document_srl}" checked="checked"|cond="@in_array('secret',$mi->wrt_opt)" />

<label for="is_secret_{$oDocument->document_srl}">{$lang->secret}</label>

</block>

</div>

</div>

</form>