WP Admin UI Customize - Version 1.5.2.1-alpha

Version Description

= 1.0 =

Download this release

Release Info

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

Code changes from version 1.5.1.1_dev to 1.5.2.1-alpha

inc/reset_userrole.php CHANGED
@@ -20,10 +20,9 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
20
  <div class="icon32" id="icon-tools"></div>
21
  <?php echo $this->Msg; ?>
22
  <h2><?php _e( 'Reset User Roles' , $this->ltd ); ?></h2>
23
-
24
  <p>&nbsp;</p>
25
 
26
- <form id="wauc_reset_userrole" class="wauc_form" method="post" action="<?php echo add_query_arg( array( 'page' => $this->PageSlug ) , remove_query_arg( array( 'wauc_msg' , 'wauc_debug' , 'page' ) ) ); ?>">
27
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
28
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
29
  <input type="hidden" name="record_field" value="user_role" />
20
  <div class="icon32" id="icon-tools"></div>
21
  <?php echo $this->Msg; ?>
22
  <h2><?php _e( 'Reset User Roles' , $this->ltd ); ?></h2>
 
23
  <p>&nbsp;</p>
24
 
25
+ <form id="wauc_reset_userrole" class="wauc_form" method="post" action="<?php echo remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ); ?>">
26
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
27
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
28
  <input type="hidden" name="record_field" value="user_role" />
inc/setting_admin_bar_menu.php CHANGED
@@ -23,9 +23,6 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
23
  <div class="icon32" id="icon-tools"></div>
24
  <?php echo $this->Msg; ?>
25
  <h2><?php _e( 'Admin Bar Menu' , $this->ltd ); ?></h2>
26
-
27
- <?php $this->get_debug_code(); ?>
28
-
29
  <p><?php _e( 'Please change the menu by drag and drop.' , $this->ltd ); ?></p>
30
  <p><strong><?php _e( 'Notice: Please do not place the same multiple menu slug.' , $this->ltd ); ?></strong></p>
31
  <p class="description"><?php _e( 'Can be more than one custom menu.' , $this->ltd ); ?></p>
@@ -34,7 +31,7 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
34
 
35
  <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>
36
 
37
- <form id="wauc_setting_admin_bar_menu" class="wauc_form" method="post" action="<?php echo add_query_arg( array( 'page' => $this->PageSlug ) , remove_query_arg( array( 'wauc_msg' , 'wauc_debug' , 'page' ) ) ); ?>">
38
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
39
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
40
  <input type="hidden" name="record_field" value="admin_bar_menu" />
23
  <div class="icon32" id="icon-tools"></div>
24
  <?php echo $this->Msg; ?>
25
  <h2><?php _e( 'Admin Bar Menu' , $this->ltd ); ?></h2>
 
 
 
26
  <p><?php _e( 'Please change the menu by drag and drop.' , $this->ltd ); ?></p>
27
  <p><strong><?php _e( 'Notice: Please do not place the same multiple menu slug.' , $this->ltd ); ?></strong></p>
28
  <p class="description"><?php _e( 'Can be more than one custom menu.' , $this->ltd ); ?></p>
31
 
32
  <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>
33
 
34
+ <form id="wauc_setting_admin_bar_menu" class="wauc_form" method="post" action="<?php echo remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ); ?>">
35
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
36
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
37
  <input type="hidden" name="record_field" value="admin_bar_menu" />
inc/setting_admin_general.php CHANGED
@@ -21,13 +21,11 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
21
  <div class="icon32" id="icon-tools"></div>
22
  <?php echo $this->Msg; ?>
23
  <h2><?php _e( 'General Screen Settings' , $this->ltd ); ?></h2>
24
-
25
- <?php $this->get_debug_code(); ?>
26
-
27
  <p>&nbsp;</p>
 
28
  <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
29
 
30
- <form id="wauc_setting_admin_general" class="wauc_form" method="post" action="<?php echo add_query_arg( array( 'page' => $this->PageSlug ) , remove_query_arg( array( 'wauc_msg' , 'wauc_debug' , 'page' ) ) ); ?>">
31
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
32
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
33
  <input type="hidden" name="record_field" value="admin_general" />
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>&nbsp;</p>
25
+
26
  <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
27
 
28
+ <form id="wauc_setting_admin_general" class="wauc_form" method="post" action="<?php echo remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ); ?>">
29
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
30
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
31
  <input type="hidden" name="record_field" value="admin_general" />
inc/setting_appearance_menus.php CHANGED
@@ -20,13 +20,11 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
20
  <div class="icon32" id="icon-tools"></div>
21
  <?php echo $this->Msg; ?>
22
  <h2><?php _e( 'Appearance Menus Screen Setting' , $this->ltd ); ?></h2>
23
-
24
- <?php $this->get_debug_code(); ?>
25
-
26
  <p>&nbsp;</p>
 
27
  <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
28
 
29
- <form id="wauc_setting_appearance_menus" class="wauc_form" method="post" action="<?php echo add_query_arg( array( 'page' => $this->PageSlug ) , remove_query_arg( array( 'wauc_msg' , 'wauc_debug' , 'page' ) ) ); ?>">
30
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
31
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
32
  <input type="hidden" name="record_field" value="appearance_menus" />
20
  <div class="icon32" id="icon-tools"></div>
21
  <?php echo $this->Msg; ?>
22
  <h2><?php _e( 'Appearance Menus Screen Setting' , $this->ltd ); ?></h2>
 
 
 
23
  <p>&nbsp;</p>
24
+
25
  <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
26
 
27
+ <form id="wauc_setting_appearance_menus" class="wauc_form" method="post" action="<?php echo remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ); ?>">
28
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
29
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
30
  <input type="hidden" name="record_field" value="appearance_menus" />
inc/setting_dashboard.php CHANGED
@@ -21,13 +21,11 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
21
  <div class="icon32" id="icon-tools"></div>
22
  <?php echo $this->Msg; ?>
23
  <h2><?php _e( 'Dashboard' ); ?><?php _e( 'Settings' ); ?></h2>
24
-
25
- <?php $this->get_debug_code(); ?>
26
-
27
  <p>&nbsp;</p>
 
28
  <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
29
 
30
- <form id="wauc_setting_dashboard" class="wauc_form" method="post" action="<?php echo add_query_arg( array( 'page' => $this->PageSlug ) , remove_query_arg( array( 'wauc_msg' , 'wauc_debug' , 'page' ) ) ); ?>">
31
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
32
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
33
  <input type="hidden" name="record_field" value="dashboard" />
@@ -42,121 +40,23 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
42
  <div class="handlediv" title="Click to toggle"><br></div>
43
  <h3 class="hndle"><span><?php _e( 'Meta boxes' , $this->ltd ); ?></span></h3>
44
  <div class="inside">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
 
46
- <?php if ( version_compare( $wp_version , '3.8' , '<' ) ) : ?>
47
-
48
- <table class="form-table">
49
- <tbody>
50
- <?php $field = 'show_welcome_panel'; ?>
51
- <tr>
52
- <th>
53
- <label><?php _e( 'Welcome Panel' , $this->ltd ); ?></label>
54
- </th>
55
- <td>
56
- <?php $Checked = ''; ?>
57
- <?php if( !empty( $Data[$field]["remove"] ) ) : $Checked = 'checked="checked"'; endif; ?>
58
- <label><input type="checkbox" name="data[<?php echo $field; ?>][remove]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
59
- </td>
60
- </tr>
61
- <?php $field = 'dashboard_right_now'; ?>
62
- <tr>
63
- <th>
64
- <label><?php _e( 'Right Now' ); ?></label>
65
- </th>
66
- <td>
67
- <?php $Checked = ''; ?>
68
- <?php if( !empty( $Data[$field]["remove"] ) ) : $Checked = 'checked="checked"'; endif; ?>
69
- <label><input type="checkbox" name="data[<?php echo $field; ?>][remove]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
70
- </td>
71
- </tr>
72
- <?php $field = 'dashboard_recent_comments'; ?>
73
- <tr>
74
- <th>
75
- <label><?php _e( 'Recent Comments' ); ?></label>
76
- </th>
77
- <td>
78
- <?php $Checked = ''; ?>
79
- <?php if( !empty( $Data[$field]["remove"] ) ) : $Checked = 'checked="checked"'; endif; ?>
80
- <label><input type="checkbox" name="data[<?php echo $field; ?>][remove]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
81
- </td>
82
- </tr>
83
- <?php $field = 'dashboard_incoming_links'; ?>
84
- <tr>
85
- <th>
86
- <label><?php _e( 'Incoming Links' ); ?></label>
87
- </th>
88
- <td>
89
- <?php $Checked = ''; ?>
90
- <?php if( !empty( $Data[$field]["remove"] ) ) : $Checked = 'checked="checked"'; endif; ?>
91
- <label><input type="checkbox" name="data[<?php echo $field; ?>][remove]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
92
- </td>
93
- </tr>
94
- <?php $field = 'dashboard_plugins'; ?>
95
- <tr>
96
- <th>
97
- <label><?php _e( 'Plugins' ); ?></label>
98
- </th>
99
- <td>
100
- <?php $Checked = ''; ?>
101
- <?php if( !empty( $Data[$field]["remove"] ) ) : $Checked = 'checked="checked"'; endif; ?>
102
- <label><input type="checkbox" name="data[<?php echo $field; ?>][remove]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
103
- </td>
104
- </tr>
105
- <?php $field = 'dashboard_quick_press'; ?>
106
- <tr>
107
- <th>
108
- <label><?php _e( 'QuickPress' ); ?></label>
109
- </th>
110
- <td>
111
- <?php $Checked = ''; ?>
112
- <?php if( !empty( $Data[$field]["remove"] ) ) : $Checked = 'checked="checked"'; endif; ?>
113
- <label><input type="checkbox" name="data[<?php echo $field; ?>][remove]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
114
- </td>
115
- </tr>
116
- <?php $field = 'dashboard_recent_drafts'; ?>
117
- <tr>
118
- <th>
119
- <label><?php _e( 'Recent Drafts' ); ?></label>
120
- </th>
121
- <td>
122
- <?php $Checked = ''; ?>
123
- <?php if( !empty( $Data[$field]["remove"] ) ) : $Checked = 'checked="checked"'; endif; ?>
124
- <label><input type="checkbox" name="data[<?php echo $field; ?>][remove]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
125
- </td>
126
- </tr>
127
- <?php $field = 'dashboard_primary'; ?>
128
- <tr>
129
- <th>
130
- <label><?php _e( 'WordPress Blog' ); ?></label>
131
- </th>
132
- <td>
133
- <?php $Checked = ''; ?>
134
- <?php if( !empty( $Data[$field]["remove"] ) ) : $Checked = 'checked="checked"'; endif; ?>
135
- <label><input type="checkbox" name="data[<?php echo $field; ?>][remove]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
136
- </td>
137
- </tr>
138
- <?php $field = 'dashboard_secondary'; ?>
139
- <tr>
140
- <th>
141
- <label><?php _e( 'Other WordPress News' ); ?></label>
142
- </th>
143
- <td>
144
- <?php $Checked = ''; ?>
145
- <?php if( !empty( $Data[$field]["remove"] ) ) : $Checked = 'checked="checked"'; endif; ?>
146
- <label><input type="checkbox" name="data[<?php echo $field; ?>][remove]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
147
- </td>
148
- </tr>
149
- </tbody>
150
- </table>
151
-
152
  <?php else: ?>
