묻고답하기
xe2009버전 게시판 수정방법
2014.06.17 03:25
게시판 본문에 제목 들어가는부분을
문의 <=이걸루 자동으로 고정되게 하고 싶은데요
어디를 어떻게 고쳐야 할까요?ㅠㅠ
또 제목을 고정시키면 제목을 변경 불가능 하게도 할수가 있을까요?
아시는분들 꼭좀 답변좀 주세요 ㅠㅠ
<!--@if($oDocument->getTitleText())-->
<input type="text" name="title" id="postTitle" class="iText" value="{htmlspecialchars($oDocument->getTitleText())}" />
<!--@else-->
<input type="text" name="title" id="postTitle" class="iText" value="{$lang->title}" title="{$lang->title}" onfocus="if(this.value==this.title) this.value='';" />
<!--@end-->
<!--@if($is_logged)-->
<button class="btn" type="button" onclick="doDocumentLoad(this)">{$lang->cmd_load}</button>
<!--@end-->
</div>
<!--@if(count($extra_keys))-->
<table border="1" cellspacing="0" summary="Extra Form" class="extraVarsList">
<caption><em>*</em> : {$lang->is_required}</caption>
<!--@foreach($extra_keys as $key => $val)-->
<tr>
<th scope="row">{$val->name} <!--@if($val->is_required=='Y')--><em>*</em><!--@end--></th>
<td>{$val->getFormHTML()}</td>
</tr>
<!--@endforeach-->
</table>
<!--@endif-->
<div class="editor">{$oDocument->getEditor()}</div>
<div class="tag">
<input type="text" name="tags" value="{htmlspecialchars($oDocument->get('tags'))}" class="iText" title="Tag" />
<p>{$lang->about_tag}</p>
</div>
<div class="editOption">
<!--@if(!$is_logged)-->
<input type="text" name="nick_name" class="iText userName" value="{$lang->writer}" title="{$lang->writer}" onfocus="if(this.value==this.title)this.value='';return false;" />
<input type="password" name="password" class="iText userPw" value="{$lang->password}" title="{$lang->password}" onfocus="if(this.value==this.title)this.value='';return false;" />
<input type="text" name="email_address" class="iText emailAddress" value="{$lang->email_address}" title="{$lang->email_address}" onfocus="if(this.value==this.title)this.value='';return false;" />
<input type="text" name="homepage" class="iText homePage" value="{$lang->homepage}" title="{$lang->homepage}" onfocus="if(this.value==this.title)this.value='';return false;" />
<!--@end-->
<!--@if($grant->manager)-->
{@ $_color = array('555555','222288','226622','2266EE','8866CC','88AA66','EE2222','EE6622','EEAA22','EEEE22') }
<select name="title_color" id="title_color" <!--@if($oDocument->get('title_color'))-->style="color:#{$oDocument->get('title_color')};"<!--@end--> onchange="this.style.color=this.options[this.selectedIndex].style.color;">
<option value="" style="color:#CCCCCC;">{$lang->title_color}</option>
<!--@foreach($_color as $_col)-->
<option value="{$_col}" style="color:#{$_col}" <!--@if($oDocument->get('title_color')==$_col)-->selected="selected"<!--@end-->>{$lang->title_color}</option>
<!--@endforeach-->
</select>
<input type="checkbox" name="title_bold" id="title_bold" value="Y" <!--@if($oDocument->get('title_bold')=='Y')-->checked="checked"<!--@end--> />
<label for="title_bold">{$lang->title_bold}</label>
<input type="checkbox" name="is_notice" value="Y" <!--@if($oDocument->isNotice())-->checked="checked"<!--@end--> id="is_notice" />
<label for="is_notice">{$lang->notice}</label>
<!--@endif-->
<input type="checkbox" name="comment_status" value="ALLOW" <!--@if($oDocument->allowComment())-->checked="checked"<!--@end--> id="comment_status" />
<label for="comment_status">{$lang->allow_comment}</label>
<input type="checkbox" name="allow_trackback" value="Y" <!--@if($oDocument->allowTrackback())-->checked="checked"<!--@end--> id="allow_trackback" />
<label for="allow_trackback">{$lang->allow_trackback}</label>
<!--@if($is_logged)-->
<input type="checkbox" name="notify_message" value="Y" <!--@if($oDocument->useNotify())-->checked="checked"<!--@end--> id="notify_message" />
<label for="notify_message">{$lang->notify}</label>
<!--@end-->
<!--@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 == 'SECRET' && !$document_srl))-->checked="checked"<!--@end--> />
<label for="{$key}">{$value}</label>
<!--@end-->
<!--@end-->
</div>
<div class="btnArea">
<input class="btn" type="submit" value="{$lang->cmd_registration}" />
<span class="etc">
<!--@if(!$oDocument->isExists() || $oDocument->get('status') == 'TEMP')-->
<button class="btn" type="button" onclick="doDocumentSave(this)">{$lang->cmd_temp_save}</button>
<button class="btn" type="button" onclick="doDocumentLoad(this)">{$lang->cmd_load}</button>
<!--@end-->
</span>
</div>
</form>
<!--#include("_footer.html")-->
??
나만 이해를 못한 건가??
게시물의 제목에 [문의] 라고 표현을 하고 싶은건지
게시판 제목이 문의라고 표현을 하고 싶은건지
알수가 없네요...
후자라면 관리자 모드에서 게시판 제목만 변경하면 되는 것이고...
전자라면 딴 파일을 수정해야 하죠...
지금 올리신 소스완 무관합니다.