{# begin {templatelocation} #}

{noscript}
<div id="advanced_editor" style="display:none;">
  {start_block_postacomment}
  <div id="commenteditform">
    <form action="{form_url}" method="post" onsubmit='set_postcontent();' id="commentform_advanced" class="linear">
      <div class="user_basic">
        <dl>
          <dt class="username">{lang_username}</dt>
          <dd class="username">{cid}
             <input type="hidden" name="order" value="{order}"{xhtml}>
             <input type="hidden" name="format" value="{format}"{xhtml}>
             <input type="hidden" name="cpage" value="{cpage}"{xhtml}>
             <input type="hidden" name="{nprefix}sid" value="{sid}"{xhtml}>
             <input type="hidden" name="{nprefix}pid" value="{pid}"{xhtml}>
             <input type="hidden" name="{nprefix}type" value="{type}"{xhtml}>
             <input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}>
             <input type="hidden" name="{nprefix}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="90" rows="10" name="comment" id="comment_text">{comment}</textarea>
            </div>
            <div id="html_editor" style="display: {show_htmleditor};">
              <textarea cols="90" 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>
    
        <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>
        
        {captcha}
    
        <ul class="submit">
          <li><input type="submit" name="{nprefix}mode" value="{lang_preview}" class="submit"{xhtml}></li>
          <li>
            <input type="hidden" name="formtype" value="{formtype}"{xhtml}>
            {save_option} 
            <input type="submit" value="{lang_cancel}" name="{nprefix}mode"{xhtml}> 
            {delete_option} 
            {notification}
          </li>
        </ul>
      </div>
    </form>
  </div>
  {end_block}
</div>

{# end {templatelocation} #}