153
-
154
- <?php if( empty( $Metaboxes["metaboxes"]["dashboard"] ) ) : ?>
155
-
156
- <p><?php _e( 'Could not read the meta box.' , $this->ltd ); ?></p>
157
- <p><?php echo sprintf( __( 'Meta boxes will be loaded automatically when you <strong>%s</strong>.' , $this->ltd ) , __( 'Dashboard' ) ); ?></p>
158
- <?php else: ?>
159
-
160
  <table class="form-table">
161
  <thead>
162
  <tr>
@@ -206,10 +106,9 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
206
  <?php endforeach; ?>
207
  </tbody>
208
  </table>
209
-
210
- <?php endif; ?>
211
 
212
  <?php endif; ?>
 
213
  </div>
214
  </div>
215
 
@@ -267,5 +166,21 @@ jQuery(document).ready(function($) {
267
  });
268
  });
269
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
270
  });
271
  </script>
21
  <div class="icon32" id="icon-tools"></div>
22
  <?php echo $this->Msg; ?>
23
  <h2><?php _e( 'Dashboard' ); ?><?php _e( 'Settings' ); ?></h2>
 
 
 
24
  <p>&nbsp;</p>
25
+
26
  <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
27
 
28
+ <form id="wauc_setting_dashboard" class="wauc_form" method="post" action="<?php echo remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ); ?>">
29
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
30
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
31
  <input type="hidden" name="record_field" value="dashboard" />
40
  <div class="handlediv" title="Click to toggle"><br></div>
41
  <h3 class="hndle"><span><?php _e( 'Meta boxes' , $this->ltd ); ?></span></h3>
42
  <div class="inside">
43
+
44
+ <?php if( empty( $Metaboxes["metaboxes"]["dashboard"] ) ) : ?>
45
+
46
+ <?php $load_link = self_admin_url( 'index.php' ); ?>
47
+
48
+ <p>
49
+ <a href="<?php echo $load_link; ?>" class="button button-primary column_load">
50
+ <?php echo sprintf( __( 'Metaboxes loading for %s', $this->ltd ) , __( 'Dashboard' ) ); ?>
51
+ </a>
52
+ </p>
53
+ <p class="loading">
54
+ <span class="spinner"></span>
55
+ <?php _e( 'Loading&hellip;' ); ?>
56
+ </p>
57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  <?php else: ?>
59
+
 
 
 
 
 
 
60
  <table class="form-table">
61
  <thead>
62
  <tr>
106
  <?php endforeach; ?>
107
  </tbody>
108
  </table>
 
 
109
 
110
  <?php endif; ?>
111
+
112
  </div>
113
  </div>
114
 
166
  });
167
  });
168
 
169
+ $('.wauc_form .column_load').on('click', function( ev ) {
170
+ var load_url = $(ev.target).prop('href');
171
+
172
+ $.ajax({
173
+ url: load_url,
174
+ beforeSend: function( xhr ) {
175
+ $(ev.target).parent().parent().find('.loading').show();
176
+ $(ev.target).parent().parent().find('.spinner').show();
177
+ }
178
+ }).done(function( data ) {
179
+ location.reload();
180
+ });
181
+
182
+ return false;
183
+ }).disableSelection();
184
+
185
  });
186
  </script>
inc/setting_default.php CHANGED
@@ -16,14 +16,10 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
16
  }
17
 
18
  ?>
19
-
20
  <div class="wrap">
21
  <div class="icon32" id="icon-tools"></div>
22
  <?php echo $this->Msg; ?>
23
  <h2><?php echo $this->Name; ?></h2>
24
-
25
- <?php $this->get_debug_code(); ?>
26
-
27
  <p><?php _e( 'Customize the UI of the management screen for all users.' , $this->ltd ); ?></p>
28
  <p><?php _e ( 'Please select the user roles that all settings will apply to.' , $this->ltd ); ?></p>
29
  <p class="description"><?php _e( 'Please use the Multiple Add-on If you want settings on User role basis.' , $this->ltd ); ?></p>
@@ -64,7 +60,7 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
64
  <div class="stuffbox" id="aboutbox">
65
  <h3><span class="hndle"><?php _e( 'About plugin' , $this->ltd ); ?></span></h3>
66
  <div class="inside">
67
- <p><?php _e( 'Version checked' , $this->ltd ); ?> : 3.6.1 - 3.9.1</p>
68
  <ul>
69
  <li><a href="<?php echo $this->Site; ?>?utm_source=use_plugin&utm_medium=side&utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank"><?php _e( 'Plugin\'s site' , $this->ltd ); ?></a></li>
70
  <li><a href="<?php echo $this->AuthorUrl; ?>?utm_source=use_plugin&utm_medium=side&utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank"><?php _e( 'Developer\'s site' , $this->ltd ); ?></a></li>
@@ -103,7 +99,7 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
103
 
104
  <div id="user_role">
105
 
106
- <form id="wauc_setting_default" class="wauc_form" method="post" action="<?php echo add_query_arg( array( 'page' => $this->PageSlug ) , remove_query_arg( array( 'wauc_msg' , 'wauc_debug' , 'page' ) ) ); ?>">
107
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
108
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
109
  <input type="hidden" name="record_field" value="user_role" />
@@ -138,7 +134,7 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
138
 
139
  </form>
140
 
141
- <form id="donation_form" class="wauc_form" method="post" action="<?php echo add_query_arg( array( 'page' => $this->PageSlug ) , remove_query_arg( array( 'wauc_msg' , 'wauc_debug' , 'page' ) ) ); ?>">
142
  <h3><?php _e( 'If you have already donated to.' , $this->ltd ); ?></h3>
143
  <p><?php _e( 'Please enter the \'Donation delete key\' that have been described in the \'Line Break First and End download page\'.' , $this->ltd ); ?></p>
144
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
16
  }
17
 
18
  ?>
 
19
  <div class="wrap">
20
  <div class="icon32" id="icon-tools"></div>
21
  <?php echo $this->Msg; ?>
22
  <h2><?php echo $this->Name; ?></h2>
 
 
 
23
  <p><?php _e( 'Customize the UI of the management screen for all users.' , $this->ltd ); ?></p>
24
  <p><?php _e ( 'Please select the user roles that all settings will apply to.' , $this->ltd ); ?></p>
25
  <p class="description"><?php _e( 'Please use the Multiple Add-on If you want settings on User role basis.' , $this->ltd ); ?></p>
60
  <div class="stuffbox" id="aboutbox">
61
  <h3><span class="hndle"><?php _e( 'About plugin' , $this->ltd ); ?></span></h3>
62
  <div class="inside">
63
+ <p><?php _e( 'Version checked' , $this->ltd ); ?> : 3.6.1 - 3.9.2</p>
64
  <ul>
65
  <li><a href="<?php echo $this->Site; ?>?utm_source=use_plugin&utm_medium=side&utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank"><?php _e( 'Plugin\'s site' , $this->ltd ); ?></a></li>
66
  <li><a href="<?php echo $this->AuthorUrl; ?>?utm_source=use_plugin&utm_medium=side&utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank"><?php _e( 'Developer\'s site' , $this->ltd ); ?></a></li>
99
 
100
  <div id="user_role">
101
 
102
+ <form id="wauc_setting_default" class="wauc_form" method="post" action="<?php echo remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ); ?>">
103
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
104
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
105
  <input type="hidden" name="record_field" value="user_role" />
134
 
135
  </form>
136
 
137
+ <form id="donation_form" class="wauc_form" method="post" action="<?php echo remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ); ?>">
138
  <h3><?php _e( 'If you have already donated to.' , $this->ltd ); ?></h3>
139
  <p><?php _e( 'Please enter the \'Donation delete key\' that have been described in the \'Line Break First and End download page\'.' , $this->ltd ); ?></p>
140
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
inc/setting_loginscreen.php CHANGED
@@ -21,12 +21,9 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
21
  <div class="icon32" id="icon-tools"></div>
22
  <?php echo $this->Msg; ?>
23
  <h2><?php _e( 'Login Screen Settings' , $this->ltd ); ?></h2>
24
-
25
- <?php $this->get_debug_code(); ?>
26
-
27
  <p>&nbsp;</p>
28
 
29
- <form id="wauc_setting_loginscreen" class="wauc_form" method="post" action="<?php echo add_query_arg( array( 'page' => $this->PageSlug ) , remove_query_arg( array( 'wauc_msg' , 'wauc_debug' , 'page' ) ) ); ?>">
30
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
31
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
32
  <input type="hidden" name="record_field" value="loginscreen" />
21
  <div class="icon32" id="icon-tools"></div>
22
  <?php echo $this->Msg; ?>
23
  <h2><?php _e( 'Login Screen Settings' , $this->ltd ); ?></h2>
 
 
 
24
  <p>&nbsp;</p>
25
 
26
+ <form id="wauc_setting_loginscreen" class="wauc_form" method="post" action="<?php echo remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ); ?>">
27
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
28
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
29
  <input type="hidden" name="record_field" value="loginscreen" />
inc/setting_manage_metabox.php CHANGED
@@ -22,15 +22,12 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
22
  <div class="icon32" id="icon-tools"></div>
23
  <?php echo $this->Msg; ?>
24
  <h2><?php _e( 'Manage meta box' , $this->ltd ); ?></h2>
25
-
26
- <?php $this->get_debug_code(); ?>
27
-
28
  <p><?php _e( 'Please update or add a "post" and a "page" to load the available meta boxes.' , $this->ltd ); ?></p>
29
  <p><?php _e( 'Please enter if you want to change of Metabox label name.' , $this->ltd ); ?></p>
30
 
31
  <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
32
 
33
- <form id="wauc_setting_manage_metabox" class="wauc_form" method="post" action="<?php echo add_query_arg( array( 'page' => $this->PageSlug ) , remove_query_arg( array( 'wauc_msg' , 'wauc_debug' , 'page' ) ) ); ?>">
34
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
35
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
36
  <input type="hidden" name="record_field" value="manage_metabox" />
@@ -49,8 +46,27 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
49
 
50
  <?php if( empty( $Metaboxes["metaboxes"]["post"] ) ) : ?>
51
 
52
- <p><?php _e( 'Could not read the meta box.' , $this->ltd ); ?></p>
53
- <p><?php echo sprintf( __( 'Meta boxes will be loaded automatically when you <strong>%s</strong>.' , $this->ltd ) , __( 'Edit Post' ) ); ?></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
 
55
  <?php else: ?>
56
 
@@ -127,8 +143,27 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
127
 
128
  <?php if( empty( $Metaboxes["metaboxes"]["page"] ) ) : ?>
129
 
130
- <p><?php _e( 'Could not read the meta box.' , $this->ltd ); ?></p>
131
- <p><?php echo sprintf( __( 'Meta boxes will be loaded automatically when you <strong>%s</strong>.' , $this->ltd ) , __( 'Edit Page' ) ); ?></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
132
 
133
  <?php else: ?>
