WP Admin UI Customize - Version 1.4

Version Description

  • Removed: Remove meta box feature.
  • Added: Manage to meta boxes.
  • Updated: Screenshots.
Download this release

Release Info

Developer gqevu6bsiz
Plugin Icon wp plugin WP Admin UI Customize
Version 1.4
Comparing to
See all releases

Code changes from version 1.3.9.2 to 1.4

inc/list_variables.php CHANGED
@@ -95,6 +95,13 @@ if( is_multisite() ) {
95
  <span class="description"><?php _e( 'In your case.' , $this->ltd ); ?></span>
96
  </td>
97
  </tr>
 
 
 
 
 
 
 
98
  </tbody>
99
  </table>
100
 
95
  <span class="description"><?php _e( 'In your case.' , $this->ltd ); ?></span>
96
  </td>
97
  </tr>
98
+ <tr>
99
+ <th><strong>[user_avatar]</strong></th>
100
+ <td>
101
+ <code><?php echo get_avatar( $current_user->ID , 16 ); ?></code>
102
+ <span class="description"><?php _e( 'In your case.' , $this->ltd ); ?></span>
103
+ </td>
104
+ </tr>
105
  </tbody>
106
  </table>
107
 
inc/setting_admin_bar_menu.php CHANGED
@@ -245,6 +245,31 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
245
 
246
  <div class="clear"></div>
247
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
248
  </div>
249
  </div>
250
 
245
 
246
  <div class="clear"></div>
247
 
248
+ <h4><?php _e( 'Front' ); ?> <?php _e( 'Menus' ); ?></h4>
249
+
250
+ <?php foreach( $AllDefaultNodes["front"]["main"] as $node_id => $node ) : ?>
251
+
252
+ <p class="description"><?php echo $node_id; ?></p>
253
+ <?php $menu_widget = array( 'id' => $node->id , 'title' => $node->title , 'parent' => '' , 'href' => $node->href , 'group' => false , 'new' => $node->meta , 'new' => true , 'subnode' => false ); ?>
254
+ <?php $this->admin_bar_menu_widget( $menu_widget ); ?>
255
+
256
+ <?php foreach( $AllDefaultNodes["front"]["sub"] as $child_node_id => $child_node ) : ?>
257
+
258
+ <?php if( $child_node->parent == $node_id ) : ?>
259
+
260
+ <?php $menu_widget = array( 'id' => $child_node->id , 'title' => $child_node->title , 'parent' => '' , 'href' => $child_node->href , 'group' => false , 'new' => $child_node->meta , 'new' => true , 'subnode' => false ); ?>
261
+ <?php $this->admin_bar_menu_widget( $menu_widget ); ?>
262
+
263
+ <?php endif; ?>
264
+
265
+ <?php endforeach; ?>
266
+
267
+ <div class="clear"></div>
268
+
269
+ <?php endforeach; ?>
270
+
271
+ <div class="clear"></div>
272
+
273
  </div>
274
  </div>
275
 
inc/setting_manage_metabox.php ADDED
@@ -0,0 +1,264 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $Data = $this->get_data( 'manage_metabox' );
4
+ $Metaboxes = $this->get_data( "regist_metabox" );
5
+ $CustomPosts = $this->get_custom_posts();
6
+
7
+ // include js css
8
+ $ReadedJs = array( 'jquery' , 'jquery-ui-sortable' );
9
+ wp_enqueue_script( $this->PageSlug , $this->Url . $this->PluginSlug . '.js', $ReadedJs , $this->Ver );
10
+ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', array() , $this->Ver );
11
+
12
+ ?>
13
+
14
+ <div class="wrap">
15
+ <div class="icon32" id="icon-tools"></div>
16
+ <?php echo $this->Msg; ?>
17
+ <h2><?php _e( 'Manage meta box' , $this->ltd ); ?></h2>
18
+ <p><?php _e( 'Please update or add a "post" and a "page" to load the available meta boxes.' , $this->ltd ); ?></p>
19
+ <p><?php _e( 'Please enter if you want to change of Metabox label name.' , $this->ltd ); ?></p>
20
+
21
+ <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
22
+
23
+ <form id="wauc_setting_manage_metabox" class="wauc_form" method="post" action="<?php echo remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ); ?>">
24
+ <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
25
+ <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
26
+ <input type="hidden" name="record_field" value="manage_metabox" />
27
+
28
+ <div id="poststuff">
29
+
30
+ <div id="post-body" class="metabox-holder columns-1">
31
+
32
+ <div id="postbox-container-1" class="postbox-container">
33
+ <div id="built_in">
34
+
35
+ <div class="postbox">
36
+ <div class="handlediv" title="Click to toggle"><br></div>
37
+ <h3 class="hndle"><span><?php _e( 'Post' ); ?></span></h3>
38
+ <div class="inside">
39
+
40
+ <?php if( empty( $Metaboxes["metaboxes"]["post"] ) ) : ?>
41
+
42
+ <p><?php _e( 'Could not read the meta box.' , $this->ltd ); ?></p>
43
+ <p><?php echo sprintf( __( 'Meta boxes will be loaded automatically when you <strong>%s</strong>.' , $this->ltd ) , __( 'Edit Post' ) ); ?></p>
44
+
45
+ <?php else: ?>
46
+
47
+ <table class="form-table">
48
+ <thead>
49
+ <tr>
50
+ <th>&nbsp;</th>
51
+ <td style="width: 15%;">
52
+ <input type="checkbox" name="" class="check_all" />
53
+ <strong><?php _e( 'Show on screen' ); ?></strong>
54
+ </td>
55
+ <td><strong><?php _e( 'Change metabox title to' , $this->ltd ); ?></strong></td>
56
+ </tr>
57
+ </thead>
58
+ <tbody>
59
+ <?php foreach( $Metaboxes["metaboxes"]["post"] as $context => $meta_box ) : ?>
60
+ <?php foreach( $meta_box as $priority => $box ) : ?>
61
+ <?php foreach( $box as $metabox_id => $metabox_title ) : ?>
62
+
63
+ <tr>
64
+ <th>
65
+ <?php _e( $metabox_title ); ?>
66
+ </th>
67
+ <td>
68
+ <?php if( $metabox_id != 'submitdiv' ) : ?>
69
+ <?php $Checked = ''; ?>
70
+ <?php if( !empty( $Data["post"][$metabox_id]["remove"] ) ) : $Checked = 'checked="checked"'; endif; ?>
71
+ <label><input type="checkbox" name="data[post][<?php echo $metabox_id; ?>][remove]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
72
+ <?php else : ?>
73
+ <?php _e( 'Show' ); ?>
74
+ <?php endif; ?>
75
+ </td>
76
+ <td>
77
+ <?php $Val = ''; ?>
78
+ <?php if( !empty( $Data["post"][$metabox_id]["name"] ) ) : $Val = esc_html( stripslashes( $Data["post"][$metabox_id]["name"] ) ); endif; ?>
79
+ <input type="text" name="data[post][<?php echo $metabox_id; ?>][name]" class="regular-text" value="<?php echo $Val; ?>" placeholder="<?php _e( $metabox_title ); ?>" />
80
+ <?php if( $metabox_id == 'commentstatusdiv' ) : ?>
81
+ <p class="description"><?php _e( 'Notice: If hide the Discussion on metabox, comments does not display of Add New Post on apply user role.' , $this->ltd ); ?></p>
82
+ <p><img src="<?php echo $this->Url; ?>images/discussion_allow_comments.png" /></p>
83
+ <p><a href="<?php echo admin_url( 'admin.php?page=' . $this->PageSlug . '_post_add_edit_screen' ); ?>"><?php _e( 'Please set from here if you want to view the comments on screen.' , $this->ltd ); ?></a></p>
84
+ <?php endif; ?>
85
+ </td>
86
+ </tr>
87
+ <?php endforeach; ?>
88
+ <?php endforeach; ?>
89
+ <?php endforeach; ?>
90
+ </tbody>
91
+ </table>
92
+
93
+
94
+ <?php endif; ?>
95
+ </div>
96
+ </div>
97
+
98
+ <div class="postbox">
99
+ <div class="handlediv" title="Click to toggle"><br></div>
100
+ <h3 class="hndle"><span><?php _e( 'Page' ); ?></span></h3>
101
+ <div class="inside">
102
+
103
+ <?php if( empty( $Metaboxes["metaboxes"]["page"] ) ) : ?>
104
+
105
+ <p><?php _e( 'Could not read the meta box.' , $this->ltd ); ?></p>
106
+ <p><?php echo sprintf( __( 'Meta boxes will be loaded automatically when you <strong>%s</strong>.' , $this->ltd ) , __( 'Edit Page' ) ); ?></p>
107
+
108
+ <?php else: ?>
109
+
110
+ <table class="form-table">
111
+ <thead>
112
+ <tr>
113
+ <th>&nbsp;</th>
114
+ <td style="width: 15%;">
115
+ <input type="checkbox" name="" class="check_all" />
116
+ <strong><?php _e( 'Show on screen' ); ?></strong>
117
+ </td>
118
+ <td><strong><?php _e( 'Change metabox title to' ); ?></strong></td>
119
+ </tr>
120
+ </thead>
121
+ <tbody>
122
+ <?php foreach( $Metaboxes["metaboxes"]["page"] as $context => $meta_box ) : ?>
123
+ <?php foreach( $meta_box as $priority => $box ) : ?>
124
+ <?php foreach( $box as $metabox_id => $metabox_title ) : ?>
125
+ <tr>
126
+ <th>
127
+ <?php _e( $metabox_title ); ?>
128
+ </th>
129
+ <td>
130
+ <?php if( $metabox_id != 'submitdiv' ) : ?>
131
+ <?php $Checked = ''; ?>
132
+ <?php if( !empty( $Data["page"][$metabox_id]["remove"] ) ) : $Checked = 'checked="checked"'; endif; ?>
133
+ <label><input type="checkbox" name="data[page][<?php echo $metabox_id; ?>][remove]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
134
+ <?php else : ?>
135
+ <?php _e( 'Show' ); ?>
136
+ <?php endif; ?>
137
+ </td>
138
+ <td>
139
+ <?php $Val = ''; ?>
140
+ <?php if( !empty( $Data["page"][$metabox_id]["name"] ) ) : $Val = esc_html( stripslashes( $Data["page"][$metabox_id]["name"] ) ); endif; ?>
141
+ <input type="text" name="data[page][<?php echo $metabox_id; ?>][name]" class="regular-text" value="<?php echo $Val; ?>" placeholder="<?php _e( $metabox_title ); ?>" />
142
+ <?php if( $metabox_id == 'commentstatusdiv' ) : ?>
143
+ <p class="description"><?php _e( 'Notice: If hide the Discussion on metabox, comments does not display of Add New Post on apply user role.' , $this->ltd ); ?></p>
144
+ <p><img src="<?php echo $this->Url; ?>images/discussion_allow_comments.png" /></p>
145
+ <p><a href="<?php echo admin_url( 'admin.php?page=' . $this->PageSlug . '_post_add_edit_screen' ); ?>"><?php _e( 'Please set from here if you want to view the comments on screen.' , $this->ltd ); ?></a></p>
146
+ <?php endif; ?>
147
+ </td>
148
+ </tr>
149
+ <?php endforeach; ?>
150
+ <?php endforeach; ?>
151
+ <?php endforeach; ?>
152
+ </tbody>
153
+ </table>
154
+
155
+ <?php endif; ?>
156
+
157
+ </div>
158
+ </div>
159
+
160
+ </div>
161
+ </div>
162
+
163
+ <?php if ( !empty( $CustomPosts ) ) : ?>
164
+
165
+ <div id="postbox-container-2" class="postbox-container">
166
+ <div id="custom_post">
167
+
168
+ <?php foreach( $CustomPosts as $post_name => $cpt ) : ?>
169
+ <div class="postbox">
170
+ <div class="handlediv" title="Click to toggle"><br></div>
171
+ <h3 class="hndle"><span><?php echo strip_tags( $cpt->labels->name ); ?></span></h3>
172
+ <div class="inside">
173
+
174
+ <?php if( empty( $Metaboxes["metaboxes"][$post_name] ) ) : ?>
175
+
176
+ <p><?php _e( 'Could not read the meta box.' , $this->ltd ); ?></p>
177
+ <p><?php echo sprintf( __( 'Meta boxes will be loaded automatically when you <strong>%s</strong>.' , $this->ltd ) , strip_tags( $cpt->labels->edit_item ) ); ?></p>
178
+
179
+ <?php else: ?>
180
+
181
+ <table class="form-table">
182
+ <thead>
183
+ <tr>
184
+ <th>&nbsp;</th>
185
+ <td style="width: 15%;">
186
+ <input type="checkbox" name="" class="check_all" />
187
+ <strong><?php _e( 'Show on screen' ); ?></strong>
188
+ </td>
189
+ <td><strong><?php _e( 'Change metabox title to' ); ?></strong></td>
190
+ </tr>
191
+ </thead>
192
+ <tbody>
193
+ <?php foreach( $Metaboxes["metaboxes"][$post_name] as $context => $meta_box ) : ?>
194
+ <?php foreach( $meta_box as $priority => $box ) : ?>
195
+ <?php foreach( $box as $metabox_id => $metabox_title ) : ?>
196
+ <?php if( !empty( $metabox_id ) && $metabox_id != 'submitdiv' ) : ?>
197
+ <tr>
198
+ <th><?php echo $metabox_title; ?></th>
199
+ <td>
200
+ <?php if( $metabox_id != 'submitdiv' ) : ?>
201
+ <?php $Checked = ''; ?>
202
+ <?php if( !empty( $Data[$post_name][$metabox_id]["remove"] ) ) : $Checked = 'checked="checked"'; endif; ?>
203
+ <label><input type="checkbox" name="data[<?php echo $post_name; ?>][<?php echo $metabox_id; ?>][remove]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
204
+ <?php else : ?>
205
+ <?php _e( 'Show' ); ?>
206
+ <?php endif; ?>
207
+ </td>
208
+ <td>
209
+ <?php $Val = ''; ?>
210
+ <?php if( !empty( $Data[$post_name][$metabox_id]["name"] ) ) : $Val = esc_html( stripslashes( $Data[$post_name][$metabox_id]["name"] ) ); endif; ?>
211
+ <input type="text" name="data[<?php echo $post_name; ?>][<?php echo $metabox_id; ?>][name]" class="regular-text" value="<?php echo $Val; ?>" placeholder="<?php _e( $metabox_title ); ?>" />
212
+ </td>
213
+ </tr>
214
+ <?php endif; ?>
215
+ <?php endforeach; ?>
216
+ <?php endforeach; ?>
217
+ <?php endforeach; ?>
218
+ </tbody>
219
+ </table>
220
+
221
+ <?php endif; ?>
222
+
223
+ </div>
224
+ </div>
225
+ <?php endforeach; ?>
226
+
227
+ </div>
228
+ </div>
229
+
230
+ <?php endif; ?>
231
+
232
+ <br class="clear">
233
+
234
+ </div>
235
+
236
+ </div>
237
+
238
+ <p class="submit">
239
+ <input type="submit" class="button-primary" name="update" value="<?php _e( 'Save' ); ?>" />
240
+ </p>
241
+
242
+ <p class="submit reset">
243
+ <span class="description"><?php _e( 'Reset all settings?' , $this->ltd ); ?></span>
244
+ <input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
245
+ </p>
246
+
247
+ </form>
248
+
249
+ </div>
250
+
251
+ <script type="text/javascript">
252
+ jQuery(document).ready(function($) {
253
+
254
+ var $Form = $("#wauc_setting_manage_metabox");
255
+ $("input.check_all", $Form).click(function() {
256
+ var Checked = $(this).prop("checked");
257
+ $Table = $(this).parent().parent().parent().parent();
258
+ $Table.children("tbody").children("tr").each(function() {
259
+ $(this).find("input[type=checkbox]").prop("checked" , Checked);
260
+ });
261
+ });
262
+
263
+ });
264
+ </script>
inc/setting_removemtabox.php DELETED
@@ -1,190 +0,0 @@
1
- <?php
2
-
3
- $Data = $this->get_data( 'removemetabox' );
4
- $Metaboxes = $this->get_data( "regist_metabox" );
5
- $CustomPosts = $this->get_custom_posts();
6
-
7
- // include js css
8
- $ReadedJs = array( 'jquery' , 'jquery-ui-sortable' );
9
- wp_enqueue_script( $this->PageSlug , $this->Url . $this->PluginSlug . '.js', $ReadedJs , $this->Ver );
10
- wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', array() , $this->Ver );
11
-
12
- ?>
13
-
14
- <div class="wrap">
15
- <div class="icon32" id="icon-tools"></div>
16
- <?php echo $this->Msg; ?>
17
- <h2><?php _e( 'Remove meta box' , $this->ltd ); ?></h2>
18
- <p><?php _e( 'Please update or add a "post" and a "page" to load the available meta boxes.' , $this->ltd ); ?></p>
19
-
20
- <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
21
-
22
- <form id="wauc_setting_removemtabox" class="wauc_form" method="post" action="<?php echo remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ); ?>">
23
- <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
24
- <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
25
- <input type="hidden" name="record_field" value="removemetabox" />
26
-
27
- <div id="poststuff">
28
-
29
- <div id="post-body" class="metabox-holder columns-1">
30
-
31
- <div id="postbox-container-1" class="postbox-container">
32
- <div id="built_in">
33
-
34
- <div class="postbox">
35
- <div class="handlediv" title="Click to toggle"><br></div>
36
- <h3 class="hndle"><span><?php _e( 'Post' ); ?></span></h3>
37
- <div class="inside">
38
-
39
- <?php if( empty( $Metaboxes["metaboxes"]["post"] ) ) : ?>
40
-
41
- <p><?php _e( 'Could not read the meta box.' , $this->ltd ); ?></p>
42
- <p><?php echo sprintf( __( 'Meta boxes will be loaded automatically when you Edit %s.' , $this->ltd ) , __( 'Post' ) ); ?></p>
43
-
44
- <?php else: ?>
45
-
46
- <table class="form-table">
47
- <tbody>
48
- <?php foreach( $Metaboxes["metaboxes"]["post"] as $context => $meta_box ) : ?>
49
- <?php foreach( $meta_box as $priority => $box ) : ?>
50
- <?php foreach( $box as $metabox_id => $metabox_title ) : ?>
51
- <?php if( $metabox_id != 'submitdiv' ) : ?>
52
- <tr>
53
- <th><?php echo $metabox_title; ?></th>
54
- <td>
55
- <?php $Checked = ''; ?>
56
- <?php if( !empty( $Data["post"][$metabox_id] ) ) : $Checked = 'checked="checked"'; endif; ?>
57
- <label><input type="checkbox" name="data[post][<?php echo $metabox_id; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
58
- <?php if( $metabox_id == 'commentstatusdiv' ) : ?>
59
- <p class="description"><?php _e( 'Notice: If hide the Discussion on metabox, comments does not display of Add New Post on apply user role.' , $this->ltd ); ?></p>
60
- <p><img src="<?php echo $this->Url; ?>images/discussion_allow_comments.png" /></p>
61
- <p><a href="<?php echo admin_url( 'admin.php?page=' . $this->PageSlug . '_post_add_edit_screen' ); ?>"><?php _e( 'Please set from here if you want to view the comments on screen.' , $this->ltd ); ?></a></p>
62
- <?php endif; ?>
63
- </td>
64
- </tr>
65
- <?php endif; ?>
66
- <?php endforeach; ?>
67
- <?php endforeach; ?>
68
- <?php endforeach; ?>
69
- </tbody>
70
- </table>
71
-
72
-
73
- <?php endif; ?>
74
- </div>
75
- </div>
76
-
77
- <div class="postbox">
78
- <div class="handlediv" title="Click to toggle"><br></div>
79
- <h3 class="hndle"><span><?php _e( 'Page' ); ?></span></h3>
80
- <div class="inside">
81
-
82
- <?php if( empty( $Metaboxes["metaboxes"]["page"] ) ) : ?>
83
-
84
- <p><?php _e( 'Could not read the meta box.' , $this->ltd ); ?></p>
85
- <p><?php echo sprintf( __( 'Meta boxes will be loaded automatically when you Edit %s.' , $this->ltd ) , __( 'Page' ) ); ?></p>
86
-
87
- <?php else: ?>
88
-
89
- <table class="form-table">
90
- <tbody>
91
- <?php foreach( $Metaboxes["metaboxes"]["page"] as $context => $meta_box ) : ?>
92
- <?php foreach( $meta_box as $priority => $box ) : ?>
93
- <?php foreach( $box as $metabox_id => $metabox_title ) : ?>
94
- <?php if( $metabox_id != 'submitdiv' ) : ?>
95
- <tr>
96
- <th><?php echo $metabox_title; ?></th>
97
- <td>
98
- <?php $Checked = ''; ?>
99
- <?php if( !empty( $Data["page"][$metabox_id] ) ) : $Checked = 'checked="checked"'; endif; ?>
100
- <label><input type="checkbox" name="data[page][<?php echo $metabox_id; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
101
- <?php if( $metabox_id == 'commentstatusdiv' ) : ?>
102
- <p class="description"><?php _e( 'Notice: If hide the Discussion on metabox, comments does not display of Add New Post on apply user role.' , $this->ltd ); ?></p>
103
- <p><img src="<?php echo $this->Url; ?>images/discussion_allow_comments.png" /></p>
104
- <p><a href="<?php echo admin_url( 'admin.php?page=' . $this->PageSlug . '_post_add_edit_screen' ); ?>"><?php _e( 'Please set from here if you want to view the comments on screen.' , $this->ltd ); ?></a></p>
105
- <?php endif; ?>
106
- </td>
107
- </tr>
108
- <?php endif; ?>
109
- <?php endforeach; ?>
110
- <?php endforeach; ?>
111
- <?php endforeach; ?>
112
- </tbody>
113
- </table>
114
-
115
- <?php endif; ?>
116
-
117
- </div>
118
- </div>
119
-
120
- </div>
121
- </div>
122
-
123
- <?php if ( !empty( $CustomPosts ) ) : ?>
124
-
125
- <div id="postbox-container-2" class="postbox-container">
126
- <div id="custom_post">
127
-
128
- <?php foreach( $CustomPosts as $post_name => $cpt ) : ?>
129
- <div class="postbox">
130
- <div class="handlediv" title="Click to toggle"><br></div>
131
- <h3 class="hndle"><span><?php echo strip_tags( $cpt->labels->name ); ?></span></h3>
132
- <div class="inside">
133
-
134
- <?php if( empty( $Metaboxes["metaboxes"][$post_name] ) ) : ?>
135
-
136
- <p><?php _e( 'Could not read the meta box.' , $this->ltd ); ?></p>
137
- <p><?php echo sprintf( __( 'Meta boxes will be loaded automatically when you Edit %s.' , $this->ltd ) , strip_tags( $cpt->labels->name ) ); ?></p>
138
-
139
- <?php else: ?>
140
-
141
- <table class="form-table">
142
- <tbody>
143
- <?php foreach( $Metaboxes["metaboxes"][$post_name] as $context => $meta_box ) : ?>
144
- <?php foreach( $meta_box as $priority => $box ) : ?>
145
- <?php foreach( $box as $metabox_id => $metabox_title ) : ?>
146
- <?php if( !empty( $metabox_id ) && $metabox_id != 'submitdiv' ) : ?>
147
- <tr>
148
- <th><?php echo $metabox_title; ?></th>
149
- <td>
150
- <?php $Checked = ''; ?>
151
- <?php if( !empty( $Data[$post_name][$metabox_id] ) ) : $Checked = 'checked="checked"'; endif; ?>
152
- <label><input type="checkbox" name="data[<?php echo $post_name; ?>][<?php echo $metabox_id; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
153
- </td>
154
- </tr>
155
- <?php endif; ?>
156
- <?php endforeach; ?>
157
- <?php endforeach; ?>
158
- <?php endforeach; ?>
159
- </tbody>
160
- </table>
161
-
162
- <?php endif; ?>
163
-
164
- </div>
165
- </div>
166
- <?php endforeach; ?>
167
-
168
- </div>
169
- </div>
170
-
171
- <?php endif; ?>
172
-
173
- <br class="clear">
174
-
175
- </div>
176
-
177
- </div>
178
-
179
- <p class="submit">
180
- <input type="submit" class="button-primary" name="update" value="<?php _e( 'Save' ); ?>" />
181
- </p>
182
-
183
- <p class="submit reset">
184
- <span class="description"><?php _e( 'Reset all settings?' , $this->ltd ); ?></span>
185
- <input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
186
- </p>
187
-
188
- </form>
189
-
190
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/wauc-ja.mo CHANGED
Binary file
languages/wauc-ja.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP Admin UI Customize\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-10-03 14:57+0900\n"
6
- "PO-Revision-Date: 2013-10-03 15:10+0900\n"
7
  "Last-Translator: gqevu6bsiz <gqevu6bsiz@gmail.com>\n"
8
  "Language-Team: gqevu6bsiz@gmail.com <gqevu6bsiz@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
@@ -21,66 +21,74 @@ msgstr ""
21
  msgid "An excellent plugin to customize the management screens."
22
  msgstr "管理画面のカスタマイズに優れたプラグインです。"
23
 
24
- #: wp-admin-ui-customize.php:121
25
- #: wp-admin-ui-customize.php:157
26
  #: inc/reset_userrole.php:15
27
  msgid "Reset User Roles"
28
  msgstr "ユーザー権限リセット"
29
 
30
- #: wp-admin-ui-customize.php:148
31
  #: inc/setting_site.php:16
32
  msgid "Site Settings"
33
  msgstr "サイトの設定"
34
 
35
- #: wp-admin-ui-customize.php:149
36
  #: inc/setting_admin_general.php:16
37
  msgid "General Screen Settings"
38
  msgstr "一般設定"
39
 
40
- #: wp-admin-ui-customize.php:151
41
  #: inc/setting_admin_bar_menu.php:17
42
  msgid "Admin Bar Menu"
43
  msgstr "管理バー"
44
 
45
- #: wp-admin-ui-customize.php:152
46
  #: inc/setting_sidemenu.php:19
47
  msgid "Side Menu"
48
  msgstr "サイドメニュー"
49
 
50
- #: wp-admin-ui-customize.php:153
51
- #: inc/setting_removemtabox.php:17
52
- msgid "Remove meta box"
53
- msgstr "メタボックス削除"
54
 
55
- #: wp-admin-ui-customize.php:154
56
  #: inc/setting_post_add_edit.php:16
57
  msgid "Add New Post and Edit Post Screen Setting"
58
  msgstr "新規投稿と投稿編集の設定"
59
 
60
- #: wp-admin-ui-customize.php:155
61
  #: inc/setting_appearance_menus.php:15
62
  msgid "Appearance Menus Screen Setting"
63
  msgstr "外観メニュー画面の設定"
64
 
65
- #: wp-admin-ui-customize.php:156
66
  #: inc/setting_loginscreen.php:27
67
  msgid "Login Screen"
68
  msgstr "ログイン画面"
69
 
70
- #: wp-admin-ui-customize.php:292
71
  #, php-format
72
  msgid "Authority to apply the setting is not selected. <a href=\"%s\">From here</a>, please select the permissions you want to set."
73
  msgstr "設定を適用する権限が選択されていません。<a href=\"%s\">こちら</a>から設定する権限を選んでください。"
74
 
75
- #: wp-admin-ui-customize.php:317
76
  msgid "Apply user roles"
77
  msgstr "適用されるユーザー権限"
78
 
79
- #: wp-admin-ui-customize.php:542
80
- #: wp-admin-ui-customize.php:664
81
  msgid "Sub Menus"
82
  msgstr "サブメニュー"
83
 
 
 
 
 
 
 
 
 
84
  #: inc/list_variables.php:17
85
  #: inc/setting_admin_bar_menu.php:24
86
  #: inc/setting_admin_general.php:125
@@ -103,6 +111,7 @@ msgid "Blog URL of logged in."
103
  msgstr "ログイン中のブログURL"
104
 
105
  #: inc/list_variables.php:95
 
106
  msgid "In your case."
107
  msgstr "これはあなたの場合です。"
108
 
@@ -146,14 +155,14 @@ msgstr "利用可能なショートコード一覧"
146
  msgid "Menu items that can be added"
147
  msgstr "追加できるメニュー一覧"
148
 
149
- #: inc/setting_admin_bar_menu.php:258
150
  #: inc/setting_admin_general.php:181
151
  #: inc/setting_appearance_menus.php:90
152
  #: inc/setting_dashboard.php:176
153
  #: inc/setting_default.php:122
154
  #: inc/setting_loginscreen.php:152
 
155
  #: inc/setting_post_add_edit.php:101
156
- #: inc/setting_removemtabox.php:184
157
  #: inc/setting_sidemenu.php:225
158
  #: inc/setting_site.php:160
159
  msgid "Reset all settings?"
@@ -272,16 +281,48 @@ msgstr "ロゴタイトル"
272
  msgid "Logo Image path"
273
  msgstr "ロゴ画像のパス"
274
 
275
- #: inc/setting_post_add_edit.php:41
276
- msgid "Allow people to post comments on new articles when hide to discussion of metabox"
277
- msgstr "ディスカッションメタボックスが非表示でも新しい投稿へのコメントを許可する"
278
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
279
  #: inc/setting_post_add_edit.php:48
280
- #: inc/setting_removemtabox.php:59
281
- #: inc/setting_removemtabox.php:102
282
  msgid "Notice: If hide the Discussion on metabox, comments does not display of Add New Post on apply user role."
283
  msgstr "注意: ディスカッションメタボックスを隠す場合、適用された権限の新規投稿はコメントが表示されません。"
284
 
 
 
 
 
 
 
 
 
 
285
  #: inc/setting_post_add_edit.php:49
286
  msgid "Please select if you want to display the comments on Site."
287
  msgstr "サイトでコメントを表示させたい場合選択してください。"
@@ -296,32 +337,14 @@ msgstr "ただし、これは%sの設定に従います。"
296
  msgid "Please select the %s"
297
  msgstr "%s を選択してください。"
298
 
 
 
 
 
299
  #: inc/setting_post_add_edit.php:78
300
  msgid "Only appears when you have settings to the default permalink."
301
  msgstr "デフォルトのパーマリンクに設定している時のみ表示されます。"
302
 
303
- #: inc/setting_removemtabox.php:18
304
- msgid "Please update or add a \"post\" and a \"page\" to load the available meta boxes."
305
- msgstr "新しいプラグインのメタボックスを読み込むには編集画面に一度アクセスしてください。"
306
-
307
- #: inc/setting_removemtabox.php:41
308
- #: inc/setting_removemtabox.php:84
309
- #: inc/setting_removemtabox.php:136
310
- msgid "Could not read the meta box."
311
- msgstr "メタボックスの読み込みができませんでした。"
312
-
313
- #: inc/setting_removemtabox.php:42
314
- #: inc/setting_removemtabox.php:85
315
- #: inc/setting_removemtabox.php:137
316
- #, php-format
317
- msgid "Meta boxes will be loaded automatically when you Edit %s."
318
- msgstr "%s 編集画面を一度表示すると自動でメタボックスが読み込まれます。"
319
-
320
- #: inc/setting_removemtabox.php:61
321
- #: inc/setting_removemtabox.php:104
322
- msgid "Please set from here if you want to view the comments on screen."
323
- msgstr "コメントが表示されるようにしたい場合はここから設定してください。"
324
-
325
  #: inc/setting_sidemenu.php:21
326
  #, php-format
327
  msgid "New plugin menus will be added to the <strong>%s</strong>."
2
  msgstr ""
3
  "Project-Id-Version: WP Admin UI Customize\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-10-23 17:37+0900\n"
6
+ "PO-Revision-Date: 2013-10-23 18:08+0900\n"
7
  "Last-Translator: gqevu6bsiz <gqevu6bsiz@gmail.com>\n"
8
  "Language-Team: gqevu6bsiz@gmail.com <gqevu6bsiz@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
21
  msgid "An excellent plugin to customize the management screens."
22
  msgstr "管理画面のカスタマイズに優れたプラグインです。"
23
 
24
+ #: wp-admin-ui-customize.php:124
25
+ #: wp-admin-ui-customize.php:160
26
  #: inc/reset_userrole.php:15
27
  msgid "Reset User Roles"
28
  msgstr "ユーザー権限リセット"
29
 
30
+ #: wp-admin-ui-customize.php:151
31
  #: inc/setting_site.php:16
32
  msgid "Site Settings"
33
  msgstr "サイトの設定"
34
 
35
+ #: wp-admin-ui-customize.php:152
36
  #: inc/setting_admin_general.php:16
37
  msgid "General Screen Settings"
38
  msgstr "一般設定"
39
 
40
+ #: wp-admin-ui-customize.php:154
41
  #: inc/setting_admin_bar_menu.php:17
42
  msgid "Admin Bar Menu"
43
  msgstr "管理バー"
44
 
45
+ #: wp-admin-ui-customize.php:155
46
  #: inc/setting_sidemenu.php:19
47
  msgid "Side Menu"
48
  msgstr "サイドメニュー"
49
 
50
+ #: wp-admin-ui-customize.php:156
51
+ #: inc/setting_manage_metabox.php:17
52
+ msgid "Manage meta box"
53
+ msgstr "メタボックス管理"
54
 
55
+ #: wp-admin-ui-customize.php:157
56
  #: inc/setting_post_add_edit.php:16
57
  msgid "Add New Post and Edit Post Screen Setting"
58
  msgstr "新規投稿と投稿編集の設定"
59
 
60
+ #: wp-admin-ui-customize.php:158
61
  #: inc/setting_appearance_menus.php:15
62
  msgid "Appearance Menus Screen Setting"
63
  msgstr "外観メニュー画面の設定"
64
 
65
+ #: wp-admin-ui-customize.php:159
66
  #: inc/setting_loginscreen.php:27
67
  msgid "Login Screen"
68
  msgstr "ログイン画面"
69
 
70
+ #: wp-admin-ui-customize.php:321
71
  #, php-format
72
  msgid "Authority to apply the setting is not selected. <a href=\"%s\">From here</a>, please select the permissions you want to set."
73
  msgstr "設定を適用する権限が選択されていません。<a href=\"%s\">こちら</a>から設定する権限を選んでください。"
74
 
75
+ #: wp-admin-ui-customize.php:346
76
  msgid "Apply user roles"
77
  msgstr "適用されるユーザー権限"
78
 
79
+ #: wp-admin-ui-customize.php:577
80
+ #: wp-admin-ui-customize.php:706
81
  msgid "Sub Menus"
82
  msgstr "サブメニュー"
83
 
84
+ #: wp-admin-ui-customize.php:685
85
+ msgid "If you want edit to name, please edit of translation file(PO)."
86
+ msgstr "タイトルを変更したい場合は翻訳ファイル(PO)を編集してください。"
87
+
88
+ #: wp-admin-ui-customize.php:686
89
+ msgid "Show only on front end."
90
+ msgstr "フロントのみ表示"
91
+
92
  #: inc/list_variables.php:17
93
  #: inc/setting_admin_bar_menu.php:24
94
  #: inc/setting_admin_general.php:125
111
  msgstr "ログイン中のブログURL"
112
 
113
  #: inc/list_variables.php:95
114
+ #: inc/list_variables.php:102
115
  msgid "In your case."
116
  msgstr "これはあなたの場合です。"
117
 
155
  msgid "Menu items that can be added"
156
  msgstr "追加できるメニュー一覧"
157
 
158
+ #: inc/setting_admin_bar_menu.php:283
159
  #: inc/setting_admin_general.php:181
160
  #: inc/setting_appearance_menus.php:90
161
  #: inc/setting_dashboard.php:176
162
  #: inc/setting_default.php:122
163
  #: inc/setting_loginscreen.php:152
164
+ #: inc/setting_manage_metabox.php:243
165
  #: inc/setting_post_add_edit.php:101
 
166
  #: inc/setting_sidemenu.php:225
167
  #: inc/setting_site.php:160
168
  msgid "Reset all settings?"
281
  msgid "Logo Image path"
282
  msgstr "ロゴ画像のパス"
283
 
284
+ #: inc/setting_manage_metabox.php:18
285
+ msgid "Please update or add a \"post\" and a \"page\" to load the available meta boxes."
286
+ msgstr "メタボックスを読み込むには編集画面にアクセスしてください。"
287
 
288
+ #: inc/setting_manage_metabox.php:19
289
+ msgid "Please enter if you want to change of Metabox label name."
290
+ msgstr "メタボックス名を変更したい時だけ入力してください。"
291
+
292
+ #: inc/setting_manage_metabox.php:42
293
+ #: inc/setting_manage_metabox.php:105
294
+ #: inc/setting_manage_metabox.php:176
295
+ msgid "Could not read the meta box."
296
+ msgstr "メタボックスの読み込みができませんでした。"
297
+
298
+ #: inc/setting_manage_metabox.php:43
299
+ #: inc/setting_manage_metabox.php:106
300
+ #: inc/setting_manage_metabox.php:177
301
+ #, php-format
302
+ msgid "Meta boxes will be loaded automatically when you <strong>%s</strong>."
303
+ msgstr "<strong>%s</strong> 画面を一度表示すると自動でメタボックスが読み込まれます。"
304
+
305
+ #: inc/setting_manage_metabox.php:55
306
+ #: inc/setting_manage_metabox.php:118
307
+ #: inc/setting_manage_metabox.php:189
308
+ msgid "Change metabox title to"
309
+ msgstr "メタボックス名を変更"
310
+
311
+ #: inc/setting_manage_metabox.php:81
312
+ #: inc/setting_manage_metabox.php:143
313
  #: inc/setting_post_add_edit.php:48
 
 
314
  msgid "Notice: If hide the Discussion on metabox, comments does not display of Add New Post on apply user role."
315
  msgstr "注意: ディスカッションメタボックスを隠す場合、適用された権限の新規投稿はコメントが表示されません。"
316
 
317
+ #: inc/setting_manage_metabox.php:83
318
+ #: inc/setting_manage_metabox.php:145
319
+ msgid "Please set from here if you want to view the comments on screen."
320
+ msgstr "コメントが表示されるようにしたい場合はここから設定してください。"
321
+
322
+ #: inc/setting_post_add_edit.php:41
323
+ msgid "Allow people to post comments on new articles when hide to discussion of metabox"
324
+ msgstr "ディスカッションメタボックスが非表示でも新しい投稿へのコメントを許可する"
325
+
326
  #: inc/setting_post_add_edit.php:49
327
  msgid "Please select if you want to display the comments on Site."
328
  msgstr "サイトでコメントを表示させたい場合選択してください。"
337
  msgid "Please select the %s"
338
  msgstr "%s を選択してください。"
339
 
340
+ #: inc/setting_post_add_edit.php:52
341
+ msgid "Allow people to post comments on new articles"
342
+ msgstr "ディスカッションメタボックスが非表示でも新しい投稿へのコメントを許可する"
343
+
344
  #: inc/setting_post_add_edit.php:78
345
  msgid "Only appears when you have settings to the default permalink."
346
  msgstr "デフォルトのパーマリンクに設定している時のみ表示されます。"
347
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
348
  #: inc/setting_sidemenu.php:21
349
  #, php-format
350
  msgid "New plugin menus will be added to the <strong>%s</strong>."
languages/wauc.pot CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP Admin UI Customize\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-10-03 14:57+0900\n"
6
- "PO-Revision-Date: 2013-10-03 14:57+0900\n"
7
  "Last-Translator: gqevu6bsiz <gqevu6bsiz@gmail.com>\n"
8
  "Language-Team: gqevu6bsiz <gqevu6bsiz@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
@@ -18,66 +18,74 @@ msgstr ""
18
  msgid "An excellent plugin to customize the management screens."
19
  msgstr ""
20
 
21
- #: wp-admin-ui-customize.php:121
22
- #: wp-admin-ui-customize.php:157
23
  #: inc/reset_userrole.php:15
24
  msgid "Reset User Roles"
25
  msgstr ""
26
 
27
- #: wp-admin-ui-customize.php:148
28
  #: inc/setting_site.php:16
29
  msgid "Site Settings"
30
  msgstr ""
31
 
32
- #: wp-admin-ui-customize.php:149
33
  #: inc/setting_admin_general.php:16
34
  msgid "General Screen Settings"
35
  msgstr ""
36
 
37
- #: wp-admin-ui-customize.php:151
38
  #: inc/setting_admin_bar_menu.php:17
39
  msgid "Admin Bar Menu"
40
  msgstr ""
41
 
42
- #: wp-admin-ui-customize.php:152
43
  #: inc/setting_sidemenu.php:19
44
  msgid "Side Menu"
45
  msgstr ""
46
 
47
- #: wp-admin-ui-customize.php:153
48
- #: inc/setting_removemtabox.php:17
49
- msgid "Remove meta box"
50
  msgstr ""
51
 
52
- #: wp-admin-ui-customize.php:154
53
  #: inc/setting_post_add_edit.php:16
54
  msgid "Add New Post and Edit Post Screen Setting"
55
  msgstr ""
56
 
57
- #: wp-admin-ui-customize.php:155
58
  #: inc/setting_appearance_menus.php:15
59
  msgid "Appearance Menus Screen Setting"
60
  msgstr ""
61
 
62
- #: wp-admin-ui-customize.php:156
63
  #: inc/setting_loginscreen.php:27
64
  msgid "Login Screen"
65
  msgstr ""
66
 
67
- #: wp-admin-ui-customize.php:292
68
  #, php-format
69
  msgid "Authority to apply the setting is not selected. <a href=\"%s\">From here</a>, please select the permissions you want to set."
70
  msgstr ""
71
 
72
- #: wp-admin-ui-customize.php:317
73
  msgid "Apply user roles"
74
  msgstr ""
75
 
76
- #: wp-admin-ui-customize.php:542
77
- #: wp-admin-ui-customize.php:664
78
  msgid "Sub Menus"
79
  msgstr ""
80
 
 
 
 
 
 
 
 
 
81
  #: inc/list_variables.php:17
82
  #: inc/setting_admin_bar_menu.php:24
83
  #: inc/setting_admin_general.php:125
@@ -100,6 +108,7 @@ msgid "Blog URL of logged in."
100
  msgstr ""
101
 
102
  #: inc/list_variables.php:95
 
103
  msgid "In your case."
104
  msgstr ""
105
 
@@ -143,14 +152,14 @@ msgstr ""
143
  msgid "Menu items that can be added"
144
  msgstr ""
145
 
146
- #: inc/setting_admin_bar_menu.php:258
147
  #: inc/setting_admin_general.php:181
148
  #: inc/setting_appearance_menus.php:90
149
  #: inc/setting_dashboard.php:176
150
  #: inc/setting_default.php:122
151
  #: inc/setting_loginscreen.php:152
 
152
  #: inc/setting_post_add_edit.php:101
153
- #: inc/setting_removemtabox.php:184
154
  #: inc/setting_sidemenu.php:225
155
  #: inc/setting_site.php:160
156
  msgid "Reset all settings?"
@@ -269,16 +278,48 @@ msgstr ""
269
  msgid "Logo Image path"
270
  msgstr ""
271
 
272
- #: inc/setting_post_add_edit.php:41
273
- msgid "Allow people to post comments on new articles when hide to discussion of metabox"
274
  msgstr ""
275
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
276
  #: inc/setting_post_add_edit.php:48
277
- #: inc/setting_removemtabox.php:59
278
- #: inc/setting_removemtabox.php:102
279
  msgid "Notice: If hide the Discussion on metabox, comments does not display of Add New Post on apply user role."
280
  msgstr ""
281
 
 
 
 
 
 
 
 
 
 
282
  #: inc/setting_post_add_edit.php:49
283
  msgid "Please select if you want to display the comments on Site."
284
  msgstr ""
@@ -293,30 +334,12 @@ msgstr ""
293
  msgid "Please select the %s"
294
  msgstr ""
295
 
296
- #: inc/setting_post_add_edit.php:78
297
- msgid "Only appears when you have settings to the default permalink."
298
- msgstr ""
299
-
300
- #: inc/setting_removemtabox.php:18
301
- msgid "Please update or add a \"post\" and a \"page\" to load the available meta boxes."
302
- msgstr ""
303
-
304
- #: inc/setting_removemtabox.php:41
305
- #: inc/setting_removemtabox.php:84
306
- #: inc/setting_removemtabox.php:136
307
- msgid "Could not read the meta box."
308
- msgstr ""
309
-
310
- #: inc/setting_removemtabox.php:42
311
- #: inc/setting_removemtabox.php:85
312
- #: inc/setting_removemtabox.php:137
313
- #, php-format
314
- msgid "Meta boxes will be loaded automatically when you Edit %s."
315
  msgstr ""
316
 
317
- #: inc/setting_removemtabox.php:61
318
- #: inc/setting_removemtabox.php:104
319
- msgid "Please set from here if you want to view the comments on screen."
320
  msgstr ""
321
 
322
  #: inc/setting_sidemenu.php:21
2
  msgstr ""
3
  "Project-Id-Version: WP Admin UI Customize\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-10-23 17:37+0900\n"
6
+ "PO-Revision-Date: 2013-10-23 17:37+0900\n"
7
  "Last-Translator: gqevu6bsiz <gqevu6bsiz@gmail.com>\n"
8
  "Language-Team: gqevu6bsiz <gqevu6bsiz@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
18
  msgid "An excellent plugin to customize the management screens."
19
  msgstr ""
20
 
21
+ #: wp-admin-ui-customize.php:124
22
+ #: wp-admin-ui-customize.php:160
23
  #: inc/reset_userrole.php:15
24
  msgid "Reset User Roles"
25
  msgstr ""
26
 
27
+ #: wp-admin-ui-customize.php:151
28
  #: inc/setting_site.php:16
29
  msgid "Site Settings"
30
  msgstr ""
31
 
32
+ #: wp-admin-ui-customize.php:152
33
  #: inc/setting_admin_general.php:16
34
  msgid "General Screen Settings"
35
  msgstr ""
36
 
37
+ #: wp-admin-ui-customize.php:154
38
  #: inc/setting_admin_bar_menu.php:17
39
  msgid "Admin Bar Menu"
40
  msgstr ""
41
 
42
+ #: wp-admin-ui-customize.php:155
43
  #: inc/setting_sidemenu.php:19
44
  msgid "Side Menu"
45
  msgstr ""
46
 
47
+ #: wp-admin-ui-customize.php:156
48
+ #: inc/setting_manage_metabox.php:17
49
+ msgid "Manage meta box"
50
  msgstr ""
51
 
52
+ #: wp-admin-ui-customize.php:157
53
  #: inc/setting_post_add_edit.php:16
54
  msgid "Add New Post and Edit Post Screen Setting"
55
  msgstr ""
56
 
57
+ #: wp-admin-ui-customize.php:158
58
  #: inc/setting_appearance_menus.php:15
59
  msgid "Appearance Menus Screen Setting"
60
  msgstr ""
61
 
62
+ #: wp-admin-ui-customize.php:159
63
  #: inc/setting_loginscreen.php:27
64
  msgid "Login Screen"
65
  msgstr ""
66
 
67
+ #: wp-admin-ui-customize.php:321
68
  #, php-format
69
  msgid "Authority to apply the setting is not selected. <a href=\"%s\">From here</a>, please select the permissions you want to set."
70
  msgstr ""
71
 
72
+ #: wp-admin-ui-customize.php:346
73
  msgid "Apply user roles"
74
  msgstr ""
75
 
76
+ #: wp-admin-ui-customize.php:577
77
+ #: wp-admin-ui-customize.php:706
78
  msgid "Sub Menus"
79
  msgstr ""
80
 
81
+ #: wp-admin-ui-customize.php:685
82
+ msgid "If you want edit to name, please edit of translation file(PO)."
83
+ msgstr ""
84
+
85
+ #: wp-admin-ui-customize.php:686
86
+ msgid "Show only on front end."
87
+ msgstr ""
88
+
89
  #: inc/list_variables.php:17
90
  #: inc/setting_admin_bar_menu.php:24
91
  #: inc/setting_admin_general.php:125
108
  msgstr ""
109
 
110
  #: inc/list_variables.php:95
111
+ #: inc/list_variables.php:102
112
  msgid "In your case."
113
  msgstr ""
114
 
152
  msgid "Menu items that can be added"
153
  msgstr ""
154
 
155
+ #: inc/setting_admin_bar_menu.php:283
156
  #: inc/setting_admin_general.php:181
157
  #: inc/setting_appearance_menus.php:90
158
  #: inc/setting_dashboard.php:176
159
  #: inc/setting_default.php:122
160
  #: inc/setting_loginscreen.php:152
161
+ #: inc/setting_manage_metabox.php:243
162
  #: inc/setting_post_add_edit.php:101
 
163
  #: inc/setting_sidemenu.php:225
164
  #: inc/setting_site.php:160
165
  msgid "Reset all settings?"
278
  msgid "Logo Image path"
279
  msgstr ""
280
 
281
+ #: inc/setting_manage_metabox.php:18
282
+ msgid "Please update or add a \"post\" and a \"page\" to load the available meta boxes."
283
  msgstr ""
284
 
285
+ #: inc/setting_manage_metabox.php:19
286
+ msgid "Please enter if you want to change of Metabox label name."
287
+ msgstr ""
288
+
289
+ #: inc/setting_manage_metabox.php:42
290
+ #: inc/setting_manage_metabox.php:105
291
+ #: inc/setting_manage_metabox.php:176
292
+ msgid "Could not read the meta box."
293
+ msgstr ""
294
+
295
+ #: inc/setting_manage_metabox.php:43
296
+ #: inc/setting_manage_metabox.php:106
297
+ #: inc/setting_manage_metabox.php:177
298
+ #, php-format
299
+ msgid "Meta boxes will be loaded automatically when you <strong>%s</strong>."
300
+ msgstr ""
301
+
302
+ #: inc/setting_manage_metabox.php:55
303
+ #: inc/setting_manage_metabox.php:118
304
+ #: inc/setting_manage_metabox.php:189
305
+ msgid "Change metabox title to"
306
+ msgstr ""
307
+
308
+ #: inc/setting_manage_metabox.php:81
309
+ #: inc/setting_manage_metabox.php:143
310
  #: inc/setting_post_add_edit.php:48
 
 
311
  msgid "Notice: If hide the Discussion on metabox, comments does not display of Add New Post on apply user role."
312
  msgstr ""
313
 
314
+ #: inc/setting_manage_metabox.php:83
315
+ #: inc/setting_manage_metabox.php:145
316
+ msgid "Please set from here if you want to view the comments on screen."
317
+ msgstr ""
318
+
319
+ #: inc/setting_post_add_edit.php:41
320
+ msgid "Allow people to post comments on new articles when hide to discussion of metabox"
321
+ msgstr ""
322
+
323
  #: inc/setting_post_add_edit.php:49
324
  msgid "Please select if you want to display the comments on Site."
325
  msgstr ""
334
  msgid "Please select the %s"
335
  msgstr ""
336
 
337
+ #: inc/setting_post_add_edit.php:52
338
+ msgid "Allow people to post comments on new articles"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
339
  msgstr ""
340
 
341
+ #: inc/setting_post_add_edit.php:78
342
+ msgid "Only appears when you have settings to the default permalink."
 
343
  msgstr ""
344
 
345
  #: inc/setting_sidemenu.php:21
languages/wauc_plugin-ja.mo CHANGED
Binary file
languages/wauc_plugin-ja.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: WP Admin UI Customize sub\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2013-10-03 14:57+0900\n"
6
- "PO-Revision-Date: 2013-10-03 15:11+0900\n"
7
  "Last-Translator: gqevu6bsiz <gqevu6bsiz@gmail.com>\n"
8
  "Language-Team: gqevu6bsiz <gqevu6bsiz@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
@@ -17,16 +17,16 @@ msgstr ""
17
  "X-Poedit-SourceCharset: utf-8\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
- #: wp-admin-ui-customize.php:1838
21
  #: inc/setting_default.php:178
22
  msgid "Thank you for your donation."
23
  msgstr "寄付いただきありがとうございます。"
24
 
25
- #: wp-admin-ui-customize.php:1853
26
  msgid "Thank you for considering donate."
27
  msgstr "寄付のご検討宜しくお願いします。"
28
 
29
- #: wp-admin-ui-customize.php:1853
30
  #: inc/setting_default.php:30
31
  msgid "Donate"
32
  msgstr "寄付について"
3
  "Project-Id-Version: WP Admin UI Customize sub\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2013-10-03 14:57+0900\n"
6
+ "PO-Revision-Date: 2013-10-23 17:50+0900\n"
7
  "Last-Translator: gqevu6bsiz <gqevu6bsiz@gmail.com>\n"
8
  "Language-Team: gqevu6bsiz <gqevu6bsiz@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
17
  "X-Poedit-SourceCharset: utf-8\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
+ #: wp-admin-ui-customize.php:1912
21
  #: inc/setting_default.php:178
22
  msgid "Thank you for your donation."
23
  msgstr "寄付いただきありがとうございます。"
24
 
25
+ #: wp-admin-ui-customize.php:1927
26
  msgid "Thank you for considering donate."
27
  msgstr "寄付のご検討宜しくお願いします。"
28
 
29
+ #: wp-admin-ui-customize.php:1927
30
  #: inc/setting_default.php:30
31
  msgid "Donate"
32
  msgstr "寄付について"
languages/wauc_plugin.pot CHANGED
@@ -14,16 +14,16 @@ msgstr ""
14
  "Plural-Forms: nplurals=1; plural=0;\n"
15
  "X-Poedit-SearchPath-0: .\n"
16
 
17
- #: wp-admin-ui-customize.php:1838
18
  #: inc/setting_default.php:178
19
  msgid "Thank you for your donation."
20
  msgstr ""
21
 
22
- #: wp-admin-ui-customize.php:1853
23
  msgid "Thank you for considering donate."
24
  msgstr ""
25
 
26
- #: wp-admin-ui-customize.php:1853
27
  #: inc/setting_default.php:30
28
  msgid "Donate"
29
  msgstr ""
@@ -145,3 +145,4 @@ msgstr ""
145
  msgid "This plugin is that can be for customizing flexibly Login Screen."
146
  msgstr ""
147
 
 
14
  "Plural-Forms: nplurals=1; plural=0;\n"
15
  "X-Poedit-SearchPath-0: .\n"
16
 
17
+ #: wp-admin-ui-customize.php:1912
18
  #: inc/setting_default.php:178
19
  msgid "Thank you for your donation."
20
  msgstr ""
21
 
22
+ #: wp-admin-ui-customize.php:1927
23
  msgid "Thank you for considering donate."
24
  msgstr ""
25
 
26
+ #: wp-admin-ui-customize.php:1927
27
  #: inc/setting_default.php:30
28
  msgid "Donate"
29
  msgstr ""
145
  msgid "This plugin is that can be for customizing flexibly Login Screen."
146
  msgstr ""
147
 
148
+
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=1_3_9_2
4
- Tags: admin, post, posts, page, option, sitemenu, menu, custom, customize, dashboard, admin_bar
5
  Requires at least: 3.5.2
6
  Tested up to: 3.6.1
7
- Stable tag: 1.3.9.2
8
  License: GPL2
9
 
10
  Customize the management screen UI.
@@ -16,8 +16,9 @@ Customize the management screen UI.
16
  * Output-meta site
17
  * Admin bar
18
  * Admin menu (Side menu)
19
- * Management of meta box
20
  * Login screen
 
21
 
22
  These to Customization is possible.
23
 
@@ -38,17 +39,27 @@ These to Customization is possible.
38
  1. Set the user role apply
39
  2. Site Settings
40
  3. Admin Screen Settings
41
- 4. Admin Screen Customized
42
- 5. Dashboard Settings
43
- 6. Dashboard Screen Customized
44
- 7. Admin Menu Settings
45
- 8. Admin Menu Customized
46
- 9. Metabox Settings
47
  10. Login Screen Settings
48
- 11. Login Screen Customized
49
 
50
  == Changelog ==
51
 
 
 
 
 
 
 
 
 
 
 
 
52
  = 1.3.9.2 =
53
  * Change mechanism : Update timing change of settings data.
54
 
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_4
4
+ Tags: admin, post, posts, page, option, sitemenu, menu, custom, customize, dashboard, admin_bar, multisite, network, metabox
5
  Requires at least: 3.5.2
6
  Tested up to: 3.6.1
7
+ Stable tag: 1.4
8
  License: GPL2
9
 
10
  Customize the management screen UI.
16
  * Output-meta site
17
  * Admin bar
18
  * Admin menu (Side menu)
19
+ * Management of meta boxes
20
  * Login screen
21
+ * Other features.
22
 
23
  These to Customization is possible.
24
 
39
  1. Set the user role apply
40
  2. Site Settings
41
  3. Admin Screen Settings
42
+ 4. Dashboard Settings
43
+ 5. Admin Bar Menu Settings
44
+ 6. Admin Menu(side menu) Settings
45
+ 7. Metabox Settings
46
+ 8. Post/Page Settings
47
+ 9. Appearance Menu Settings
48
  10. Login Screen Settings
 
49
 
50
  == Changelog ==
51
 
52
+ = 1.4 =
53
+ * Removed: Remove meta box feature.
54
+ * Added: Manage to meta boxes.
55
+ * Updated: Screenshots.
56
+
57
+ = 1.3.9.3 beta1 =
58
+ * Added: Change the Label name for metaboxes.
59
+ * Fixed bug: Remove tabs.
60
+ * Added: Avatar on Admin bar.
61
+ * Added: Edit link on Admin bar.
62
+
63
  = 1.3.9.2 =
64
  * Change mechanism : Update timing change of settings data.
65
 
screenshot-1.png CHANGED
Binary file
screenshot-10.png CHANGED
Binary file
screenshot-11.png DELETED
Binary file
screenshot-2.png CHANGED
Binary file
screenshot-3.png CHANGED
Binary file
screenshot-4.png CHANGED
Binary file
screenshot-5.png CHANGED
Binary file
screenshot-6.png CHANGED
Binary file
screenshot-7.png CHANGED
Binary file
screenshot-8.png CHANGED
Binary file
screenshot-9.png CHANGED
Binary file
wp-admin-ui-customize.css CHANGED
@@ -176,3 +176,10 @@
176
  float: left;
177
  margin: 0 4px 4px 0;
178
  }
 
 
 
 
 
 
 
