
<!-- admin/topic/topiceditor.thtml { -->

<form action="{site_admin_url}/topic.php" method="post" enctype="multipart/form-data" id="admin-topiceditor" class="compact">
  <fieldset>
    <legend>話題の編集</legend><!-- Geeklog Japanese -->

    <dl>
      <dt><label for="admin-topiceditor-tid">{lang_topicid}</label></dt>
      <dd><input type="text" size="20" maxlength="20" value="{topic_id}" name="tid" id="admin-topiceditor-tid" class="text"{xhtml}></dd>
      <dd class="description">{lang_donotusespaces}</dd>

      <dt><label for="sortnum">{lang_sortorder}</label></dt>
      <dd>{sort_order}</dd>

      <dt><label for="admin-topiceditor-limitnews">{lang_storiesperpage}</label></dt>
      <dd><input type="text" size="3" maxlength="3" value="{story_limit}" name="limitnews" id="admin-topiceditor-limitnews" class="text"{xhtml}></dd>
      <dd class="description">{lang_defaultis}{default_limit}</dd>

      <dt><label for="admin-topiceditor-topic">{lang_topicname}</label></dt>
      <dd><input type="text" size="48" value="{topic_name}" name="topic" id="admin-topiceditor-topic" class="text"{xhtml}></dd>

      <dt><label for="admin-topiceditor-imageurl">{lang_topicimage}</label></dt>
      <dd><input type="text" dir="ltr" size="48" maxlength="{max_url_length}" value="{image_url}" name="imageurl" id="admin-topiceditor-imageurl" class="text"{xhtml}></dd>

      <dt><label for="admin-topiceditor-newicon">{lang_uploadimage}</label></dt>
      <dd><input type="file" name="newicon" id="admin-topiceditor-newicon"{xhtml}></dd>
      <dd class="description">{lang_maxsize}{icon_dimensions}</dd>

      <dt><label for="admin-topiceditor-is_default">{lang_defaulttopic}</label></dt>
      <dd><input type="checkbox" {default_checked} name="is_default" id="admin-topiceditor-is_default"{xhtml}>{lang_defaulttext}</dd>

      <dt><label for="admin-topiceditor-is_archive">{lang_archivetopic}</label></dt>
      <dd><input type="checkbox" {archive_checked} {archive_disabled} name="is_archive" id="admin-topiceditor-is_archive"{xhtml}>{lang_archivetext}</dd>
    </dl>
  </fieldset>

  <fieldset>
    <legend>{lang_accessrights}</legend>

    <h3>{lang_accessrights}</h3>

    <dl>
      <dt>{lang_owner}</dt>
      <dd>{owner_name}</dd>

      <dt><label for="group_id">{lang_group}</label></dt>
      <dd>{group_dropdown}</dd>

      <dt><label for="perm_owner">{lang_permissions}</label></dt>
      <dd>{permissions_editor}</dd>
      <dd class="description">{lang_permissions_key}</dd>
    </dl>
  </fieldset>

  <p class="description">{warning_msg}</p>

  <ul class="submit">
    <li><input type="hidden" name="owner_id" value="{owner_id}"{xhtml}><input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}><input type="submit" value="{lang_save}" name="mode"{xhtml}></li>
    <li><input type="submit" value="{lang_cancel}" name="mode"{xhtml}></li>
    <li>{delete_option}</li>
  </ul>
</form>

<!-- } admin/topic/topiceditor.thtml -->
