1
0
mirror of https://github.com/kremalicious/Badged.git synced 2025-01-04 02:45:05 +01:00
Badged/bubbles-settings.php
Matthias Kretschmann b9840b10be New options page to control notification styles in adminbar and/or admin menu
- split up the css for this, add subtle options page css to the admin menu css
- values are both set by default upon activation
- new quick 32px icon
2011-12-14 18:59:03 +01:00

48 lines
1.3 KiB
PHP

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