176
  float: left;
177
  margin: 0 4px 4px 0;
178
  }
179
+
180
+
181
+ /* manage metabox */
182
+
183
+ #wauc_setting_manage_metabox table.form-table td {
184
+ vertical-align: top;
185
+ }
wp-admin-ui-customize.php CHANGED
@@ -2,10 +2,10 @@
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_9_2
6
- Version: 1.3.9.2
7
  Author: gqevu6bsiz
8
- Author URI: http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_3_9_2
9
  Text Domain: wauc
10
  Domain Path: /languages
11
  */
@@ -53,7 +53,7 @@ class WP_Admin_UI_Customize
53
 
54
 
55
  function __construct() {
56
- $this->Ver = '1.3.9.2';
57
  $this->Name = 'WP Admin UI Customize';
58
  $this->Dir = plugin_dir_path( __FILE__ );
59
  $this->Url = plugin_dir_url( __FILE__ );
@@ -68,7 +68,7 @@ class WP_Admin_UI_Customize
68
  "dashboard" => $this->ltd . '_dashboard_setting',
69
  "admin_bar_menu" => $this->ltd . '_admin_bar_menu_setting',
70
  "sidemenu" => $this->ltd . '_sidemenu_setting',
71
- "removemetabox" => $this->ltd . '_removemetabox_setting',
72
  "regist_metabox" => $this->ltd . '_regist_metabox',
73
  "post_add_edit" => $this->ltd . '_post_add_edit_setting',
74
  "appearance_menus" => $this->ltd . '_appearance_menus_setting',
@@ -111,6 +111,9 @@ class WP_Admin_UI_Customize
111
 
112
  // data update
113
  add_action( 'admin_init' , array( $this , 'dataUpdate') );
 
 
 
114
  }
