<?cs include:"zeromin2/header.cs" ?>

<?cs include:"zeromin2/menu_bbs.cs" ?>

<?cs include:"zeromin2/meta_side_menu.cs" ?>

<div id="main">

<form id="metaMetaContainerForm" action="<?cs var:html_escape(ZerominScript) ?>" method="post">

<div id="navhead">
  <hr />
  <a href="<?cs var:html_escape(ZerominScript) ?>?class=bbs&amp;method=load&amp;<?cs var:html_escape(SessionName) ?>=<?cs var:html_escape(Session) ?>" onclick="Zeromin2.redirect(this);return false">掲示板管理</a>
  &gt;
  <a href="<?cs var:html_escape(ZerominScript) ?>?class=bbs&amp;method=load_index&amp;bbs=<?cs var:html_escape(BBS) ?>&amp;<?cs var:html_escape(SessionName) ?>=<?cs var:html_escape(Session) ?>" onclick="Zeromin2.redirect(this);return false"><?cs var:html_escape(BBS_TITLE) ?></a>
  &gt;
  <a href="<?cs var:html_escape(ZerominScript) ?>?class=meta&amp;method=load_header&amp;bbs=<?cs var:html_escape(BBS) ?>&amp;<?cs var:html_escape(SessionName) ?>=<?cs var:html_escape(Session) ?>" onclick="Zeromin2.redirect(this);return false">メタデータ</a>
  &gt;
  <a href="<?cs var:html_escape(ZerominScript) ?>?class=meta&amp;method=load_meta&amp;bbs=<?cs var:html_escape(BBS) ?>&amp;<?cs var:html_escape(SessionName) ?>=<?cs var:html_escape(Session) ?>" onclick="Zeromin2.redirect(this);return false">メタデータ編集</a>
</div>

<h1>メタデータ編集</h1>

<script type="text/javascript" charset="UTF-8">
<!--
var formArea;
jQuery(function(){
formArea = jQuery("textarea[@name='content']");
var formContainer = jQuery("form#metaMetaContainerForm");
formArea.width(formContainer.width()).height(
    Math.round(formContainer.height() / 2));
})
//-->
</script>

<?cs if:Code0 ?>
<?cs if:Done_meta_save_meta ?><div class="noticeSuccess" id="notify"><p>メタデータを更新しました</p></div>
<?cs else ?><div class="" id="notify"></div><?cs /if ?>
<?cs else ?>
<?cs if:Code1 ?><div class="noticeFailed" id="notify"><p>実行権限がありません</p></div><?cs /if ?>
<?cs /if ?>

<p>メタデータを編集します。<br />このデータは&lt;head&gt;タグ内に組み込まれます。</p>

<p>
<input type="submit" value="更新" /><br />
<textarea name="content" cols="50" rows="10">
<?cs var:html_escape(Data) ?>
</textarea><br />
</p>

<div class="formFooter">
<input type="hidden" name="<?cs var:html_escape(SessionName) ?>" value="<?cs var:html_escape(Session) ?>" />
<input type="hidden" name="token" value="<?cs var:html_escape(Token) ?>" />
<input type="hidden" name="class" value="meta" />
<input type="hidden" name="method" value="save_meta" />
<input type="hidden" name="bbs" value="<?cs var:html_escape(BBS) ?>" />
<input type="hidden" name="OK" value="load_meta" />
<input type="hidden" name="NG" value="load_meta" />
<br id="endmain" />
</div>

</form>

</div>

<?cs include:"zeromin2/footer.cs" ?>
