<!-- -*- mode: html; tab-width: 4; coding: utf-8; -*- -->
<div class="wrap">
<?php
if ($_REQUEST['settings-updated']) {
?>
  <div id="message" class="updated updated-message">
	<p>設定を更新しました。</p>
  </div>
<?php
}
?>
  <h2>機能選択</h2>
  <p>このサイトで使用する NN4 の機能を選択します。</p>
  <form action="options.php" method="post">
    <input type="hidden" name="action" value="update" />
	<input type="hidden" name="page_options" value="nn4_estate_enabled,nn4_facility_enabled,nn4_event_enabled" />
<?php
	wp_nonce_field('update-options');
?>
	<table class="form-table">
	  <tr valign="top">
		<td scope="row"><input id="entry_estate_enabled" type="checkbox" name="nn4_estate_enabled" value="1"<?php if ($nn4_estate_enabled) { ?> checked<?php } ?> /><label for="entry_estate_enabled">NN4 不動産情報</label></th>
	  </tr>
	  <!--
	  <tr valign="top">
		<td scope="row"><input id="entry_facility_enabled" type="checkbox" name="nn4_facility_enabled" value="1"<?php if ($nn4_facility_enabled) { ?> checked<?php } ?> /><label for="entry_facility_enabled">NN4 施設情報</label></th>
	  </tr>
	  --><input type="hidden" name="nn4_facility_enabled" value="" />
	  <tr valign="top">
		<td scope="row"><input id="entry_event_enabled" type="checkbox" name="nn4_event_enabled" value="1"<?php if ($nn4_event_enabled) { ?> checked<?php } ?> /><label for="entry_event_enabled">NN4 イベント情報</label></th>
	  </tr>
	</table>
	<p class="submit"><input type="submit" class="button-primary" value="<?php _e('Save Changes'); ?>" /></p>
  </form>
</div>
