| 1 |
<?php |
| 2 |
/** |
| 3 |
* @package Adminimize |
| 4 |
* @subpackage Menu on settings page |
| 5 |
* @author Frank Bültge |
| 6 |
*/ |
| 7 |
if ( ! function_exists( 'add_action' ) ) { |
| 8 |
echo "Hi there! I'm just a part of plugin, not much I can do when called directly."; |
| 9 |
exit; |
| 10 |
} |
| 11 |
?> |
| 12 |
|
| 13 |
<?php screen_icon('tools'); ?> |
| 14 |
<h2><?php _e('Adminimize', FB_ADMINIMIZE_TEXTDOMAIN ); ?></h2> |
| 15 |
<div id="poststuff" class="metabox-holder has-right-sidebar"> |
| 16 |
|
| 17 |
<div id="side-info-column" class="inner-sidebar"> |
| 18 |
<div class="meta-box-sortables"> |
| 19 |
<div id="about" class="postbox "> |
| 20 |
<div class="handlediv" title="<?php _e('Click to toggle'); ?>"><br/></div> |
| 21 |
<h3 class="hndle" id="about-sidebar"><?php _e('About the plugin', FB_ADMINIMIZE_TEXTDOMAIN ) ?></h3> |
| 22 |
<div class="inside"> |
| 23 |
<p><?php _e('Further information: Visit the <a href="http://bueltge.de/wordpress-admin-theme-adminimize/674/">plugin homepage</a> for further information or to grab the latest version of this plugin.', FB_ADMINIMIZE_TEXTDOMAIN); ?></p> |
| 24 |
<p> |
| 25 |
<span style="float: left;"> |
| 26 |
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> |
| 27 |
<input type="hidden" name="cmd" value="_s-xclick"> |
| 28 |
<input type="hidden" name="hosted_button_id" value="4578111"> |
| 29 |
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="<?php _e('PayPal - The safer, easier way to pay online!', FB_ADMINIMIZE_TEXTDOMAIN); ?>"> |
| 30 |
<img alt="" border="0" src="https://www.paypal.com/de_DE/i/scr/pixel.gif" width="1" height="1"> |
| 31 |
</form> |
| 32 |
</span> |
| 33 |
<?php _e('You want to thank me? Visit my <a href="http://bueltge.de/wunschliste/">wishlist</a> or donate.', FB_ADMINIMIZE_TEXTDOMAIN); ?> |
| 34 |
</p> |
| 35 |
<p>© Copyright 2008 - <?php echo date('Y'); ?> <a href="http://bueltge.de">Frank Bültge</a></p> |
| 36 |
</div> |
| 37 |
</div> |
| 38 |
</div> |
| 39 |
</div> |
| 40 |
|
| 41 |
<div id="post-body" class="has-sidebar"> |
| 42 |
<div id="post-body-content" class="has-sidebar-content"> |
| 43 |
<div id="normal-sortables" class="meta-box-sortables"> |
| 44 |
<div id="about" class="postbox "> |
| 45 |
<div class="handlediv" title="<?php _e('Click to toggle'); ?>"><br/></div> |
| 46 |
<h3 class="hndle" id="menu"><?php _e('MiniMenu', FB_ADMINIMIZE_TEXTDOMAIN ) ?></h3> |
| 47 |
<div class="inside"> |
| 48 |
<table class="widefat" cellspacing="0"> |
| 49 |
<tr class="alternate"> |
| 50 |
<td class="row-title"><a href="#backend_options"><?php _e('Backend Options', FB_ADMINIMIZE_TEXTDOMAIN ); ?></a></td> |
| 51 |
</tr> |
| 52 |
<tr> |
| 53 |
<td class="row-title"><a href="#global_options"><?php _e('Global options', FB_ADMINIMIZE_TEXTDOMAIN ); ?></a></td> |
| 54 |
</tr> |
| 55 |
<tr class="alternate"> |
| 56 |
<td class="row-title"><a href="#config_menu"><?php _e('Menu Options', FB_ADMINIMIZE_TEXTDOMAIN ); ?></a></td> |
| 57 |
</tr> |
| 58 |
<tr> |
| 59 |
<td class="row-title"><a href="#config_edit_post"><?php _e('Write options - Post', FB_ADMINIMIZE_TEXTDOMAIN ); ?></a></td> |
| 60 |
</tr> |
| 61 |
<tr class="alternate"> |
| 62 |
<td class="row-title"><a href="#config_edit_page"><?php _e('Write options - Page', FB_ADMINIMIZE_TEXTDOMAIN ); ?></a></td> |
| 63 |
</tr> |
| 64 |
<?php |
| 65 |
if ( function_exists( 'get_post_types' ) ) { |
| 66 |
$args = array( 'public' => TRUE, '_builtin' => FALSE ); |
| 67 |
foreach ( get_post_types( $args ) as $post_type) { |
| 68 |
$post_type_object = get_post_type_object($post_type); |
| 69 |
?> |
| 70 |
<tr class="form-invalid"> |
| 71 |
<td class="row-title"> |
| 72 |
<a href="#config_edit_<?php echo $post_type; ?>"> |
| 73 |
<?php _e('Write options', FB_ADMINIMIZE_TEXTDOMAIN ); echo ' - ' . $post_type_object->label ?> |
| 74 |
</a> |
| 75 |
</td> |
| 76 |
</tr> |
| 77 |
<?php |
| 78 |
} |
| 79 |
} |
| 80 |
?> |
| 81 |
<tr> |
| 82 |
<td class="row-title"><a href="#links_options"><?php _e('Links options', FB_ADMINIMIZE_TEXTDOMAIN ); ?></a></td> |
| 83 |
</tr> |
| 84 |
<tr class="alternate"> |
| 85 |
<td class="row-title"><a href="#nav_menu_options"><?php _e('WP Nav Menu', FB_ADMINIMIZE_TEXTDOMAIN ); ?></a></td> |
| 86 |
</tr> |
| 87 |
<tr> |
| 88 |
<td class="row-title"><a href="#set_theme"><?php _e('Set Theme', FB_ADMINIMIZE_TEXTDOMAIN ); ?></a></td> |
| 89 |
</tr> |
| 90 |
<tr class="alternate"> |
| 91 |
<td class="row-title"><a href="#import"><?php _e('Export/Import Options', FB_ADMINIMIZE_TEXTDOMAIN ); ?></a></td> |
| 92 |
</tr> |
| 93 |
<tr> |
| 94 |
<td class="row-title"><a href="#uninstall"><?php _e('Deinstall Options', FB_ADMINIMIZE_TEXTDOMAIN ); ?></a></td> |
| 95 |
</tr> |
| 96 |
</table> |
| 97 |
</div> |
| 98 |
</div> |
| 99 |
</div> |
| 100 |
</div> |
| 101 |
</div> |
| 102 |
<br class="clear"/> |
| 103 |
</div> |
| 104 |
|