
<!-- comment/commentform_advanced.thtml { -->

<script type="text/javascript">
  <!--
  // Setup editor path for FCKeditor JS Functions
  geeklogEditorBasePath = "{site_url}/fckeditor/";
  -->
</script>
<script type="text/JavaScript" src="{site_url}/javascript/submitcomment_fckeditor.js"></script>

{start_block_postacomment}
<form action="{site_url}/comment.php" method="post" onsubmit='set_postcontent();' id="commentform_advanced" class="linear">
  <fieldset>
    <legend>投稿情報</legend><!-- Geeklog Japanese -->

    <dl>
      <dt class="username">{lang_username}</dt>
      <dd class="username">{cid}
         <input type="hidden" name="sid" value="{sid}"{xhtml}>
         <input type="hidden" name="pid" value="{pid}"{xhtml}>
         <input type="hidden" name="type" value="{type}"{xhtml}>
         <input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}>
         <input type="hidden" name="uid" value="{uid}"{xhtml}>{username}
         <span{hidewhenediting}><a href="{action_url}" rel="nofollow" class="logoutorcreateaccount">{lang_logoutorcreateaccount}</a></span>
      </dd>
      <dt class="title"><label for="commentform-title">{lang_title}</label></dt>
      <dd class="title"><input type="text" size="32" value="{title}" maxlength="96" name="title" id="commentform-title" class="text"{xhtml}></dd>

      <dt><label for="comment_text">{lang_comment}</label></dt>
      <dd>
        <div id="text_editor" style="display: {show_texteditor};">
          <textarea cols="45" rows="10" name="comment" id="comment_text">{comment}</textarea>
        </div>
        <div id="html_editor" style="display: {show_htmleditor};">
          <textarea cols="45" rows="10" name="comment_html" id="comment_html">{comment}</textarea>
        </div>
      </dd>
      <dd class="description">{allowed_html}</dd>

      <dt><label for="commentform-postmode">{lang_postmode}</label></dt>
      <dd>
        <select id="sel_editmode" name="postmode" onchange="change_editmode(this);">
          {postmode_options}
        </select>
      </dd>
    </dl>

    {captcha}

    <dl class="importantstuff">
      <dt>{lang_importantstuff}</dt>
      <dd>
        <ul>
          <li>{lang_instr_line1}</li>
          <li>{lang_instr_line2}</li>
          <li>{lang_instr_line3}</li>
          <li>{lang_instr_line4}</li>
          <li>{lang_instr_line5}</li>
        </ul>
      </dd>
    </dl>

    <ul class="submit">
      <li><input type="submit" name="mode" value="{lang_preview}" class="submit"{xhtml}></li>
      <li>
        {save_option} {notification}
      </li>
    </ul>
  </fieldset>
</form>
{end_block}

<!-- } comment/commentform_advanced.thtml -->
