1
0
mirror of https://github.com/kremalicious/Badged.git synced 2024-11-23 02:10:00 +01:00
Badged/badged-settings.php
2011-12-15 08:01:51 +01:00

44 lines
1.2 KiB
PHP

<div class="wrap" id="badgedoptions">
<header>
<div class="icon32"></div>
<h2><?php _e( 'Badged Settings', 'bdgd' ); ?></h2>
</header>
<form method="post" action="options.php">
<?php settings_fields( 'badged' ); ?>
<table class="form-table">
<tr valign="top">
<td colspan="2">
<h2><?php _e( 'View', 'bdgd' ); ?></h2>
</td>
</tr>
<tr valign="top">
<th scope="row" class="indent">
<?php _e( 'Style Notifications in', 'bdgd' ); ?>
</th>
<td>
<fieldset>
<input type="checkbox" name="menu" id="menu" value="yes"<?php echo get_option('menu') == 'yes' ? ' checked' : '';?> />
<label for="menu"><?php _e( 'Admin Menu', 'bdgd' ); ?></label>
<br />
<input type="checkbox" name="bar" id="bar" value="yes"<?php echo get_option('bar') == 'yes' ? ' checked' : '';?> />
<label for="bar"><?php _e( 'Toolbar', 'bdgd' ); ?></label>
</fieldset>
</td>
</tr>
</table>
<?php submit_button(); ?>
</form>
<footer>
<p><?php _e('Thanks for using Badged. Created by', 'bdgd'); ?> <a href="http://mkretschmann.com">Matthias Kretschmann</a> (<a href="https://twitter.com/kremalicious">@kremalicious</a>)</p>
</footer>
</div>