77 lines
2.4 KiB
PHP
77 lines
2.4 KiB
PHP
<?php
|
|
/**
|
|
* Represents the view for the administration dashboard.
|
|
*
|
|
* This includes the header, options, and other information that should provide
|
|
* The User Interface to the end user.
|
|
*
|
|
* @package Badged
|
|
* @author Matthias Kretschmann <desk@kremalicious.com>
|
|
* @license GPL-2.0+
|
|
* @link http://kremalicious.com/badged/
|
|
* @copyright 2013 Matthias Kretschmann
|
|
*/
|
|
?>
|
|
|
|
<div class="wrap" id="badgedoptions">
|
|
|
|
<header>
|
|
<?php screen_icon(); ?>
|
|
<h2><?php echo esc_html( get_admin_page_title() ); ?></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', 'bdgd' ); ?>
|
|
</th>
|
|
<td>
|
|
<fieldset>
|
|
<input type="radio" name="ios6" id="ios6" value="ios6"<?php echo get_option('ios6') == 'yes' ? ' checked' : '';?> />
|
|
<label for="ios6"><?php _e( 'iOS 6', 'bdgd' ); ?></label>
|
|
<br />
|
|
<input type="radio" name="ios7" id="ios7" value="ios7"<?php echo get_option('ios7') == 'yes' ? ' checked' : '';?> />
|
|
<label for="ios7"><?php _e( 'iOS 7', 'bdgd' ); ?></label>
|
|
</fieldset>
|
|
</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', 'bdgd'); ?> <a href="http://www.kremalicious.com/2011/12/badged/" title="Badged Blog Post">Badged</a> (<a href="https://github.com/kremalicious/Badged/" title="Badged On Github">github</a>) · <a href="http://krlc.us/givecoffee"><strong><?php _e('Donate', 'bdgd'); ?></strong></a>
|
|
<span class="alignright"><?php _e('Created by', 'bdgd'); ?> <a href="http://mkretschmann.com">Matthias Kretschmann</a> (<a href="https://twitter.com/kremalicious">@kremalicious</a>)</span>
|
|
</p>
|
|
</footer>
|
|
|
|
</div>
|