묻고답하기

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 남기남
hon 모바일 레이아웃 질문입니다. [2] file 2022.02.15 by Kereostass
mgn01 게시판 댓글 권한 문의 [3] file 2022.02.14 by sejin7940
MNMN 이제는 제로보드4를 설치해볼 방법이 없는건가요? zb4에서 쓰던 sql 파일 변환할 방법이.. ㅜㅜ [2] 2022.02.08 by LuisK
himan xe 게시판 버튼들을 이미지 버튼으로 변경 file  
deadsea**** (부탁드립니다)제로보드4 데이터 이전 질문드립니다ㅠㅠ [3] file 2022.02.05 by 봄비
himan 자료등록하려는데 오류가 발생하였습니다. 시스템에 오류가 있습니다. 관리자에게 문의하세요 가 뜨네요 [1] 2022.02.02 by sejin7940
인지애 제 계정 복구헤주세요.  
고흐고갱님 XE 코어를 1.5.4.3 으로 업데이트 했더니 홈페이지가 먹통이 됐네요 [1] file 2022.01.31 by himan
아주 홈페이지 이전 후 로그인 버튼과 관리자 페이지 없습니다. [1] file 2022.01.28 by XEANT.com
himan board dx 1.0 가지고 계시는 분 있을까요? [1] 2022.01.28 by XEANT.com
리버즈 게시판EX (bodex) 어디서 다운로드할수 있나요. [4] 2022.01.27 by himan
고흐고갱님 도메인 변경 후 첨부파일 안뜸 문제 [1] 2022.01.24 by sejin7940
himan board dx http 500문제 [1] 2022.01.24 by sejin7940
myjin 이 사이트는 첨부파일 플래쉬 문제 어떻게 해결한것 같나요? [1] 2022.01.24 by sejin7940
railman 유튜브 동영상 반복적으로 재생되게하는 방법 [1] 2022.01.24 by himan
hssc 에디터 이미지 갤러리 관련 문의 [1] file 2022.01.23 by himan
황태 바로가기 [1] 2022.01.22 by myjin
선한이웃 엘카-그레이스타일 레이아웃 타이틀 바꾸기 [2] file 2022.01.08 by 선한이웃
하이드 admin 게시판관리 일부 페이지 깨짐 [4] file 2022.01.03 by 산능선
나답게 자료실 모듈 (Resources) 에서 스크린샷 업로드 안하면 Default 이미지로 업로드 되게 할 수 있을까요?? [1] 2021.12.21 by XEANT.com
나무를보자 트위터 타임라인 위젯이 동작을 하지 않습니다! [2] 2021.12.18 by 나무를보자
GALee XEDITION수정 [1] 2021.12.17 by sejin7940
미수김 XE Core 다운이 안되요? [1] 2021.12.04 by sejin7940
디자인독 갑자기 메뉴나 로그인 클릭하면 이상한 창이 뜹니다. [1] file 2021.11.24 by myjin
clara 희한한 현상입니다. 캐쉬파일 재생성 xe에서 root변경후 [3] file 2021.11.19 by myjin
춥다 xedition 배경색 변경  
싸이몬 스마트폰 로그인 문제  
스타 알림센터 Lite 질문 드립니다.  
astraea 사이트 메뉴 편집이 안됩니다 ㅠㅠ  
김권수 자동 글쓰기 문의