묻고답하기

Xe default 게시판 스킨을 사용하고있는데 비밀글로 설정하면 비밀글로 작성은 되지만 비밀번호를 설정할 수 없습니다.

개별글마다 비밀번호를 다르게 설정하고 비밀번호를 입력하면 게시글의 내용을 확인할 수 있도록 스킨을 수정하는 방법이 있나요?

다른 분들 문의 답변을 보면 write_form.html을 수정해야하는 것 같던데 여기서 어디를 수정해야 할까요?

 

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

<input type="submit" value="{$lang->cmd_registration}" class="btn" />

<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>

</div>

</div>

</form>

<include target="_footer.html" />

 
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
동혀니 오목 장기 모듈 있으신분?  
손주사랑 광고를 달긴 달았습니다  
별나라꿈길공동체 사이트메뉴편집이 사라졌어요.. file  
왕석현 안녕하세요. 홈페이지 로딩 속도가 극악이어서 개선하기 위해 찾아왔습니다! [2] 2021.11.16 by 비누남어
에드 홈페이즈 첫화면에 출력되는 이미지가 잘려서 나옵니다. 도움주실분 계신가요? [1] 2021.11.15 by myjin
myjin xe파일첨부가 안되요. [2] 2021.11.07 by myjin
똑디 XE 자료실은 이제 사용 불가인가요? [1] 2021.11.05 by 똑디
생컨 애드센스 하나 붙었다고 서버가 버거워하는데 원래 이렇게 영향이 큰가요? file  
에드 XE 사이트메뉴ID 변경 도움 주실분 계신가요 [2] file 2021.11.02 by 에드
에드 갑자기 관리자 로그인이 안되는데 도움주실분 계신가요 [8] 2021.10.30 by myjin
railman 댓글 작성 후 이미지에서 처럼 update가 표시됩니다. [2] file 2021.10.29 by railman
railman SEO 에 무엇을 적는지 알려주시기 바랍니다. 감사합니다. file  
하이드 닷홈  
hyosik 스팸 회원 대응  
hssc 시세표 관련 문의드립니다.  
myjin 급해요. xe가 요청을 처리할 수 없다고 나옵니다.  
myjin rhymix가 xe 후기형인가요? [1] 2021.10.19 by sejin7940
paul1216 관리자페이지에 메뉴 추가로 만드는법 [2] 2021.10.18 by paul1216
myjin zbxe 최근문서출력위젯에서 최근문서가 출력되지 않습니다. [3] file 2021.10.18 by sejin7940
깡냥 모듈 업데이트 오류 해결 방법없나요?? [1] 2021.10.18 by myjin
농부나라짱 Captcha Member 애드온 오류문의드립니다.. [1] file 2021.10.17 by myjin
주철환 JS 소스 해석부탁드려도될까요? [1] 2021.10.16 by sejin7940
cybe**** 게시판 첨부파일 다운로드가 안되면서 error가 뜹니다. 고수님들 도와 주세요. [1] 2021.10.12 by sejin7940
김선형 홈페이지 프로그램 업데이트 [1] 2021.10.12 by sejin7940
pops**** 제로보드5에러 [1] file 2021.10.12 by sejin7940
샤브 XE 개발하는것보다 구조 파악하는데 정말 어렵네요.. [2] 2021.10.12 by sejin7940
무지개뱃살 게시판에서 검색이 안됩니다. [1] 2021.10.12 by sejin7940
youeun 로그인 화면을 메인과 비슷한 모양으로 만들려고 하는데 파일을 어디에 올려서 로그인 화면을 변경해야 하는지요? [1] 2021.10.12 by sejin7940
youeun 모바일에서 로그아웃이 없어요. 로그아웃을 나오게 하고 싶습니다. [1] file 2021.10.12 by sejin7940
vassily 엑셀데이타를 게시판에 변환하여 넣는 방법 [4] 2021.10.12 by sejin7940