묻고답하기

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 남기남
rail_man 메뉴를 클릭하면 메뉴와 이미지가 흔를리는 현상  
GALee 1.11.6에 페이지수정에 웹진형태 최근문서출력 위젯이 없어요 [1] 2021.07.21 by sejin7940
kukuda**** 현재 코어1.7.2 버전을 사용중에 에러가 발생되었습니다.  
Alexander 사이트맵에서 클릭시 새창열기로 가능한가요? [2] 2021.07.28 by Alexander
여기는어디야 레이아웃 로고 등록시 업로드 실패 질문 [4] 2021.08.02 by XEANT.com
clara 홈페이지를 처음 제작해보는데 [3] file 2021.08.04 by J__
Alexander 상담 게시판... [2] 2021.08.07 by Alexander
수아양 쉬운설치 적용 안됨 문제 해결방법좀요 .....ㅠㅠ [1] 2021.08.09 by sejin7940
Alexander 제 홈페이지를 시작페이지로~~~ [1] 2021.08.11 by YJSoft
아라이 클라우드플레어 궁금증 [1] 2021.08.11 by YJSoft
농부나라짱 로딩시간 지연문제 넘기네요..  
GALee xe 1.11.6오류 [3] 2021.08.12 by myjin
Nebbiolo url을 변경하면 404 Not found 페이지가 나옵니다. [3] 2021.08.12 by myjin
moon 관리자가 사라졋는데... 되살리려면 어떻게 해야 하나요? [2] file 2021.08.12 by myjin
park 로그인이안됩니다. [1] 2021.08.12 by myjin
elfstone xe.1.4.3 설치후 메뉴편집이 생성되지 않아요. [4] file 2021.08.12 by myjin
파란하늘777 특정 회원만 글쓰기, 댓글쓰기 못하게 하는 방법 [1] 2021.08.18 by sejin7940
리츠선 동영상이 추가되지않는데... 방법, 조언부탁드립니다 [1] 2021.08.18 by sejin7940
rui 위젯 사용시 코드생성을 클릭하면... [2] 2021.08.19 by rui
myjin TeRyBoY님의 v3레이아웃 다운로드할 수 없을까요?  
류중근 특정 홈페이지 레이아웃 편집이 안 되는데 어떡할까요? [3] file 2021.08.29 by 류중근
봄비 파일 폴더 밑에 캐시 폴더 안생기게 할 수 없나요? [2] 2021.08.31 by 봄비
KHost 갑자기 로그인이 안됩니다. [1] file 2021.09.02 by sejin7940
노동시간 kakao map 마커 수정,, 제발 가르쳐주세요ㅠㅜ [1] 2021.09.02 by sejin7940
산능선 게시판EX를 일반 게시판으로 이전하는 방법 [2] 2021.09.02 by 산능선
목동동뽀로로 관리자모드에서 메뉴 순서 바꾸는 방법 [2] 2021.09.02 by 목동동뽀로로
평상심 서버 이전후 첨부 화일이 열리지 않아요  
녹색사랑 게시판 파일 다운로드가 안되고 인덱스로 돌아가는 현상 [3] 2021.09.10 by kminict
낯선 위젯 컨텐츠 생성시 빈화면 표시 해결하는 방법좀 제발 ㅠㅠ [1] file 2021.09.13 by sejin7940
on 관리자 계정 로그인 오류 [1] 2021.09.13 by sejin7940