{noscript}
<div id="advanced_editor" style="display:none;">
  {start_block_editor}
  <form action="{site_admin_url}/plugins/staticpages/index.php" method="post" onsubmit='set_postcontent();'>
      <table border="0" cellspacing="0" cellpadding="3" width="100%">
          <tr>
              <td align="right" style="white-space:nowrap;">{lang_title}:</td>
              <td><input type="text" size="48" maxlength="255" name="sp_title" value="{sp_title}"{xhtml}></td>
          </tr>
          <tr>
              <td align="right" style="white-space:nowrap;">{lang_page_title}:</td>
              <td><input type="text" size="48" maxlength="255" name="sp_page_title" value="{sp_page_title}"{xhtml}></td>
          </tr> 
          <tr>
              <td align="right" style="white-space:nowrap;">{lang_addtomenu}:</td>
              <td>
                  <input type="checkbox" name="sp_onmenu" {onmenu_checked}{xhtml}>&nbsp;&nbsp;{lang_label}:
                  <input type="text" name="sp_label" size="48" maxlength="64" value="{sp_label}"{xhtml}>
              </td>
          </tr>
          <tr>
              <td align="right" style="white-space:nowrap;">{lang_pageformat}:</td>
              <td>
                  <select name="sp_format">
                      <option value="blankpage" {blankpage_selected}>{lang_blankpage}</option>
                      <option value="noblocks" {noblock_selected}>{lang_noblocks}</option>
                      <option value="leftblocks" {leftblocks_selected}>{lang_leftblocks}</option>
                      <option value="allblocks" {allblocks_selected}>{lang_leftrightblocks}</option>
                  </select>
              </td>
          </tr>
        <tr>
            <td align="right" style="white-space:nowrap;">{lang_mode}:</td>
            <td>
                <select name="commentcode">
                    {comment_options}
                </select>
            </td>
        </tr>
        <tr>
            <td align="right" style="white-space:nowrap;">{lang_postmode}:</td>
            <td><select id="sel_editmode" name="postmode" {change_editormode}>{post_options}</select></td>
        </tr>
          <tr>
            <td align="right" style="white-space:nowrap;">{lang_id}:</td>
            <td><input type="text" dir="ltr" name="sp_id" size="40" maxlength="40" value="{sp_id}"{xhtml}></td>
          </tr>
          <tr>
            <td style="text-align:right;padding-bottom:15px;" style="white-space:nowrap;">{lang_url}:</td>
            <td style="padding-bottom:15px;">{example_url}</td>
          </tr>
          <tr{hide_meta}>
              <td valign="top" align="right" style="white-space:nowrap;">{lang_metadescription}:</td>
            <td><textarea name="meta_description" style="width:100%" cols="45" rows="2">{meta_description}</textarea></td>
          </tr>
          <tr{hide_meta}>
            <td valign="top" align="right" style="white-space:nowrap;">{lang_metakeywords}:</td>
            <td><textarea name="meta_keywords" style="width:100%" cols="45" rows="2">{meta_keywords}</textarea></td>
          </tr>              
           <tr>
               <td colspan="2" style="vertical-align:top;padding-top:10px;">
                    <span id="sel_toolbar" style="padding-left:15px;display:{show_adveditor};">{lang_toolbar}:&nbsp;
                      <select id="fckeditor_toolbar_selector" name="fckeditor_toolbar_selector" onchange="changeToolbar(this.value);">
                           <option value="editor-toolbar1">{toolbar1}</option>
                           <option value="editor-toolbar2" selected="selected">{toolbar2}</option>
                           <option value="editor-toolbar3">{toolbar3}</option>
                           <option value="Default">{toolbar5}</option>
                      </select>
                    </span>
                 </td>
             </tr>
             <tr id="advanced_editarea" style="display:{show_adveditor};">
                <td colspan="2" style="margin-top:10px;border:1px solid #CCC;">
                  <textarea id="adv_content" name="sp_content">{sp_content}</textarea>
                  <br{xhtml}>
                  {lang_allowed_html}
                </td>
             </tr>
             <tr id="html_editarea" style="display:{show_htmleditor};">
                <td colspan="2" style="margin-top:10px;border:1px solid #CCC;">
                  <textarea id="html_content" name="sp_content" cols="45" rows="24" style="width:99.5%" wrap="virtual">{sp_content}</textarea>
                  <div class="warningsmall" style="padding:10px;">{lang_allowed_html}</div>
                </td>
             </tr>
          <tr>
            <td align="right" style="white-space:nowrap;">{lang_draft}:</td>
            <td><input type="checkbox" name="draft_flag" {draft_flag_checked}{xhtml}></td>
          </tr>
          <tr>
              <td align="right" style="white-space:nowrap;">{lang_lastupdated}:</td>
              <td>{sp_formateddate}</td>
          </tr>
          <tr>
              <td align="right" style="white-space:nowrap;">{lang_hits}:</td>
              <td>
                <table cellspacing="0" cellpadding="0" width="100%">
                  <tr>
                    <td><input type="hidden" name="sp_hits" value="{sp_hits}"{xhtml}>{sp_hits_formatted}</td>
                    <td class="alignright">{lang_comments}: {sp_comments}</td>
                  </tr>
                </table>
              </td>
          </tr>
          <tr>
              <td colspan="2"><hr{xhtml}></td>
          </tr>
          <tr>
              <td align="right" valign="top" style="white-space:nowrap;">{lang_template}:</td>
              <td valign="top"><input type="checkbox" name="template_flag" {template_flag_checked}{xhtml}>&nbsp;&nbsp;{lang_template_flag_msg}</td>
          </tr>
          <tr>
              <td align="right" style="white-space:nowrap;">{lang_use_template}:</td>
              <td>{use_template_selection}&nbsp;&nbsp;&nbsp;{lang_use_template_msg}</td>
          </tr>             
          <tr>
              <td colspan="2"><hr{xhtml}></td>
          </tr>
          <tr>
              <td align="right" valign="top" style="white-space:nowrap;">{lang_centerblock}</td>
              <td valign="top"><input type="checkbox" name="sp_centerblock" {centerblock_checked}{xhtml}>&nbsp;&nbsp;{lang_centerblock_msg}</td>
          </tr>
          <tr>
              <td align="right" style="white-space:nowrap;">{lang_position}</td>
              <td>{pos_selection}&nbsp;&nbsp;&nbsp;{lang_topic}&nbsp;&nbsp;{topic_selection}</td>
          </tr>
          <tr>
              <td colspan="2"><hr{xhtml}></td>
          </tr>
          <tr>
              <td align="right" valign="top" style="white-space:nowrap;">{inblock_msg}</td>
              <td valign="top"><input type="checkbox" name="sp_inblock" {inblock_checked}{xhtml}>&nbsp;&nbsp;{inblock_info}</td>
          </tr>
          <tr>
              <td align="right" valign="top" style="white-space:nowrap;">{lang_centerblock_help}</td>
              <td valign="top"><input type="text" name="sp_help" value="{centerblock_help}" size="50"{xhtml}>&nbsp;{lang_centerblock_include}<br{xhtml}>
              {lang_centerblock_desc}</td>
          </tr>
          <tr>
              <td align="right" valign="top" style="white-space:nowrap;">{php_msg}</td>
              <td valign="top">{php_selector}&nbsp;&nbsp;{php_warn}</td>
          </tr>
          <tr>
              <td align="right" valign="top" style="white-space:nowrap;">{exit_msg}</td>
              <td valign="top"><input type="checkbox" name="sp_nf" {exit_checked}{xhtml}>&nbsp;&nbsp;{exit_info}</td>
          </tr>
          <tr>
              <td colspan="2"><hr{xhtml}></td>
          </tr>
          <tr>
              <td colspan="2"><b>{lang_accessrights}<b></td>
          </tr>
          <tr>
              <td align="right" style="white-space:nowrap;">{lang_owner}:</td>
              <td>
                {owner_link} {camera_icon}
                <input type="hidden" name="owner_id" value="{owner_id}"{xhtml}>
              </td>
          </tr>
          <tr>
              <td align="right" style="white-space:nowrap;">{lang_group}:</td>
              <td>
                  {group_dropdown}
              </td>
          </tr>
          <tr>
              <td colspan="2"><b>{lang_permissions}</b></td>
          </tr>
          <tr>
              <td colspan="2"></td>
          </tr>
          <tr>
              <td colspan="2">{lang_perm_key}</td>
          </tr>
          <tr>
              <td colspan="2">
              {permissions_editor}
              </td>
          </tr>
          <tr>
              <td colspan="2">{lang_permissions_msg}</td>
          </tr>
          <tr><td>&nbsp;</td></tr>
          <tr>
              <td colspan="2">
                  <input type="submit" value="{lang_save}" name="mode"{xhtml}>
                  <input type="submit" value="{lang_cancel}" name="mode"{xhtml}>
                  {delete_option}
                  <input type="hidden" name="sp_old_id" value="{sp_old_id}"{xhtml}>
                  <input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}>
              </td>
          </tr>
      </table>
  </form>
  {end_block}
</div>