115
 
116
  // PluginSetup
@@ -150,13 +153,39 @@ class WP_Admin_UI_Customize
150
  add_submenu_page( $this->PageSlug , __( 'Dashboard' ) , __( 'Dashboard' ) , 'administrator' , $this->PageSlug . '_dashboard' , array( $this , 'setting_dashboard' ) );
151
  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' ) );
152
  add_submenu_page( $this->PageSlug , __( 'Side Menu' , $this->ltd ) , __( 'Side Menu' , $this->ltd ) , 'administrator' , $this->PageSlug . '_sidemenu' , array( $this , 'setting_sidemenu' ) );
153
- add_submenu_page( $this->PageSlug , __( 'Remove meta box' , $this->ltd ) , __( 'Remove meta box' , $this->ltd ) , 'administrator' , $this->PageSlug . '_removemtabox' , array( $this , 'setting_removemtabox' ) );
154
  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' ) );
155
  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' ) );
156
  add_submenu_page( $this->PageSlug , __( 'Login Screen' , $this->ltd ) , __( 'Login Screen' , $this->ltd ) , 'administrator' , $this->PageSlug . '_loginscreen' , array( $this , 'setting_loginscreen' ) );
157
  add_submenu_page( $this->PageSlug , __( 'Reset User Roles' , $this->ltd ) , '<div style="display: none";>' . __( 'Reset User Roles' , $this->ltd ) . '</div>' , 'administrator' , $this->PageSlug . '_reset_userrole' , array( $this , 'reset_userrole' ) );