134
 
@@ -213,9 +248,28 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
213
 
214
  <?php if( empty( $Metaboxes["metaboxes"][$post_name] ) ) : ?>
215
 
216
- <p><?php _e( 'Could not read the meta box.' , $this->ltd ); ?></p>
217
- <p><?php echo sprintf( __( 'Meta boxes will be loaded automatically when you <strong>%s</strong>.' , $this->ltd ) , strip_tags( $cpt->labels->edit_item ) ); ?></p>
218
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
219
  <?php else: ?>
220
 
221
  <table class="form-table">
@@ -337,5 +391,21 @@ jQuery(document).ready(function($) {
337
  }
338
  });
339
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
340
  });
341
  </script>
22
  <div class="icon32" id="icon-tools"></div>
23
  <?php echo $this->Msg; ?>
24
  <h2><?php _e( 'Manage meta box' , $this->ltd ); ?></h2>
 
 
 
25
  <p><?php _e( 'Please update or add a "post" and a "page" to load the available meta boxes.' , $this->ltd ); ?></p>
26
  <p><?php _e( 'Please enter if you want to change of Metabox label name.' , $this->ltd ); ?></p>
27
 
28
  <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
29
 
30
+ <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 ) ) ); ?>">
31
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
32
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
33
  <input type="hidden" name="record_field" value="manage_metabox" />
46
 
47
  <?php if( empty( $Metaboxes["metaboxes"]["post"] ) ) : ?>
48
 
49
+ <?php $post = get_posts( array( 'post_type' => 'post' , 'order' => 'DESC' , 'orderby' => 'post_date' , 'numberposts' => 1 ) ); ?>
50
+
51
+ <?php if( !empty( $post ) ) : ?>
52
+
53
+ <?php $load_link = self_admin_url( 'post.php?post=' . $post[0]->ID . '&action=edit' ); ?>
54
+
55
+ <?php else: ?>
56
+
57
+ <?php $load_link = self_admin_url( 'post-new.php' ); ?>
58
+
59
+ <?php endif; ?>
60
+
61
+ <p>
62
+ <a href="<?php echo $load_link; ?>" class="button button-primary column_load">
63
+ <?php echo sprintf( __( 'Metaboxes loading for %s', $this->ltd ) , __( 'Posts' ) ); ?>
64
+ </a>
65
+ </p>
66
+ <p class="loading">
67
+ <span class="spinner"></span>
68
+ <?php _e( 'Loading&hellip;' ); ?>
69
+ </p>
70
 
71
  <?php else: ?>
72
 
143
 
144
  <?php if( empty( $Metaboxes["metaboxes"]["page"] ) ) : ?>
145
 
146
+ <?php $post = get_posts( array( 'post_type' => 'page' , 'order' => 'DESC' , 'orderby' => 'post_date' , 'numberposts' => 1 ) ); ?>
147
+
148
+ <?php if( !empty( $post ) ) : ?>
149
+
150
+ <?php $load_link = self_admin_url( 'post.php?post=' . $post[0]->ID . '&action=edit' ); ?>
151
+
152
+ <?php else: ?>
153
+
154
+ <?php $load_link = self_admin_url( 'post-new.php?post_type=page' ); ?>
155
+
156
+ <?php endif; ?>
157
+
158
+ <p>
159
+ <a href="<?php echo $load_link; ?>" class="button button-primary column_load">
160
+ <?php echo sprintf( __( 'Metaboxes loading for %s', $this->ltd ) , __( 'Pages' ) ); ?>
161
+ </a>
162
+ </p>
163
+ <p class="loading">
164
+ <span class="spinner"></span>
165
+ <?php _e( 'Loading&hellip;' ); ?>
166
+ </p>
167
 
168
  <?php else: ?>
169
 
248
 
249
  <?php if( empty( $Metaboxes["metaboxes"][$post_name] ) ) : ?>
250
 
251
+ <?php $post = get_posts( array( 'post_type' => $post_name , 'order' => 'DESC' , 'orderby' => 'post_date' , 'numberposts' => 1 ) ); ?>
252
+
253
+ <?php if( !empty( $post ) ) : ?>
254
+
255
+ <?php $load_link = self_admin_url( 'post.php?post=' . $post[0]->ID . '&action=edit' ); ?>
256
+
257
+ <?php else: ?>
258
+
259
+ <?php $load_link = self_admin_url( 'post-new.php?post_type=' . $post_name ); ?>
260
+
261
+ <?php endif; ?>
262
+
263
+ <p>
264
+ <a href="<?php echo $load_link; ?>" class="button button-primary column_load">
265
+ <?php echo sprintf( __( 'Metaboxes loading for %s', $this->ltd ) , $cpt->label ); ?>
266
+ </a>
267
+ </p>
268
+ <p class="loading">
269
+ <span class="spinner"></span>
270
+ <?php _e( 'Loading&hellip;' ); ?>
271
+ </p>
272
+
273
  <?php else: ?>
274
 
275
  <table class="form-table">
391
  }
392
  });
393
 
394
+ $('.wauc_form .column_load').on('click', function( ev ) {
395
+ var load_url = $(ev.target).prop('href');
396
+
397
+ $.ajax({
398
+ url: load_url,
399
+ beforeSend: function( xhr ) {
400
+ $(ev.target).parent().parent().find('.loading').show();
401
+ $(ev.target).parent().parent().find('.spinner').show();
402
+ }
403
+ }).done(function( data ) {
404
+ location.reload();
405
+ });
406
+
407
+ return false;
408
+ }).disableSelection();
409
+
410
  });
411
  </script>
inc/setting_plugin_cap.php CHANGED
@@ -21,15 +21,12 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
21
  <div class="icon32" id="icon-tools"></div>
22
  <?php echo $this->Msg; ?>
23
  <h2><?php echo sprintf( __( '%1$s of %2$s %3$s' , $this->ltd ) , __( 'Change' ) , __( 'Plugin' ) , __( 'Capabilities' ) ); ?></h2>
24
-
25
- <?php $this->get_debug_code(); ?>
26
-
27
  <p><?php echo sprintf( __( 'You can change the user role %2$s of %1$s settings.' , $this->ltd ) , $this->Name , __( 'Capabilities' ) ); ?></p>
28
  <p><?php echo sprintf( __( 'Please choose the role to use the %s.' , $this->ltd ) , $this->Name ); ?></p>
29
 
30
  <p>&nbsp;</p>
31
 
32
- <form id="wauc_setting_plugin_cap" class="wauc_form" method="post" action="<?php echo add_query_arg( array( 'page' => $this->PageSlug ) , remove_query_arg( array( 'wauc_msg' , 'wauc_debug' , 'page' ) ) ); ?>">
33
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
34
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
35
  <input type="hidden" name="record_field" value="plugin_cap" />
21
  <div class="icon32" id="icon-tools"></div>
22
  <?php echo $this->Msg; ?>
23
  <h2><?php echo sprintf( __( '%1$s of %2$s %3$s' , $this->ltd ) , __( 'Change' ) , __( 'Plugin' ) , __( 'Capabilities' ) ); ?></h2>
 
 
 
24
  <p><?php echo sprintf( __( 'You can change the user role %2$s of %1$s settings.' , $this->ltd ) , $this->Name , __( 'Capabilities' ) ); ?></p>
25
  <p><?php echo sprintf( __( 'Please choose the role to use the %s.' , $this->ltd ) , $this->Name ); ?></p>
26
 
27
  <p>&nbsp;</p>
28
 
29
+ <form id="wauc_setting_plugin_cap" class="wauc_form" method="post" action="<?php echo remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ); ?>">
30
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
31
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
32
  <input type="hidden" name="record_field" value="plugin_cap" />
inc/setting_post_add_edit.php CHANGED
@@ -21,13 +21,11 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
21
  <div class="icon32" id="icon-tools"></div>
22
  <?php echo $this->Msg; ?>
23
  <h2><?php _e( 'Add New Post and Edit Post Screen Setting' , $this->ltd ); ?></h2>
24
-
25
- <?php $this->get_debug_code(); ?>
26
-
27
  <p>&nbsp;</p>
 
28
  <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
29
 
30
- <form id="wauc_setting_post_add_edit" class="wauc_form" method="post" action="<?php echo add_query_arg( array( 'page' => $this->PageSlug ) , remove_query_arg( array( 'wauc_msg' , 'wauc_debug' , 'page' ) ) ); ?>">
31
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
32
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
33
  <input type="hidden" name="record_field" value="post_add_edit" />
21
  <div class="icon32" id="icon-tools"></div>
22
  <?php echo $this->Msg; ?>
23
  <h2><?php _e( 'Add New Post and Edit Post Screen Setting' , $this->ltd ); ?></h2>
 
 
 
24
  <p>&nbsp;</p>
25
+
26
  <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
27
 
28
+ <form id="wauc_setting_post_add_edit" class="wauc_form" method="post" action="<?php echo remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ); ?>">
29
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
30
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
31
  <input type="hidden" name="record_field" value="post_add_edit" />
inc/setting_sidemenu.php CHANGED
@@ -23,9 +23,6 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
23
  <div class="icon32" id="icon-tools"></div>
24
  <?php echo $this->Msg; ?>
25
  <h2><?php _e( 'Side Menu' , $this->ltd ); ?></h2>
26
-
27
- <?php $this->get_debug_code(); ?>
28
-
29
  <p><?php _e( 'Please change the menu by drag and drop.' , $this->ltd ); ?></p>
30
  <p class="description"><?php echo sprintf( __( 'New plugin menus will be added to the <strong>%s</strong>.' , $this->ltd ) , __( 'Menu items that can be added' , $this->ltd ) ); ?>
31
  <p><strong><?php _e( 'Notice: Please do not place the same multiple menu slug.' , $this->ltd ); ?></strong></p>
@@ -34,7 +31,7 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
34
 
35
  <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>
36
 
37
- <form id="wauc_setting_sidemenu" class="wauc_form" method="post" action="<?php echo add_query_arg( array( 'page' => $this->PageSlug ) , remove_query_arg( array( 'wauc_msg' , 'wauc_debug' , 'page' ) ) ); ?>">
38
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
39
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
40
  <input type="hidden" name="record_field" value="sidemenu" />
23
  <div class="icon32" id="icon-tools"></div>
24
  <?php echo $this->Msg; ?>
25
  <h2><?php _e( 'Side Menu' , $this->ltd ); ?></h2>
 
 
 
26
  <p><?php _e( 'Please change the menu by drag and drop.' , $this->ltd ); ?></p>
27
  <p class="description"><?php echo sprintf( __( 'New plugin menus will be added to the <strong>%s</strong>.' , $this->ltd ) , __( 'Menu items that can be added' , $this->ltd ) ); ?>
28
  <p><strong><?php _e( 'Notice: Please do not place the same multiple menu slug.' , $this->ltd ); ?></strong></p>
31
 
32
  <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>
33
 
34
+ <form id="wauc_setting_sidemenu" class="wauc_form" method="post" action="<?php echo remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ); ?>">
35
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
36
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
37
  <input type="hidden" name="record_field" value="sidemenu" />
inc/setting_site.php CHANGED
@@ -21,13 +21,11 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
21
  <div class="icon32" id="icon-tools"></div>
