Version Description
- Only administrator has to perform of the Meta boxes read.
Download this release
Release Info
Developer | gqevu6bsiz |
Plugin | WP Admin UI Customize |
Version | 1.3.4 |
Comparing to | |
See all releases |
Code changes from version 1.3.3-beta to 1.3.4
- inc/setting_admin_bar_menu.php +55 -200
- inc/setting_admin_general.php +7 -7
- inc/setting_appearance_menus.php +2 -2
- inc/setting_dashboard.php +3 -3
- inc/setting_default.php +2 -2
- inc/setting_loginscreen.php +3 -3
- inc/setting_post_add_edit.php +2 -2
- inc/setting_removemtabox.php +4 -4
- inc/setting_sidemenu.php +3 -3
- inc/setting_site.php +9 -11
- languages/wauc-ja.mo +0 -0
- languages/wauc-ja.po +33 -29
- languages/wauc.pot +29 -25
- readme.txt +7 -2
- wp-admin-ui-customize.php +104 -19
inc/setting_admin_bar_menu.php
CHANGED
@@ -7,6 +7,7 @@ if( !empty( $_POST["update"] ) ) {
|
|
7 |
}
|
8 |
|
9 |
$Data = $this->get_data( 'admin_bar_menu' );
|
|
|
10 |
|
11 |
// include js css
|
12 |
$ReadedJs = array( 'jquery' , 'jquery-ui-draggable' , 'jquery-ui-droppable' , 'jquery-ui-sortable' , 'thickbox' );
|
@@ -19,10 +20,10 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
19 |
<div class="wrap">
|
20 |
<div class="icon32" id="icon-tools"></div>
|
21 |
<?php echo $this->Msg; ?>
|
22 |
-
<h2><?php _e( 'Admin
|
23 |
<p><?php _e( 'Please change the menu by drag and drop.' , $this->ltd ); ?></p>
|
24 |
<p><strong><?php _e( 'Notice: Please do not place the same multiple menu slug.' , $this->ltd ); ?></strong></p>
|
25 |
-
<p class="description"><?php _e( '
|
26 |
|
27 |
<p><a href="#TB_inline?height=300&width=600&inlineId=list_variables&modal=false" title="<?php _e( 'Shortcodes' , $this->ltd ); ?>" class="thickbox"><?php _e( 'Available Shortcodes' , $this->ltd ); ?></a></p>
|
28 |
|
@@ -39,94 +40,35 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
39 |
<div class="inside">
|
40 |
<?php if( empty( $Data ) ) : ?>
|
41 |
|
42 |
-
<?php $
|
43 |
-
<?php $ChildNode = array(); ?>
|
44 |
-
<?php foreach( $this->Admin_bar as $node_id => $node ) : ?>
|
45 |
-
|
46 |
-
<?php if( empty( $node->parent ) && $node_id != 'top-secondary' ) : ?>
|
47 |
-
|
48 |
-
<?php if( !empty( $node->id ) ) : ?>
|
49 |
-
<?php if( $node->id == 'site-name' ) : ?>
|
50 |
-
<?php $node->title = '[blog_name]'; ?>
|
51 |
-
<?php elseif( $node->id == 'updates' ) : ?>
|
52 |
-
<?php $node->title = '[update_total]'; ?>
|
53 |
-
<?php elseif( $node->id == 'comments' ) : ?>
|
54 |
-
<?php $node->title = '[comment_count]'; ?>
|
55 |
-
<?php endif; ?>
|
56 |
-
<?php endif; ?>
|
57 |
-
<?php $ParentNode[$node_id] = $node; ?>
|
58 |
-
|
59 |
-
<?php endif; ?>
|
60 |
-
|
61 |
-
<?php endforeach; ?>
|
62 |
-
|
63 |
-
<?php foreach( $this->Admin_bar as $node_id => $node ) : ?>
|
64 |
-
|
65 |
-
<?php if( !empty( $node->parent ) && $node->parent != 'top-secondary' ) : ?>
|
66 |
-
|
67 |
-
<?php if( $node->id != 'wp-logo-external' ) : ?>
|
68 |
-
<?php if( $node->parent == 'wp-logo-external' ) : ?>
|
69 |
-
<?php $node->parent = 'wp-logo'; ?>
|
70 |
-
<?php endif; ?>
|
71 |
-
<?php if( $node->id == 'my-sites-super-admin' or $node->id == 'my-sites-list' or preg_match( "/blog-[0-9]/" , $node->parent ) ) : ?>
|
72 |
-
<?php continue; ?>
|
73 |
-
<?php endif; ?>
|
74 |
-
<?php if( $node->parent == 'my-sites-list' ) : ?>
|
75 |
-
<?php $node->parent = 'my-sites'; ?>
|
76 |
-
<?php endif; ?>
|
77 |
-
<?php $ChildNode[$node->parent][] = $node; ?>
|
78 |
-
<?php endif; ?>
|
79 |
-
|
80 |
-
<?php endif; ?>
|
81 |
-
|
82 |
-
<?php endforeach; ?>
|
83 |
-
|
84 |
-
<?php foreach( $ParentNode as $p_node_id => $p_node ) : ?>
|
85 |
-
|
86 |
-
<?php $pnsn = array(); ?>
|
87 |
-
<?php if( !empty( $ChildNode[$p_node_id] ) ) : ?>
|
88 |
-
|
89 |
-
<?php foreach( $ChildNode[$p_node_id] as $key => $c_node ) : ?>
|
90 |
-
|
91 |
-
<?php $pnsn[] = array( 'id' => $c_node->id , 'title' => $c_node->title , 'parent' => $p_node_id , 'href' => $c_node->href , 'group' => false , 'new' => false ); ?>
|
92 |
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
<?php if( !empty( $ChildNode[$pnsn_node["id"]] ) ) : ?>
|
102 |
-
|
103 |
-
<?php foreach( $ChildNode[$pnsn_node["id"]] as $cs_node ) : ?>
|
104 |
-
|
105 |
-
<?php $pnsn[] = array( 'id' => $cs_node->id , 'title' => $cs_node->title , 'parent' => $p_node_id , 'href' => $cs_node->href , 'group' => false , 'new' => false ); ?>
|
106 |
-
|
107 |
-
<?php endforeach; ?>
|
108 |
-
|
109 |
<?php endif; ?>
|
110 |
-
|
111 |
<?php endforeach; ?>
|
112 |
-
|
113 |
<?php endif; ?>
|
114 |
-
|
115 |
-
<?php $menu_widget = array( 'id' => $
|
116 |
-
|
117 |
<?php $this->admin_bar_menu_widget( $menu_widget ); ?>
|
118 |
-
|
119 |
<?php endforeach; ?>
|
120 |
|
121 |
<?php else : ?>
|
122 |
|
123 |
<?php if( !empty( $Data["left"]["main"] ) ) : ?>
|
124 |
|
125 |
-
<?php foreach($Data["left"]["main"] as $main_node) : ?>
|
126 |
|
127 |
<?php $pnsn = array(); ?>
|
128 |
<?php if( !empty( $Data["left"]["sub"] ) ) : ?>
|
129 |
-
<?php foreach($Data["left"]["sub"] as $sub_node) : ?>
|
130 |
|
131 |
<?php if( $main_node["id"] == $sub_node["parent"] ) : ?>
|
132 |
|
@@ -157,65 +99,37 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
157 |
|
158 |
<?php if( empty( $Data ) ) : ?>
|
159 |
|
160 |
-
<?php $
|
161 |
-
|
162 |
-
<?php foreach( $this->Admin_bar as $node_id => $node ) : ?>
|
163 |
-
|
164 |
-
<?php if( !empty( $node->parent ) && $node->parent == 'top-secondary' ) : ?>
|
165 |
-
|
166 |
-
<?php if( $node->id == 'my-account' ) : ?>
|
167 |
-
<?php $node->title = sprintf( __('Howdy, %1$s'), '[user_name]' ); ?>
|
168 |
-
<?php endif; ?>
|
169 |
-
<?php $ParentNode[$node_id] = $node; ?>
|
170 |
-
|
171 |
-
<?php endif; ?>
|
172 |
-
|
173 |
-
<?php endforeach; ?>
|
174 |
-
|
175 |
-
<?php foreach( $this->Admin_bar as $node_id => $node ) : ?>
|
176 |
-
|
177 |
-
<?php if( !empty( $node->parent ) && $node->parent == 'user-actions' ) : ?>
|
178 |
-
|
179 |
-
<?php if( $node->id == 'user-info' ) : ?>
|
180 |
-
<?php $node->title = '<span class="display-name">[user_name]</span>'; ?>
|
181 |
-
<?php elseif( $node->id == 'logout' ) : ?>
|
182 |
-
<?php $node->href = preg_replace( '/&(.*)/' , '' , $node->href ); ?>
|
183 |
-
<?php endif; ?>
|
184 |
-
<?php $ChildNode["my-account"][] = $node; ?>
|
185 |
-
|
186 |
-
<?php endif; ?>
|
187 |
-
|
188 |
-
<?php endforeach; ?>
|
189 |
-
|
190 |
-
<?php foreach( $ParentNode as $p_node_id => $p_node ) : ?>
|
191 |
-
|
192 |
<?php $pnsn = array(); ?>
|
193 |
-
<?php if( !empty( $
|
194 |
-
|
195 |
-
<?php foreach( $ChildNode[$p_node_id] as $key => $c_node ) : ?>
|
196 |
|
197 |
-
|
198 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
199 |
<?php endforeach; ?>
|
200 |
-
|
201 |
<?php endif; ?>
|
202 |
-
|
203 |
-
<?php $menu_widget = array( 'id' => $
|
204 |
-
|
205 |
<?php $this->admin_bar_menu_widget( $menu_widget ); ?>
|
206 |
-
|
207 |
<?php endforeach; ?>
|
208 |
|
209 |
<?php else : ?>
|
210 |
|
211 |
<?php if( !empty( $Data["right"]["main"] ) ) : ?>
|
212 |
|
213 |
-
<?php foreach($Data["right"]["main"] as $main_node) : ?>
|
214 |
|
215 |
<?php $pnsn = array(); ?>
|
216 |
<?php if( !empty( $Data["right"]["sub"] ) ) : ?>
|
217 |
|
218 |
-
<?php foreach($Data["right"]["sub"] as $sub_node) : ?>
|
219 |
|
220 |
<?php if( $main_node["id"] == $sub_node["parent"] ) : ?>
|
221 |
|
@@ -246,7 +160,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
246 |
<div class="metabox-holder columns-1">
|
247 |
|
248 |
<div class="postbox">
|
249 |
-
<h3 class="hndle"><span><?php _e ( 'Menu that can be added' , $this->ltd ); ?></span></h3>
|
250 |
<div class="inside">
|
251 |
|
252 |
<p class="description">Custom Menu</p>
|
@@ -258,50 +172,18 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
258 |
|
259 |
<h4><?php _e( 'Left' , $this->ltd ); ?><?php _e( 'Menus' ); ?></h4>
|
260 |
|
261 |
-
<?php foreach( $
|
262 |
-
|
263 |
-
<?php if( empty( $node->parent ) && $node_id != 'top-secondary' ) : ?>
|
264 |
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
<?php $node->title = '[blog_name]'; ?>
|
269 |
-
<?php elseif( $node->id == 'updates' ) : ?>
|
270 |
-
<?php $node->title = '[update_total]'; ?>
|
271 |
-
<?php elseif( $node->id == 'comments' ) : ?>
|
272 |
-
<?php $node->title = '[comment_count]'; ?>
|
273 |
-
<?php endif; ?>
|
274 |
-
<?php endif; ?>
|
275 |
-
<?php $menu_widget = array( 'id' => $node->id , 'title' => $node->title , 'parent' => '' , 'href' => $node->href , 'group' => false , 'new' => true , 'subnode' => false ); ?>
|
276 |
-
<p class="description"><?php echo $node_id; ?></p>
|
277 |
-
<?php $this->admin_bar_menu_widget( $menu_widget ); ?>
|
278 |
|
279 |
-
<?php foreach( $
|
280 |
|
281 |
<?php if( $child_node->parent == $node_id ) : ?>
|
282 |
|
283 |
-
<?php
|
284 |
-
<?php
|
285 |
-
<?php $menu_widget = array( 'id' => $child_node->id , 'title' => $child_node->title , 'parent' => '' , 'href' => $child_node->href , 'group' => false , 'new' => true , 'subnode' => false ); ?>
|
286 |
-
<?php $this->admin_bar_menu_widget( $menu_widget ); ?>
|
287 |
-
<?php endif; ?>
|
288 |
-
|
289 |
-
<?php foreach( $this->Admin_bar as $child_sub_node_id => $child_sub_node ) : ?>
|
290 |
-
|
291 |
-
<?php if( $child_sub_node->parent == $child_node_id ) : ?>
|
292 |
-
|
293 |
-
<?php // left child sub menu ?>
|
294 |
-
<?php if( !empty( $child_sub_node->href ) ) : ?>
|
295 |
-
<?php if( preg_match( "/blog-[0-9]/" , $child_sub_node->parent ) ) : ?>
|
296 |
-
<?php continue; ?>
|
297 |
-
<?php endif; ?>
|
298 |
-
<?php $menu_widget = array( 'id' => $child_sub_node->id , 'title' => $child_sub_node->title , 'parent' => '' , 'href' => $child_sub_node->href , 'group' => false , 'new' => true , 'subnode' => false ); ?>
|
299 |
-
<?php $this->admin_bar_menu_widget( $menu_widget ); ?>
|
300 |
-
<?php endif; ?>
|
301 |
-
|
302 |
-
<?php endif; ?>
|
303 |
-
|
304 |
-
<?php endforeach; ?>
|
305 |
|
306 |
<?php endif; ?>
|
307 |
|
@@ -309,7 +191,6 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
309 |
|
310 |
<div class="clear"></div>
|
311 |
|
312 |
-
<?php endif; ?>
|
313 |
|
314 |
<?php endforeach; ?>
|
315 |
|
@@ -317,55 +198,29 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
317 |
|
318 |
<h4><?php _e( 'Right' , $this->ltd ); ?><?php _e( 'Menus' ); ?></h4>
|
319 |
|
320 |
-
<?php foreach( $
|
321 |
-
|
322 |
-
<?php if( $node->parent == 'top-secondary' ) : ?>
|
323 |
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
<?php endif; ?>
|
328 |
-
<?php $menu_widget = array( 'id' => $node->id , 'title' => $node->title , 'parent' => '' , 'href' => $node->href , 'group' => false , 'new' => true , 'subnode' => false ); ?>
|
329 |
-
<?php $this->admin_bar_menu_widget( $menu_widget ); ?>
|
330 |
|
331 |
-
|
332 |
|
333 |
-
|
334 |
-
<?php if( $child_node->id == 'user-info' ) : ?>
|
335 |
-
<?php $child_node->title = '<span class="display-name">[user_name]</span>'; ?>
|
336 |
-
<?php elseif( $child_node->id == 'logout' ) : ?>
|
337 |
-
<?php $child_node->href = preg_replace( '/&(.*)/' , '' , $child_node->href ); ?>
|
338 |
-
<?php endif; ?>
|
339 |
-
<?php $menu_widget = array( 'id' => $child_node->id , 'title' => $child_node->title , 'parent' => '' , 'href' => $child_node->href , 'group' => false , 'new' => true , 'subnode' => false ); ?>
|
340 |
-
<?php $this->admin_bar_menu_widget( $menu_widget ); ?>
|
341 |
-
<?php endif; ?>
|
342 |
|
343 |
-
|
|
|
344 |
|
345 |
-
|
346 |
|
347 |
-
<?php
|
|
|
|
|
348 |
|
349 |
<?php endforeach; ?>
|
350 |
|
351 |
<div class="clear"></div>
|
352 |
|
353 |
-
<?php
|
354 |
-
/*
|
355 |
-
<?php foreach( $this->Admin_bar as $node_id => $node ) : ?>
|
356 |
-
|
357 |
-
<?php if( !empty( $node->parent ) && $node->parent != 'top-secondary' && $node->id != 'user-info' && $node->id != 'user-actions' && $node->id != 'wp-logo-external' ) : ?>
|
358 |
-
|
359 |
-
<?php $menu_widget = array( 'id' => $node->id , 'title' => $node->title , 'parent' => '' , 'href' => $node->href , 'group' => false , 'new' => true , 'subnode' => false ); ?>
|
360 |
-
<?php $this->admin_bar_menu_widget( $menu_widget ); ?>
|
361 |
-
|
362 |
-
<?php endif; ?>
|
363 |
-
|
364 |
-
<?php endforeach; ?>
|
365 |
-
<div class="clear"></div>
|
366 |
-
*/
|
367 |
-
?>
|
368 |
-
|
369 |
</div>
|
370 |
</div>
|
371 |
|
@@ -376,7 +231,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
376 |
</p>
|
377 |
|
378 |
<p class="submit reset">
|
379 |
-
<span class="description"><?php _e( '
|
380 |
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
381 |
</p>
|
382 |
|
7 |
}
|
8 |
|
9 |
$Data = $this->get_data( 'admin_bar_menu' );
|
10 |
+
$AllDefaultNodes = $this->admin_bar_filter_load();
|
11 |
|
12 |
// include js css
|
13 |
$ReadedJs = array( 'jquery' , 'jquery-ui-draggable' , 'jquery-ui-droppable' , 'jquery-ui-sortable' , 'thickbox' );
|
20 |
<div class="wrap">
|
21 |
<div class="icon32" id="icon-tools"></div>
|
22 |
<?php echo $this->Msg; ?>
|
23 |
+
<h2><?php _e( 'Admin Bar Menu' , $this->ltd ); ?></h2>
|
24 |
<p><?php _e( 'Please change the menu by drag and drop.' , $this->ltd ); ?></p>
|
25 |
<p><strong><?php _e( 'Notice: Please do not place the same multiple menu slug.' , $this->ltd ); ?></strong></p>
|
26 |
+
<p class="description"><?php _e( 'Can be more than one custom menu.' , $this->ltd ); ?></p>
|
27 |
|
28 |
<p><a href="#TB_inline?height=300&width=600&inlineId=list_variables&modal=false" title="<?php _e( 'Shortcodes' , $this->ltd ); ?>" class="thickbox"><?php _e( 'Available Shortcodes' , $this->ltd ); ?></a></p>
|
29 |
|
40 |
<div class="inside">
|
41 |
<?php if( empty( $Data ) ) : ?>
|
42 |
|
43 |
+
<?php foreach( $AllDefaultNodes["left"]["main"] as $main_node) : ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
+
<?php $pnsn = array(); ?>
|
46 |
+
<?php if( !empty( $AllDefaultNodes["left"]["sub"] ) ) : ?>
|
47 |
+
<?php foreach( $AllDefaultNodes["left"]["sub"] as $sub_node) : ?>
|
48 |
+
|
49 |
+
<?php if( $main_node->id == $sub_node->parent ) : ?>
|
50 |
+
|
51 |
+
<?php $pnsn[] = array( 'id' => $sub_node->id , 'title' => stripslashes( $sub_node->title ) , 'parent' => $main_node->id , 'href' => $sub_node->href , 'group' => false , 'new' => false ); ?>
|
52 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
<?php endif; ?>
|
54 |
+
|
55 |
<?php endforeach; ?>
|
|
|
56 |
<?php endif; ?>
|
57 |
+
|
58 |
+
<?php $menu_widget = array( 'id' => $main_node->id , 'title' => stripslashes( $main_node->title ) , 'parent' => '' , 'href' => $main_node->href , 'group' => false , 'new' => false , 'subnode' => $pnsn ); ?>
|
|
|
59 |
<?php $this->admin_bar_menu_widget( $menu_widget ); ?>
|
60 |
+
|
61 |
<?php endforeach; ?>
|
62 |
|
63 |
<?php else : ?>
|
64 |
|
65 |
<?php if( !empty( $Data["left"]["main"] ) ) : ?>
|
66 |
|
67 |
+
<?php foreach( $Data["left"]["main"] as $main_node) : ?>
|
68 |
|
69 |
<?php $pnsn = array(); ?>
|
70 |
<?php if( !empty( $Data["left"]["sub"] ) ) : ?>
|
71 |
+
<?php foreach( $Data["left"]["sub"] as $sub_node) : ?>
|
72 |
|
73 |
<?php if( $main_node["id"] == $sub_node["parent"] ) : ?>
|
74 |
|
99 |
|
100 |
<?php if( empty( $Data ) ) : ?>
|
101 |
|
102 |
+
<?php foreach( $AllDefaultNodes["right"]["main"] as $main_node) : ?>
|
103 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
<?php $pnsn = array(); ?>
|
105 |
+
<?php if( !empty( $AllDefaultNodes["right"]["sub"] ) ) : ?>
|
|
|
|
|
106 |
|
107 |
+
<?php foreach( $AllDefaultNodes["right"]["sub"] as $sub_node) : ?>
|
108 |
+
|
109 |
+
<?php if( $main_node->id == $sub_node->parent ) : ?>
|
110 |
+
|
111 |
+
<?php $pnsn[] = array( 'id' => $sub_node->id , 'title' => stripslashes( $sub_node->title ) , 'parent' => $main_node->id , 'href' => $sub_node->href , 'group' => false , 'new' => false ); ?>
|
112 |
+
|
113 |
+
<?php endif; ?>
|
114 |
+
|
115 |
<?php endforeach; ?>
|
|
|
116 |
<?php endif; ?>
|
117 |
+
|
118 |
+
<?php $menu_widget = array( 'id' => $main_node->id , 'title' => stripslashes( $main_node->title ) , 'parent' => '' , 'href' => $main_node->href , 'group' => false , 'new' => false , 'subnode' => $pnsn ); ?>
|
|
|
119 |
<?php $this->admin_bar_menu_widget( $menu_widget ); ?>
|
120 |
+
|
121 |
<?php endforeach; ?>
|
122 |
|
123 |
<?php else : ?>
|
124 |
|
125 |
<?php if( !empty( $Data["right"]["main"] ) ) : ?>
|
126 |
|
127 |
+
<?php foreach( $Data["right"]["main"] as $main_node) : ?>
|
128 |
|
129 |
<?php $pnsn = array(); ?>
|
130 |
<?php if( !empty( $Data["right"]["sub"] ) ) : ?>
|
131 |
|
132 |
+
<?php foreach( $Data["right"]["sub"] as $sub_node) : ?>
|
133 |
|
134 |
<?php if( $main_node["id"] == $sub_node["parent"] ) : ?>
|
135 |
|
160 |
<div class="metabox-holder columns-1">
|
161 |
|
162 |
<div class="postbox">
|
163 |
+
<h3 class="hndle"><span><?php _e ( 'Menu items that can be added' , $this->ltd ); ?></span></h3>
|
164 |
<div class="inside">
|
165 |
|
166 |
<p class="description">Custom Menu</p>
|
172 |
|
173 |
<h4><?php _e( 'Left' , $this->ltd ); ?><?php _e( 'Menus' ); ?></h4>
|
174 |
|
175 |
+
<?php foreach( $AllDefaultNodes["left"]["main"] as $node_id => $node ) : ?>
|
|
|
|
|
176 |
|
177 |
+
<p class="description"><?php echo $node_id; ?></p>
|
178 |
+
<?php $menu_widget = array( 'id' => $node->id , 'title' => $node->title , 'parent' => '' , 'href' => $node->href , 'group' => false , 'new' => true , 'subnode' => false ); ?>
|
179 |
+
<?php $this->admin_bar_menu_widget( $menu_widget ); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
180 |
|
181 |
+
<?php foreach( $AllDefaultNodes["left"]["sub"] as $child_node_id => $child_node ) : ?>
|
182 |
|
183 |
<?php if( $child_node->parent == $node_id ) : ?>
|
184 |
|
185 |
+
<?php $menu_widget = array( 'id' => $child_node->id , 'title' => $child_node->title , 'parent' => '' , 'href' => $child_node->href , 'group' => false , 'new' => true , 'subnode' => false ); ?>
|
186 |
+
<?php $this->admin_bar_menu_widget( $menu_widget ); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
187 |
|
188 |
<?php endif; ?>
|
189 |
|
191 |
|
192 |
<div class="clear"></div>
|
193 |
|
|
|
194 |
|
195 |
<?php endforeach; ?>
|
196 |
|
198 |
|
199 |
<h4><?php _e( 'Right' , $this->ltd ); ?><?php _e( 'Menus' ); ?></h4>
|
200 |
|
201 |
+
<?php foreach( $AllDefaultNodes["right"]["main"] as $node_id => $node ) : ?>
|
|
|
|
|
202 |
|
203 |
+
<p class="description"><?php echo $node_id; ?></p>
|
204 |
+
<?php $menu_widget = array( 'id' => $node->id , 'title' => $node->title , 'parent' => '' , 'href' => $node->href , 'group' => false , 'new' => true , 'subnode' => false ); ?>
|
205 |
+
<?php $this->admin_bar_menu_widget( $menu_widget ); ?>
|
|
|
|
|
|
|
206 |
|
207 |
+
<?php foreach( $AllDefaultNodes["right"]["sub"] as $child_node_id => $child_node ) : ?>
|
208 |
|
209 |
+
<?php if( $child_node->parent == $node_id ) : ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
210 |
|
211 |
+
<?php $menu_widget = array( 'id' => $child_node->id , 'title' => $child_node->title , 'parent' => '' , 'href' => $child_node->href , 'group' => false , 'new' => true , 'subnode' => false ); ?>
|
212 |
+
<?php $this->admin_bar_menu_widget( $menu_widget ); ?>
|
213 |
|
214 |
+
<?php endif; ?>
|
215 |
|
216 |
+
<?php endforeach; ?>
|
217 |
+
|
218 |
+
<div class="clear"></div>
|
219 |
|
220 |
<?php endforeach; ?>
|
221 |
|
222 |
<div class="clear"></div>
|
223 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
224 |
</div>
|
225 |
</div>
|
226 |
|
231 |
</p>
|
232 |
|
233 |
<p class="submit reset">
|
234 |
+
<span class="description"><?php _e( 'Reset all settings?' , $this->ltd ); ?></span>
|
235 |
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
236 |
</p>
|
237 |
|
inc/setting_admin_general.php
CHANGED
@@ -20,7 +20,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
20 |
<div class="wrap">
|
21 |
<div class="icon32" id="icon-tools"></div>
|
22 |
<?php echo $this->Msg; ?>
|
23 |
-
<h2><?php _e( 'General
|
24 |
<p> </p>
|
25 |
|
26 |
<form id="waum_setting_admin_genelral" class="waum_form" method="post" action="">
|
@@ -31,13 +31,13 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
31 |
|
32 |
<div class="postbox">
|
33 |
<div class="handlediv" title="Click to toggle"><br></div>
|
34 |
-
<h3 class="hndle"><span><?php echo _e( '
|
35 |
<div class="inside">
|
36 |
<table class="form-table">
|
37 |
<tbody>
|
38 |
<tr>
|
39 |
<th>
|
40 |
-
<label><?php _e( '
|
41 |
</th>
|
42 |
<td>
|
43 |
<?php $field = 'notice_update_core'; ?>
|
@@ -75,7 +75,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
75 |
|
76 |
<div class="postbox">
|
77 |
<div class="handlediv" title="Click to toggle"><br></div>
|
78 |
-
<h3 class="hndle"><span><?php echo _e( 'Screen Options and Help
|
79 |
<div class="inside">
|
80 |
<table class="form-table">
|
81 |
<tbody>
|
@@ -138,7 +138,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
138 |
<?php $field = 'css'; ?>
|
139 |
<tr>
|
140 |
<th>
|
141 |
-
<label><?php _e( '
|
142 |
</th>
|
143 |
<td>
|
144 |
<?php $Val = ''; ?>
|
@@ -156,7 +156,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
156 |
<td>
|
157 |
<?php $Checked = ''; ?>
|
158 |
<?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
|
159 |
-
<label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Remove
|
160 |
</td>
|
161 |
</tr>
|
162 |
</tbody>
|
@@ -171,7 +171,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
171 |
</p>
|
172 |
|
173 |
<p class="submit reset">
|
174 |
-
<span class="description"><?php _e( '
|
175 |
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
176 |
</p>
|
177 |
|
20 |
<div class="wrap">
|
21 |
<div class="icon32" id="icon-tools"></div>
|
22 |
<?php echo $this->Msg; ?>
|
23 |
+
<h2><?php _e( 'General Screen Settings' , $this->ltd ); ?></h2>
|
24 |
<p> </p>
|
25 |
|
26 |
<form id="waum_setting_admin_genelral" class="waum_form" method="post" action="">
|
31 |
|
32 |
<div class="postbox">
|
33 |
<div class="handlediv" title="Click to toggle"><br></div>
|
34 |
+
<h3 class="hndle"><span><?php echo _e( 'Notifications' , $this->ltd ); ?></span></h3>
|
35 |
<div class="inside">
|
36 |
<table class="form-table">
|
37 |
<tbody>
|
38 |
<tr>
|
39 |
<th>
|
40 |
+
<label><?php _e( 'WordPress core update notice' , $this->ltd ); ?></label>
|
41 |
</th>
|
42 |
<td>
|
43 |
<?php $field = 'notice_update_core'; ?>
|
75 |
|
76 |
<div class="postbox">
|
77 |
<div class="handlediv" title="Click to toggle"><br></div>
|
78 |
+
<h3 class="hndle"><span><?php echo _e( 'Screen Options and Help Tab' , $this->ltd ); ?></span></h3>
|
79 |
<div class="inside">
|
80 |
<table class="form-table">
|
81 |
<tbody>
|
138 |
<?php $field = 'css'; ?>
|
139 |
<tr>
|
140 |
<th>
|
141 |
+
<label><?php _e( 'CSS file to load' , $this->ltd ); ?></label>
|
142 |
</th>
|
143 |
<td>
|
144 |
<?php $Val = ''; ?>
|
156 |
<td>
|
157 |
<?php $Checked = ''; ?>
|
158 |
<?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
|
159 |
+
<label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Remove "Wordpress" from the title tag of the Admin screen' , $this->ltd ); ?></label>
|
160 |
</td>
|
161 |
</tr>
|
162 |
</tbody>
|
171 |
</p>
|
172 |
|
173 |
<p class="submit reset">
|
174 |
+
<span class="description"><?php _e( 'Reset all settings?' , $this->ltd ); ?></span>
|
175 |
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
176 |
</p>
|
177 |
|
inc/setting_appearance_menus.php
CHANGED
@@ -18,7 +18,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
18 |
<div class="wrap">
|
19 |
<div class="icon32" id="icon-tools"></div>
|
20 |
<?php echo $this->Msg; ?>
|
21 |
-
<h2><?php _e( 'Appearance
|
22 |
<p> </p>
|
23 |
|
24 |
<form id="waum_setting_removemtabox" class="waum_form" method="post" action="">
|
@@ -80,7 +80,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
80 |
</p>
|
81 |
|
82 |
<p class="submit reset">
|
83 |
-
<span class="description"><?php _e( '
|
84 |
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
85 |
</p>
|
86 |
|
18 |
<div class="wrap">
|
19 |
<div class="icon32" id="icon-tools"></div>
|
20 |
<?php echo $this->Msg; ?>
|
21 |
+
<h2><?php _e( 'Appearance Menus Screen Setting' , $this->ltd ); ?></h2>
|
22 |
<p> </p>
|
23 |
|
24 |
<form id="waum_setting_removemtabox" class="waum_form" method="post" action="">
|
80 |
</p>
|
81 |
|
82 |
<p class="submit reset">
|
83 |
+
<span class="description"><?php _e( 'Reset all settings?' , $this->ltd ); ?></span>
|
84 |
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
85 |
</p>
|
86 |
|
inc/setting_dashboard.php
CHANGED
@@ -146,12 +146,12 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
146 |
<?php $field = 'metabox_move'; ?>
|
147 |
<tr>
|
148 |
<th>
|
149 |
-
<label><?php _e( '
|
150 |
</th>
|
151 |
<td>
|
152 |
<?php $Checked = ''; ?>
|
153 |
<?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
|
154 |
-
<label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e( "
|
155 |
</td>
|
156 |
</tr>
|
157 |
</tbody>
|
@@ -166,7 +166,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
166 |
</p>
|
167 |
|
168 |
<p class="submit reset">
|
169 |
-
<span class="description"><?php _e( '
|
170 |
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
171 |
</p>
|
172 |
|
146 |
<?php $field = 'metabox_move'; ?>
|
147 |
<tr>
|
148 |
<th>
|
149 |
+
<label><?php _e( 'Meta box movement restriction' , $this->ltd ); ?></label>
|
150 |
</th>
|
151 |
<td>
|
152 |
<?php $Checked = ''; ?>
|
153 |
<?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
|
154 |
+
<label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e( "Lock meta box positions" , $this->ltd ); ?></label>
|
155 |
</td>
|
156 |
</tr>
|
157 |
</tbody>
|
166 |
</p>
|
167 |
|
168 |
<p class="submit reset">
|
169 |
+
<span class="description"><?php _e( 'Reset all settings?' , $this->ltd ); ?></span>
|
170 |
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
171 |
</p>
|
172 |
|
inc/setting_default.php
CHANGED
@@ -22,7 +22,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
22 |
<?php echo $this->Msg; ?>
|
23 |
<h2><?php echo $this->Name; ?></h2>
|
24 |
<p><?php _e( 'Customize the UI of the management screen for all users.' , $this->ltd ); ?>
|
25 |
-
<p><?php _e ( 'Please select the user
|
26 |
<p><strong><span style="color: orange;">new</span> <a href="<?php echo $this->Site; ?>import_export_about/?utm_source=use_plugin&utm_medium=side&utm_content=utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank">WP Admin UI Customize Import & Export Add-on</a></strong></p>
|
27 |
|
28 |
<div class="metabox-holder columns-2">
|
@@ -55,7 +55,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
55 |
</p>
|
56 |
|
57 |
<p class="submit reset">
|
58 |
-
<span class="description"><?php _e( '
|
59 |
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
60 |
</p>
|
61 |
|
22 |
<?php echo $this->Msg; ?>
|
23 |
<h2><?php echo $this->Name; ?></h2>
|
24 |
<p><?php _e( 'Customize the UI of the management screen for all users.' , $this->ltd ); ?>
|
25 |
+
<p><?php _e ( 'Please select the user roles that all settings will apply to.' , $this->ltd ); ?></p>
|
26 |
<p><strong><span style="color: orange;">new</span> <a href="<?php echo $this->Site; ?>import_export_about/?utm_source=use_plugin&utm_medium=side&utm_content=utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank">WP Admin UI Customize Import & Export Add-on</a></strong></p>
|
27 |
|
28 |
<div class="metabox-holder columns-2">
|
55 |
</p>
|
56 |
|
57 |
<p class="submit reset">
|
58 |
+
<span class="description"><?php _e( 'Reset all settings?' , $this->ltd ); ?></span>
|
59 |
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
60 |
</p>
|
61 |
|
inc/setting_loginscreen.php
CHANGED
@@ -55,7 +55,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
55 |
<?php $field = 'login_headertitle'; ?>
|
56 |
<tr>
|
57 |
<th>
|
58 |
-
<label><?php _e( 'Logo
|
59 |
</th>
|
60 |
<td>
|
61 |
<?php $Val = ''; ?>
|
@@ -95,7 +95,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
95 |
<?php $field = 'login_css'; ?>
|
96 |
<tr>
|
97 |
<th>
|
98 |
-
<label><?php _e( '
|
99 |
</th>
|
100 |
<td>
|
101 |
<?php $Val = ''; ?>
|
@@ -127,7 +127,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
127 |
</p>
|
128 |
|
129 |
<p class="submit reset">
|
130 |
-
<span class="description"><?php _e( '
|
131 |
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
132 |
</p>
|
133 |
|
55 |
<?php $field = 'login_headertitle'; ?>
|
56 |
<tr>
|
57 |
<th>
|
58 |
+
<label><?php _e( 'Logo Title' , $this->ltd ); ?></label>
|
59 |
</th>
|
60 |
<td>
|
61 |
<?php $Val = ''; ?>
|
95 |
<?php $field = 'login_css'; ?>
|
96 |
<tr>
|
97 |
<th>
|
98 |
+
<label><?php _e( 'CSS file to load' , $this->ltd ); ?></label>
|
99 |
</th>
|
100 |
<td>
|
101 |
<?php $Val = ''; ?>
|
127 |
</p>
|
128 |
|
129 |
<p class="submit reset">
|
130 |
+
<span class="description"><?php _e( 'Reset all settings?' , $this->ltd ); ?></span>
|
131 |
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
132 |
</p>
|
133 |
|
inc/setting_post_add_edit.php
CHANGED
@@ -18,7 +18,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
18 |
<div class="wrap">
|
19 |
<div class="icon32" id="icon-tools"></div>
|
20 |
<?php echo $this->Msg; ?>
|
21 |
-
<h2><?php _e( 'Add New Post and Edit Post
|
22 |
<p> </p>
|
23 |
|
24 |
<form id="waum_setting_removemtabox" class="waum_form" method="post" action="">
|
@@ -58,7 +58,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
58 |
</p>
|
59 |
|
60 |
<p class="submit reset">
|
61 |
-
<span class="description"><?php _e( '
|
62 |
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
63 |
</p>
|
64 |
|
18 |
<div class="wrap">
|
19 |
<div class="icon32" id="icon-tools"></div>
|
20 |
<?php echo $this->Msg; ?>
|
21 |
+
<h2><?php _e( 'Add New Post and Edit Post Screen Setting' , $this->ltd ); ?></h2>
|
22 |
<p> </p>
|
23 |
|
24 |
<form id="waum_setting_removemtabox" class="waum_form" method="post" action="">
|
58 |
</p>
|
59 |
|
60 |
<p class="submit reset">
|
61 |
+
<span class="description"><?php _e( 'Reset all settings?' , $this->ltd ); ?></span>
|
62 |
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
63 |
</p>
|
64 |
|
inc/setting_removemtabox.php
CHANGED
@@ -20,7 +20,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
20 |
<div class="icon32" id="icon-tools"></div>
|
21 |
<?php echo $this->Msg; ?>
|
22 |
<h2><?php _e( 'Remove meta box' , $this->ltd ); ?></h2>
|
23 |
-
<p><?php _e( 'Please
|
24 |
|
25 |
<form id="waum_setting_removemtabox" class="waum_form" method="post" action="">
|
26 |
<input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
|
@@ -36,7 +36,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
36 |
<?php if( empty( $Metaboxes["metaboxes"]["post"] ) ) : ?>
|
37 |
|
38 |
<p><?php _e( 'Could not read the meta box.' , $this->ltd ); ?></p>
|
39 |
-
<p><?php _e( 'Meta boxes will be loaded automatically when you
|
40 |
|
41 |
<?php else: ?>
|
42 |
|
@@ -86,7 +86,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
86 |
<?php if( empty( $Metaboxes["metaboxes"]["page"] ) ) : ?>
|
87 |
|
88 |
<p><?php _e( 'Could not read the meta box.' , $this->ltd ); ?></p>
|
89 |
-
<p><?php _e( 'Meta boxes will be loaded automatically when you
|
90 |
|
91 |
<?php else: ?>
|
92 |
|
@@ -123,7 +123,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
123 |
</p>
|
124 |
|
125 |
<p class="submit reset">
|
126 |
-
<span class="description"><?php _e( '
|
127 |
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
128 |
</p>
|
129 |
|
20 |
<div class="icon32" id="icon-tools"></div>
|
21 |
<?php echo $this->Msg; ?>
|
22 |
<h2><?php _e( 'Remove meta box' , $this->ltd ); ?></h2>
|
23 |
+
<p><?php _e( 'Please update or add a "post" and a "page" to load the available meta boxes.' , $this->ltd ); ?></p>
|
24 |
|
25 |
<form id="waum_setting_removemtabox" class="waum_form" method="post" action="">
|
26 |
<input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
|
36 |
<?php if( empty( $Metaboxes["metaboxes"]["post"] ) ) : ?>
|
37 |
|
38 |
<p><?php _e( 'Could not read the meta box.' , $this->ltd ); ?></p>
|
39 |
+
<p><?php _e( 'Meta boxes will be loaded automatically when you update or add a post.' , $this->ltd ); ?></p>
|
40 |
|
41 |
<?php else: ?>
|
42 |
|
86 |
<?php if( empty( $Metaboxes["metaboxes"]["page"] ) ) : ?>
|
87 |
|
88 |
<p><?php _e( 'Could not read the meta box.' , $this->ltd ); ?></p>
|
89 |
+
<p><?php _e( 'Meta boxes will be loaded automatically when you update or add a page.' , $this->ltd ); ?></p>
|
90 |
|
91 |
<?php else: ?>
|
92 |
|
123 |
</p>
|
124 |
|
125 |
<p class="submit reset">
|
126 |
+
<span class="description"><?php _e( 'Reset all settings?' , $this->ltd ); ?></span>
|
127 |
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
128 |
</p>
|
129 |
|
inc/setting_sidemenu.php
CHANGED
@@ -36,7 +36,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
36 |
<div id="postbox-container-1" class="postbox-container">
|
37 |
|
38 |
<div class="postbox">
|
39 |
-
<h3 class="hndle"><span><?php _e( '
|
40 |
<div class="inside">
|
41 |
|
42 |
<?php if( empty( $Data ) ) : ?>
|
@@ -118,7 +118,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
118 |
<div id="postbox-container-2" class="postbox-container">
|
119 |
|
120 |
<div class="postbox">
|
121 |
-
<h3 class="hndle"><span><?php _e( 'Menu that can be added' , $this->ltd ); ?></span></h3>
|
122 |
<div class="inside">
|
123 |
|
124 |
<p class="description"><?php _e( 'Sepalator' , $this->ltd ); ?></p>
|
@@ -183,7 +183,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
183 |
</p>
|
184 |
|
185 |
<p class="submit reset">
|
186 |
-
<span class="description"><?php _e( '
|
187 |
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
188 |
</p>
|
189 |
|
36 |
<div id="postbox-container-1" class="postbox-container">
|
37 |
|
38 |
<div class="postbox">
|
39 |
+
<h3 class="hndle"><span><?php _e( 'Current menu' , $this->ltd ); ?></span></h3>
|
40 |
<div class="inside">
|
41 |
|
42 |
<?php if( empty( $Data ) ) : ?>
|
118 |
<div id="postbox-container-2" class="postbox-container">
|
119 |
|
120 |
<div class="postbox">
|
121 |
+
<h3 class="hndle"><span><?php _e( 'Menu items that can be added' , $this->ltd ); ?></span></h3>
|
122 |
<div class="inside">
|
123 |
|
124 |
<p class="description"><?php _e( 'Sepalator' , $this->ltd ); ?></p>
|
183 |
</p>
|
184 |
|
185 |
<p class="submit reset">
|
186 |
+
<span class="description"><?php _e( 'Reset all settings?' , $this->ltd ); ?></span>
|
187 |
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
188 |
</p>
|
189 |
|
inc/setting_site.php
CHANGED
@@ -115,20 +115,18 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
115 |
<?php echo $field; ?>
|
116 |
</th>
|
117 |
<td>
|
118 |
-
<?php $arr = array( "hide" => __( 'Hide' ) , "front" => __( 'Apply
|
119 |
-
<
|
|
|
120 |
<?php foreach( $arr as $key => $label ) : ?>
|
121 |
-
<?php $
|
122 |
<?php if( !empty( $Data[$field] ) ) : ?>
|
123 |
-
<?php if( $Data[$field] == $key ) : $
|
124 |
-
<?php if( $key == "hide" && $Data[$field] == "1" ) : $
|
125 |
<?php endif; ?>
|
126 |
-
|
127 |
-
<li>
|
128 |
-
<label><input type="radio" name="data[<?php echo $field; ?>]" value="<?php echo $key; ?>" <?php echo $Checked; ?> /> <?php echo $label; ?></label>
|
129 |
-
</li>
|
130 |
<?php endforeach; ?>
|
131 |
-
</
|
132 |
</td>
|
133 |
</tr>
|
134 |
</tbody>
|
@@ -143,7 +141,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
143 |
</p>
|
144 |
|
145 |
<p class="submit reset">
|
146 |
-
<span class="description"><?php _e( '
|
147 |
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
148 |
</p>
|
149 |
|
115 |
<?php echo $field; ?>
|
116 |
</th>
|
117 |
<td>
|
118 |
+
<?php $arr = array( "hide" => __( 'Hide the Admin bar on the front end' , $this->ltd ) , "front" => __( 'Apply WP Admin UI Customize settings on the front end admin bar also' , $this->ltd ) ); ?>
|
119 |
+
<select name="data[<?php echo $field; ?>]">
|
120 |
+
<option value="">-</option>
|
121 |
<?php foreach( $arr as $key => $label ) : ?>
|
122 |
+
<?php $Selected = ''; ?>
|
123 |
<?php if( !empty( $Data[$field] ) ) : ?>
|
124 |
+
<?php if( $Data[$field] == $key ) : $Selected = 'selected="selected"'; endif; ?>
|
125 |
+
<?php if( $key == "hide" && $Data[$field] == "1" ) : $Selected = 'selected="selected"'; endif; ?>
|
126 |
<?php endif; ?>
|
127 |
+
<option value="<?php echo $key; ?>" <?php echo $Selected; ?>><?php echo $label; ?></option>
|
|
|
|
|
|
|
128 |
<?php endforeach; ?>
|
129 |
+
</select>
|
130 |
</td>
|
131 |
</tr>
|
132 |
</tbody>
|
141 |
</p>
|
142 |
|
143 |
<p class="submit reset">
|
144 |
+
<span class="description"><?php _e( 'Reset all settings?' , $this->ltd ); ?></span>
|
145 |
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
146 |
</p>
|
147 |
|
languages/wauc-ja.mo
CHANGED
Binary file
|
languages/wauc-ja.po
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WP Admin UI Customize\n"
|
4 |
"POT-Creation-Date: \n"
|
5 |
-
"PO-Revision-Date: 2013-06-
|
6 |
"Language-Team: \n"
|
7 |
"MIME-Version: 1.0\n"
|
8 |
"Content-Type: text/plain; charset=utf-8\n"
|
@@ -10,10 +10,11 @@ msgstr ""
|
|
10 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
11 |
"X-Poedit-Language: Japanese\n"
|
12 |
"X-Poedit-Country: JAPAN\n"
|
|
|
13 |
"X-Poedit-SourceCharset: utf-8\n"
|
14 |
"Last-Translator: Gqevu6bsiz <gqevu6bsiz@gmail.com>\n"
|
15 |
|
16 |
-
msgid "
|
17 |
msgstr "管理画面のカスタマイズに優れたプラグインです。"
|
18 |
|
19 |
msgid "Customize the UI of the management screen for all users."
|
@@ -22,11 +23,11 @@ msgstr "全てのユーザーの管理画面UIをカスタマイズします。"
|
|
22 |
msgid "Authority to apply the setting is not selected. <a href=\"%s\">From here</a>, please select the permissions you want to set."
|
23 |
msgstr "設定を適用する権限が選択されていません。<a href=\"%s\">こちら</a>から設定する権限を選んでください。"
|
24 |
|
25 |
-
msgid "Please select the user
|
26 |
msgstr "設定を適用する権限を選んでください。"
|
27 |
|
28 |
-
msgid "
|
29 |
-
msgstr "
|
30 |
|
31 |
msgid "Site Settings"
|
32 |
msgstr "サイトの設定"
|
@@ -46,14 +47,17 @@ msgstr "サイト全体のフィードリンク"
|
|
46 |
msgid "Extra feed"
|
47 |
msgstr "その他のフィードリンク"
|
48 |
|
49 |
-
msgid "
|
|
|
|
|
|
|
50 |
msgstr "WP Admin UI Customize の管理バーの設定をフロントにも適用"
|
51 |
|
52 |
msgid "Account Title"
|
53 |
msgstr "アカウント表記"
|
54 |
|
55 |
-
msgid "
|
56 |
-
msgstr "
|
57 |
|
58 |
msgid "Add New"
|
59 |
msgstr "新規追加"
|
@@ -64,17 +68,17 @@ msgstr "アップデート表示"
|
|
64 |
msgid "Profile Edit"
|
65 |
msgstr "プロフィール編集"
|
66 |
|
67 |
-
msgid "General
|
68 |
msgstr "一般設定"
|
69 |
|
70 |
-
msgid "
|
71 |
msgstr "通知"
|
72 |
|
73 |
msgid "Not notified"
|
74 |
msgstr "通知しない"
|
75 |
|
76 |
-
msgid "
|
77 |
-
msgstr "
|
78 |
|
79 |
msgid "Plugin update notice"
|
80 |
msgstr "プラグイン アップデート通知"
|
@@ -88,10 +92,10 @@ msgstr "フッターテキスト"
|
|
88 |
msgid "Title tag for Admin screen"
|
89 |
msgstr "管理画面のタイトルタグ"
|
90 |
|
91 |
-
msgid "Remove
|
92 |
-
msgstr "管理画面のタイトルタグから\"
|
93 |
|
94 |
-
msgid "Screen Options and Help
|
95 |
msgstr "表示オプションとヘルプタブ"
|
96 |
|
97 |
msgid "Meta boxes"
|
@@ -100,19 +104,19 @@ msgstr "メタボックス"
|
|
100 |
msgid "Other"
|
101 |
msgstr "その他"
|
102 |
|
103 |
-
msgid "
|
104 |
msgstr "メタボックスの移動制限"
|
105 |
|
106 |
-
msgid "
|
107 |
msgstr "メタボックスを移動させない"
|
108 |
|
109 |
-
msgid "Admin
|
110 |
msgstr "管理バー"
|
111 |
|
112 |
msgid "Notice: Please do not place the same multiple menu slug."
|
113 |
msgstr "注意: 複数同じメニュースラッグを設置しないでください。"
|
114 |
|
115 |
-
msgid "
|
116 |
msgstr "カスタムメニューは複数設置できます。"
|
117 |
|
118 |
msgid "Left"
|
@@ -121,7 +125,7 @@ msgstr "左"
|
|
121 |
msgid "Right"
|
122 |
msgstr "右"
|
123 |
|
124 |
-
msgid "Menu that can be added"
|
125 |
msgstr "追加できるメニュー一覧"
|
126 |
|
127 |
msgid "Custom Menu"
|
@@ -133,7 +137,7 @@ msgstr "サイドメニュー"
|
|
133 |
msgid "Please change the menu by drag and drop."
|
134 |
msgstr "ドラッグ&ドロップでメニューを変更してください。"
|
135 |
|
136 |
-
msgid "
|
137 |
msgstr "現在のメニュー"
|
138 |
|
139 |
msgid "Sepalator"
|
@@ -151,23 +155,23 @@ msgstr "メタボックス削除"
|
|
151 |
msgid "Could not read the meta box."
|
152 |
msgstr "メタボックスの読み込みができませんでした。"
|
153 |
|
154 |
-
msgid "Meta boxes will be loaded automatically when you
|
155 |
msgstr "投稿編集画面を一度表示すると自動でメタボックスが読み込まれます。"
|
156 |
|
157 |
-
msgid "Meta boxes will be loaded automatically when you
|
158 |
msgstr "固定ページ編集画面を一度表示すると自動でメタボックスが読み込まれます。"
|
159 |
|
160 |
-
msgid "Please
|
161 |
msgstr "新しいプラグインのメタボックスを読み込むには編集画面に一度アクセスしてください。"
|
162 |
|
163 |
-
msgid "Add New Post and Edit Post
|
164 |
msgstr "新規投稿と投稿編集の設定"
|
165 |
|
166 |
msgid "Only appears when you have settings to the default permalink."
|
167 |
msgstr "デフォルトのパーマリンクに設定している時のみ表示されます。"
|
168 |
|
169 |
-
msgid "Appearance
|
170 |
-
msgstr "
|
171 |
|
172 |
msgid "Add a new menu"
|
173 |
msgstr "メニューの新規作成"
|
@@ -193,13 +197,13 @@ msgstr "ログインフォーム"
|
|
193 |
msgid "The link after clicking on the logo"
|
194 |
msgstr "ロゴをクリック後のリンク"
|
195 |
|
196 |
-
msgid "Logo
|
197 |
msgstr "ロゴタイトル"
|
198 |
|
199 |
msgid "Logo Image path"
|
200 |
msgstr "ロゴ画像のパス"
|
201 |
|
202 |
-
msgid "
|
203 |
msgstr "CSSファイルを読み込む"
|
204 |
|
205 |
msgid "Available Shortcodes"
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WP Admin UI Customize\n"
|
4 |
"POT-Creation-Date: \n"
|
5 |
+
"PO-Revision-Date: 2013-06-05 14:46+0900\n"
|
6 |
"Language-Team: \n"
|
7 |
"MIME-Version: 1.0\n"
|
8 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
11 |
"X-Poedit-Language: Japanese\n"
|
12 |
"X-Poedit-Country: JAPAN\n"
|
13 |
+
"Language: ja_JP\n"
|
14 |
"X-Poedit-SourceCharset: utf-8\n"
|
15 |
"Last-Translator: Gqevu6bsiz <gqevu6bsiz@gmail.com>\n"
|
16 |
|
17 |
+
msgid "An excellent plugin to customize the management screens."
|
18 |
msgstr "管理画面のカスタマイズに優れたプラグインです。"
|
19 |
|
20 |
msgid "Customize the UI of the management screen for all users."
|
23 |
msgid "Authority to apply the setting is not selected. <a href=\"%s\">From here</a>, please select the permissions you want to set."
|
24 |
msgstr "設定を適用する権限が選択されていません。<a href=\"%s\">こちら</a>から設定する権限を選んでください。"
|
25 |
|
26 |
+
msgid "Please select the user roles that all settings will apply to."
|
27 |
msgstr "設定を適用する権限を選んでください。"
|
28 |
|
29 |
+
msgid "Reset all settings?"
|
30 |
+
msgstr "リセットしますか?"
|
31 |
|
32 |
msgid "Site Settings"
|
33 |
msgstr "サイトの設定"
|
47 |
msgid "Extra feed"
|
48 |
msgstr "その他のフィードリンク"
|
49 |
|
50 |
+
msgid "Hide the Admin bar on the front end"
|
51 |
+
msgstr "サイトで管理バーを非表示"
|
52 |
+
|
53 |
+
msgid "Apply WP Admin UI Customize settings on the front end admin bar also"
|
54 |
msgstr "WP Admin UI Customize の管理バーの設定をフロントにも適用"
|
55 |
|
56 |
msgid "Account Title"
|
57 |
msgstr "アカウント表記"
|
58 |
|
59 |
+
msgid "WordPress Logo"
|
60 |
+
msgstr "WordPress のロゴ"
|
61 |
|
62 |
msgid "Add New"
|
63 |
msgstr "新規追加"
|
68 |
msgid "Profile Edit"
|
69 |
msgstr "プロフィール編集"
|
70 |
|
71 |
+
msgid "General Screen Settings"
|
72 |
msgstr "一般設定"
|
73 |
|
74 |
+
msgid "Notifications"
|
75 |
msgstr "通知"
|
76 |
|
77 |
msgid "Not notified"
|
78 |
msgstr "通知しない"
|
79 |
|
80 |
+
msgid "WordPress core update notice"
|
81 |
+
msgstr "WordPress コアアップデート通知"
|
82 |
|
83 |
msgid "Plugin update notice"
|
84 |
msgstr "プラグイン アップデート通知"
|
92 |
msgid "Title tag for Admin screen"
|
93 |
msgstr "管理画面のタイトルタグ"
|
94 |
|
95 |
+
msgid "Remove \"Wordpress\" from the title tag of the Admin screen"
|
96 |
+
msgstr "管理画面のタイトルタグから\"WordPress\"を削除"
|
97 |
|
98 |
+
msgid "Screen Options and Help Tab"
|
99 |
msgstr "表示オプションとヘルプタブ"
|
100 |
|
101 |
msgid "Meta boxes"
|
104 |
msgid "Other"
|
105 |
msgstr "その他"
|
106 |
|
107 |
+
msgid "Meta box movement restriction"
|
108 |
msgstr "メタボックスの移動制限"
|
109 |
|
110 |
+
msgid "Lock meta box positions"
|
111 |
msgstr "メタボックスを移動させない"
|
112 |
|
113 |
+
msgid "Admin Bar Menu"
|
114 |
msgstr "管理バー"
|
115 |
|
116 |
msgid "Notice: Please do not place the same multiple menu slug."
|
117 |
msgstr "注意: 複数同じメニュースラッグを設置しないでください。"
|
118 |
|
119 |
+
msgid "Can be more than one custom menu."
|
120 |
msgstr "カスタムメニューは複数設置できます。"
|
121 |
|
122 |
msgid "Left"
|
125 |
msgid "Right"
|
126 |
msgstr "右"
|
127 |
|
128 |
+
msgid "Menu items that can be added"
|
129 |
msgstr "追加できるメニュー一覧"
|
130 |
|
131 |
msgid "Custom Menu"
|
137 |
msgid "Please change the menu by drag and drop."
|
138 |
msgstr "ドラッグ&ドロップでメニューを変更してください。"
|
139 |
|
140 |
+
msgid "Current menu"
|
141 |
msgstr "現在のメニュー"
|
142 |
|
143 |
msgid "Sepalator"
|
155 |
msgid "Could not read the meta box."
|
156 |
msgstr "メタボックスの読み込みができませんでした。"
|
157 |
|
158 |
+
msgid "Meta boxes will be loaded automatically when you update or add a post."
|
159 |
msgstr "投稿編集画面を一度表示すると自動でメタボックスが読み込まれます。"
|
160 |
|
161 |
+
msgid "Meta boxes will be loaded automatically when you update or add a page."
|
162 |
msgstr "固定ページ編集画面を一度表示すると自動でメタボックスが読み込まれます。"
|
163 |
|
164 |
+
msgid "Please update or add a \"post\" and a \"page\" to load the available meta boxes."
|
165 |
msgstr "新しいプラグインのメタボックスを読み込むには編集画面に一度アクセスしてください。"
|
166 |
|
167 |
+
msgid "Add New Post and Edit Post Screen Setting"
|
168 |
msgstr "新規投稿と投稿編集の設定"
|
169 |
|
170 |
msgid "Only appears when you have settings to the default permalink."
|
171 |
msgstr "デフォルトのパーマリンクに設定している時のみ表示されます。"
|
172 |
|
173 |
+
msgid "Appearance Menus Screen Setting"
|
174 |
+
msgstr "外観メニュー画面の設定"
|
175 |
|
176 |
msgid "Add a new menu"
|
177 |
msgstr "メニューの新規作成"
|
197 |
msgid "The link after clicking on the logo"
|
198 |
msgstr "ロゴをクリック後のリンク"
|
199 |
|
200 |
+
msgid "Logo Title"
|
201 |
msgstr "ロゴタイトル"
|
202 |
|
203 |
msgid "Logo Image path"
|
204 |
msgstr "ロゴ画像のパス"
|
205 |
|
206 |
+
msgid "CSS file to load"
|
207 |
msgstr "CSSファイルを読み込む"
|
208 |
|
209 |
msgid "Available Shortcodes"
|
languages/wauc.pot
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WP Admin UI Customize\n"
|
4 |
"POT-Creation-Date: \n"
|
5 |
-
"PO-Revision-Date: 2013-06-04
|
6 |
"Language-Team: \n"
|
7 |
"MIME-Version: 1.0\n"
|
8 |
"Content-Type: text/plain; charset=utf-8\n"
|
@@ -10,10 +10,11 @@ msgstr ""
|
|
10 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
11 |
"X-Poedit-Language: Japanese\n"
|
12 |
"X-Poedit-Country: JAPAN\n"
|
|
|
13 |
"X-Poedit-SourceCharset: utf-8\n"
|
14 |
-
"Last-Translator:
|
15 |
|
16 |
-
msgid "
|
17 |
msgstr ""
|
18 |
|
19 |
msgid "Customize the UI of the management screen for all users."
|
@@ -22,10 +23,10 @@ msgstr ""
|
|
22 |
msgid "Authority to apply the setting is not selected. <a href=\"%s\">From here</a>, please select the permissions you want to set."
|
23 |
msgstr ""
|
24 |
|
25 |
-
msgid "Please select the user
|
26 |
msgstr ""
|
27 |
|
28 |
-
msgid "
|
29 |
msgstr ""
|
30 |
|
31 |
msgid "Site Settings"
|
@@ -46,13 +47,16 @@ msgstr ""
|
|
46 |
msgid "Extra feed"
|
47 |
msgstr ""
|
48 |
|
49 |
-
msgid "
|
|
|
|
|
|
|
50 |
msgstr ""
|
51 |
|
52 |
msgid "Account Title"
|
53 |
msgstr ""
|
54 |
|
55 |
-
msgid "
|
56 |
msgstr ""
|
57 |
|
58 |
msgid "Add New"
|
@@ -64,16 +68,16 @@ msgstr ""
|
|
64 |
msgid "Profile Edit"
|
65 |
msgstr ""
|
66 |
|
67 |
-
msgid "General
|
68 |
msgstr ""
|
69 |
|
70 |
-
msgid "
|
71 |
msgstr ""
|
72 |
|
73 |
msgid "Not notified"
|
74 |
msgstr ""
|
75 |
|
76 |
-
msgid "
|
77 |
msgstr ""
|
78 |
|
79 |
msgid "Plugin update notice"
|
@@ -88,10 +92,10 @@ msgstr ""
|
|
88 |
msgid "Title tag for Admin screen"
|
89 |
msgstr ""
|
90 |
|
91 |
-
msgid "Remove
|
92 |
msgstr ""
|
93 |
|
94 |
-
msgid "Screen Options and Help
|
95 |
msgstr ""
|
96 |
|
97 |
msgid "Meta boxes"
|
@@ -100,19 +104,19 @@ msgstr ""
|
|
100 |
msgid "Other"
|
101 |
msgstr ""
|
102 |
|
103 |
-
msgid "
|
104 |
msgstr ""
|
105 |
|
106 |
-
msgid "
|
107 |
msgstr ""
|
108 |
|
109 |
-
msgid "Admin
|
110 |
msgstr ""
|
111 |
|
112 |
msgid "Notice: Please do not place the same multiple menu slug."
|
113 |
msgstr ""
|
114 |
|
115 |
-
msgid "
|
116 |
msgstr ""
|
117 |
|
118 |
msgid "Left"
|
@@ -121,7 +125,7 @@ msgstr ""
|
|
121 |
msgid "Right"
|
122 |
msgstr ""
|
123 |
|
124 |
-
msgid "Menu that can be added"
|
125 |
msgstr ""
|
126 |
|
127 |
msgid "Custom Menu"
|
@@ -133,7 +137,7 @@ msgstr ""
|
|
133 |
msgid "Please change the menu by drag and drop."
|
134 |
msgstr ""
|
135 |
|
136 |
-
msgid "
|
137 |
msgstr ""
|
138 |
|
139 |
msgid "Sepalator"
|
@@ -151,22 +155,22 @@ msgstr ""
|
|
151 |
msgid "Could not read the meta box."
|
152 |
msgstr ""
|
153 |
|
154 |
-
msgid "Meta boxes will be loaded automatically when you
|
155 |
msgstr ""
|
156 |
|
157 |
-
msgid "Meta boxes will be loaded automatically when you
|
158 |
msgstr ""
|
159 |
|
160 |
-
msgid "Please
|
161 |
msgstr ""
|
162 |
|
163 |
-
msgid "Add New Post and Edit Post
|
164 |
msgstr ""
|
165 |
|
166 |
msgid "Only appears when you have settings to the default permalink."
|
167 |
msgstr ""
|
168 |
|
169 |
-
msgid "Appearance
|
170 |
msgstr ""
|
171 |
|
172 |
msgid "Add a new menu"
|
@@ -193,13 +197,13 @@ msgstr ""
|
|
193 |
msgid "The link after clicking on the logo"
|
194 |
msgstr ""
|
195 |
|
196 |
-
msgid "Logo
|
197 |
msgstr ""
|
198 |
|
199 |
msgid "Logo Image path"
|
200 |
msgstr ""
|
201 |
|
202 |
-
msgid "
|
203 |
msgstr ""
|
204 |
|
205 |
msgid "Available Shortcodes"
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WP Admin UI Customize\n"
|
4 |
"POT-Creation-Date: \n"
|
5 |
+
"PO-Revision-Date: 2013-06-04 14:39+0900\n"
|
6 |
"Language-Team: \n"
|
7 |
"MIME-Version: 1.0\n"
|
8 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
11 |
"X-Poedit-Language: Japanese\n"
|
12 |
"X-Poedit-Country: JAPAN\n"
|
13 |
+
"Language: ja_JP\n"
|
14 |
"X-Poedit-SourceCharset: utf-8\n"
|
15 |
+
"Last-Translator: CedarPoint <mike@cedarpointconcepts.com>\n"
|
16 |
|
17 |
+
msgid "An excellent plugin to customize the management screens."
|
18 |
msgstr ""
|
19 |
|
20 |
msgid "Customize the UI of the management screen for all users."
|
23 |
msgid "Authority to apply the setting is not selected. <a href=\"%s\">From here</a>, please select the permissions you want to set."
|
24 |
msgstr ""
|
25 |
|
26 |
+
msgid "Please select the user roles that all settings will apply to."
|
27 |
msgstr ""
|
28 |
|
29 |
+
msgid "Reset all settings?"
|
30 |
msgstr ""
|
31 |
|
32 |
msgid "Site Settings"
|
47 |
msgid "Extra feed"
|
48 |
msgstr ""
|
49 |
|
50 |
+
msgid "Hide the Admin bar on the front end"
|
51 |
+
msgstr ""
|
52 |
+
|
53 |
+
msgid "Apply WP Admin UI Customize settings on the front end admin bar also"
|
54 |
msgstr ""
|
55 |
|
56 |
msgid "Account Title"
|
57 |
msgstr ""
|
58 |
|
59 |
+
msgid "WordPress Logo"
|
60 |
msgstr ""
|
61 |
|
62 |
msgid "Add New"
|
68 |
msgid "Profile Edit"
|
69 |
msgstr ""
|
70 |
|
71 |
+
msgid "General Screen Settings"
|
72 |
msgstr ""
|
73 |
|
74 |
+
msgid "Notifications"
|
75 |
msgstr ""
|
76 |
|
77 |
msgid "Not notified"
|
78 |
msgstr ""
|
79 |
|
80 |
+
msgid "WordPress core update notice"
|
81 |
msgstr ""
|
82 |
|
83 |
msgid "Plugin update notice"
|
92 |
msgid "Title tag for Admin screen"
|
93 |
msgstr ""
|
94 |
|
95 |
+
msgid "Remove \"Wordpress\" from the title tag of the Admin screen"
|
96 |
msgstr ""
|
97 |
|
98 |
+
msgid "Screen Options and Help Tab"
|
99 |
msgstr ""
|
100 |
|
101 |
msgid "Meta boxes"
|
104 |
msgid "Other"
|
105 |
msgstr ""
|
106 |
|
107 |
+
msgid "Meta box movement restriction"
|
108 |
msgstr ""
|
109 |
|
110 |
+
msgid "Lock meta box positions"
|
111 |
msgstr ""
|
112 |
|
113 |
+
msgid "Admin Bar Menu"
|
114 |
msgstr ""
|
115 |
|
116 |
msgid "Notice: Please do not place the same multiple menu slug."
|
117 |
msgstr ""
|
118 |
|
119 |
+
msgid "Can be more than one custom menu."
|
120 |
msgstr ""
|
121 |
|
122 |
msgid "Left"
|
125 |
msgid "Right"
|
126 |
msgstr ""
|
127 |
|
128 |
+
msgid "Menu items that can be added"
|
129 |
msgstr ""
|
130 |
|
131 |
msgid "Custom Menu"
|
137 |
msgid "Please change the menu by drag and drop."
|
138 |
msgstr ""
|
139 |
|
140 |
+
msgid "Current menu"
|
141 |
msgstr ""
|
142 |
|
143 |
msgid "Sepalator"
|
155 |
msgid "Could not read the meta box."
|
156 |
msgstr ""
|
157 |
|
158 |
+
msgid "Meta boxes will be loaded automatically when you update or add a post."
|
159 |
msgstr ""
|
160 |
|
161 |
+
msgid "Meta boxes will be loaded automatically when you update or add a page."
|
162 |
msgstr ""
|
163 |
|
164 |
+
msgid "Please update or add a \"post\" and a \"page\" to load the available meta boxes."
|
165 |
msgstr ""
|
166 |
|
167 |
+
msgid "Add New Post and Edit Post Screen Setting"
|
168 |
msgstr ""
|
169 |
|
170 |
msgid "Only appears when you have settings to the default permalink."
|
171 |
msgstr ""
|
172 |
|
173 |
+
msgid "Appearance Menus Screen Setting"
|
174 |
msgstr ""
|
175 |
|
176 |
msgid "Add a new menu"
|
197 |
msgid "The link after clicking on the logo"
|
198 |
msgstr ""
|
199 |
|
200 |
+
msgid "Logo Title"
|
201 |
msgstr ""
|
202 |
|
203 |
msgid "Logo Image path"
|
204 |
msgstr ""
|
205 |
|
206 |
+
msgid "CSS file to load"
|
207 |
msgstr ""
|
208 |
|
209 |
msgid "Available Shortcodes"
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== WP Admin UI Customize ===
|
2 |
Contributors: gqevu6bsiz
|
3 |
-
Donate link: http://gqevu6bsiz.chicappa.jp/please-donation/?utm_source=wporg&utm_medium=donate&utm_content=wauc&utm_campaign=
|
4 |
Tags: admin, post, posts, page, option, sitemenu, menu, custom, customize, dashboard, admin_bar
|
5 |
Requires at least: 3.4.2
|
6 |
Tested up to: 3.6
|
7 |
-
Stable tag: 1.3.
|
8 |
License: GPL2
|
9 |
|
10 |
Customize the management screen UI.
|
@@ -49,8 +49,13 @@ These to Customization is possible.
|
|
49 |
|
50 |
== Changelog ==
|
51 |
|
|
|
|
|
|
|
52 |
= 1.3.3-beta =
|
53 |
* Apply to admin bar on the front end also.
|
|
|
|
|
54 |
|
55 |
= 1.3.3 =
|
56 |
* Fixed bug : Error when deleting plugins and themes.
|
1 |
=== WP Admin UI Customize ===
|
2 |
Contributors: gqevu6bsiz
|
3 |
+
Donate link: http://gqevu6bsiz.chicappa.jp/please-donation/?utm_source=wporg&utm_medium=donate&utm_content=wauc&utm_campaign=1_3_4
|
4 |
Tags: admin, post, posts, page, option, sitemenu, menu, custom, customize, dashboard, admin_bar
|
5 |
Requires at least: 3.4.2
|
6 |
Tested up to: 3.6
|
7 |
+
Stable tag: 1.3.4
|
8 |
License: GPL2
|
9 |
|
10 |
Customize the management screen UI.
|
49 |
|
50 |
== Changelog ==
|
51 |
|
52 |
+
= 1.3.4 =
|
53 |
+
* Only administrator has to perform of the Meta boxes read.
|
54 |
+
|
55 |
= 1.3.3-beta =
|
56 |
* Apply to admin bar on the front end also.
|
57 |
+
* Edited the translation files.
|
58 |
+
* Updated the Admin Bar.
|
59 |
|
60 |
= 1.3.3 =
|
61 |
* Fixed bug : Error when deleting plugins and themes.
|
wp-admin-ui-customize.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: WP Admin UI Customize
|
4 |
-
Description:
|
5 |
-
Plugin URI: http://wpadminuicustomize.com/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=
|
6 |
-
Version: 1.3.
|
7 |
Author: gqevu6bsiz
|
8 |
-
Author URI: http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=
|
9 |
Text Domain: wauc
|
10 |
Domain Path: /languages
|
11 |
*/
|
@@ -48,7 +48,7 @@ class WP_Admin_UI_Customize
|
|
48 |
|
49 |
|
50 |
function __construct() {
|
51 |
-
$this->Ver = '1.3.
|
52 |
$this->Name = 'WP Admin UI Customize';
|
53 |
$this->Dir = WP_PLUGIN_URL . '/' . dirname( plugin_basename( __FILE__ ) ) . '/';
|
54 |
$this->Site = 'http://wpadminuicustomize.com/';
|
@@ -121,13 +121,13 @@ class WP_Admin_UI_Customize
|
|
121 |
function admin_menu() {
|
122 |
add_menu_page( $this->Name , $this->Name , 'administrator', $this->PageSlug , array( $this , 'setting_default') );
|
123 |
add_submenu_page( $this->PageSlug , __( 'Site Settings' , $this->ltd ) , __( 'Site Settings' , $this->ltd ) , 'administrator' , $this->PageSlug . '_setting_site' , array( $this , 'setting_site' ) );
|
124 |
-
add_submenu_page( $this->PageSlug , __( 'General
|
125 |
add_submenu_page( $this->PageSlug , __( 'Dashboard' ) , __( 'Dashboard' ) , 'administrator' , $this->PageSlug . '_dashboard' , array( $this , 'setting_dashboard' ) );
|
126 |
-
add_submenu_page( $this->PageSlug , __( 'Admin
|
127 |
add_submenu_page( $this->PageSlug , __( 'Side Menu' , $this->ltd ) , __( 'Side Menu' , $this->ltd ) , 'administrator' , $this->PageSlug . '_sidemenu' , array( $this , 'setting_sidemenu' ) );
|
128 |
add_submenu_page( $this->PageSlug , __( 'Remove meta box' , $this->ltd ) , __( 'Remove meta box' , $this->ltd ) , 'administrator' , $this->PageSlug . '_removemtabox' , array( $this , 'setting_removemtabox' ) );
|
129 |
-
add_submenu_page( $this->PageSlug , __( 'Add New Post and Edit Post
|
130 |
-
add_submenu_page( $this->PageSlug , __( 'Appearance
|
131 |
add_submenu_page( $this->PageSlug , __( 'Login Screen' , $this->ltd ) , __( 'Login Screen' , $this->ltd ) , 'administrator' , $this->PageSlug . '_loginscreen' , array( $this , 'setting_loginscreen' ) );
|
132 |
}
|
133 |
|
@@ -144,6 +144,7 @@ class WP_Admin_UI_Customize
|
|
144 |
// SettingPage
|
145 |
function setting_site() {
|
146 |
add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
|
|
|
147 |
$this->DisplayDonation();
|
148 |
include_once 'inc/setting_site.php';
|
149 |
}
|
@@ -272,11 +273,97 @@ class WP_Admin_UI_Customize
|
|
272 |
|
273 |
}
|
274 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
275 |
// SetList
|
276 |
function post_meta_boxes_load() {
|
277 |
global $current_screen;
|
278 |
|
279 |
-
|
|
|
|
|
|
|
|
|
|
|
280 |
if( $current_screen->post_type == 'post' or $current_screen->post_type == 'page' ) {
|
281 |
|
282 |
global $wp_meta_boxes;
|
@@ -931,9 +1018,13 @@ class WP_Admin_UI_Customize
|
|
931 |
|
932 |
$GetData = $this->get_data( 'site' );
|
933 |
|
934 |
-
if( !empty( $GetData["admin_bar"] )
|
935 |
-
|
936 |
-
|
|
|
|
|
|
|
|
|
937 |
}
|
938 |
}
|
939 |
}
|
@@ -951,17 +1042,11 @@ class WP_Admin_UI_Customize
|
|
951 |
remove_action( 'wp_head', $key , 2 );
|
952 |
} elseif( $key == 'feed_links_extra' ) {
|
953 |
remove_action( 'wp_head', $key , 3 );
|
954 |
-
} elseif( $key == 'admin_bar' ) {
|
955 |
-
if( $val != "front" ) {
|
956 |
-
add_filter( 'show_admin_bar' , '__return_false' );
|
957 |
-
}
|
958 |
} else {
|
959 |
remove_action( 'wp_head', $key );
|
960 |
}
|
961 |
}
|
962 |
}
|
963 |
-
|
964 |
-
|
965 |
}
|
966 |
|
967 |
// FilterStart
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: WP Admin UI Customize
|
4 |
+
Description: An excellent plugin to customize the management screens.
|
5 |
+
Plugin URI: http://wpadminuicustomize.com/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_3_4
|
6 |
+
Version: 1.3.4
|
7 |
Author: gqevu6bsiz
|
8 |
+
Author URI: http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_3_4
|
9 |
Text Domain: wauc
|
10 |
Domain Path: /languages
|
11 |
*/
|
48 |
|
49 |
|
50 |
function __construct() {
|
51 |
+
$this->Ver = '1.3.4';
|
52 |
$this->Name = 'WP Admin UI Customize';
|
53 |
$this->Dir = WP_PLUGIN_URL . '/' . dirname( plugin_basename( __FILE__ ) ) . '/';
|
54 |
$this->Site = 'http://wpadminuicustomize.com/';
|
121 |
function admin_menu() {
|
122 |
add_menu_page( $this->Name , $this->Name , 'administrator', $this->PageSlug , array( $this , 'setting_default') );
|
123 |
add_submenu_page( $this->PageSlug , __( 'Site Settings' , $this->ltd ) , __( 'Site Settings' , $this->ltd ) , 'administrator' , $this->PageSlug . '_setting_site' , array( $this , 'setting_site' ) );
|
124 |
+
add_submenu_page( $this->PageSlug , __( 'General Screen Settings' , $this->ltd ) , __( 'General Screen Settings' , $this->ltd ) , 'administrator' , $this->PageSlug . '_admin_general_setting' , array( $this , 'setting_admin_general' ) );
|
125 |
add_submenu_page( $this->PageSlug , __( 'Dashboard' ) , __( 'Dashboard' ) , 'administrator' , $this->PageSlug . '_dashboard' , array( $this , 'setting_dashboard' ) );
|
126 |
+
add_submenu_page( $this->PageSlug , __( 'Admin Bar Menu' , $this->ltd ) , __( 'Admin Bar Menu' , $this->ltd ) , 'administrator' , $this->PageSlug . '_admin_bar' , array( $this , 'setting_admin_bar_menu' ) );
|
127 |
add_submenu_page( $this->PageSlug , __( 'Side Menu' , $this->ltd ) , __( 'Side Menu' , $this->ltd ) , 'administrator' , $this->PageSlug . '_sidemenu' , array( $this , 'setting_sidemenu' ) );
|
128 |
add_submenu_page( $this->PageSlug , __( 'Remove meta box' , $this->ltd ) , __( 'Remove meta box' , $this->ltd ) , 'administrator' , $this->PageSlug . '_removemtabox' , array( $this , 'setting_removemtabox' ) );
|
129 |
+
add_submenu_page( $this->PageSlug , __( 'Add New Post and Edit Post Screen Setting' , $this->ltd ) , __( 'Add New Post and Edit Post Screen Setting' , $this->ltd ) , 'administrator' , $this->PageSlug . '_post_add_edit_screen' , array( $this , 'setting_post_add_edit' ) );
|
130 |
+
add_submenu_page( $this->PageSlug , __( 'Appearance Menus Screen Setting' , $this->ltd ) , __( 'Appearance Menus Screen Setting' , $this->ltd ) , 'administrator' , $this->PageSlug . '_appearance_menus' , array( $this , 'setting_appearance_menus' ) );
|
131 |
add_submenu_page( $this->PageSlug , __( 'Login Screen' , $this->ltd ) , __( 'Login Screen' , $this->ltd ) , 'administrator' , $this->PageSlug . '_loginscreen' , array( $this , 'setting_loginscreen' ) );
|
132 |
}
|
133 |
|
144 |
// SettingPage
|
145 |
function setting_site() {
|
146 |
add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
|
147 |
+
$this->settingCheck();
|
148 |
$this->DisplayDonation();
|
149 |
include_once 'inc/setting_site.php';
|
150 |
}
|
273 |
|
274 |
}
|
275 |
|
276 |
+
// SetList
|
277 |
+
function admin_bar_filter_load() {
|
278 |
+
$Default_bar = $this->Admin_bar;
|
279 |
+
|
280 |
+
$Delete_bar = array( "user-actions" , "wp-logo-external" , "top-secondary" , "my-sites-super-admin" , "my-sites-list" );
|
281 |
+
foreach( $Delete_bar as $del_name ) {
|
282 |
+
if( !empty( $Default_bar[$del_name] ) ) {
|
283 |
+
unset( $Default_bar[$del_name] );
|
284 |
+
}
|
285 |
+
}
|
286 |
+
foreach( $Default_bar as $node_id => $node ) {
|
287 |
+
if( preg_match( "/blog-[0-9]/" , $node->parent ) ) {
|
288 |
+
unset( $Default_bar[$node_id] );
|
289 |
+
}
|
290 |
+
}
|
291 |
+
|
292 |
+
// front
|
293 |
+
$Default_bar["dashboard"] = (object) array( "id" => "dashboard" , "title" => __( 'Dashboard' ) , "parent" => "site-name" , "href" => admin_url() );
|
294 |
+
|
295 |
+
foreach( $Default_bar as $node_id => $node ) {
|
296 |
+
if( $node->id == 'my-account' ) {
|
297 |
+
$Default_bar[$node_id]->title = sprintf( __( 'Howdy, %1$s' ) , '[user_name]' );
|
298 |
+
} elseif( $node->id == 'user-info' ) {
|
299 |
+
$Default_bar[$node_id]->title = '<span class="display-name">[user_name]</span>';
|
300 |
+
} elseif( $node->id == 'logout' ) {
|
301 |
+
$Default_bar[$node_id]->href = preg_replace( '/&(.*)/' , '' , $node->href );
|
302 |
+
} elseif( $node->id == 'site-name' ) {
|
303 |
+
$Default_bar[$node_id]->title = '[blog_name]';
|
304 |
+
} elseif( $node->id == 'updates' ) {
|
305 |
+
$Default_bar[$node_id]->title = '[update_total]';
|
306 |
+
} elseif( $node->id == 'comments' ) {
|
307 |
+
$Default_bar[$node_id]->title = '[comment_count]';
|
308 |
+
}
|
309 |
+
}
|
310 |
+
|
311 |
+
$Filter_bar = array();
|
312 |
+
$MainMenuIDs = array();
|
313 |
+
|
314 |
+
foreach( $Default_bar as $node_id => $node ) {
|
315 |
+
if( empty( $node->parent ) ) {
|
316 |
+
$Filter_bar["left"]["main"][$node_id] = $node;
|
317 |
+
$MainMenuIDs[$node_id] = "left";
|
318 |
+
unset( $Default_bar[$node_id] );
|
319 |
+
} elseif( $node->parent == 'top-secondary' ) {
|
320 |
+
$Filter_bar["right"]["main"][$node_id] = $node;
|
321 |
+
$MainMenuIDs[$node_id] = "right";
|
322 |
+
unset( $Default_bar[$node_id] );
|
323 |
+
}
|
324 |
+
}
|
325 |
+
|
326 |
+
foreach( $Default_bar as $node_id => $node ) {
|
327 |
+
if( $node->parent == 'wp-logo-external' ) {
|
328 |
+
$Default_bar[$node_id]->parent = 'wp-logo';
|
329 |
+
} elseif( $node->parent == 'user-actions' ) {
|
330 |
+
$Default_bar[$node_id]->parent = 'my-account';
|
331 |
+
} elseif( $node->parent == 'my-sites-list' ) {
|
332 |
+
$Default_bar[$node_id]->parent = 'my-sites';
|
333 |
+
} else{
|
334 |
+
if( !array_keys( $MainMenuIDs , $node->parent ) ) {
|
335 |
+
if( !empty( $Default_bar[$node->parent] ) ) {
|
336 |
+
$Default_bar[$node_id]->parent = $Default_bar[$node->parent]->parent;
|
337 |
+
}
|
338 |
+
}
|
339 |
+
}
|
340 |
+
}
|
341 |
+
|
342 |
+
foreach( $MainMenuIDs as $parent_id => $menu_type ) {
|
343 |
+
|
344 |
+
foreach( $Default_bar as $node_id => $node ) {
|
345 |
+
if( $node->parent == $parent_id ) {
|
346 |
+
$Filter_bar[$menu_type]["sub"][$node_id] = $node;
|
347 |
+
unset( $Default_bar[$node_id] );
|
348 |
+
}
|
349 |
+
|
350 |
+
|
351 |
+
}
|
352 |
+
}
|
353 |
+
|
354 |
+
return $Filter_bar;
|
355 |
+
}
|
356 |
+
|
357 |
// SetList
|
358 |
function post_meta_boxes_load() {
|
359 |
global $current_screen;
|
360 |
|
361 |
+
$User = wp_get_current_user();
|
362 |
+
if( !empty( $User->roles[0] ) ) {
|
363 |
+
$UserRole = $User->roles[0];
|
364 |
+
}
|
365 |
+
|
366 |
+
if( $current_screen->base == 'post' && $current_screen->action != 'add' && $UserRole == 'administrator' ) {
|
367 |
if( $current_screen->post_type == 'post' or $current_screen->post_type == 'page' ) {
|
368 |
|
369 |
global $wp_meta_boxes;
|
1018 |
|
1019 |
$GetData = $this->get_data( 'site' );
|
1020 |
|
1021 |
+
if( !empty( $GetData["admin_bar"] ) ) {
|
1022 |
+
if( $GetData["admin_bar"] == "1" or $GetData["admin_bar"] == "hide" ) {
|
1023 |
+
add_filter( 'show_admin_bar' , '__return_false' );
|
1024 |
+
} elseif( $GetData["admin_bar"] == "front" ) {
|
1025 |
+
add_action( 'init' , array( $this , 'notice_dismiss' ) , 2 );
|
1026 |
+
add_action( 'wp_before_admin_bar_render' , array( $this , 'admin_bar_menu') , 25 );
|
1027 |
+
}
|
1028 |
}
|
1029 |
}
|
1030 |
}
|
1042 |
remove_action( 'wp_head', $key , 2 );
|
1043 |
} elseif( $key == 'feed_links_extra' ) {
|
1044 |
remove_action( 'wp_head', $key , 3 );
|
|
|
|
|
|
|
|
|
1045 |
} else {
|
1046 |
remove_action( 'wp_head', $key );
|
1047 |
}
|
1048 |
}
|
1049 |
}
|
|
|
|
|
1050 |
}
|
1051 |
|
1052 |
// FilterStart
|