158
  }
159
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
 
161
 
162
 
@@ -209,11 +238,11 @@ class WP_Admin_UI_Customize
209
  }
210
 
211
  // SettingPage
212
- function setting_removemtabox() {
213
  $this->display_msg();
214
  add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
215
  $this->DisplayDonation();
216
- include_once 'inc/setting_removemtabox.php';
217
  }
218
 
219
  // SettingPage
@@ -369,7 +398,7 @@ class WP_Admin_UI_Customize
369
 
370
  foreach( $Default_bar as $node_id => $node ) {
371
  if( $node->id == 'my-account' ) {
372
- $Default_bar[$node_id]->title = sprintf( __( 'Howdy, %1$s' ) , '[user_name]' );
373
  } elseif( $node->id == 'user-info' ) {
374
  $Default_bar[$node_id]->title = '<span class="display-name">[user_name]</span>';
375
  } elseif( $node->id == 'logout' ) {
@@ -431,6 +460,12 @@ class WP_Admin_UI_Customize
431
  }
432
  }
433
 
 
 
 
 
 
 
434
  return $Filter_bar;
435
  }
436
 
@@ -440,7 +475,7 @@ class WP_Admin_UI_Customize
440
 
441
  $UserRole = $this->current_user_role_group();
442
 
443
- if( $current_screen->base == 'post' && $current_screen->action != 'add' && $UserRole == 'administrator' ) {
444
  global $wp_meta_boxes;
445
 
446
  $GetData = $this->get_data( "regist_metabox" );
@@ -612,6 +647,7 @@ class WP_Admin_UI_Customize
612
  if( !empty( $menu_widget["new"] ) ) {
613
  $new_widget = 'new';
614
  }
 
615
  ?>
616
  <div class="widget <?php echo $new_widget; ?> <?php echo $menu_widget["id"]; ?>">
617
 
@@ -644,7 +680,13 @@ class WP_Admin_UI_Customize
644
  </p>
645
  <p class="field-title description">
646
  <label>
647
- <?php _e( 'Title' ); ?> : <input type="text" class="regular-text titletext" value="<?php echo esc_html( $menu_widget["title"] ); ?>" name="data[][title]" />
 
 
 
 
 
 
648
  </label>
649
  </p>
650
  <p class="field-meta description">
@@ -800,7 +842,10 @@ class WP_Admin_UI_Customize
800
  $str = str_replace( '[comment_count_format]' , number_format_i18n( $awaiting_mod ) , $str );
801
  }