22
  <?php echo $this->Msg; ?>
23
  <h2><?php _e( 'Site Settings' , $this->ltd ); ?></h2>
24
-
25
- <?php $this->get_debug_code(); ?>
26
-
27
  <p>&nbsp;</p>
 
28
  <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
29
 
30
- <form id="wauc_setting_site" class="wauc_form" method="post" action="<?php echo add_query_arg( array( 'page' => $this->PageSlug ) , remove_query_arg( array( 'wauc_msg' , 'wauc_debug' , 'page' ) ) ); ?>">
31
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
32
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
33
  <input type="hidden" name="record_field" value="site" />
21
  <div class="icon32" id="icon-tools"></div>
22
  <?php echo $this->Msg; ?>
23
  <h2><?php _e( 'Site Settings' , $this->ltd ); ?></h2>
 
 
 
24
  <p>&nbsp;</p>
25
+
26
  <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
27
 
28
+ <form id="wauc_setting_site" class="wauc_form" method="post" action="<?php echo remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ); ?>">
29
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
30
  <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
31
  <input type="hidden" name="record_field" value="site" />
languages/wauc-zh-TW.po ADDED
@@ -0,0 +1,586 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: wauc\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-04-25 15:03+0900\n"
6
+ "PO-Revision-Date: 2014-08-16 19:55+0800\n"
7
+ "Last-Translator: DP.Studio <rwd.com.tw@gmail.com>\n"
8
+ "Language-Team: Chinese Traditional\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: ../\n"
14
+ "Plural-Forms: nplurals=1; plural=0;\n"
15
+ "X-Generator: Poedit 1.6.5\n"
16
+ "Language: zh_TW\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: wp-admin-ui-customize.php:4
20
+ msgid "An excellent plugin to customize the management screens."
21
+ msgstr "一個優秀的WP管理界面插件。"
22
+
23
+ #: wp-admin-ui-customize.php:142 wp-admin-ui-customize.php:181
24
+ #: inc/reset_userrole.php:22
25
+ msgid "Reset User Roles"
26
+ msgstr "重設用戶角色"
27
+
28
+ #: wp-admin-ui-customize.php:171 inc/reset_userrole.php:56
29
+ #: inc/setting_site.php:23
30
+ msgid "Site Settings"
31
+ msgstr "網站相關設置"
32
+
33
+ #: wp-admin-ui-customize.php:172 inc/reset_userrole.php:57
34
+ #: inc/setting_admin_general.php:23
35
+ msgid "General Screen Settings"
36
+ msgstr "一般顯示設置"
37
+
38
+ #: wp-admin-ui-customize.php:174 inc/reset_userrole.php:59
39
+ #: inc/setting_admin_bar_menu.php:25
40
+ msgid "Admin Bar Menu"
41
+ msgstr "管理欄菜單-上方"
42
+
43
+ #: wp-admin-ui-customize.php:175 inc/reset_userrole.php:60
44
+ #: inc/setting_sidemenu.php:25
45
+ msgid "Side Menu"
46
+ msgstr "左側選單制定"
47
+
48
+ #: wp-admin-ui-customize.php:176 inc/reset_userrole.php:61
49
+ #: inc/setting_manage_metabox.php:24
50
+ msgid "Manage meta box"
51
+ msgstr "管理 meta box"
52
+
53
+ #: wp-admin-ui-customize.php:177 inc/reset_userrole.php:62
54
+ #: inc/setting_post_add_edit.php:23
55
+ msgid "Add New Post and Edit Post Screen Setting"
56
+ msgstr "添加/編輯 貼文設定"
57
+
58
+ #: wp-admin-ui-customize.php:178 inc/reset_userrole.php:63
59
+ #: inc/setting_appearance_menus.php:22
60
+ msgid "Appearance Menus Screen Setting"
61
+ msgstr "選單基本設置"
62
+
63
+ #: wp-admin-ui-customize.php:179 inc/reset_userrole.php:64
64
+ #: inc/setting_loginscreen.php:34
65
+ msgid "Login Screen"
66
+ msgstr "前台登錄端口設定"
67
+
68
+ #: wp-admin-ui-customize.php:180 inc/reset_userrole.php:65
69
+ #: inc/setting_plugin_cap.php:23
70
+ #, php-format
71
+ msgid "%1$s of %2$s %3$s"
72
+ msgstr "%1$s 的 %2$s%3$s"
73
+
74
+ #: wp-admin-ui-customize.php:331
75
+ #, php-format
76
+ msgid ""
77
+ "Authority to apply the setting is not selected. <a href=\"%s\">From here</"
78
+ "a>, please select the permissions you want to set."
79
+ msgstr ""
80
+ "管理角色設置沒有被選中。請<a href =“%s\">從這裡</a>選擇要設置的角色群。"
81
+
82
+ #: wp-admin-ui-customize.php:356
83
+ msgid "Apply user roles"
84
+ msgstr "角色權限 應用"
85
+
86
+ #: wp-admin-ui-customize.php:700 wp-admin-ui-customize.php:873
87
+ msgid "Sub Menus"
88
+ msgstr "子選單"
89
+
90
+ #: wp-admin-ui-customize.php:795 wp-admin-ui-customize.php:817
91
+ msgid "Menu Group"
92
+ msgstr "Menu Group"
93
+
94
+ #: wp-admin-ui-customize.php:815
95
+ msgid "Show only on front end."
96
+ msgstr "Show only on front end."
97
+
98
+ #: wp-admin-ui-customize.php:835
99
+ msgid "If you want edit to name, please edit of translation file(PO)."
100
+ msgstr "If you want edit to name, please edit of translation file(PO)."
101
+
102
+ #: wp-admin-ui-customize.php:1035
103
+ msgid "Front"
104
+ msgstr "Front"
105
+
106
+ #: wp-admin-ui-customize.php:2278 inc/setting_default.php:185
107
+ msgid "Thank you for your donation."
108
+ msgstr "Thank you for your donation."
109
+
110
+ #: wp-admin-ui-customize.php:2293
111
+ msgid "Thank you for considering donate."
112
+ msgstr "Thank you for considering donate."
113
+
114
+ #: wp-admin-ui-customize.php:2293 inc/setting_default.php:37
115
+ msgid "Donate"
116
+ msgstr "Donate"
117
+
118
+ #: inc/list_variables.php:20 inc/setting_admin_bar_menu.php:32
119
+ #: inc/setting_admin_general.php:132 inc/setting_admin_general.php:155
120
+ #: inc/setting_loginscreen.php:71 inc/setting_loginscreen.php:84
121
+ #: inc/setting_loginscreen.php:96 inc/setting_loginscreen.php:124
122
+ #: inc/setting_loginscreen.php:136 inc/setting_sidemenu.php:32
123
+ msgid "Shortcodes"
124
+ msgstr "Shortcodes"
125
+
126
+ #: inc/list_variables.php:45
127
+ msgid "Blog name of logged in."
128
+ msgstr "Blog name of logged in."
129
+
130
+ #: inc/list_variables.php:54
131
+ msgid "Blog URL of logged in."
132
+ msgstr "Blog URL of logged in."
133
+
134
+ #: inc/list_variables.php:108 inc/list_variables.php:115
135
+ #: inc/list_variables.php:122 inc/list_variables.php:129
136
+ msgid "In your case."
137
+ msgstr "In your case."
138
+
139
+ #: inc/reset_userrole.php:30
140
+ msgid "Applied user roles"
141
+ msgstr "Applied user roles"
142
+
143
+ #: inc/reset_userrole.php:40
144
+ msgid "You want to reset the user roles?"
145
+ msgstr "You want to reset the user roles?"
146
+
147
+ #: inc/reset_userrole.php:42 inc/setting_admin_bar_menu.php:95
148
+ #: inc/setting_admin_general.php:201 inc/setting_appearance_menus.php:99
149
+ #: inc/setting_dashboard.php:250 inc/setting_default.php:130
150
+ #: inc/setting_loginscreen.php:160 inc/setting_manage_metabox.php:296
151
+ #: inc/setting_plugin_cap.php:94 inc/setting_post_add_edit.php:109
152
+ #: inc/setting_sidemenu.php:232 inc/setting_site.php:168
153
+ msgid "Reset settings"
154
+ msgstr "Reset settings"
155
+
156
+ #: inc/reset_userrole.php:49 inc/reset_userrole.php:71
157
+ msgid "Reset settings of all"
158
+ msgstr "Reset settings of all"
159
+
160
+ #: inc/reset_userrole.php:54
161
+ msgid "Setting all of the below will be deleted."
162
+ msgstr "Setting all of the below will be deleted."
163
+
164
+ #: inc/reset_userrole.php:69
165
+ msgid "Are you sure you want to delete all settings?"
166
+ msgstr "Are you sure you want to delete all settings?"
167
+
168
+ #: inc/setting_admin_bar_menu.php:26 inc/setting_sidemenu.php:26
169
+ msgid "Please change the menu by drag and drop."
170
+ msgstr "Please change the menu by drag and drop."
171
+
172
+ #: inc/setting_admin_bar_menu.php:27 inc/setting_sidemenu.php:28
173
+ msgid "Notice: Please do not place the same multiple menu slug."
174
+ msgstr "Notice: Please do not place the same multiple menu slug."
175
+
176
+ #: inc/setting_admin_bar_menu.php:28
177
+ msgid "Can be more than one custom menu."
178
+ msgstr "Can be more than one custom menu."
179
+
180
+ #: inc/setting_admin_bar_menu.php:32 inc/setting_admin_general.php:132
181
+ #: inc/setting_admin_general.php:155 inc/setting_loginscreen.php:71
182
+ #: inc/setting_loginscreen.php:84 inc/setting_loginscreen.php:96
183
+ #: inc/setting_loginscreen.php:124 inc/setting_loginscreen.php:136
184
+ #: inc/setting_sidemenu.php:32
185
+ msgid "Available Shortcodes"
186
+ msgstr "Available Shortcodes"
187
+
188
+ #: inc/setting_admin_bar_menu.php:40
189
+ msgid "Sub-menu can to settings to four levels."
190
+ msgstr "Sub-menu can to settings to four levels."
191
+
192
+ #: inc/setting_admin_bar_menu.php:41
193
+ msgid "Documents is here"
194
+ msgstr "Documents is here"
195
+
196
+ #: inc/setting_admin_bar_menu.php:94 inc/setting_admin_general.php:200
197
+ #: inc/setting_appearance_menus.php:98 inc/setting_dashboard.php:249
198
+ #: inc/setting_default.php:129 inc/setting_loginscreen.php:159
199
+ #: inc/setting_manage_metabox.php:295 inc/setting_plugin_cap.php:93
200
+ #: inc/setting_post_add_edit.php:108 inc/setting_sidemenu.php:231
201
+ #: inc/setting_site.php:167
202
+ msgid "Reset all settings?"
203
+ msgstr "Reset all settings?"
204
+
205
+ #: inc/setting_admin_bar_menu.php:100 inc/setting_sidemenu.php:27
206
+ #: inc/setting_sidemenu.php:48
207
+ msgid "Menu items that can be added"
208
+ msgstr "Menu items that can be added"
209
+
210
+ #: inc/setting_admin_general.php:41
211
+ msgid "Notifications"
212
+ msgstr "Notifications"
213
+
214
+ #: inc/setting_admin_general.php:47
215
+ msgid "WordPress core update notice"
216
+ msgstr "WordPress core update notice"
217
+
218
+ #: inc/setting_admin_general.php:53 inc/setting_admin_general.php:64
219
+ #: inc/setting_admin_general.php:75
220
+ msgid "Not notified"
221
+ msgstr "Not notified"
222
+
223
+ #: inc/setting_admin_general.php:58
224
+ msgid "Plugin update notice"
225
+ msgstr "Plugin update notice"
226
+
227
+ #: inc/setting_admin_general.php:69
228
+ msgid "Theme update notice"
229
+ msgstr "Theme update notice"
230
+
231
+ #: inc/setting_admin_general.php:85
232
+ msgid "Screen Options and Help Tab"
233
+ msgstr "Screen Options and Help Tab"
234
+
235
+ #: inc/setting_admin_general.php:124 inc/setting_loginscreen.php:130
236
+ msgid "Footer text"
237
+ msgstr "Footer text"
238
+
239
+ #: inc/setting_admin_general.php:149 inc/setting_loginscreen.php:118
240
+ msgid "CSS file to load"
241
+ msgstr "CSS file to load"
242
+
243
+ #: inc/setting_admin_general.php:161
244
+ msgid "Title tag for Admin screen"
245
+ msgstr "Title tag for Admin screen"
246
+
247
+ #: inc/setting_admin_general.php:166
248
+ msgid "Remove \"Wordpress\" from the title tag of the Admin screen"
249
+ msgstr "Remove \"Wordpress\" from the title tag of the Admin screen"
250
+
251
+ #: inc/setting_admin_general.php:173
252
+ msgid "Resizing Admin bar"
253
+ msgstr "調整管理欄"
254
+
255
+ #: inc/setting_admin_general.php:178
256
+ msgid "Not resize"
257
+ msgstr "Not resize"
258
+
259
+ #: inc/setting_appearance_menus.php:47
260
+ msgid "Create a new menu"
261
+ msgstr "Create a new menu"
262
+
263
+ #: inc/setting_appearance_menus.php:53 inc/setting_appearance_menus.php:72
264
+ msgid "This is useful when you want to use only the menus have been created."
265
+ msgstr "This is useful when you want to use only the menus have been created."
266
+
267
+ #: inc/setting_dashboard.php:41
268
+ msgid "Meta boxes"
269
+ msgstr "Meta boxes"
270
+
271
+ #: inc/setting_dashboard.php:51 inc/setting_dashboard.php:173
272
+ msgid "Welcome Panel"
273
+ msgstr "Welcome Panel"
274
+
275
+ #: inc/setting_dashboard.php:154 inc/setting_manage_metabox.php:49
276
+ #: inc/setting_manage_metabox.php:127 inc/setting_manage_metabox.php:213
277
+ msgid "Could not read the meta box."
278
+ msgstr "Could not read the meta box."
279
+
280
+ #: inc/setting_dashboard.php:155 inc/setting_manage_metabox.php:50
281
+ #: inc/setting_manage_metabox.php:128 inc/setting_manage_metabox.php:214
282
+ #, php-format
283
+ msgid "Meta boxes will be loaded automatically when you <strong>%s</strong>."
284
+ msgstr "Meta boxes will be loaded automatically when you <strong>%s</strong>."
285
+
286
+ #: inc/setting_dashboard.php:166 inc/setting_manage_metabox.php:65
287
+ #: inc/setting_manage_metabox.php:143 inc/setting_manage_metabox.php:229
288
+ msgid "Change metabox title to"
289
+ msgstr "Change metabox title to"
290
+
291
+ #: inc/setting_dashboard.php:223
292
+ msgid "Meta box movement restriction"
293
+ msgstr "Meta box movement restriction"
294
+
295
+ #: inc/setting_dashboard.php:228
296
+ msgid "Lock meta box positions"
297
+ msgstr "Lock meta box positions"
298
+
299
+ #: inc/setting_default.php:23
300
+ msgid "Customize the UI of the management screen for all users."
301
+ msgstr "Customize the UI of the management screen for all users."
302
+
303
+ #: inc/setting_default.php:24
304
+ msgid "Please select the user roles that all settings will apply to."
305
+ msgstr "Please select the user roles that all settings will apply to."
306
+
307
+ #: inc/setting_default.php:25
308
+ msgid "Please use the Multiple Add-on If you want settings on User role basis."
309
+ msgstr ""
310
+ "Please use the Multiple Add-on If you want settings on User role basis."
311
+
312
+ #: inc/setting_default.php:38
313
+ msgid ""
314
+ "You are contented with this plugin?<br />By the laws of Japan, Japan's new "
315
+ "paypal user can not make a donation button.<br />So i would like you to buy "
316
+ "this plugin as the replacement for the donation."
317
+ msgstr ""
318
+ "You are contented with this plugin?<br />By the laws of Japan, Japan's new "
319
+ "paypal user can not make a donation button.<br />So i would like you to buy "
320
+ "this plugin as the replacement for the donation."
321
+
322
+ #: inc/setting_default.php:45
323
+ msgid "Features"
324
+ msgstr "Features"
325
+
326
+ #: inc/setting_default.php:46
327
+ msgid ""
328
+ "Line Break First and End plugin is In the visual editor TinyMCE, It is a "
329
+ "plugin that will help when you will not be able to enter a line break."
330
+ msgstr "這是一個換行插件,,開始 / 結束 在可視化編輯器TinyMCE 代碼中"
331
+
332
+ #: inc/setting_default.php:49
333
+ msgid "The primary use of donations"
334
+ msgstr "主要捐款"
335
+
336
+ #: inc/setting_default.php:51
337
+ msgid "Liquidation of time and value"
338
+ msgstr "付費的時間標準計算"
339
+
340
+ #: inc/setting_default.php:52
341
+ msgid "Additional suggestions feature"
342
+ msgstr "其他推薦的功能"
343
+
344
+ #: inc/setting_default.php:53
345
+ msgid "Maintain motivation"
346
+ msgstr "維持動機"
347
+
348
+ #: inc/setting_default.php:54
349
+ msgid "Ensure time as the father of Sunday"
350
+ msgstr "星期日為每個禮拜的第一天"
351
+
352
+ #: inc/setting_default.php:61
353
+ msgid "About plugin"
354
+ msgstr "關於這個插件"
355
+
356
+ #: inc/setting_default.php:63
357
+ msgid "Version checked"
358
+ msgstr "版本檢查"
359
+
360
+ #: inc/setting_default.php:65
361
+ msgid "Plugin's site"
362
+ msgstr "插件網站"
363
+
364
+ #: inc/setting_default.php:66
365
+ msgid "Developer's site"
366
+ msgstr "開發商"
367
+
368
+ #: inc/setting_default.php:68
369
+ msgid "Reviews"
370
+ msgstr "評論"
371
+
372
+ #: inc/setting_default.php:76 inc/setting_loginscreen.php:43
373
+ msgid "Useful plugins"
374
+ msgstr "有用的插件"
375
+
376
+ #: inc/setting_default.php:79
377
+ msgid "This add-on is simply settings of multi user roles."
378
+ msgstr "附加多用戶角色設置。"
379
+
380
+ #: inc/setting_default.php:81
381
+ msgid "This add-on is Import/Export easily of the settings data."
382
+ msgstr "導入 / 導出 設置數據。"
383
+
384
+ #: inc/setting_default.php:83
385
+ msgid "This add-on is an add-on to unify the management screen of all sites."
386
+ msgstr "附加於所有站點的管理界面"
387
+
388
+ #: inc/setting_default.php:85
389
+ msgid ""
390
+ "Customize the list of the post and page. custom post type page, too. You can "
391
+ "customize the column display items freely."
392
+ msgstr ""
393
+ "定制的文章和頁面的列表。自定義文章類型的頁面。您可以選擇要顯示的自定義的項"
394
+ "目。"
395
+
396
+ #: inc/setting_default.php:87
397
+ msgid ""
398
+ "Announce to display the dashboard. Change the display to a different user "
399
+ "role."
400
+ msgstr "顯示公告在儀表板。顯示不同用戶角色設定。"
401
+
402
+ #: inc/setting_default.php:89
403
+ msgid ""
404
+ "The plugin that allows you to add the value of the options. Option value "
405
+ "that you have created, can be used in addition to the template tag, Short "
406
+ "code can be used in the body of the article."
407
+ msgstr ""
408
+ "該插件允許你添加的選項的設定值。您已經創建了權限設定,除了可以在模板標籤中使"
409
+ "用,短信代碼可以在文章的正文中。"
410
+
411
+ #: inc/setting_default.php:138
412
+ msgid "If you have already donated to."
413
+ msgstr "如果您已經捐贈"
414
+
415
+ #: inc/setting_default.php:139
416
+ msgid ""
417
+ "Please enter the 'Donation delete key' that have been described in the 'Line "
418
+ "Break First and End download page'."
419
+ msgstr "請進入“捐贈刪除鍵”已在“換行開始和結束下載頁面”進行了描述。"
420
+
421
+ #: inc/setting_default.php:142
422
+ msgid "Donation delete key"
423
+ msgstr "捐贈刪除鍵"
424
+
425
+ #: inc/setting_default.php:150
426
+ msgid "Have you want to customize?"
427
+ msgstr "必須要自定義?"
428
+
429
+ #: inc/setting_default.php:156
430
+ msgid "I am good at Admin Screen Customize."
431
+ msgstr "我自定義的管理顯示。"
432
+
433
+ #: inc/setting_default.php:157
434
+ msgid "Please consider the request to me if it is good."
435
+ msgstr "請考慮由我修改,如果這是件好事。"
436
+
437
+ #: inc/setting_default.php:159
438
+ msgid "Example Customize"
439
+ msgstr "自定義範例"
440
+
441
+ #: inc/setting_default.php:160
442
+ msgid "Contact me"
443
+ msgstr "聯絡我們"
444
+
445
+ #: inc/setting_loginscreen.php:23
446
+ msgid "Login Screen Settings"
447
+ msgstr "登錄端口的設置"
448
+
449
+ #: inc/setting_loginscreen.php:32
450
+ msgid ""
451
+ "Is not possible to check the login form if you do not log out in the case of "
452
+ "MultiSite."
453
+ msgstr "如果你不在多站點的情況下登出,請檢查登錄表單。"
454
+
455
+ #: inc/setting_loginscreen.php:34
456
+ msgid "Show Login Screen"
457
+ msgstr "顯示登陸的畫面"
458
+
459
+ #: inc/setting_loginscreen.php:46
460
+ msgid "This plugin is that can be for customizing flexibly Login Screen."
461
+ msgstr "這個插件是可以靈活的設定登錄畫面"
462
+
463
+ #: inc/setting_loginscreen.php:58
464
+ msgid "Login Form"
465
+ msgstr "登入表單"
466
+
467
+ #: inc/setting_loginscreen.php:65
468
+ msgid "The link after clicking on the logo"
469
+ msgstr "點擊標誌的連結"
470
+
471
+ #: inc/setting_loginscreen.php:78
472
+ msgid "Logo Title"
473
+ msgstr "標誌標題"
474
+
475
+ #: inc/setting_loginscreen.php:90
476
+ msgid "Logo Image path"
477
+ msgstr "小網站標圖16X16的網址"
478
+
479
+ #: inc/setting_manage_metabox.php:25
480
+ msgid ""
481
+ "Please update or add a \"post\" and a \"page\" to load the available meta "
482
+ "boxes."
483
+ msgstr "更新 / 增加 一個頁面或文章來加載 meta boxes."
484
+
485
+ #: inc/setting_manage_metabox.php:26
486
+ msgid "Please enter if you want to change of Metabox label name."
487
+ msgstr "請輸入您想改變Metabox標籤名稱。"
488
+
489
+ #: inc/setting_manage_metabox.php:63 inc/setting_manage_metabox.php:141
490
+ #: inc/setting_manage_metabox.php:227
491
+ msgid "Default Open"
492
+ msgstr "默認情況下打開"
493
+
494
+ #: inc/setting_manage_metabox.php:91 inc/setting_manage_metabox.php:168
495
+ #: inc/setting_manage_metabox.php:253
496
+ msgid "Not Reduce"
497
+ msgstr "不減少"
498
+
499
+ #: inc/setting_manage_metabox.php:92 inc/setting_manage_metabox.php:169
500
+ #: inc/setting_manage_metabox.php:254
501
+ msgid "Reduce"
502
+ msgstr "減少"
503
+
504
+ #: inc/setting_manage_metabox.php:103 inc/setting_manage_metabox.php:180
505
+ #: inc/setting_post_add_edit.php:55
506
+ msgid ""
507
+ "Notice: If hide the Discussion on metabox, comments does not display of Add "
508
+ "New Post on apply user role."
509
+ msgstr "注意:如果隱藏了Discussion描述欄位的meta box,此用戶則不顯示內容。"
510
+
511
+ #: inc/setting_manage_metabox.php:105 inc/setting_manage_metabox.php:182
512
+ msgid "Please set from here if you want to view the comments on screen."
513
+ msgstr "如果您要查看螢幕上的說明,請在這裡設置。"
514
+
515
+ #: inc/setting_plugin_cap.php:24
516
+ #, php-format
517
+ msgid "You can change the user role %2$s of %1$s settings."
518
+ msgstr "您可以更改用戶角色%2$s 的 %1$s的設置。"
519
+
520
+ #: inc/setting_plugin_cap.php:25
521
+ #, php-format
522
+ msgid "Please choose the role to use the %s."
523
+ msgstr "請選擇要使用的角色%s"
524
+
525
+ #: inc/setting_plugin_cap.php:42
526
+ #, php-format
527
+ msgid "Capability role for the %s"
528
+ msgstr "對於角色的 %s 的功能"
529
+
530
+ #: inc/setting_post_add_edit.php:48
531
+ msgid ""
532
+ "Allow people to post comments on new articles when hide to discussion of "
533
+ "metabox"
534
+ msgstr "允許張貼新的文章,評論隱藏"
535
+
536
+ #: inc/setting_post_add_edit.php:56
537
+ msgid "Please select if you want to display the comments on Site."
538
+ msgstr "請選擇您希望顯示在網站的意見"
539
+
540
+ #: inc/setting_post_add_edit.php:57
541
+ #, php-format
542
+ msgid "However, this will follow the setting of %s."
543
+ msgstr "However, this will follow the setting of %s."
544
+
545
+ #: inc/setting_post_add_edit.php:59
546
+ #, php-format
547
+ msgid "Please select the %s"
548
+ msgstr "Please select the %s"
549
+
550
+ #: inc/setting_post_add_edit.php:85
551
+ msgid "Only appears when you have settings to the default permalink."
552
+ msgstr "只有當你設置為默認,永久鏈接才會出現。"
553
+
554
+ #: inc/setting_sidemenu.php:27
555
+ #, php-format
556
+ msgid "New plugin menus will be added to the <strong>%s</strong>."
557
+ msgstr "新的外掛程式菜單將被添加到 <strong>%s</strong>。"
558
+
559
+ #: inc/setting_site.php:55 inc/setting_site.php:68 inc/setting_site.php:81
560
+ #: inc/setting_site.php:94 inc/setting_site.php:107
561
+ msgid "Tag to be output"
562
+ msgstr "Tag to be output"
563
+
564
+ #: inc/setting_site.php:67
565
+ msgid "Please display when using the Windows Live Writer."
566
+ msgstr "Please display when using the Windows Live Writer."
567
+
568
+ #: inc/setting_site.php:80
569
+ msgid "Information of XML-rpc"
570
+ msgstr "Information of XML-rpc"
571
+
572
+ #: inc/setting_site.php:93
573
+ msgid "Sitewide feed"
574
+ msgstr "Sitewide feed"
575
+
576
+ #: inc/setting_site.php:106
577
+ msgid "Extra feed"
578
+ msgstr "Extra feed"
579
+
580
+ #: inc/setting_site.php:134
581
+ msgid "Hide the Admin bar on the front end"
582
+ msgstr "Hide the Admin bar on the front end"
583
+
584
+ #: inc/setting_site.php:134
585
+ msgid "Apply WP Admin UI Customize settings on the front end admin bar also"
586
+ msgstr "Apply WP Admin UI Customize settings on the front end admin bar also"
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_5_1
4
  Tags: admin, post, posts, page, option, sitemenu, menu, custom, customize, dashboard, admin_bar, multisite, network, metabox
