<[include file="common/group_list.tpl"]>
<div id="contents">
<[include file="common/group_menu.tpl"]>
  <br />
  <div id="site-info">
    <h3><img src="<[$TEMPLATE_DIR]>/img/icon_large/henshu.jpg" align="absmiddle" style="margin-right:8px;">ステータス編集</h3>
    <br />
    <[include file="common/message.tpl"]>
    <form method="post" action="./index.php?mode=6&group_code=<[$current_group.group_code]>" name="form">
    <input name="state" type="hidden" value="<[$state]>" />
    <input name="back" type="hidden" value="0" />
      <fieldset style="width:100%;">
      <legend>更新セットの設定</legend>
      <table width="100%" border="0">
        <tr>
          <td width="200">更新セット名</td>
          <td><[$name|escape]><input name="name" type="hidden" value="<[$name|escape]>" /></td>
        </tr>
        <tr>
          <td width="200">更新セットのURL</td>
          <td><[$CURRENT_HTTP_SERVER]><[$dir_name|escape]>/<input name="dir_name" type="hidden" value="<[$dir_name|escape]>" /></td>
        </tr>
        <tr>
          <td width="200">画像のURL</td>
          <td><[$CURRENT_HTTP_SERVER]><[$dir_name|escape]>/<[$upload_dir_name|escape]>/<input name="upload_dir_name" type="hidden" value="<[$upload_dir_name|escape]>" /></td>
        </tr>
        <tr>
          <td width="200">記事登録後の状態</td>
          <td>
            <[if $default_publish == "1"]>公開中<input name="default_publish" type="hidden" value="1" /><[/if]>
            <[if $default_publish == "0"]>下書き<input name="default_publish" type="hidden" value="0" /><[/if]>
          </td>
        </tr>
        <tr>
          <td width="200">概要に載せる文字数</td>
          <td><[$summary_strings_num|escape]>文字<input name="summary_strings_num" type="hidden" value="<[$summary_strings_num|escape]>" /></td>
        </tr>
      </table>
      </fieldset>
      <table width="100%" border="0" cellspacing="0" cellpadding="5">
        <tr>
          <td><input type="submit" value="　登　　録　" />&nbsp;<input type="button" onclick="document.form.state.value=2;document.form.back.value=1;document.form.submit();" value=" 編集 " /></td>
        </tr>
      </table>
    </form>
  </div>
</div>