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

<?cs if:BBS ?><?cs include:"zeromin2/menu_bbs.cs" ?><?cs else ?><?cs include:"zeromin2/menu.cs" ?><?cs /if ?>

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

<div id="main">

<form id="pluginContainerForm" 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>
<?cs if:BBS ?>
  &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">インデックス</a>
<?cs /if ?>
  &gt;
  <a href="<?cs var:html_escape(ZerominScript) ?>?class=plugin&amp;method=load&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=plugin&amp;method=load_config&amp;bbs=<?cs var:html_escape(BBS) ?>&amp;id=<?cs var:html_escape(PluginId) ?>&amp;<?cs var:html_escape(SessionName) ?>=<?cs var:html_escape(Session) ?>" onclick="Zeromin2.redirect(this);return false"><?cs var:html_escape(PluginClassName) ?>::<?cs var:html_escape(PluginMethodName) ?>()の設定</a>
</div>

<h1><?cs var:html_escape(PluginClassName) ?>::<?cs var:html_escape(PluginMethodName) ?>()の設定</h1>

<?cs if:Code0 ?>
<?cs if:Done_plugin_save_config ?><div class="noticeSuccess" id="notify"><p>プラグイン設定を保存しました</p></div><?cs /if ?>
<?cs else ?>
<?cs if:Code1 ?><div class="noticeFailed" id="notify"><p>実行権限がありません</p></div><?cs /if ?>
<?cs if:Code2 ?><div class="noticeFailed" id="notify"><p>設定するプラグインがありません</p></div><?cs /if ?>
<?cs /if ?>

<?cs if:Renderable ?>
<?cs var:HTML ?>
<div>
<p><input type="submit" value="設定を保存" /></p>
</div>
<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="plugin" />
<input type="hidden" name="method" value="save_config" />
<input type="hidden" name="OK" value="load_config" />
<input type="hidden" name="NG" value="load_config" />
<br id="endmain" />
</div>
<?cs else ?>
<p>このプラグインは設定項目がありません。</p>
<div><br id="endmain" /></div>
<?cs /if ?>

</form>

</div>

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