5
  Requires at least: 3.6.1
6
- Tested up to: 3.9.1
7
- Stable tag: 1.5.1
8
  License: GPL2
9
 
10
  Customize the management screen UI.
@@ -50,8 +50,12 @@ These to Customization is possible.
50
 
51
  == Changelog ==
52
 
53
- = 1.5.1.1 dev =
54
- * Added: Show the Debug mode.
 
 
 
 
55
 
56
  = 1.5.1 =
57
  * Added: Search box settings on the Admin Bar Settings.
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_5_2
4
  Tags: admin, post, posts, page, option, sitemenu, menu, custom, customize, dashboard, admin_bar, multisite, network, metabox
5
  Requires at least: 3.6.1
6
+ Tested up to: 3.9.2
7
+ Stable tag: 1.5.2
8
  License: GPL2
9
 
10
  Customize the management screen UI.
50
 
51
  == Changelog ==
52
 
53
+ = 1.5.2.1 alpha =
54
+ * Updated: Metaboxes on Dashboard is latest.
55
+
56
+ = 1.5.2 =
57
+ * Added: Translation for zh-TW.
58
+ * Updated: Change how to loading the metaboxes.
59
 
60
  = 1.5.1 =
61
  * Added: Search box settings on the Admin Bar Settings.
wp-admin-ui-customize-3.7.css CHANGED
@@ -205,6 +205,14 @@ body.wp-admin-ui-customize_page_wp_admin_ui_customize_admin_bar .columns-1 .post
205
  #wauc_setting_manage_metabox table.form-table td {
