rhymix/modules/board/m.skins/default/comment_form.html
2014-01-15 11:26:51 +09:00

51 lines
1.9 KiB
HTML

{@ Context::addJsFile("./common/js/jquery.js", true, '', -100000) }
{@ Context::addJsFile("./common/js/js_app.js", true, '', -100000) }
{@ Context::addJsFile("./common/js/common.js", true, '', -100000) }
{@ Context::addJsFile("./common/js/xml_handler.js", true, '', -100000) }
{@ Context::addJsFile("./common/js/xml_js_filter.js", true, '', -100000) }
<!--%import("js/mboard.js")-->
<!--%import("css/mboard.css")-->
<div class="bd rd">
<div class="hx h2">
<h2><a href="{getUrl('','vid',$vid,'mid',$mid)}">{$module_info->browser_title}</a></h2>
</div>
<!--@if($oSourceComment->isExists())-->
<div class="origin">{$oSourceComment->getContent(false)}</div>
<!--@end-->
<form action="./" method="post" class="ff tgo open" onsubmit="return procFilter(this, insert_comment);">
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="document_srl" value="{$oComment->get('document_srl')}" />
<input type="hidden" name="comment_srl" value="{$oComment->get('comment_srl')}" />
<input type="hidden" name="parent_srl" value="{$oComment->get('parent_srl')}" />
<ul>
<li>
<label for="rText">{$lang->comment}</label>
<textarea name="content" rows="8" cols="42" id="rText"></textarea>
</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-->
</ul>
<div class="bna">
<input name="" type="submit" class="bn dark" value="{$lang->cmd_comment_registration}" />
</div>
</form>
</div>