<TMPL_INCLUDE NAME=zeromin2/header.ht>

<TMPL_INCLUDE NAME=zeromin2/menu_bbs.ht>

<div id="sidebar">
  <div>
    <p class="title"></p>
  </div>
</div>

<div id="main">

<form id="threadEditContainerForm" action="<TMPL_VAR NAME=ZerominScript ESCAPE=HTML>" method="post">

<div id="navhead">
  <hr />
  <a href="<TMPL_VAR NAME=ZerominScript ESCAPE=HTML>?class=bbs&amp;method=load&amp;<TMPL_VAR NAME=SessionName ESCAPE=HTML>=<TMPL_VAR NAME=Session ESCAPE=HTML>" onclick="Zeromin2.redirect(this);return false">掲示板管理</a>
  &gt;
  <a href="<TMPL_VAR NAME=ZerominScript ESCAPE=HTML>?class=bbs&amp;method=load_index&amp;bbs=<TMPL_VAR NAME=BBS ESCAPE=HTML>&amp;<TMPL_VAR NAME=SessionName ESCAPE=HTML>=<TMPL_VAR NAME=Session ESCAPE=HTML>" onclick="Zeromin2.redirect(this);return false"><TMPL_VAR NAME=BBS_TITLE ESCAPE=HTML></a>
  &gt;
  <a href="<TMPL_VAR NAME=ZerominScript ESCAPE=HTML>?class=thread&amp;method=load&amp;bbs=<TMPL_VAR NAME=BBS ESCAPE=HTML>&amp;key=<TMPL_VAR NAME=KEY ESCAPE=HTML>&amp;option=l50&amp;<TMPL_VAR NAME=SessionName ESCAPE=HTML>=<TMPL_VAR NAME=Session ESCAPE=HTML>" onclick="Zeromin2.redirect(this);return false"><TMPL_VAR NAME=Subject></a>
  &gt;
  <a href="<TMPL_VAR NAME=ZerominScript ESCAPE=HTML>?class=thread&amp;method=edit_res_form&amp;bbs=<TMPL_VAR NAME=BBS ESCAPE=HTML>&amp;key=<TMPL_VAR NAME=KEY ESCAPE=HTML>&amp;resno=<TMPL_VAR NAME=Resno ESCAPE=HTML>&amp;<TMPL_VAR NAME=SessionName ESCAPE=HTML>=<TMPL_VAR NAME=Session ESCAPE=HTML>" onclick="Zeromin2.redirect(this);return false">レス編集</a>
</div>

<h1>レス編集</h1>

<TMPL_IF NAME=Code0>
<TMPL_IF NAME=Done_thread_edit_res><div class="noticeSuccess" id="notify"><p>レスを更新しました</p></div>
<TMPL_ELSE><div class="" id="notify"></div></TMPL_IF>
<TMPL_ELSE>
<TMPL_IF NAME=Code1><div class="noticeFailed" id="notify"><p>実行権限がありません</p></div></TMPL_IF>
</TMPL_IF>

<script type="text/javascript" src="<TMPL_VAR NAME=StaticURI ESCAPE=HTML>/js/zeromin2/respreview.js" charset="UTF-8"></script>
<script type="text/javascript" charset="UTF-8">
//<![CDATA[
var formArea;
jQuery(function(){
new Zeromin2.ResPreview({
    "content":     "<div class='footer' id='preview'></div>",
    "date":        "<TMPL_VAR NAME=date ESCAPE=HTML>",
    "formID":      "threadEditContainerForm",
    "isTypeTheme": <TMPL_IF NAME=IsTypeTheme>true<TMPL_ELSE>false</TMPL_IF>,
    "staticURI":   "<TMPL_VAR NAME=StaticURI ESCAPE=HTML>",
    "text":        "<TMPL_VAR NAME=text>",
    "typeTheme":   "<TMPL_VAR NAME=BBS_TYPE_THEME ESCAPE=HTML>" });
});
//]]>
</script>

<p>
<div id="previewFrame" class="hide"><iframe></iframe></div>
<input type="submit" value="レス番号<TMPL_VAR NAME=Resno ESCAPE=HTML>を下記の内容に更新する" /><br />
<label for="FROM" title="FROM">名前欄</label>
<input type="text" size="40" id="FROM" name="FROM" title="FROM" value="<TMPL_VAR NAME=Name ESCAPE=HTML>" <TMPL_UNLESS NAME=IsNameEditable>disabled="disabled"</TMPL_UNLESS>/><br />
<label for="mail" title="mail">メール欄</label>
<input type="text" size="40" id="mail" name="mail" title="mail" value="<TMPL_VAR NAME=Mail ESCAPE=HTML>" /><br />
<label for="date" title="date">時刻</label>
<input type="text" size="40" id="date" name="date" title="date" value="<TMPL_VAR NAME=Date ESCAPE=HTML>" disabled="disabled"/><br />
<textarea name="MESSAGE" cols="50" rows="10">
<TMPL_VAR NAME=Message ESCAPE=HTML>
</textarea><br />
</p>

<div class="formFooter">
<input type="hidden" name="<TMPL_VAR NAME=SessionName ESCAPE=HTML>" value="<TMPL_VAR NAME=Session ESCAPE=HTML>" />
<input type="hidden" name="token" value="<TMPL_VAR NAME=Token ESCAPE=HTML>" />
<input type="hidden" name="class" value="thread" />
<input type="hidden" name="method" value="edit_res" />
<input type="hidden" name="bbs" value="<TMPL_VAR NAME=BBS ESCAPE=HTML>" />
<input type="hidden" name="key" value="<TMPL_VAR NAME=KEY ESCAPE=HTML>" />
<input type="hidden" name="resno" value="<TMPL_VAR NAME=Resno ESCAPE=HTML>" />
<input type="hidden" name="OK" value="edit_res_form" />
<input type="hidden" name="NG" value="edit_res_form" />
<br id="endmain" />
</div>

</form>

</div>

<TMPL_INCLUDE NAME=zeromin2/footer.ht>