206
  vertical-align: top;
207
  }
 
 
 
 
 
 
 
 
208
 
209
 
210
 
@@ -244,23 +252,3 @@ body.mp6.wp-admin-ui-customize_page_wp_admin_ui_customize_admin_bar .postbox .in
244
  }
245
 
246
 
247
-
248
-
249
- /* Debug Code */
250
-
251
- .wauc_debug {
252
- background: #FFEFE5;
253
- padding: 10px;
254
- border: 1px solid #FF6600;
255
- }
256
- .wauc_debug textarea {
257
- max-height: 300px;
258
- min-height: 100px;
259
- width: 100%;
260
- overflow: scroll;
261
- display: block;
262
- }
263
- .wauc_debug input {
264
- width: 100%;
265
- display: block;
266
- }
205
  #wauc_setting_manage_metabox table.form-table td {
206
  vertical-align: top;
207
  }
208
+ #wauc_setting_manage_metabox .inside .loading,
209
+ #wauc_setting_dashboard .inside .loading {
210
+ display: none;
211
+ }
212
+ #wauc_setting_manage_metabox .inside .loading .spinner,
213
+ #wauc_setting_dashboard .inside .loading .spinner {
214
+ float: left;
215
+ }
216
 
217
 
218
 
252
  }
253
 
254
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
wp-admin-ui-customize.css CHANGED
@@ -212,6 +212,14 @@ body.wp-admin-ui-customize_page_wp_admin_ui_customize_admin_bar .columns-1 .post
212
  #wauc_setting_manage_metabox table.form-table td {
213
  vertical-align: top;
214
  }
 
 
 
 
 
 
 
 
215
 
216
 
217
 
@@ -251,23 +259,3 @@ body.mp6.wp-admin-ui-customize_page_wp_admin_ui_customize_admin_bar .postbox .in
251
  }
252
 
253
 
254
-
255
-
256
- /* Debug Code */
257
-
258
- .wauc_debug {
259
- background: #FFEFE5;
260
- padding: 10px;
261
- border: 1px solid #FF6600;
262
- }
263
- .wauc_debug textarea {
264
- max-height: 300px;
265
- min-height: 100px;
266
- width: 100%;
267
- overflow: scroll;
268
- display: block;
269
- }
270
- .wauc_debug input {
271
- width: 100%;
272
- display: block;
273
- }
212
  #wauc_setting_manage_metabox table.form-table td {
213
  vertical-align: top;
214
  }
215
+ #wauc_setting_manage_metabox .inside .loading,
216
+ #wauc_setting_dashboard .inside .loading {
217
+ display: none;
218
+ }
219
+ #wauc_setting_manage_metabox .inside .loading .spinner,
220
+ #wauc_setting_dashboard .inside .loading .spinner {
221
+ float: left;
222
+ }
223
 
224
 
225
 
259
  }
260
 
261
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_5_1
6
- Version: 1.5.1.1 dev
7
  Author: gqevu6bsiz
8
- Author URI: http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_5_1
9
  Text Domain: wauc
10
  Domain Path: /languages
11
  */
@@ -56,7 +56,7 @@ class WP_Admin_UI_Customize
56
 
57
 