802
  if( strstr( $str , '[user_name]') ) {
803
- $str = str_replace( '[user_name]' , '<span class="display-name">' . $current_user->display_name . '</span>' , $str );
 
 
 
804
  }
805
 
806
  if( is_multisite() ) {
@@ -840,7 +885,7 @@ class WP_Admin_UI_Customize
840
  if( !empty( $_POST["record_field"] ) ) {
841
  $RecordField = strip_tags( $_POST["record_field"] );
842
  }
843
-
844
  if( !empty( $RecordField ) && !empty( $_POST["update"] ) ) {
845
  if( $RecordField == 'user_role' ) {
846
  $this->update_userrole();
@@ -854,8 +899,8 @@ class WP_Admin_UI_Customize
854
  $this->update_admin_bar_menu();
855
  } elseif( $RecordField == 'sidemenu' ) {
856
  $this->update_sidemenu();
857
- } elseif( $RecordField == 'removemetabox' ) {
858
- $this->update_removemetabox();
859
  } elseif( $RecordField == 'post_add_edit' ) {
860
  $this->update_post_add_edit();
861
  } elseif( $RecordField == 'appearance_menus' ) {
@@ -866,7 +911,7 @@ class WP_Admin_UI_Customize
866
  }
867
 
868
  if( !empty( $RecordField ) && !empty( $_POST["reset"] ) ) {
869
- if( $RecordField == 'removemetabox' ) {
870
  delete_option( $this->Record["regist_metabox"] );
871
  }
872
  $this->update_reset( $RecordField );
@@ -1079,7 +1124,7 @@ class WP_Admin_UI_Customize
1079
  }
1080
 
1081
  // DataUpdate
1082
- function update_removemetabox() {
1083
  $Update = $this->update_validate();
1084
  if( !empty( $Update ) && check_admin_referer( $this->Nonces["value"] , $this->Nonces["field"] ) ) {
1085
 
@@ -1089,14 +1134,14 @@ class WP_Admin_UI_Customize
1089
  if( is_array( $val ) ) {
1090
  foreach($val as $id => $v) {
1091
  $tmpK = strip_tags( $id );
1092
- $tmpV = strip_tags ( $v );
1093
  $Update[$post_type][$tmpK] = $tmpV;
1094
  }
1095
  }
1096
  }
1097
  }
1098
 
1099
- $Record = apply_filters( 'wauc_pre_update' , $this->Record["removemetabox"] );
1100
  update_option( $Record , $Update );
1101
  wp_redirect( add_query_arg( $this->MsgQ , 'update' , stripslashes( $_POST["_wp_http_referer"] ) ) );
1102
  exit;
@@ -1218,7 +1263,7 @@ class WP_Admin_UI_Customize
1218
  add_filter( 'admin_footer_text' , array( $this , 'admin_footer_text' ) );
1219
  add_action( 'admin_print_styles' , array( $this , 'load_css' ) );
1220
  add_action( 'wp_dashboard_setup' , array( $this , 'wp_dashboard_setup' ) );
1221
- add_action( 'admin_head' , array( $this , 'removemetabox' ) , 11 );
1222
  add_filter( 'admin_head', array( $this , 'sidemenu' ) );
1223
  add_filter( 'get_sample_permalink_html' , array( $this , 'add_edit_post_change_permalink' ) );
1224
  add_filter( 'edit_form_after_title' , array( $this , 'allow_comments' ) );
@@ -1376,6 +1421,7 @@ class WP_Admin_UI_Customize
1376
  foreach($allnodes as $depth => $nodes) {
1377
  foreach($nodes as $node) {
1378
  $args = array( "id" => $node["id"] , "title" => stripslashes( $node["title"] ) , "href" => $node["href"] , "parent" => "" , "meta" => array() );
 
1379
  if( strstr( $node["id"] , 'custom_node' ) ) {
1380
  $args["href"] = $this->val_replace( $node["href"] );
1381
  }
@@ -1421,6 +1467,39 @@ class WP_Admin_UI_Customize
1421
  if( $args["id"] == 'logout' ) {
1422
  $args["href"] = wp_logout_url();
1423
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1424
  $wp_admin_bar->add_menu( $args );
1425
  }
1426
  }
@@ -1481,7 +1560,9 @@ class WP_Admin_UI_Customize
1481
 
1482
  if( !empty( $GetData["help_tab"] ) ) {
1483
  $screen = get_current_screen();
1484
- $screen->remove_help_tabs();
 
 
1485
  }
1486
 
1487
  if( !empty( $GetData["screen_option_tab"] ) ) {
@@ -1558,11 +1639,10 @@ class WP_Admin_UI_Customize
1558
  }
1559
 
1560
  // FilterStart
1561
- function removemetabox() {
1562
- global $wp_meta_boxes;
1563
- global $current_screen;
1564
 
1565
- $GetData = $this->get_flit_data( 'removemetabox' );
1566
 
1567
  if( !empty( $GetData["UPFN"] ) ) {
1568
  unset( $GetData["UPFN"] );
@@ -1571,8 +1651,6 @@ class WP_Admin_UI_Customize
1571
 
1572
  if( $current_screen->base == 'post' ) {
1573
 
1574
- global $post_type;
1575
-
1576
  if( !empty( $GetData[$post_type] ) ) {
1577
 
1578
  $Metaboxes = $wp_meta_boxes[$post_type];
@@ -1582,8 +1660,10 @@ class WP_Admin_UI_Customize
1582
  foreach( $Metaboxes as $context => $meta_box ) {
1583
  foreach( $meta_box as $priority => $box ) {
1584
  foreach( $box as $metabox_id => $b ) {
1585
- if( array_key_exists( $metabox_id , $Data ) ) {
1586
- $Remove_metaboxes[$metabox_id] = array( "context" => $context , "priority" => $priority );
 
 
1587
  }
1588
  }
1589
  }
@@ -1591,12 +1671,6 @@ class WP_Admin_UI_Customize
1591
 
1592
  }
1593
 
1594
- if( !empty( $Remove_metaboxes ) ) {
1595
- foreach( $Remove_metaboxes as $metabox_id => $box ) {
1596
- remove_meta_box( $metabox_id , $post_type , $box["context"] );
1597
- }
1598
- }
1599
-
1600
  }
1601
  }
1602
  }
@@ -1773,7 +1847,7 @@ class WP_Admin_UI_Customize
1773
  global $current_screen;
1774
 
1775
  $PostAddEdit = $this->get_flit_data( 'post_add_edit' );
1776
- $RemoveMetaBox = $this->get_flit_data( 'removemetabox' );
1777
 
1778
  if( !empty( $PostAddEdit["UPFN"] ) && !empty( $RemoveMetaBox["UPFN"] ) ) {
1779
  if( $current_screen->action == 'add' ) {
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_4
6
+ Version: 1.4
7
  Author: gqevu6bsiz
8
+ Author URI: http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_4
9
  Text Domain: wauc
10
  Domain Path: /languages
11
  */
53
 
54
 
55
  function __construct() {
56
+ $this->Ver = '1.4';
57
  $this->Name = 'WP Admin UI Customize';
58
  $this->Dir = plugin_dir_path( __FILE__ );
59
  $this->Url = plugin_dir_url( __FILE__ );
68
  "dashboard" => $this->ltd . '_dashboard_setting',
69
  "admin_bar_menu" => $this->ltd . '_admin_bar_menu_setting',
70
  "sidemenu" => $this->ltd . '_sidemenu_setting',
71
+ "manage_metabox" => $this->ltd . '_manage_metabox_setting',
72
  "regist_metabox" => $this->ltd . '_regist_metabox',
73
  "post_add_edit" => $this->ltd . '_post_add_edit_setting',
74
  "appearance_menus" => $this->ltd . '_appearance_menus_setting',
111
 
112
  // data update
113
  add_action( 'admin_init' , array( $this , 'dataUpdate') );
114
+
115
+ // data convert
116
+ add_action( 'admin_init' , array( $this , 'dataConvert' ) );
117
  }
118
 
119
  // PluginSetup
153
  add_submenu_page( $this->PageSlug , __( 'Dashboard' ) , __( 'Dashboard' ) , 'administrator' , $this->PageSlug . '_dashboard' , array( $this , 'setting_dashboard' ) );
154
  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' ) );
155
  add_submenu_page( $this->PageSlug , __( 'Side Menu' , $this->ltd ) , __( 'Side Menu' , $this->ltd ) , 'administrator' , $this->PageSlug . '_sidemenu' , array( $this , 'setting_sidemenu' ) );
156
+ add_submenu_page( $this->PageSlug , __( 'Manage meta box' , $this->ltd ) , __( 'Manage meta box' , $this->ltd ) , 'administrator' , $this->PageSlug . '_manage_metabox' , array( $this , 'setting_manage_metabox' ) );
157
  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' ) );
158
  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' ) );
159
  add_submenu_page( $this->PageSlug , __( 'Login Screen' , $this->ltd ) , __( 'Login Screen' , $this->ltd ) , 'administrator' , $this->PageSlug . '_loginscreen' , array( $this , 'setting_loginscreen' ) );
160
  add_submenu_page( $this->PageSlug , __( 'Reset User Roles' , $this->ltd ) , '<div style="display: none";>' . __( 'Reset User Roles' , $this->ltd ) . '</div>' , 'administrator' , $this->PageSlug . '_reset_userrole' , array( $this , 'reset_userrole' ) );
161
  }
162
 
163
+ // PluginSetup
164
+ function dataConvert() {
165
+ $ManageMetabox = get_option( $this->Record['manage_metabox'] );
166
+ $RemoveMetabox = get_option( $this->ltd . '_removemetabox_setting' );
167
+
168
+ if( empty( $ManageMetabox ) && !empty( $RemoveMetabox ) ) {
169
+
170
+ // Old Data Convert
171
+ $ManageMetabox["UPFN"] = $this->UPFN;
172
+ unset( $RemoveMetabox["UPFN"] );
173
+
174
+ if( !empty( $RemoveMetabox ) ) {
175
+ foreach( $RemoveMetabox as $post_type => $box ) {
176
+ foreach( $box as $id => $v ) {
177
+ if( !empty( $v ) ) {
178
+ $ManageMetabox[$post_type][$id] = array( "remove" => 1 , "name" => "" );
179
+ }
180
+ }
181
+ }
182
+
183
+ update_option( $this->Record['manage_metabox'] , $ManageMetabox );
184
+ delete_option( $this->ltd . '_removemetabox_setting' );
185
+ }
186
+
187
+ }
188
+ }
189
 
190
 
191
 
238
  }
239
 
240
  // SettingPage
241
+ function setting_manage_metabox() {
242
  $this->display_msg();
243
  add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
244
  $this->DisplayDonation();
245
+ include_once 'inc/setting_manage_metabox.php';
246
  }
247
 
248
  // SettingPage
398
 
399
  foreach( $Default_bar as $node_id => $node ) {
400
  if( $node->id == 'my-account' ) {
401
+ $Default_bar[$node_id]->title = sprintf( __( 'Howdy, %1$s' ) , '[user_name]' ) . '[user_avatar]';
402
  } elseif( $node->id == 'user-info' ) {
403
  $Default_bar[$node_id]->title = '<span class="display-name">[user_name]</span>';
404
  } elseif( $node->id == 'logout' ) {
460
  }
461
  }
462
 
463
+ // front field
464
+ $Filter_bar["front"] = array( "main" => array() , "sub" => array() );
465
+ $Filter_bar["front"]["main"]["edit-post_type"] = new stdClass;
466
+ $Filter_bar["front"]["main"]["edit-post_type"] = (object) array( 'id' => 'edit-post_type' , 'title' => '' , 'href' => '' , 'meta' => array() );
467
+ $Filter_bar["front"]["main"]["edit-post_type"]->title = sprintf( '%1$s (%2$s/%3$s/%4$s/%5$s/%6$s)' , __( 'Edit' ) , __( 'Post' ) , __( 'Page' ) , __( 'Category' ) , __( 'Tags' ) , __( 'Custom' ) );
468
+
469
  return $Filter_bar;
470
  }
471
 
475
 
476
  $UserRole = $this->current_user_role_group();
477
 
478
+ if( !empty( $current_screen ) && $current_screen->base == 'post' && $current_screen->action != 'add' && $UserRole == 'administrator' ) {
479
  global $wp_meta_boxes;
480
 
481
  $GetData = $this->get_data( "regist_metabox" );
647
  if( !empty( $menu_widget["new"] ) ) {
648
  $new_widget = 'new';
649
  }
650
+
651
  ?>
652
  <div class="widget <?php echo $new_widget; ?> <?php echo $menu_widget["id"]; ?>">
653
 
680
  </p>
681
  <p class="field-title description">
682
  <label>
683
+ <?php if( $menu_widget["id"] == 'edit-post_type' ) : ?>
684
+ <?php _e( 'Title' ); ?> : <input type="text" class="regular-text titletext" value="<?php echo esc_html( $menu_widget["title"] ); ?>" name="data[][title]" readonly="readonly" /><br />
685
+ <span class="description"><?php _e( 'If you want edit to name, please edit of translation file(PO).' , $this->ltd ); ?></span><br />
686
+ <strong><?php _e( 'Show only on front end.' , $this->ltd ); ?></strong>
687
+ <?php else : ?>
688
+ <?php _e( 'Title' ); ?> : <input type="text" class="regular-text titletext" value="<?php echo esc_html( $menu_widget["title"] ); ?>" name="data[][title]" />
689
+ <?php endif; ?>
690
  </label>
691
  </p>
692
  <p class="field-meta description">
842
  $str = str_replace( '[comment_count_format]' , number_format_i18n( $awaiting_mod ) , $str );
843
  }
844
  if( strstr( $str , '[user_name]') ) {
845
+ $str = str_replace( '[user_name]' , $current_user->display_name , $str );
846
+ }
847
+ if( strstr( $str , '[user_avatar]') ) {
848
+ $str = str_replace( '[user_avatar]' , get_avatar( $current_user->ID , 16 ) , $str );
849
  }
850
 
851
  if( is_multisite() ) {
885
  if( !empty( $_POST["record_field"] ) ) {
886
  $RecordField = strip_tags( $_POST["record_field"] );
887
  }
888
+
889
  if( !empty( $RecordField ) && !empty( $_POST["update"] ) ) {
890
  if( $RecordField == 'user_role' ) {
891
  $this->update_userrole();
899
  $this->update_admin_bar_menu();
900
  } elseif( $RecordField == 'sidemenu' ) {
901
  $this->update_sidemenu();
902
+ } elseif( $RecordField == 'manage_metabox' ) {
903
+ $this->update_manage_metabox();
904
  } elseif( $RecordField == 'post_add_edit' ) {
905
  $this->update_post_add_edit();
906
  } elseif( $RecordField == 'appearance_menus' ) {
911
  }
912
 
913
  if( !empty( $RecordField ) && !empty( $_POST["reset"] ) ) {
914
+ if( $RecordField == 'manage_metabox' ) {
915
  delete_option( $this->Record["regist_metabox"] );
916
  }
917
  $this->update_reset( $RecordField );
1124
  }
1125
 
1126
  // DataUpdate
1127
+ function update_manage_metabox() {
1128
  $Update = $this->update_validate();
1129
  if( !empty( $Update ) && check_admin_referer( $this->Nonces["value"] , $this->Nonces["field"] ) ) {
1130
 
1134
  if( is_array( $val ) ) {
1135
  foreach($val as $id => $v) {
1136
  $tmpK = strip_tags( $id );
1137
+ $tmpV = $v;
1138
  $Update[$post_type][$tmpK] = $tmpV;
1139
  }
1140
  }
1141
  }
1142
  }
1143
 
1144
+ $Record = apply_filters( 'wauc_pre_update' , $this->Record["manage_metabox"] );
1145
  update_option( $Record , $Update );
1146
  wp_redirect( add_query_arg( $this->MsgQ , 'update' , stripslashes( $_POST["_wp_http_referer"] ) ) );
1147
  exit;
1263
  add_filter( 'admin_footer_text' , array( $this , 'admin_footer_text' ) );
1264
  add_action( 'admin_print_styles' , array( $this , 'load_css' ) );
1265
  add_action( 'wp_dashboard_setup' , array( $this , 'wp_dashboard_setup' ) );
1266
+ add_action( 'admin_head' , array( $this , 'manage_metabox' ) , 11 );
1267
  add_filter( 'admin_head', array( $this , 'sidemenu' ) );
1268
  add_filter( 'get_sample_permalink_html' , array( $this , 'add_edit_post_change_permalink' ) );
1269
  add_filter( 'edit_form_after_title' , array( $this , 'allow_comments' ) );
1421
  foreach($allnodes as $depth => $nodes) {
1422
  foreach($nodes as $node) {
1423
  $args = array( "id" => $node["id"] , "title" => stripslashes( $node["title"] ) , "href" => $node["href"] , "parent" => "" , "meta" => array() );
1424
+
1425
  if( strstr( $node["id"] , 'custom_node' ) ) {
1426
  $args["href"] = $this->val_replace( $node["href"] );
1427
  }
1467
  if( $args["id"] == 'logout' ) {
1468
  $args["href"] = wp_logout_url();
1469
  }
1470
+
1471
+ if( $args["id"] == 'my-account' ) {
1472
+ $avatar = get_avatar( get_current_user_id() , 16 );
1473
+ $class = empty( $avatar ) ? '' : 'with-avatar';
1474
+ $args["meta"]["class"] = $class;
1475
+ }
1476
+
1477
+ if( $node["id"] == 'edit-post_type' ) {
1478
+ if( !is_admin() ) {
1479
+ $current_object = get_queried_object();
1480
+ print_r($args);
1481
+ if ( empty( $current_object ) )
1482
+ return;
1483
+ if ( ! empty( $current_object->post_type )
1484
+ && ( $post_type_object = get_post_type_object( $current_object->post_type ) )
1485
+ && current_user_can( $post_type_object->cap->edit_post, $current_object->ID )
1486
+ && $post_type_object->show_ui && $post_type_object->show_in_admin_bar )
1487
+ {
1488
+ $args["title"] = $post_type_object->labels->edit_item;
1489
+ $args["href"] = get_edit_post_link( $current_object->ID );
1490
+ } elseif ( ! empty( $current_object->taxonomy )
1491
+ && ( $tax = get_taxonomy( $current_object->taxonomy ) )
1492
+ && current_user_can( $tax->cap->edit_terms )
1493
+ && $tax->show_ui )
1494
+ {
1495
+ $args["title"] = $tax->labels->edit_item;
1496
+ $args["href"] = get_edit_term_link( $current_object->term_id, $current_object->taxonomy );
1497
+ }
1498
+ } else {
1499
+ continue;
1500
+ }
1501
+ }
1502
+
1503
  $wp_admin_bar->add_menu( $args );
1504
  }
1505
  }
1560
 
1561
  if( !empty( $GetData["help_tab"] ) ) {
1562
  $screen = get_current_screen();
1563
+ if( !empty( $screen ) ) {
1564
+ $screen->remove_help_tabs();
1565
+ }
1566
  }
1567
 
1568
  if( !empty( $GetData["screen_option_tab"] ) ) {
1639
  }
1640
 
1641
  // FilterStart
1642
+ function manage_metabox() {
1643
+ global $wp_meta_boxes, $current_screen, $post_type;
 
1644
 
1645
+ $GetData = $this->get_flit_data( 'manage_metabox' );
1646
 
1647
  if( !empty( $GetData["UPFN"] ) ) {
1648
  unset( $GetData["UPFN"] );
1651
 
1652
  if( $current_screen->base == 'post' ) {
1653
 
 
 
1654
  if( !empty( $GetData[$post_type] ) ) {
1655
 
1656
  $Metaboxes = $wp_meta_boxes[$post_type];
1660
  foreach( $Metaboxes as $context => $meta_box ) {
1661
  foreach( $meta_box as $priority => $box ) {
1662
  foreach( $box as $metabox_id => $b ) {
1663
+ if( !empty( $Data[$metabox_id]["remove"] ) ) {
1664
+ remove_meta_box( $metabox_id , $post_type , $context );
1665
+ } elseif( !empty( $Data[$metabox_id]["name"] ) ) {
1666
+ $wp_meta_boxes[$post_type][$context][$priority][$metabox_id]["title"] = stripslashes( $Data[$metabox_id]["name"] );
1667
  }
1668
  }
1669
  }
1671
 
1672
  }
1673
 
 
 
 
 
 
 
1674
  }
1675
  }
1676
  }
1847
  global $current_screen;
1848
 
1849
  $PostAddEdit = $this->get_flit_data( 'post_add_edit' );
1850
+ $RemoveMetaBox = $this->get_flit_data( 'manage_metabox' );
1851
 
1852
  if( !empty( $PostAddEdit["UPFN"] ) && !empty( $RemoveMetaBox["UPFN"] ) ) {
1853
  if( $current_screen->action == 'add' ) {