PluginProbe
Adminimize / 1.11.3
Adminimize v1.11.3
1.11.14 1.11.13 1.11.1 1.11.10 1.11.11 1.11.12 1.11.2 1.11.3 1.11.4 1.11.5 1.11.6 1.11.7 1.11.8 1.11.9 1.3 1.4.7 1.6 1.7.12 1.7.13 1.7.14 1.7.15 1.7.16 1.7.17 1.7.18 1.7.19 All 53 releases
adminimize / inc-options / minimenu.php

minimenu.php in Adminimize 1.11.3, at inc-options/minimenu.php

219 lines 7.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 $screen = get_current_screen();
13 $message = '';
14 if ( _mw_adminimize_is_active_on_multisite() ) {
15 $message = esc_attr__( 'Network' );
16 }
17 ?>
18
19 <h2><?php esc_attr_e( 'Adminimize', 'adminimize' );
20 echo ' ' . $message; ?></h2>
21 <br class="clear" />
22 <div id="poststuff" class="ui-sortable meta-box-sortables">
23 <div id="minimenu" class="postbox ">
24 <div class="handlediv" title="<?php esc_attr_e( 'Click to toggle', 'adminimize' ); ?>"><br /></div>
25 <h3 class="hndle" id="menu"><?php esc_attr_e( 'MiniMenu', 'adminimize' ) ?></h3>
26
27 <div class="inside">
28 <table class="widefat" cellspacing="0">
29 <tr>
30 <td class="row-title"><a href="#about"><?php esc_attr_e(
31 'About the plugin', 'adminimize'
32 ); ?></a></td>
33 </tr>
34
35 <tr>
36 <td class="row-title"><a href="#self-settings"><?php esc_attr_e(
37 'Plugin Settings', 'adminimize'
38 ); ?></a></td>
39 </tr>
40
41 <tr>
42 <td class="row-title"><a href="#admin_bar_options"><?php esc_attr_e(
43 'Admin Bar Back end Options', 'adminimize'
44 ); ?></a></td>
45 </tr>
46
47 <tr>
48 <td class="row-title"><a href="#admin_bar_frontend_options"><?php esc_attr_e(
49 'Admin Bar Front end Options', 'adminimize'
50 ); ?></a></td>
51 </tr>
52
53 <tr>
54 <td class="row-title"><a href="#backend_options"><?php esc_attr_e(
55 'Backend Options', 'adminimize'
56 ); ?></a></td>
57 </tr>
58 <tr>
59 <td class="row-title"><a href="#global_options"><?php esc_attr_e(
60 'Global options', 'adminimize'
61 ); ?></a></td>
62 </tr>
63 <tr>
64 <td class="row-title"><a href="#dashboard_options"><?php esc_attr_e(
65 'Dashboard options', 'adminimize'
66 ); ?></a></td>
67 </tr>
68 <tr>
69 <td class="row-title"><a href="#config_menu"><?php esc_attr_e(
70 'Menu Options', 'adminimize'
71 ); ?></a></td>
72 </tr>
73 <tr>
74 <td class="row-title"><a href="#config_edit_post"><?php esc_attr_e(
75 'Write options - Post', 'adminimize'
76 ); ?></a></td>
77 </tr>
78 <tr>
79 <td class="row-title"><a href="#config_edit_page"><?php esc_attr_e(
80 'Write options - Page', 'adminimize'
81 ); ?></a></td>
82 </tr>
83 <?php
84 if ( function_exists( 'get_post_types' ) ) {
85 $args = array( 'public' => TRUE, '_builtin' => FALSE );
86 foreach ( get_post_types( $args ) as $post_type ) {
87 $post_type_object = get_post_type_object( $post_type );
88 ?>
89 <tr>
90 <td class="row-title">
91 <a href="#config_edit_<?php echo $post_type; ?>">
92 <?php esc_attr_e( 'Write options', 'adminimize' );
93 echo ' - ' . $post_type_object->label ?>
94 </a>
95 </td>
96 </tr>
97 <?php
98 }
99 }
100
101 // check for active links, active since WP 3.5
102 if ( 0 !== get_option( 'link_manager_enabled' ) ) {
103 ?>
104 <tr>
105 <td class="row-title"><a href="#links_options"><?php esc_attr_e(
106 'Links options', 'adminimize'
107 ); ?></a></td>
108 </tr>
109 <?php } ?>
110
111 <tr>
112 <td class="row-title"><a href="#widget_options"><?php esc_attr_e(
113 'Widgets', 'adminimize'
114 ); ?></a></td>
115 </tr>
116 <tr>
117 <td class="row-title"><a href="#nav_menu_options"><?php esc_attr_e(
118 'WP Nav Menu', 'adminimize'
119 ); ?></a></td>
120 </tr>
121 <!-- @ToDo Remove for the feature releases.
122 <tr>
123 <td class="row-title"><a href="#set_theme"><?php esc_attr_e(
124 'Set Theme', 'adminimize'
125 ); ?></a></td>
126 </tr>
127 -->
128 <tr>
129 <td class="row-title"><a href="#import"><?php esc_attr_e(
130 'Export/Import Options', 'adminimize'
131 ); ?></a></td>
132 </tr>
133 <tr>
134 <td class="row-title"><a href="#uninstall"><?php esc_attr_e(
135 'Uninstall Options', 'adminimize'
136 ); ?></a></td>
137 </tr>
138 </table>
139 </div>
140 </div>
141 </div>
142
143 <div id="poststuff" class="ui-sortable meta-box-sortables">
144 <div id="about" class="postbox">
145 <div class="handlediv" title="<?php esc_attr_e( 'Click to toggle', 'adminimize' ); ?>"><br /></div>
146 <h3 class="hndle" id="about-sidebar"><?php esc_attr_e( 'About the plugin', 'adminimize' ) ?></h3>
147
148 <div class="inside">
149 <p>
150 <?php
151 echo _mw_adminimize_get_plugin_data( 'Title' ) . ', ' .
152 esc_attr__( 'Version', 'adminimize' ) . ' ' . _mw_adminimize_get_plugin_data( 'Version' );
153 ?>
154 </p>
155
156 <p><?php echo _mw_adminimize_get_plugin_data( 'Description' ) ?></p>
157 <ul>
158 <li><?php
159 printf(
160 __(
161 'Further information: Visit the <a href="%1$s">plugin homepage</a> for further information or to grab the latest version of this plugin. Also see the <a href="%2$s">support forum</a> for questions.',
162 'adminimize'
163 ),
164 'http://wordpress.org/extend/plugins/adminimize/',
165 'http://wordpress.org/support/plugin/adminimize'
166 );
167 echo '<br>';
168 printf(
169 __( 'For more hints about the functions and how to\'s with the possibilities of the plugin settings see the <a href="%s">FAQ page</a> on the plugin site.', 'adminimize' ),
170 'https://wordpress.org/plugins/adminimize/faq/'
171 );?></li>
172 <li><?php esc_attr_e( 'Report a issue on the development repository:', 'adminimize' ); ?>
173 <a href="https://github.com/bueltge/Adminimize/issues">issues</a></li>
174 <li><?php esc_attr_e(
175 'The plugin have a github repository to easy add a issue or a create a fork, pull request:',
176 'adminimize'
177 ); ?> <a href="https://github.com/bueltge/Adminimize">github.com/bueltge/Adminimize</a></li>
178 <li>
179 <?php printf(
180 __(
181 'You want to thank me? Visit my <a href="%1$s">wishlist</a> or <a href="%2$s">donate</a>.',
182 'adminimize'
183 ),
184 'http://bueltge.de/wunschliste/',
185 'https://www.paypal.me/FrankBueltge'
186 ); ?>
187 <span>
188 </li>
189 </ul>
190 <div style="padding:.3em 1em;">
191 <p>
192 <span style="font-size: 35px; float: left; margin: -5px 3px 0 0;">&#x261D;</span><strong>
193 <?php esc_attr_e(
194 'Please note: The Adminimize settings page ignores the Menu Options below and displays the menu with all entries.',
195 'adminimize'
196 );
197 echo ' ';
198 esc_attr_e(
199 'To view your changes to the menu you need to navigate away from the Adminimize settings page.',
200 'adminimize'
201 ); ?>
202 </strong></p>
203 <?php if ( _mw_adminimize_is_active_on_multisite() ) { ?>
204 <p><?php esc_attr_e(
205 'You have activated the Plugin for your Multisite Network. By default you will have all active menu items and plugins. The settings are for all network sites, you can set it from any site and it will be set for all network. You should also update the settings on every network site to include every custom items that might exist for each of it.',
206 'adminimize'
207 ); ?></p>
208 <?php } ?>
209 </div>
210 <p>&copy; Copyright 2008 - <?php echo date( 'Y' ); ?> <a href="http://bueltge.de">Frank B&uuml;ltge</a></p>
211
212 <p>
213 <a class="alignright button" href="javascript:void(0);" onclick="window.scrollTo(0,0);" style="margin:3px 0 0 30px;"><?php esc_attr_e(
214 'scroll to top', 'adminimize'
215 ); ?></a><br class="clear" /></p>
216 </div>
217 </div>
218 </div>
219