58
  function __construct() {
59
- $this->Ver = '1.5.1.1 dev';
60
  $this->Name = 'WP Admin UI Customize';
61
  $this->Dir = plugin_dir_path( __FILE__ );
62
  $this->Url = plugin_dir_url( __FILE__ );
@@ -551,55 +551,30 @@ class WP_Admin_UI_Customize
551
 
552
  $UserRole = $this->current_user_role_group();
553
 
554
- if( $UserRole == 'administrator' ) echo 'Metabox load feature success(This show to Administrator only): 1';
555
-
556
  if( !empty( $current_screen ) && $current_screen->id == 'dashboard' && $UserRole == 'administrator' ) {
557
-
558
- if( $UserRole == 'administrator' ) echo '&amp;2';
559
-
560
  global $wp_meta_boxes;
561
 
562
- $GetData = $this->get_data( "regist_dashboard_metabox" );
563
  $post_type = 'dashboard';
564
  $Metaboxes = $wp_meta_boxes[$post_type];
565
 
566
  $Update = array();
567
- if( empty( $GetData ) ) {
568
 
569
  $Update["UPFN"] = $this->UPFN;
570
- foreach( $Metaboxes as $context => $meta_box ) {
571
- foreach( $meta_box as $priority => $box ) {
572
- foreach( $box as $metabox_id => $b ) {
573
- $Update["metaboxes"][$post_type][$context][$priority][$b["id"]] = strip_tags( $b["title"] );
574
- }
575
- }
576
- }
577
 
578
- } else {
579
-
580
- $Update = $GetData;
581
  if( !empty( $Metaboxes ) ) {
582
  foreach( $Metaboxes as $context => $meta_box ) {
583
  foreach( $meta_box as $priority => $box ) {
584
  if( is_array( $box ) ) {
585
  foreach( $box as $metabox_id => $b ) {
586
- if( !empty( $GetData["metaboxes"][$post_type][$context][$priority][$b["id"]] ) ) {
587
- $Update["metaboxes"][$post_type][$context][$priority][$b["id"]] = strip_tags( $b["title"] );
588
- } else {
589
- $Update["metaboxes"][$post_type][$context][$priority][$b["id"]] = strip_tags( $b["title"] );
590
- }
591
  }
592
  }
593
  }
594
  }
595
  }
596
 
597
- }
598
 
599
  if( !empty( $Update ) ) {
600
-
601
- if( $UserRole == 'administrator' ) echo '&amp;3';
602
- if( $UserRole == 'administrator' ) : echo "\n\n"; print_r($Update); endif;
603
  update_option( $this->Record["regist_dashboard_metabox"] , $Update );
604
  }
605
  }
@@ -611,10 +586,10 @@ class WP_Admin_UI_Customize
611
  global $current_screen;
612
 
613
  $UserRole = $this->current_user_role_group();
614
-
615
- if( !empty( $current_screen ) && $current_screen->base == 'post' && $current_screen->action != 'add' && $UserRole == 'administrator' ) {
616
  global $wp_meta_boxes;
617
-
618
  $GetData = $this->get_data( "regist_metabox" );
619
  $post_type = $current_screen->post_type;
620
  $Metaboxes = $wp_meta_boxes[$post_type];
@@ -1024,10 +999,8 @@ class WP_Admin_UI_Customize
1024
  $User = wp_get_current_user();
1025
  if( !empty( $User->roles ) ) {
1026
  foreach( $User->roles as $role ) {
1027
- if( !empty( $role ) ) {
1028
- $UserRole = $role;
1029
- break;
1030
- }
1031
  }
1032
  }
1033
  if( empty( $UserRole ) && is_multisite() ) {
@@ -1036,10 +1009,8 @@ class WP_Admin_UI_Customize
1036
  $User = wp_get_current_user();
1037
  if( !empty( $User->roles ) ) {
1038
  foreach( $User->roles as $role ) {
1039
- if( !empty( $role ) ) {
1040
- $UserRole = $role;
1041
- break;
1042
- }
1043
  }
1044
  }
1045
  restore_current_blog();
@@ -1087,88 +1058,6 @@ class WP_Admin_UI_Customize
1087
  echo $link;
1088
 
1089
  }
1090
-
1091
- // SetList
1092
- function get_debug_code() {
1093
-
1094
- global $current_user;
1095
- global $plugin_page;
1096
- global $wpdb;
1097
-
1098
- $now_page = $plugin_page;
1099
- $now_page = str_replace( $this->PageSlug , '' , $now_page );
1100
- $record = 'user_role';
1101
-
1102
- ?>
1103
- <p>
1104
- <span class="description">Debug code is will show on the only page of <?php echo $this->Name; ?>.</span>
1105
- <a href="<?php echo remove_query_arg( 'wauc_msg' , add_query_arg( array( $this->ltd . '_debug' => true ) ) ); ?>" class="button-secondary"><?php _e( 'Show' ); ?><?php _e( 'Debug' ); ?></a>
1106
- </p>
1107
-
1108
- <?php if( !empty( $_GET[$this->ltd . '_debug'] ) ) : ?>
1109
-
1110
- <?php
1111
-
1112
- if( !empty( $now_page ) ) {
1113
- $now_page = str_replace( '_setting' , '' , $now_page );
1114
- if( $now_page == '_site' ) {
1115
- $record = 'site';
1116
- } elseif( $now_page == '_admin_general' ) {
1117
- $record = 'admin_general';
1118
- } elseif( $now_page == '_dashboard' ) {
1119
- $record = 'dashboard';
1120
- } elseif( $now_page == '_admin_bar' ) {
1121
- $record = 'admin_bar_menu';
1122
- } elseif( $now_page == '_sidemenu' ) {
1123
- $record = 'sidemenu';
1124
- } elseif( $now_page == '_manage_metabox' ) {
1125
- $record = 'manage_metabox';
1126
- } elseif( $now_page == '_post_add_edit_screen' ) {
1127
- $record = 'post_add_edit';
1128
- } elseif( $now_page == '_appearance_menus' ) {
1129
- $record = 'appearance_menus';
1130
- } elseif( $now_page == '_loginscreen' ) {
1131
- $record = 'loginscreen';
1132
- } elseif( $now_page == '_plugin_cap' ) {
1133
- $record = 'plugin_cap';
1134
- }
1135
- }
1136
-
1137
- $alloptions = wp_load_alloptions();
1138
- if ( isset( $alloptions[$this->Record[$record]] ) ) {
1139
- $cache_data = $alloptions[$this->Record[$record]];
1140
- } else {
1141
- $cache_data = wp_cache_get( $this->Record[$record], 'options' );
1142
- }
1143
- $cache_data = maybe_unserialize( $cache_data );
1144
-
1145
- $row = $wpdb->get_row( $wpdb->prepare( "SELECT option_value FROM $wpdb->options WHERE option_name = %s LIMIT 1", $this->Record[$record] ) );
1146
- $option_data = false;
1147
- if ( is_object( $row ) ) {
1148
- $option_data = maybe_unserialize( $row->option_value );
1149
- }
1150
-
1151
- ?>
1152
- <div class="<?php echo $this->ltd; ?>_debug">
1153
-
1154
- <p><strong>Current User Role Group of you</strong>: <input type="text" readonly="readonly" value="<?php echo $this->current_user_role_group(); ?>" /></p>
1155
- <p><strong>Current User Role Group of you ( Core )</strong>: <textarea readonly="readonly"><?php print_r( $current_user->roles ); ?></textarea></p>
1156
- <p><strong>Current Record</strong>: <input type="text" readonly="readonly" value="<?php echo $this->Record[$record]; ?>" /></p>
1157
- <?php if( $record == 'dashboard' ) : ?>
1158
- <p><strong>Get metaboxes of Dashboard</strong>: <textarea readonly="readonly"><?php print_r( get_option( $this->Record['regist_dashboard_metabox'] ) ); ?></textarea></p>
1159
- <?php elseif( $record == 'manage_metabox' ) : ?>
1160
- <p><strong>Get metaboxes of auto include</strong>: <textarea readonly="readonly"><?php print_r( get_option( $this->Record['regist_metabox'] ) ); ?></textarea></p>
1161
- <?php endif; ?>
1162
- <p><strong>Whether same the data and cache</strong>: <input type="text" readonly="readonly" value="<?php if( $option_data === $cache_data ) { _e( 'Yes' ); } else { _e( 'No' ); } ?>"></p>
1163
- <p><strong>Get option of Current data</strong>: <textarea readonly="readonly"><?php print_r( $option_data ); ?></textarea></p>
1164
- <p><strong>Get option of Cache data</strong>: <textarea readonly="readonly"><?php print_r( $cache_data ); ?></textarea></p>
1165
-
1166
- </div>
1167
-
1168
- <?php endif; ?>
1169
-
1170
- <?php
1171
- }
1172
 
1173
 
1174
 
@@ -1255,7 +1144,7 @@ class WP_Admin_UI_Customize
1255
  if( !empty( $Update ) && check_admin_referer( $this->Nonces["value"] , $this->Nonces["field"] ) ) {
1256
  $record = apply_filters( 'wauc_pre_delete' , $this->Record[$record] );
1257
  delete_option( $record );
1258
- wp_redirect( add_query_arg( $this->MsgQ , 'delete' , remove_query_arg( array( 'wauc_debug' ) , stripslashes( $_POST["_wp_http_referer"] ) ) ) );
1259
  exit;
1260
  }
1261
  }
@@ -1270,7 +1159,7 @@ class WP_Admin_UI_Customize
1270
  delete_option( $record );
1271
  }
1272
  }
1273
- wp_redirect( add_query_arg( $this->MsgQ , 'delete' , remove_query_arg( array( 'wauc_debug' ) , stripslashes( $_POST["_wp_http_referer"] ) ) ) );
1274
  exit;
1275
  }
1276
  }
@@ -1284,7 +1173,7 @@ class WP_Admin_UI_Customize
1284
  $SubmitKey = md5( strip_tags( $_POST["donate_key"] ) );
1285
  if( $this->DonateKey == $SubmitKey ) {
1286
  update_option( $this->Record["donate"] , $SubmitKey );
1287
- wp_redirect( add_query_arg( $this->MsgQ , 'donated' , remove_query_arg( array( 'wauc_debug' ) , stripslashes( $_POST["_wp_http_referer"] ) ) ) );
1288
  exit;
1289
  }
1290
  }
@@ -1306,7 +1195,7 @@ class WP_Admin_UI_Customize
1306
  }
1307
 
1308
  update_option( $this->Record["user_role"] , $Update );
1309
- wp_redirect( add_query_arg( $this->MsgQ , 'update' , remove_query_arg( array( 'wauc_debug' ) , stripslashes( $_POST["_wp_http_referer"] ) ) ) );
1310
  exit;
1311
  }
1312
  }
@@ -1326,7 +1215,7 @@ class WP_Admin_UI_Customize
1326
 
1327
  $Record = apply_filters( 'wauc_pre_update' , $this->Record["site"] );
1328
  update_option( $Record , $Update );
1329
- wp_redirect( add_query_arg( $this->MsgQ , 'update' , remove_query_arg( array( 'wauc_debug' ) , stripslashes( $_POST["_wp_http_referer"] ) ) ) );
1330
  exit;
1331
  }
1332
  }
@@ -1346,7 +1235,7 @@ class WP_Admin_UI_Customize
1346
 
1347
  $Record = apply_filters( 'wauc_pre_update' , $this->Record["admin_general"] );
1348
  update_option( $Record , $Update );
1349
- wp_redirect( add_query_arg( $this->MsgQ , 'update' , remove_query_arg( array( 'wauc_debug' ) , stripslashes( $_POST["_wp_http_referer"] ) ) ) );
1350
  exit;
1351
  }
1352
  }
@@ -1366,7 +1255,7 @@ class WP_Admin_UI_Customize
1366
 
1367
  $Record = apply_filters( 'wauc_pre_update' , $this->Record["dashboard"] );
1368
  update_option( $Record , $Update );
1369
- wp_redirect( add_query_arg( $this->MsgQ , 'update' , remove_query_arg( array( 'wauc_debug' ) , stripslashes( $_POST["_wp_http_referer"] ) ) ) );
1370
  exit;
1371
  }
