티스토리 뷰
<form action="./" method="post" onsubmit="jQuery(this).find('input').each(function(){if(this.title==this.value)this.value='';});return procFilter(this, window.insert)" id="fo_write" class="boardWrite">
<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="boardWriteHeader">
<!--@if($module_info->use_category=="Y")-->
<select name="category_srl" class="category">
<option value="">{$lang->category}</option>
<!--@foreach($category_list as $val)-->
<option <!--@if(!$val->grant)-->disabled="disabled"<!--@endif--> value="{$val->category_srl}" <!--@if($val->grant&&$val->selected||$val->category_srl==$oDocument->get('category_srl'))-->selected="selected"<!--@endif-->>
{str_repeat(" ",$val->depth)} {$val->title} ({$val->document_count})
</option>
<!--@endforeach-->
</select>
<!--@endif-->
<!--이동위치-->
<div class="editorOption">
<!--@if(!$is_logged)-->
<!--@if($oDocument->getTitleText())-->
<input type="text" name="title" id="postTitle" class="inputText" value="지식검색 결과제출" />
<!--@else-->
<input type="text" name="title" id="postTitle" class="inputText" value="지식검색 결과제출" title="{$lang->title2}" onfocus="if(this.value==this.title) this.value='';" />
<!--@end-->
<!--@if($is_logged)-->
<span class="button {$btn_class}"><button type="button" onclick="doDocumentLoad(this); return false;">{$lang->cmd_load}</button></span>
<!--@end-->
<input type="password" name="password" class="inputText userPw" value="{$lang->password}" title="{$lang->password}" onfocus="if(this.value==this.title)this.value='';return false;" />
<!-- 이메일 주소 입력폼 <input type="text" name="email_address" class="inputText 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="inputText 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')};" onchange="this.style.color=this.options[this.selectedIndex].style.color;">
<!--@foreach($_color as $_col)-->
>
<!--@endforeach-->
!--@if($oDocument->get('title_bold')=='Y')-->checked="checked" />
!--@if($oDocument->isNotice())-->checked="checked" id="is_notice" />
!--@if($oDocument->isLocked())-->checked="checked" id="lock_comment" />
<!--@endif-->
<!--@if($module_info->secret=="Y")-->
!--@if($oDocument->isSecret())-->checked="checked" id="is_secret" />
<!--@end-->
<!--@if($is_logged)-->
!--@if($oDocument->useNotify())-->checked="checked" id="notify_message" />
<!--@end-->
<!--@if(count($extra_keys))-->
{$val->name} <!--@if($val->is_required=='Y')-->* | >{$val->getFormHTML()} |
---|
<!--@endif-->
{$lang->about_tag}
───────────────────────────────────────
* default 제목삽입
* 용도상 불필요한 메뉴제거 (작성자, 댓글허용, 트랙백 등)
* 용도에따라 각 입력폼 위치 변경