rhymix/modules/board/skins/xedition/comment_form.html
2024-11-16 17:04:40 +09:00

45 lines
2.5 KiB
HTML

<include target="_header.html" />
<div cond="$oSourceComment->isExists()" class="context_data">
<h3 class="author">
<a cond="$oSourceComment->homepage" href="{$oSourceComment->homepage}">{$oSourceComment->getNickName()}</a>
<strong cond="!$oSourceComment->homepage">{$oSourceComment->getNickName()}</strong>
</h3>
{$oSourceComment->getContent(false)}
</div>
<div class="feedback">
<form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="write_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')}" />
<input type="hidden" name="content" value="{htmlspecialchars($oComment->get('content'))}" />
{$oComment->getEditor()}
<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" value="{$oComment->getNickName()}" />
</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" />
</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" value="{htmlspecialchars($oComment->get('homepage'))}" />
</span>
<input cond="$is_logged" type="checkbox" name="notify_message" value="Y" checked="checked"|cond="$oComment->get('notify_message')=='Y'" id="notify_message" class="iCheck" />
<label cond="$is_logged" for="notify_message">{$lang->notify}</label>
<!--@if(isset($module_info->secret) && $module_info->secret === 'Y')-->
<input type="checkbox" name="is_secret" value="Y" id="is_secret" checked="checked"|cond="$oComment->get('is_secret')=='Y'" class="iCheck" />
<label for="is_secret">{$lang->secret}</label>
<!--@endif-->
</div>
<div class="write_captcha" cond="isset($captcha) && $captcha && $captcha->isTargetAction('comment')">
{$captcha}
</div>
<div style="float:right">
<button type="submit" class="btn_insert"><i class="xi-message"></i> {$lang->cmd_comment_registration}</button>
</div>
</form>
</div>
<include target="_footer.html" />