1372
  }
@@ -1421,7 +1310,7 @@ class WP_Admin_UI_Customize
1421
 
1422
  $Record = apply_filters( 'wauc_pre_update' , $this->Record["admin_bar_menu"] );
1423
  update_option( $Record , $Update );
1424
- wp_redirect( add_query_arg( $this->MsgQ , 'update' , remove_query_arg( array( 'wauc_debug' ) , stripslashes( $_POST["_wp_http_referer"] ) ) ) );
1425
  exit;
1426
  }
1427
  }
@@ -1451,7 +1340,7 @@ class WP_Admin_UI_Customize
1451
 
1452
  $Record = apply_filters( 'wauc_pre_update' , $this->Record["sidemenu"] );
1453
  update_option( $Record , $Update );
1454
- wp_redirect( add_query_arg( $this->MsgQ , 'update' , remove_query_arg( array( 'wauc_debug' ) , stripslashes( $_POST["_wp_http_referer"] ) ) ) );
1455
  exit;
1456
  }
1457
  }
@@ -1476,7 +1365,7 @@ class WP_Admin_UI_Customize
1476
 
1477
  $Record = apply_filters( 'wauc_pre_update' , $this->Record["manage_metabox"] );
1478
  update_option( $Record , $Update );
1479
- wp_redirect( add_query_arg( $this->MsgQ , 'update' , remove_query_arg( array( 'wauc_debug' ) , stripslashes( $_POST["_wp_http_referer"] ) ) ) );
1480
  exit;
1481
  }
1482
  }
@@ -1496,7 +1385,7 @@ class WP_Admin_UI_Customize
1496
 
1497
  $Record = apply_filters( 'wauc_pre_update' , $this->Record["post_add_edit"] );
1498
  update_option( $Record , $Update );
1499
- wp_redirect( add_query_arg( $this->MsgQ , 'update' , remove_query_arg( array( 'wauc_debug' ) , stripslashes( $_POST["_wp_http_referer"] ) ) ) );
1500
  exit;
1501
  }
1502
  }
@@ -1516,7 +1405,7 @@ class WP_Admin_UI_Customize
1516
 
1517
  $Record = apply_filters( 'wauc_pre_update' , $this->Record["appearance_menus"] );
1518
  update_option( $Record , $Update );
1519
- wp_redirect( add_query_arg( $this->MsgQ , 'update' , remove_query_arg( array( 'wauc_debug' ) , stripslashes( $_POST["_wp_http_referer"] ) ) ) );
1520
  exit;
1521
  }
1522
  }
@@ -1536,7 +1425,7 @@ class WP_Admin_UI_Customize
1536
 
1537
  $Record = apply_filters( 'wauc_pre_update' , $this->Record["loginscreen"] );
1538
  update_option( $Record , $Update );
1539
- wp_redirect( add_query_arg( $this->MsgQ , 'update' , remove_query_arg( array( 'wauc_debug' ) , stripslashes( $_POST["_wp_http_referer"] ) ) ) );
1540
  exit;
1541
 
1542
  }
@@ -1553,7 +1442,7 @@ class WP_Admin_UI_Customize
1553
 
1554
  $Record = apply_filters( 'wauc_pre_update' , $this->Record["plugin_cap"] );
1555
  update_option( $Record , $Update );
1556
- wp_redirect( add_query_arg( $this->MsgQ , 'update' , remove_query_arg( array( 'wauc_debug' ) , stripslashes( $_POST["_wp_http_referer"] ) ) ) );
1557
  exit;
1558
 
1559
  }
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_5_2
6
+ Version: 1.5.2.1 alpha
7
  Author: gqevu6bsiz
8
+ Author URI: http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_5_2
9
  Text Domain: wauc
10
  Domain Path: /languages
11
  */
56
 
57
 
58
  function __construct() {
59
+ $this->Ver = '1.5.2.1 alpha';
60
  $this->Name = 'WP Admin UI Customize';
61
  $this->Dir = plugin_dir_path( __FILE__ );
62
  $this->Url = plugin_dir_url( __FILE__ );
551
 
552
  $UserRole = $this->current_user_role_group();
553
 
 
 
554
  if( !empty( $current_screen ) && $current_screen->id == 'dashboard' && $UserRole == 'administrator' ) {
 
 
 
555
  global $wp_meta_boxes;
556
 
 
557
  $post_type = 'dashboard';
558
  $Metaboxes = $wp_meta_boxes[$post_type];
559
 
560
  $Update = array();
 
561
 
562
  $Update["UPFN"] = $this->UPFN;
 
 
 
 
 
 
 
563
 
 
 
 
564
  if( !empty( $Metaboxes ) ) {
565
  foreach( $Metaboxes as $context => $meta_box ) {
566
  foreach( $meta_box as $priority => $box ) {
567
  if( is_array( $box ) ) {
568
  foreach( $box as $metabox_id => $b ) {
569
+ $Update["metaboxes"][$post_type][$context][$priority][$b["id"]] = strip_tags( $b["title"] );
 
 
 
 
570
  }
571
  }
572
  }
573
  }
574
  }
575
 
 
576
 
577
  if( !empty( $Update ) ) {
 
 
 
578
  update_option( $this->Record["regist_dashboard_metabox"] , $Update );
579
  }
580
  }
586
  global $current_screen;
587
 
588
  $UserRole = $this->current_user_role_group();
589
+
590
+ if( !empty( $current_screen ) && $current_screen->base == 'post' && $UserRole == 'administrator' ) {
591
  global $wp_meta_boxes;
592
+
593
  $GetData = $this->get_data( "regist_metabox" );
594
  $post_type = $current_screen->post_type;
595
  $Metaboxes = $wp_meta_boxes[$post_type];
999
  $User = wp_get_current_user();
1000
  if( !empty( $User->roles ) ) {
1001
  foreach( $User->roles as $role ) {
1002
+ $UserRole = $role;
1003
+ break;
 
 
1004
  }
1005
  }
1006
  if( empty( $UserRole ) && is_multisite() ) {
1009
  $User = wp_get_current_user();
1010
  if( !empty( $User->roles ) ) {
1011
  foreach( $User->roles as $role ) {
1012
+ $UserRole = $role;
1013
+ break;
 
 
1014
  }
1015
  }
1016
  restore_current_blog();
1058
  echo $link;
1059
 
1060
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1061
 
1062
 
1063
 
1144
  if( !empty( $Update ) && check_admin_referer( $this->Nonces["value"] , $this->Nonces["field"] ) ) {
1145
  $record = apply_filters( 'wauc_pre_delete' , $this->Record[$record] );
1146
  delete_option( $record );
1147
+ wp_redirect( add_query_arg( $this->MsgQ , 'delete' , stripslashes( $_POST["_wp_http_referer"] ) ) );
1148
  exit;
1149
  }
1150
  }
1159
  delete_option( $record );
1160
  }
1161
  }
1162
+ wp_redirect( add_query_arg( $this->MsgQ , 'delete' , stripslashes( $_POST["_wp_http_referer"] ) ) );
1163
  exit;
1164
  }
1165
  }
1173
  $SubmitKey = md5( strip_tags( $_POST["donate_key"] ) );
1174
  if( $this->DonateKey == $SubmitKey ) {
1175
  update_option( $this->Record["donate"] , $SubmitKey );
1176
+ wp_redirect( add_query_arg( $this->MsgQ , 'donated' ) );
1177
  exit;
1178
  }
1179
  }
1195
  }
1196
 
1197
  update_option( $this->Record["user_role"] , $Update );
1198
+ wp_redirect( add_query_arg( $this->MsgQ , 'update' , stripslashes( $_POST["_wp_http_referer"] ) ) );
1199
  exit;
1200
  }
1201
  }
1215
 
1216
  $Record = apply_filters( 'wauc_pre_update' , $this->Record["site"] );
1217
  update_option( $Record , $Update );
1218
+ wp_redirect( add_query_arg( $this->MsgQ , 'update' , stripslashes( $_POST["_wp_http_referer"] ) ) );
1219
  exit;
1220
  }
1221
  }
1235
 
1236
  $Record = apply_filters( 'wauc_pre_update' , $this->Record["admin_general"] );
1237
  update_option( $Record , $Update );
1238
+ wp_redirect( add_query_arg( $this->MsgQ , 'update' , stripslashes( $_POST["_wp_http_referer"] ) ) );
1239
  exit;
1240
  }
1241
  }
1255
 
1256
  $Record = apply_filters( 'wauc_pre_update' , $this->Record["dashboard"] );
1257
  update_option( $Record , $Update );
1258
+ wp_redirect( add_query_arg( $this->MsgQ , 'update' , stripslashes( $_POST["_wp_http_referer"] ) ) );
1259
  exit;
1260
  }
1261
  }
1310
 
1311
  $Record = apply_filters( 'wauc_pre_update' , $this->Record["admin_bar_menu"] );
1312
  update_option( $Record , $Update );
1313
+ wp_redirect( add_query_arg( $this->MsgQ , 'update' , stripslashes( $_POST["_wp_http_referer"] ) ) );
1314
  exit;
1315
  }
1316
  }
1340
 
1341
  $Record = apply_filters( 'wauc_pre_update' , $this->Record["sidemenu"] );
1342
  update_option( $Record , $Update );
1343
+ wp_redirect( add_query_arg( $this->MsgQ , 'update' , stripslashes( $_POST["_wp_http_referer"] ) ) );
1344
  exit;
1345
  }
1346
  }
1365
 
1366
  $Record = apply_filters( 'wauc_pre_update' , $this->Record["manage_metabox"] );
1367
  update_option( $Record , $Update );
1368
+ wp_redirect( add_query_arg( $this->MsgQ , 'update' , stripslashes( $_POST["_wp_http_referer"] ) ) );
1369
  exit;
1370
  }
1371
  }
1385
 
1386
  $Record = apply_filters( 'wauc_pre_update' , $this->Record["post_add_edit"] );
1387
  update_option( $Record , $Update );
1388
+ wp_redirect( add_query_arg( $this->MsgQ , 'update' , stripslashes( $_POST["_wp_http_referer"] ) ) );
1389
  exit;
1390
  }
1391
  }
1405
 
1406
  $Record = apply_filters( 'wauc_pre_update' , $this->Record["appearance_menus"] );
1407
  update_option( $Record , $Update );
1408
+ wp_redirect( add_query_arg( $this->MsgQ , 'update' , stripslashes( $_POST["_wp_http_referer"] ) ) );
1409
  exit;
1410
  }
1411
  }
1425
 
1426
  $Record = apply_filters( 'wauc_pre_update' , $this->Record["loginscreen"] );
1427
  update_option( $Record , $Update );
1428
+ wp_redirect( add_query_arg( $this->MsgQ , 'update' , stripslashes( $_POST["_wp_http_referer"] ) ) );
1429
  exit;
1430
 
1431
  }
1442
 
1443
  $Record = apply_filters( 'wauc_pre_update' , $this->Record["plugin_cap"] );
1444
  update_option( $Record , $Update );
1445
+ wp_redirect( add_query_arg( $this->MsgQ , 'update' , stripslashes( $_POST["_wp_http_referer"] ) ) );
1446
  exit;
1447
 
1448
  }