mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
93 lines
5.3 KiB
HTML
93 lines
5.3 KiB
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>
|
|
<!--@foreach($category_list as $val)-->
|
|
<option value="{$val->category_srl}" disabled="disabled"|cond="!$val->grant" selected="selected"|cond="$val->grant && (($val->selected && !$oDocument->get('category_srl')) || $val->category_srl == $oDocument->get('category_srl'))">
|
|
{str_repeat(' ', $val->depth)} {$val->title} ({$val->document_count})
|
|
</option>
|
|
<!--@endforeach-->
|
|
</select>
|
|
<input cond="$oDocument->getTitleText()" type="text" name="title" class="iText" title="{$lang->title}" value="{escape($oDocument->getTitleText(), false)}" />
|
|
<input cond="!$oDocument->getTitleText()" type="text" name="title" class="iText" title="{$lang->title}" />
|
|
<!--@if($grant->manager)-->
|
|
<select name="is_notice">
|
|
<option value="N" selected="selected"|cond="$oDocument->get('is_notice') === 'N'">{$lang->not_notice}</option>
|
|
<option value="Y" selected="selected"|cond="$oDocument->get('is_notice') === 'Y'">{$lang->notice}</option>
|
|
<option value="A" selected="selected"|cond="$oDocument->get('is_notice') === 'A'">{$lang->notice_all}</option>
|
|
</select>
|
|
<!--@endif-->
|
|
</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 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="{escape($oDocument->get('nick_name'), false)}" />
|
|
</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="{escape($oDocument->get('homepage'), false)}" />
|
|
</span>
|
|
<span class="item">
|
|
<label for="tags" class="iLabel">{$lang->tag}: {$lang->about_tag}</label>
|
|
<input type="text" name="tags" id="tags" value="{escape($oDocument->get('tags') ?? '', false)}" class="iText" style="width:300px" title="Tag" />
|
|
</span>
|
|
<span class="item" cond="$oDocument->get('document_srl') && isset($module_info->update_log) && $module_info->update_log == 'Y'">
|
|
<label for="reason_update" class="iLabel">{$lang->reason_update}</label>
|
|
<input type="text" name="reason_update" id="reason_update" value="" class="iText" style="width:300px" title="reason update" />
|
|
</span>
|
|
</div>
|
|
<div class="write_captcha" cond="isset($captcha) && $captcha && $captcha->isTargetAction('document')">
|
|
{$captcha}
|
|
</div>
|
|
<div style="float:right">
|
|
<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>
|
|
<button type="submit" class="btn_insert"><i class="xi-pen"></i> {$lang->cmd_registration}</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
<include target="_footer.html" />
|