묻고답하기

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 남기남
이선생 xe1 업데이트 안되는데 저만그래요?  
불꽃남자 외부페이지로 제작된 홈페이지 책갈피 이동 [2] 2024.01.30 by 불꽃남자
엘로니 https 후 로그인 불가 [1] file 2024.01.25 by sejin7940
이선생 라이젠 5600x이면 인텔 몇정도져  
미니사 회원확장변수 입력값 [2] file 2024.01.25 by 미니사
김민종 홈페이지 제작 견적 부탁 드립니다.  
자유니즘 질문있습니다! [1] file 2024.01.17 by sejin7940
깜꿍 제로보드4 설치 도와주세요 [1] file 2024.01.10 by sejin7940
수박나무 Cafe24로 호스팅하는 워드프레스 홈페이지 복사 후 리다이렉트 문제. [1] 2024.01.08 by sejin7940
cococci zeroboard4 아카이브는 다시 오픈해주시면 안되나요? [2] 2023.12.27 by 김준
이슬톡톡 이제 xe1은 업데이트가 없는건가요? [2] 2023.12.27 by 김준
hannamdieplz 처음 설치 시 하얀 화면만 보입니다  
t**** 관리자페이지 에러 [4] 2023.12.20 by t****
오빠가가 워드프레스에서 xe로 옮기는 방법이있나요? [2] 2023.12.19 by sejin7940
이수정 오류 문제 [1] 2023.12.10 by sejin7940
부잣집도련님 xe1은 무료로 이용할수 없나요? [1] 2023.12.10 by sejin7940
라랴랴랴3 (사이트 매일 다운) 호스팅 아이피 자체도 디도스 공격 당하나요 ?  
김민종 홈페이지 제작 의뢰 합니다.  
듀드아 링크첨부해요, 영상 스크롤 할때마다 화면 커지를 소스 아시는분 [1] 2023.11.18 by sejin7940
더따뜻하게 xe 1.8.13 사이트를 일반 구축형 웹사이트로 변경하려고 합니다. [1] 2023.11.18 by sejin7940
더따뜻하게 xe 1.8.13 사이트 메뉴 삭제한듯 합니다. 복구 방법이 있을까요? [1] 2023.11.17 by sejin7940
railman 라이믹스 버전입니다. 도메인을 어디에 연결하여야 하나요  
부잣집도련님 XE3 rss, sitemap 등록하는곳은 없나요? [1] 2023.10.20 by sejin7940
ssini 모바일 화면에 최적화된 메인페이지 설정 [2] file 2023.10.16 by ssini
hans 파일 크기 제한 설정 [4] file 2023.10.12 by Luatic™
에뜨랑제 글쓰기 창에서 폰트 크기 13포인트 지정? [1] 2023.10.12 by Luatic™
analysis 라이믹스 좋나요? [3] 2023.10.12 by Luatic™
ad1 스케치북5 게시판 스킨 모바일에서 트위터 링크 안 되는 문제 [1] 2023.10.10 by sejin7940
유니HL20 로그인 화면 [1] file 2023.10.10 by sejin7940
오빠가가 기본기를 알고싶은데 [1] 2023.10.10 by sejin7940