mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
97 lines
3.8 KiB
HTML
97 lines
3.8 KiB
HTML
<load target="js/mboard.js" />
|
|
<load target="css/mboard.css" />
|
|
|
|
<div class="bd">
|
|
<!--@if(isset($module_info->mobile_header_text) && $module_info->mobile_header_text)-->
|
|
<div class="bd_header_text">{$module_info->mobile_header_text}</div>
|
|
<!--@endif-->
|
|
<div class="hx h2">
|
|
<h2><a href="{getUrl('','vid',$vid,'mid',$mid)}">{$module_info->browser_title}</a></h2>
|
|
</div>
|
|
<div class="hx h3">
|
|
<h3>{$lang->cmd_write}</h3>
|
|
</div>
|
|
<form action="./" method="post" class="ff" onsubmit="return procFilter(this, insert)">
|
|
<input type="hidden" name="mid" value="{$mid}" />
|
|
<input type="hidden" name="document_srl" value="{$document_srl}" />
|
|
<ul>
|
|
<!--@if($module_info->use_category == "Y")-->
|
|
<li>
|
|
<label for="nCategory">{$lang->category}</label>
|
|
<select name="category_srl" id="nCategory">
|
|
<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>
|
|
</li>
|
|
<!--@end-->
|
|
<li>
|
|
<label for="nTitle">{$lang->title}</label>
|
|
<input name="title" type="text" id="nTitle" />
|
|
</li>
|
|
<!--@if(count($extra_keys))-->
|
|
<!--@foreach($extra_keys as $key=> $val)-->
|
|
<li class="exvar">
|
|
<label for="ex_{$val->name}">{$val->name} <!--@if($val->is_required=="Y")-->*<!--@end--></label>
|
|
{$val->getFormHTML()}
|
|
</li>
|
|
<!--@endforeach-->
|
|
<!--@end-->
|
|
<li>
|
|
<label for="nText">{$lang->content}</label>
|
|
<input type="hidden" name="content" value="{$oDocument->getContentText()}" />
|
|
{$oDocument->getEditor()}
|
|
</li>
|
|
<!--@if(!$is_logged)-->
|
|
<li>
|
|
<label for="uName">{$lang->writer}</label>
|
|
<input name="nick_name" type="text" id="uName" />
|
|
</li>
|
|
<li>
|
|
<label for="uMail">{$lang->email_address}</label>
|
|
<input name="email_address" type="email" id="uMail" />
|
|
</li>
|
|
<li>
|
|
<label for="uPw">{$lang->password}</label>
|
|
<input name="password" type="password" id="uPw" />
|
|
</li>
|
|
<li>
|
|
<label for="uSite">{$lang->homepage}</label>
|
|
<input name="homepage" type="url" id="uSite" value="" />
|
|
</li>
|
|
<!--@endif-->
|
|
<li>
|
|
<!--@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-->
|
|
<input type="checkbox" name="comment_status" value="ALLOW" <!--@if($oDocument->allowComment())-->checked="checked"<!--@end--> id="reAllow" />
|
|
<label for="reAllow">{$lang->allow_comment}</label>
|
|
<input type="checkbox" name="allow_trackback" value="Y" <!--@if($oDocument->allowTrackback())-->checked="checked"<!--@end--> id="trAllow" />
|
|
<label for="trAllow">{$lang->allow_trackback}</label>
|
|
|
|
<!--@if(is_array($status_list))-->
|
|
<div>
|
|
{$lang->status}
|
|
<!--@foreach($status_list AS $key=>$value)-->
|
|
<input type="radio" name="status" value="{$key}" <!--@if($oDocument->get('status') == $key)-->checked<!--@end--> /> {$value}
|
|
<!--@end-->
|
|
</div>
|
|
<!--@end-->
|
|
|
|
</li>
|
|
</ul>
|
|
<div class="bna">
|
|
<button type="submit" class="bn dark">{$lang->cmd_registration}</button>
|
|
</div>
|
|
</form>
|
|
<!--@if(isset($module_info->mobile_footer_text) && $module_info->mobile_footer_text)-->
|
|
<div class="bd_footer_text">{$module_info->mobile_footer_text}</div>
|
|
<!--@endif-->
|
|
</div>
|