WP Admin UI Customize - Version 1.5.10

Version Description

  • Changed: More labels and texts.
  • Removed: Donate message.
Download this release

Release Info

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

Code changes from version 1.5.9 to 1.5.10

inc/list_variables.php CHANGED
@@ -1,159 +1,159 @@
1
- <?php
2
-
3
- $update_data = wp_get_update_data();
4
- $awaiting_mod = wp_count_comments();
5
- $awaiting_mod = $awaiting_mod->moderated;
6
- $current_user = wp_get_current_user();
7
- if( is_multisite() ) {
8
- $current_site = get_current_site();
9
- }
10
-
11
- ?>
12
-
13
- <div id="list_variables">
14
- <div class="list_variables_wrap">
15
-
16
- <table class="widefat fixed">
17
- <thead>
18
- <tr>
19
- <th><?php _e( 'Shortcodes' , 'wp-admin-ui-customize' ); ?></th>
20
- <th><?php _e( 'Value' ); ?></th>
21
- </tr>
22
- </thead>
23
- <tbody>
24
- <?php if( is_multisite() ) : ?>
25
- <tr>
26
- <th><strong>[site_name]</strong></th>
27
- <td>
28
- <code><?php echo esc_attr( $current_site->site_name ); ?></code>
29
- </td>
30
- </tr>
31
- <tr>
32
- <th><strong>[site_url]</strong></th>
33
- <td>
34
- <?php $protocol = is_ssl() ? 'https://' : 'http://'; ?>
35
- <code><?php echo $protocol . esc_attr( $current_site->domain . $current_site->path );?></code>
36
- </td>
37
- </tr>
38
- <?php endif; ?>
39
- <tr>
40
- <th><strong>[blog_name]</strong></th>
41
- <td>
42
- <code><?php echo get_bloginfo( 'name' ); ?></code>
43
- <?php if( is_multisite() ) : ?>
44
- <span class="description"><?php _e( 'Blog name of logged in.' , 'wp-admin-ui-customize' ); ?></span>
45
- <?php endif; ?>
46
- </td>
47
- </tr>
48
- <tr>
49
- <th><strong>[blog_url]</strong></th>
50
- <td>
51
- <code><?php echo get_bloginfo( 'url' ); ?></code>
52
- <?php if( is_multisite() ) : ?>
53
- <span class="description"><?php _e( 'Blog URL of logged in.' , 'wp-admin-ui-customize' ); ?></span>
54
- <?php endif; ?>
55
- </td>
56
- </tr>
57
- <tr>
58
- <th><strong>[template_directory_uri]</strong></th>
59
- <td>
60
- <code><?php echo get_bloginfo( 'template_directory' ); ?></code>
61
- </td>
62
- </tr>
63
- <tr>
64
- <th><strong>[stylesheet_directory_uri]</strong></th>
65
- <td>
66
- <code><?php echo get_stylesheet_directory_uri(); ?></code>
67
- </td>
68
- </tr>
69
- <tr>
70
- <th><strong>[update_total]</strong></th>
71
- <td>
72
- <code>&lt;span class=&quot;update-plugins count-<?php echo $update_data["counts"]["total"]; ?>&quot;&gt;&lt;span class=&quot;update-count&quot;&gt;<strong><?php echo number_format_i18n( $update_data["counts"]["total"] ); ?></strong>&lt;/span&gt;&lt;/span&gt;</code>
73
- </td>
74
- </tr>
75
- <tr>
76
- <th><strong>[update_plugins]</strong></th>
77
- <td>
78
- <code>&lt;span class=&quot;update-plugins count-<?php echo $update_data["counts"]["plugins"]; ?>&quot;&gt;&lt;span class=&quot;plugin-count&quot;&gt;<strong><?php echo number_format_i18n( $update_data["counts"]["plugins"] ); ?></strong>&lt;/span&gt;&lt;/span&gt;</code>
79
- </td>
80
- </tr>
81
- <tr>
82
- <th><strong>[update_themes]</strong></th>
83
- <td>
84
- <code>&lt;span class=&quot;update-plugins count-<?php echo $update_data["counts"]["themes"]; ?>&quot;&gt;&lt;span class=&quot;theme-count&quot;&gt;<strong><?php echo number_format_i18n( $update_data["counts"]["themes"] ); ?></strong>&lt;/span&gt;&lt;/span&gt;</code>
85
- </td>
86
- </tr>
87
- <tr>
88
- <th><strong>[comment_count]</strong></th>
89
- <td>
90
- <code>&lt;span class&quot;ab-icon&quot;&gt&lt;/span&gt; &lt;span id=&quot;ab-awaiting-mod&quot; class=&quot;ab-label awaiting-mod pending-count count-<?php echo $awaiting_mod; ?>&quot;&gt;<strong><?php echo number_format_i18n( $awaiting_mod ); ?></strong>&lt;/span&gt;</code>
91
- </td>
92
- </tr>
93
- <tr>
94
- <th><strong>[comment_count_format]</strong></th>
95
- <td>
96
- <code><?php echo $awaiting_mod; ?></code>
97
- </td>
98
- </tr>
99
- <tr>
100
- <th><strong>[user_name]</strong></th>
101
- <td>
102
- <code><?php echo $current_user->display_name; ?></code>
103
- <span class="description"><?php _e( 'In your case.' , 'wp-admin-ui-customize' ); ?></span>
104
- </td>
105
- </tr>
106
- <tr>
107
- <th><strong>[user_login_name]</strong></th>
108
- <td>
109
- <code><?php echo $current_user->user_login; ?></code>
110
- <span class="description"><?php _e( 'In your case.' , 'wp-admin-ui-customize' ); ?></span>
111
- </td>
112
- </tr>
113
- <tr>
114
- <th><strong>[user_avatar]</strong></th>
115
- <td>
116
- <code><?php echo get_avatar( $current_user->ID , 16 ); ?></code>
117
- <span class="description"><?php _e( 'In your case.' , 'wp-admin-ui-customize' ); ?></span>
118
- </td>
119
- </tr>
120
- <tr>
121
- <th><strong>[user_avatar_64]</strong></th>
122
- <td>
123
- <code><?php echo get_avatar( $current_user->ID , 64 ); ?></code>
124
- <span class="description"><?php _e( 'In your case.' , 'wp-admin-ui-customize' ); ?></span>
125
- </td>
126
- </tr>
127
- <tr>
128
- <th><strong>[post_type]</strong></th>
129
- <td>
130
- <code><?php _e( 'Posts' ); ?></code>
131
- <span class="description"><?php _e( 'Current Post Type Name' , 'wp-admin-ui-customize' ); ?> ( <?php _e( 'Pages' ); ?>/<?php _e( 'Categories' ); ?>/<?php _e( 'Tags' ); ?>/<?php _e( 'Custom' ); ?>)</span>
132
- </td>
133
- </tr>
134
- <?php if( !empty( $this->ActivatedPlugin ) ) : ?>
135
-
136
- <?php $activated_plugins = $this->ActivatedPlugin; ?>
137
-
138
- <?php if( !empty( $activated_plugins['woocommerce'] ) ) : ?>
139
-
140
- <?php if( function_exists( 'wc_processing_order_count' ) ) : ?>
141
- <?php $order_count = intval( wc_processing_order_count() ); ?>
142
- <?php if( !empty( $order_count ) ) : ?>
143
- <tr>
144
- <th><strong>[woocommerce_order_process_count]</strong></th>
145
- <td>
146
- <code>&lt;span class=&quot;awaiting-mod update-plugins count-<?php echo $order_count ?>&quot;&gt;&lt;span class=&quot;processing-count&quot;><?php echo number_format_i18n( $order_count ); ?>&lt;/span&gt;&lt;/span&gt;</code>
147
- </td>
148
- </tr>
149
- <?php endif; ?>
150
- <?php endif; ?>
151
-
152
- <?php endif; ?>
153
-
154
- <?php endif; ?>
155
- </tbody>
156
- </table>
157
-
158
- </div>
159
  </div>
1
+ <?php
2
+
3
+ $update_data = wp_get_update_data();
4
+ $awaiting_mod = wp_count_comments();
5
+ $awaiting_mod = $awaiting_mod->moderated;
6
+ $current_user = wp_get_current_user();
7
+ if( is_multisite() ) {
8
+ $current_site = get_current_site();
9
+ }
10
+
11
+ ?>
12
+
13
+ <div id="list_variables">
14
+ <div class="list_variables_wrap">
15
+
16
+ <table class="widefat fixed">
17
+ <thead>
18
+ <tr>
19
+ <th><?php _e( 'Shortcodes' , 'wp-admin-ui-customize' ); ?></th>
20
+ <th><?php _e( 'Value' ); ?></th>
21
+ </tr>
22
+ </thead>
23
+ <tbody>
24
+ <?php if( is_multisite() ) : ?>
25
+ <tr>
26
+ <th><strong>[site_name]</strong></th>
27
+ <td>
28
+ <code><?php echo esc_attr( $current_site->site_name ); ?></code>
29
+ </td>
30
+ </tr>
31
+ <tr>
32
+ <th><strong>[site_url]</strong></th>
33
+ <td>
34
+ <?php $protocol = is_ssl() ? 'https://' : 'http://'; ?>
35
+ <code><?php echo $protocol . esc_attr( $current_site->domain . $current_site->path );?></code>
36
+ </td>
37
+ </tr>
38
+ <?php endif; ?>
39
+ <tr>
40
+ <th><strong>[blog_name]</strong></th>
41
+ <td>
42
+ <code><?php echo get_bloginfo( 'name' ); ?></code>
43
+ <?php if( is_multisite() ) : ?>
44
+ <span class="description"><?php _e( 'Blog name of logged in.' , 'wp-admin-ui-customize' ); ?></span>
45
+ <?php endif; ?>
46
+ </td>
47
+ </tr>
48
+ <tr>
49
+ <th><strong>[blog_url]</strong></th>
50
+ <td>
51
+ <code><?php echo get_bloginfo( 'url' ); ?></code>
52
+ <?php if( is_multisite() ) : ?>
53
+ <span class="description"><?php _e( 'Blog URL of logged in.' , 'wp-admin-ui-customize' ); ?></span>
54
+ <?php endif; ?>
55
+ </td>
56
+ </tr>
57
+ <tr>
58
+ <th><strong>[template_directory_uri]</strong></th>
59
+ <td>
60
+ <code><?php echo get_bloginfo( 'template_directory' ); ?></code>
61
+ </td>
62
+ </tr>
63
+ <tr>
64
+ <th><strong>[stylesheet_directory_uri]</strong></th>
65
+ <td>
66
+ <code><?php echo get_stylesheet_directory_uri(); ?></code>
67
+ </td>
68
+ </tr>
69
+ <tr>
70
+ <th><strong>[update_total]</strong></th>
71
+ <td>
72
+ <code>&lt;span class=&quot;update-plugins count-<?php echo $update_data["counts"]["total"]; ?>&quot;&gt;&lt;span class=&quot;update-count&quot;&gt;<strong><?php echo number_format_i18n( $update_data["counts"]["total"] ); ?></strong>&lt;/span&gt;&lt;/span&gt;</code>
73
+ </td>
74
+ </tr>
75
+ <tr>
76
+ <th><strong>[update_plugins]</strong></th>
77
+ <td>
78
+ <code>&lt;span class=&quot;update-plugins count-<?php echo $update_data["counts"]["plugins"]; ?>&quot;&gt;&lt;span class=&quot;plugin-count&quot;&gt;<strong><?php echo number_format_i18n( $update_data["counts"]["plugins"] ); ?></strong>&lt;/span&gt;&lt;/span&gt;</code>
79
+ </td>
80
+ </tr>
81
+ <tr>
82
+ <th><strong>[update_themes]</strong></th>
83
+ <td>
84
+ <code>&lt;span class=&quot;update-plugins count-<?php echo $update_data["counts"]["themes"]; ?>&quot;&gt;&lt;span class=&quot;theme-count&quot;&gt;<strong><?php echo number_format_i18n( $update_data["counts"]["themes"] ); ?></strong>&lt;/span&gt;&lt;/span&gt;</code>
85
+ </td>
86
+ </tr>
87
+ <tr>
88
+ <th><strong>[comment_count]</strong></th>
89
+ <td>
90
+ <code>&lt;span class&quot;ab-icon&quot;&gt&lt;/span&gt; &lt;span id=&quot;ab-awaiting-mod&quot; class=&quot;ab-label awaiting-mod pending-count count-<?php echo $awaiting_mod; ?>&quot;&gt;<strong><?php echo number_format_i18n( $awaiting_mod ); ?></strong>&lt;/span&gt;</code>
91
+ </td>
92
+ </tr>
93
+ <tr>
94
+ <th><strong>[comment_count_format]</strong></th>
95
+ <td>
96
+ <code><?php echo $awaiting_mod; ?></code>
97
+ </td>
98
+ </tr>
99
+ <tr>
100
+ <th><strong>[user_name]</strong></th>
101
+ <td>
102
+ <code><?php echo $current_user->display_name; ?></code>
103
+ <span class="description"><?php _e( 'In your case.' , 'wp-admin-ui-customize' ); ?></span>
104
+ </td>
105
+ </tr>
106
+ <tr>
107
+ <th><strong>[user_login_name]</strong></th>
108
+ <td>
109
+ <code><?php echo $current_user->user_login; ?></code>
110
+ <span class="description"><?php _e( 'In your case.' , 'wp-admin-ui-customize' ); ?></span>
111
+ </td>
112
+ </tr>
113
+ <tr>
114
+ <th><strong>[user_avatar]</strong></th>
115
+ <td>
116
+ <code><?php echo get_avatar( $current_user->ID , 16 ); ?></code>
117
+ <span class="description"><?php _e( 'In your case.' , 'wp-admin-ui-customize' ); ?></span>
118
+ </td>
119
+ </tr>
120
+ <tr>
121
+ <th><strong>[user_avatar_64]</strong></th>
122
+ <td>
123
+ <code><?php echo get_avatar( $current_user->ID , 64 ); ?></code>
124
+ <span class="description"><?php _e( 'In your case.' , 'wp-admin-ui-customize' ); ?></span>
125
+ </td>
126
+ </tr>
127
+ <tr>
128
+ <th><strong>[post_type]</strong></th>
129
+ <td>
130
+ <code><?php _e( 'Posts' ); ?></code>
131
+ <span class="description"><?php _e( 'Current Post Type Name' , 'wp-admin-ui-customize' ); ?> ( <?php _e( 'Pages' ); ?>/<?php _e( 'Categories' ); ?>/<?php _e( 'Tags' ); ?>/<?php _e( 'Custom Post Type' , 'wp-admin-ui-customize' ); ?>)</span>
132
+ </td>
133
+ </tr>
134
+ <?php if( !empty( $this->ActivatedPlugin ) ) : ?>
135
+
136
+ <?php $activated_plugins = $this->ActivatedPlugin; ?>
137
+
138
+ <?php if( !empty( $activated_plugins['woocommerce'] ) ) : ?>
139
+
140
+ <?php if( function_exists( 'wc_processing_order_count' ) ) : ?>
141
+ <?php $order_count = intval( wc_processing_order_count() ); ?>
142
+ <?php if( !empty( $order_count ) ) : ?>
143
+ <tr>
144
+ <th><strong>[woocommerce_order_process_count]</strong></th>
145
+ <td>
146
+ <code>&lt;span class=&quot;awaiting-mod update-plugins count-<?php echo $order_count ?>&quot;&gt;&lt;span class=&quot;processing-count&quot;><?php echo number_format_i18n( $order_count ); ?>&lt;/span&gt;&lt;/span&gt;</code>
147
+ </td>
148
+ </tr>
149
+ <?php endif; ?>
150
+ <?php endif; ?>
151
+
152
+ <?php endif; ?>
153
+
154
+ <?php endif; ?>
155
+ </tbody>
156
+ </table>
157
+
158
+ </div>
159
  </div>
inc/reset_userrole.php CHANGED
@@ -1,77 +1,77 @@
1
- <?php
2
-
3
- $Data = $this->get_data( 'user_role' );
4
- $UserRoles = $this->get_user_role();
5
-
6
- // include js css
7
- $ReadedJs = array( 'jquery' , 'jquery-ui-sortable' );
8
- wp_enqueue_script( $this->PageSlug , $this->Url . $this->PluginSlug . '.js', $ReadedJs , $this->Ver );
9
- wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', array() , $this->Ver );
10
-
11
- ?>
12
- <div class="wrap">
13
-
14
- <?php echo $this->Msg; ?>
15
- <h2><?php _e( 'Reset User Roles' , 'wp-admin-ui-customize' ); ?></h2>
16
- <p>&nbsp;</p>
17
-
18
- <form id="wauc_reset_userrole" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
19
- <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
20
- <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
21
- <input type="hidden" name="record_field" value="user_role" />
22
-
23
- <h3><?php _e( 'Applied user roles' , 'wp-admin-ui-customize' ); ?></h3>
24
- <ul class="description">
25
- <?php foreach( $Data as $key => $val ) : ?>
26
- <?php if( !empty( $UserRoles[$key] ) ): ?>
27
- <li><?php echo $UserRoles[$key]["label"]; ?></li>
28
- <?php endif; ?>
29
- <?php endforeach; ?>
30
- </ul>
31
- <br />
32
-
33
- <p><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , __( 'User Roles Settings' , 'wp-admin-ui-customize' ) ); ?></p>
34
- <p class="submit">
35
- <input type="submit" class="button-primary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
36
- </p>
37
-
38
- </form>
39
-
40
- <p>&nbsp;</p>
41
-
42
- <h2><?php _e( 'Reset settings of all' , 'wp-admin-ui-customize' ); ?></h2>
43
- <form id="wauc_reset_all_settings" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
44
- <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
45
- <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
46
- <input type="hidden" name="record_field" value="all_settings" />
47
- <p><?php _e( 'Setting all of the below will be deleted.' , 'wp-admin-ui-customize' ); ?></p>
48
- <ul class="description">
49
- <li><?php _e( 'Site Settings' , 'wp-admin-ui-customize' ); ?></li>
50
- <li><?php printf( __( '%1$s %2$s' , 'wp-admin-ui-customize' ) , __( 'General' ) , __( 'Settings' ) ); ?></li>
51
- <li><?php _e( 'Dashboard' ); ?></li>
52
- <li><?php _e( 'Admin Bar Menu' , 'wp-admin-ui-customize' ); ?></li>
53
- <li><?php _e( 'Side Menu' , 'wp-admin-ui-customize' ); ?></li>
54
- <li><?php _e( 'Manage meta box' , 'wp-admin-ui-customize' ); ?></li>
55
- <li><?php _e( 'Add New Post and Edit Post Screen Setting' , 'wp-admin-ui-customize' ); ?></li>
56
- <li><?php _e( 'Appearance Menus Screen Setting' , 'wp-admin-ui-customize' ); ?></li>
57
- <li><?php _e( 'Login Screen' , 'wp-admin-ui-customize' ); ?></li>
58
- <li><?php printf( __( '%1$s of %2$s %3$s' , 'wp-admin-ui-customize' ) , __( 'Change' ) , __( 'Plugin' ) , __( 'Capabilities' ) ); ?></li>
59
- </ul>
60
- <br />
61
-
62
- <p><?php _e( 'Are you sure you want to delete all settings?' , 'wp-admin-ui-customize' ); ?></p>
63
- <p class="submit">
64
- <input type="submit" class="button-primary" name="reset" value="<?php _e( 'Reset settings of all' , 'wp-admin-ui-customize' ); ?>" />
65
- </p>
66
-
67
- </form>
68
-
69
- </div>
70
-
71
- <style>
72
- </style>
73
- <script>
74
- jQuery(document).ready( function($) {
75
-
76
- });
77
- </script>
1
+ <?php
2
+
3
+ $Data = $this->get_data( 'user_role' );
4
+ $UserRoles = $this->get_user_role();
5
+
6
+ // include js css
7
+ $ReadedJs = array( 'jquery' , 'jquery-ui-sortable' );
8
+ wp_enqueue_script( $this->PageSlug , $this->Url . $this->PluginSlug . '.js', $ReadedJs , $this->Ver );
9
+ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', array() , $this->Ver );
10
+
11
+ ?>
12
+ <div class="wrap">
13
+
14
+ <?php echo $this->Msg; ?>
15
+ <h2><?php _e( 'Reset Settings' , 'wp-admin-ui-customize' ); ?></h2>
16
+ <p>&nbsp;</p>
17
+
18
+ <form id="wauc_reset_userrole" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
19
+ <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
20
+ <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
21
+ <input type="hidden" name="record_field" value="user_role" />
22
+
23
+ <h3><?php _e( 'Applied user roles' , 'wp-admin-ui-customize' ); ?></h3>
24
+ <ul class="description">
25
+ <?php foreach( $Data as $key => $val ) : ?>
26
+ <?php if( !empty( $UserRoles[$key] ) ): ?>
27
+ <li><?php echo $UserRoles[$key]["label"]; ?></li>
28
+ <?php endif; ?>
29
+ <?php endforeach; ?>
30
+ </ul>
31
+ <br />
32
+
33
+ <p><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , __( 'User Roles Settings' , 'wp-admin-ui-customize' ) ); ?></p>
34
+ <p class="submit">
35
+ <input type="submit" class="button-primary" name="reset" value="<?php _e( 'Reset User Roles Settings' , 'wp-admin-ui-customize' ); ?>" />
36
+ </p>
37
+
38
+ </form>
39
+
40
+ <p>&nbsp;</p>
41
+
42
+ <h2><?php _e( 'Reset all settings' , 'wp-admin-ui-customize' ); ?></h2>
43
+ <form id="wauc_reset_all_settings" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
44
+ <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
45
+ <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
46
+ <input type="hidden" name="record_field" value="all_settings" />
47
+ <p><?php _e( 'All settings below will be deleted.' , 'wp-admin-ui-customize' ); ?></p>
48
+ <ul class="description">
49
+ <li><?php _e( 'Frontend' , 'wp-admin-ui-customize' ); ?></li>
50
+ <li><?php printf( __( '%1$s %2$s' , 'wp-admin-ui-customize' ) , __( 'General' ) , __( 'Settings' ) ); ?></li>
51
+ <li><?php _e( 'Dashboard' ); ?></li>
52
+ <li><?php _e( 'Admin bar' , 'wp-admin-ui-customize' ); ?></li>
53
+ <li><?php _e( 'Sidebar' , 'wp-admin-ui-customize' ); ?></li>
54
+ <li><?php _e( 'Meta boxes' , 'wp-admin-ui-customize' ); ?></li>
55
+ <li><?php _e( 'Posts and Pages' , 'wp-admin-ui-customize' ); ?></li>
56
+ <li><?php _e( 'Appearance Menus' , 'wp-admin-ui-customize' ); ?></li>
57
+ <li><?php _e( 'Login Form' , 'wp-admin-ui-customize' ); ?></li>
58
+ <li><?php printf( __( '%1$s of %2$s %3$s' , 'wp-admin-ui-customize' ) , __( 'Change' ) , __( 'Plugin' ) , __( 'Capabilities' ) ); ?></li>
59
+ </ul>
60
+ <br />
61
+
62
+ <p><?php _e( 'Are you sure you want to delete all settings?' , 'wp-admin-ui-customize' ); ?></p>
63
+ <p class="submit">
64
+ <input type="submit" class="button-primary" name="reset" value="<?php _e( 'Reset all settings' , 'wp-admin-ui-customize' ); ?>" />
65
+ </p>
66
+
67
+ </form>
68
+
69
+ </div>
70
+
71
+ <style>
72
+ </style>
73
+ <script>
74
+ jQuery(document).ready( function($) {
75
+
76
+ });
77
+ </script>
inc/setting_admin_bar_menu.php CHANGED
@@ -15,10 +15,10 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
15
  <div class="wrap">
16
 
17
  <?php echo $this->Msg; ?>
18
- <h2><?php _e( 'Admin Bar Menu' , 'wp-admin-ui-customize' ); ?></h2>
19
- <p><?php _e( 'Please change the menu by drag and drop.' , 'wp-admin-ui-customize' ); ?></p>
20
- <p><strong><?php _e( 'Notice: Please do not place the same multiple menu slug.' , 'wp-admin-ui-customize' ); ?></strong></p>
21
- <p class="description"><?php _e( 'Can be more than one custom menu.' , 'wp-admin-ui-customize' ); ?></p>
22
 
23
  <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
24
 
@@ -30,8 +30,8 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
30
  <input type="hidden" name="record_field" value="admin_bar_menu" />
31
 
32
  <p></p>
33
- <p><?php _e( 'Sub-menu settings apply to maximum of four levels deep.' , 'wp-admin-ui-customize' ); ?></p>
34
- <p><a href="<?php $this->get_document_link( 'admin_bar' ); ?>" target="_blank" class="button-secondary"><?php _e( 'Admin bar settings documentation page' , 'wp-admin-ui-customize' ); ?></a></p>
35
 
36
  <div id="poststuff">
37
 
@@ -84,13 +84,13 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
84
  </p>
85
 
86
  <p class="submit reset">
87
- <span class="description"><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , __( 'Admin Bar Menu' , 'wp-admin-ui-customize' ) . __( 'Settings' ) ); ?></span>
88
  <input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
89
  </p>
90
 
91
  </form>
92
 
93
- <h3><?php _e ( 'Menu items that can be added' , 'wp-admin-ui-customize' ); ?></h3>
94
 
95
  <div id="can_menus" class="metabox-holder columns-1">
96
 
@@ -99,7 +99,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
99
 
100
  <div class="postbox">
101
  <div class="handlediv" title="Click to toggle"><br></div>
102
- <h3 class="hndle"><span><?php _e( 'Custom' ); ?> <?php _e( 'Menus' ); ?></span></h3>
103
  <div class="inside">
104
 
105
  <?php $menu_widget = array( 'id' => "custom_node" , 'title' => "" , 'parent' => '' , 'href' => "" , 'group' => "" , 'meta' => array() , 'new' => true ); ?>
15
  <div class="wrap">
16
 
17
  <?php echo $this->Msg; ?>
18
+ <h2><?php _e( 'Admin bar' , 'wp-admin-ui-customize' ); ?></h2>
19
+ <p><?php _e( 'Drag menu items to edit and reorder menus.' , 'wp-admin-ui-customize' ); ?></p>
20
+ <p><strong><?php _e( 'Note: Using the same menu item multiple times could cause unexpected behavior.' , 'wp-admin-ui-customize' ); ?></strong></p>
21
+ <p class="description"><?php _e( 'You can use multiple custom menus.' , 'wp-admin-ui-customize' ); ?></p>
22
 
23
  <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
24
 
30
  <input type="hidden" name="record_field" value="admin_bar_menu" />
31
 
32
  <p></p>
33
+ <p><?php _e( 'Sub menus can be a maximum of four levels deep.' , 'wp-admin-ui-customize' ); ?></p>
34
+ <p><a href="<?php $this->get_document_link( 'admin_bar' ); ?>" target="_blank" class="button-secondary"><?php _e( 'Additional documentation' , 'wp-admin-ui-customize' ); ?></a></p>
35
 
36
  <div id="poststuff">
37
 
84
  </p>
85
 
86
  <p class="submit reset">
87
+ <span class="description"><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , __( 'Admin bar' , 'wp-admin-ui-customize' ) . __( 'Settings' ) ); ?></span>
88
  <input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
89
  </p>
90
 
91
  </form>
92
 
93
+ <h3><?php _e ( 'Available menu items' , 'wp-admin-ui-customize' ); ?></h3>
94
 
95
  <div id="can_menus" class="metabox-holder columns-1">
96
 
99
 
100
  <div class="postbox">
101
  <div class="handlediv" title="Click to toggle"><br></div>
102
+ <h3 class="hndle"><span><?php _e( 'Custom' , 'wp-admin-ui-customize' ); ?> <?php _e( 'Menus' ); ?></span></h3>
103
  <div class="inside">
104
 
105
  <?php $menu_widget = array( 'id' => "custom_node" , 'title' => "" , 'parent' => '' , 'href' => "" , 'group' => "" , 'meta' => array() , 'new' => true ); ?>
inc/setting_admin_general.php CHANGED
@@ -1,207 +1,207 @@
1
- <?php
2
-
3
- $Data = $this->get_data( 'admin_general' );
4
-
5
- // include js css
6
- $ReadedJs = array( 'jquery' , 'jquery-ui-sortable' , 'thickbox' );
7
- wp_enqueue_script( $this->PageSlug , $this->Url . $this->PluginSlug . '.js', $ReadedJs , $this->Ver );
8
- wp_enqueue_style('thickbox');
9
- wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', array() , $this->Ver );
10
-
11
- ?>
12
-
13
- <div class="wrap">
14
-
15
- <?php echo $this->Msg; ?>
16
- <h2><?php printf( __( '%1$s %2$s' , 'wp-admin-ui-customize' ) , __( 'General' ) , __( 'Settings' ) ); ?></h2>
17
- <p>&nbsp;</p>
18
-
19
- <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
20
-
21
- <form id="wauc_setting_admin_general" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
22
- <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
23
- <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
24
- <input type="hidden" name="record_field" value="admin_general" />
25
-
26
- <div id="poststuff">
27
-
28
- <div id="post-body" class="metabox-holder columns-1">
29
-
30
- <div id="postbox-container-1" class="postbox-container">
31
- <div id="admin_general">
32
- <div class="postbox">
33
- <div class="handlediv" title="Click to toggle"><br></div>
34
- <h3 class="hndle"><span><?php echo _e( 'Notifications' , 'wp-admin-ui-customize' ); ?></span></h3>
35
- <div class="inside">
36
- <table class="form-table">
37
- <tbody>
38
- <tr>
39
- <th>
40
- <label><?php _e( 'WordPress core update notice' , 'wp-admin-ui-customize' ); ?></label>
41
- </th>
42
- <td>
43
- <?php $field = 'notice_update_core'; ?>
44
- <?php $Checked = ''; ?>
45
- <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
46
- <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Not notified' , 'wp-admin-ui-customize' ); ?></label>
47
- </td>
48
- </tr>
49
- <tr>
50
- <th>
51
- <label><?php _e( 'Plugin update notice' , 'wp-admin-ui-customize' ); ?></label>
52
- </th>
53
- <td>
54
- <?php $field = 'notice_update_plugin'; ?>
55
- <?php $Checked = ''; ?>
56
- <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
57
- <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Not notified' , 'wp-admin-ui-customize' ); ?></label>
58
- </td>
59
- </tr>
60
- <tr>
61
- <th>
62
- <label><?php _e( 'Theme update notice' , 'wp-admin-ui-customize' ); ?></label>
63
- </th>
64
- <td>
65
- <?php $field = 'notice_update_theme'; ?>
66
- <?php $Checked = ''; ?>
67
- <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
68
- <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Not notified' , 'wp-admin-ui-customize' ); ?></label>
69
- </td>
70
- </tr>
71
- </tbody>
72
- </table>
73
- </div>
74
- </div>
75
-
76
- <div class="postbox">
77
- <div class="handlediv" title="Click to toggle"><br></div>
78
- <h3 class="hndle"><span><?php echo _e( 'Screen Options and Help Tab' , 'wp-admin-ui-customize' ); ?></span></h3>
79
- <div class="inside">
80
- <table class="form-table">
81
- <tbody>
82
- <tr>
83
- <th>
84
- <label><?php _e( 'Screen Options' ); ?></label>
85
- </th>
86
- <td>
87
- <?php $field = 'screen_option_tab'; ?>
88
- <?php $Checked = ''; ?>
89
- <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
90
- <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
91
- </td>
92
- </tr>
93
- <tr>
94
- <th>
95
- <label><?php _e( 'Help' ); ?></label>
96
- </th>
97
- <td>
98
- <?php $field = 'help_tab'; ?>
99
- <?php $Checked = ''; ?>
100
- <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
101
- <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
102
- </td>
103
- </tr>
104
- </tbody>
105
- </table>
106
- </div>
107
- </div>
108
-
109
- <div class="postbox">
110
- <div class="handlediv" title="Click to toggle"><br></div>
111
- <h3 class="hndle"><span><?php echo _e( 'Footer' ); ?></span></h3>
112
- <div class="inside">
113
- <table class="form-table">
114
- <tbody>
115
- <tr>
116
- <th>
117
- <label><?php _e( 'Footer text' , 'wp-admin-ui-customize' ); ?></label>
118
- </th>
119
- <td>
120
- <?php $field = 'footer_text'; ?>
121
- <?php $Val = ''; ?>
122
- <?php if( !empty( $Data[$field] ) ) : $Val = esc_html( stripslashes( $Data[$field] ) ); endif; ?>
123
- <input type="text" name="data[<?php echo $field; ?>]" value="<?php echo $Val; ?>" class="large-text" />
124
- <p class="description"><?php _e( 'Default' ); ?>: <?php _e( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ); ?></p>
125
- <a href="#TB_inline?height=300&width=600&inlineId=list_variables&modal=false" title="<?php _e( 'Shortcodes' , 'wp-admin-ui-customize' ); ?>" class="thickbox"><?php _e( 'Available Shortcodes' , 'wp-admin-ui-customize' ); ?></a>
126
- </td>
127
- </tr>
128
- </tbody>
129
- </table>
130
- </div>
131
- </div>
132
-
133
- <div class="postbox">
134
- <div class="handlediv" title="Click to toggle"><br></div>
135
- <h3 class="hndle"><span><?php _e( 'General' ); ?></span></h3>
136
- <div class="inside">
137
- <table class="form-table">
138
- <tbody>
139
- <?php $field = 'css'; ?>
140
- <tr>
141
- <th>
142
- <label><?php _e( 'CSS file to load' , 'wp-admin-ui-customize' ); ?></label>
143
- </th>
144
- <td>
145
- <?php $Val = ''; ?>
146
- <?php if( !empty( $Data[$field] ) ) : $Val = strip_tags( $Data[$field] ); endif; ?>
147
- <input type="text" name="data[<?php echo $field; ?>]" value="<?php echo $Val; ?>" class="regular-text">
148
- <a href="#TB_inline?height=300&width=600&inlineId=list_variables&modal=false" title="<?php _e( 'Shortcodes' , 'wp-admin-ui-customize' ); ?>" class="thickbox"><?php _e( 'Available Shortcodes' , 'wp-admin-ui-customize' ); ?></a>
149
- </td>
150
- </tr>
151
- <?php $field = 'title_tag'; ?>
152
- <tr>
153
- <th>
154
- <label><?php _e( 'Title tag for Admin screen' , 'wp-admin-ui-customize' ); ?></label>
155
- </th>
156
- <td>
157
- <?php $Checked = ''; ?>
158
- <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
159
- <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Remove "Wordpress" from the title tag of the Admin screen' , 'wp-admin-ui-customize' ); ?></label>
160
- </td>
161
- </tr>
162
- <?php $field = 'resize_admin_bar'; ?>
163
- <tr>
164
- <th>
165
- <label><?php _e( 'Resizing Admin bar' , 'wp-admin-ui-customize' ); ?></label>
166
- </th>
167
- <td>
168
- <?php $Checked = ''; ?>
169
- <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
170
- <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Don\'t resize' , 'wp-admin-ui-customize' ); ?></label>
171
- </td>
172
- </tr>
173
- </tbody>
174
- </table>
175
- </div>
176
- </div>
177
- </div>
178
- </div>
179
-
180
- <br class="clear">
181
-
182
- </div>
183
-
184
- </div>
185
-
186
- <p class="submit">
187
- <input type="submit" class="button-primary" name="update" value="<?php _e( 'Save' ); ?>" />
188
- </p>
189
-
190
- <p class="submit reset">
191
- <span class="description"><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , sprintf( __( '%1$s %2$s' , 'wp-admin-ui-customize' ) , __( 'General' ) , __( 'Settings' ) ) ); ?></span>
192
- <input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
193
- </p>
194
-
195
- </form>
196
-
197
- </div>
198
-
199
- <?php require_once( dirname( __FILE__ ) . '/list_variables.php' ); ?>
200
-
201
- <style>
202
- </style>
203
- <script>
204
- jQuery(document).ready( function($) {
205
-
206
- });
207
- </script>
1
+ <?php
2
+
3
+ $Data = $this->get_data( 'admin_general' );
4
+
5
+ // include js css
6
+ $ReadedJs = array( 'jquery' , 'jquery-ui-sortable' , 'thickbox' );
7
+ wp_enqueue_script( $this->PageSlug , $this->Url . $this->PluginSlug . '.js', $ReadedJs , $this->Ver );
8
+ wp_enqueue_style('thickbox');
9
+ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', array() , $this->Ver );
10
+
11
+ ?>
12
+
13
+ <div class="wrap">
14
+
15
+ <?php echo $this->Msg; ?>
16
+ <h2><?php printf( __( '%1$s %2$s' , 'wp-admin-ui-customize' ) , __( 'General' ) , __( 'Settings' ) ); ?></h2>
17
+ <p>&nbsp;</p>
18
+
19
+ <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
20
+
21
+ <form id="wauc_setting_admin_general" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
22
+ <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
23
+ <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
24
+ <input type="hidden" name="record_field" value="admin_general" />
25
+
26
+ <div id="poststuff">
27
+
28
+ <div id="post-body" class="metabox-holder columns-1">
29
+
30
+ <div id="postbox-container-1" class="postbox-container">
31
+ <div id="admin_general">
32
+ <div class="postbox">
33
+ <div class="handlediv" title="Click to toggle"><br></div>
34
+ <h3 class="hndle"><span><?php echo _e( 'Notifications' , 'wp-admin-ui-customize' ); ?></span></h3>
35
+ <div class="inside">
36
+ <table class="form-table">
37
+ <tbody>
38
+ <tr>
39
+ <th>
40
+ <label><?php _e( 'WordPress core updates' , 'wp-admin-ui-customize' ); ?></label>
41
+ </th>
42
+ <td>
43
+ <?php $field = 'notice_update_core'; ?>
44
+ <?php $Checked = ''; ?>
45
+ <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
46
+ <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide notifications' , 'wp-admin-ui-customize' ); ?></label>
47
+ </td>
48
+ </tr>
49
+ <tr>
50
+ <th>
51
+ <label><?php _e( 'Plugin updates' , 'wp-admin-ui-customize' ); ?></label>
52
+ </th>
53
+ <td>
54
+ <?php $field = 'notice_update_plugin'; ?>
55
+ <?php $Checked = ''; ?>
56
+ <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
57
+ <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide notifications' , 'wp-admin-ui-customize' ); ?></label>
58
+ </td>
59
+ </tr>
60
+ <tr>
61
+ <th>
62
+ <label><?php _e( 'Theme updates' , 'wp-admin-ui-customize' ); ?></label>
63
+ </th>
64
+ <td>
65
+ <?php $field = 'notice_update_theme'; ?>
66
+ <?php $Checked = ''; ?>
67
+ <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
68
+ <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide notifications' , 'wp-admin-ui-customize' ); ?></label>
69
+ </td>
70
+ </tr>
71
+ </tbody>
72
+ </table>
73
+ </div>
74
+ </div>
75
+
76
+ <div class="postbox">
77
+ <div class="handlediv" title="Click to toggle"><br></div>
78
+ <h3 class="hndle"><span><?php echo _e( 'Screen Options and Help Tab' , 'wp-admin-ui-customize' ); ?></span></h3>
79
+ <div class="inside">
80
+ <table class="form-table">
81
+ <tbody>
82
+ <tr>
83
+ <th>
84
+ <label><?php _e( 'Screen Options' ); ?></label>
85
+ </th>
86
+ <td>
87
+ <?php $field = 'screen_option_tab'; ?>
88
+ <?php $Checked = ''; ?>
89
+ <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
90
+ <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
91
+ </td>
92
+ </tr>
93
+ <tr>
94
+ <th>
95
+ <label><?php _e( 'Help' ); ?></label>
96
+ </th>
97
+ <td>
98
+ <?php $field = 'help_tab'; ?>
99
+ <?php $Checked = ''; ?>
100
+ <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
101
+ <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
102
+ </td>
103
+ </tr>
104
+ </tbody>
105
+ </table>
106
+ </div>
107
+ </div>
108
+
109
+ <div class="postbox">
110
+ <div class="handlediv" title="Click to toggle"><br></div>
111
+ <h3 class="hndle"><span><?php echo _e( 'Footer' , 'wp-admin-ui-customize' ); ?></span></h3>
112
+ <div class="inside">
113
+ <table class="form-table">
114
+ <tbody>
115
+ <tr>
116
+ <th>
117
+ <label><?php _e( 'Footer text' , 'wp-admin-ui-customize' ); ?></label>
118
+ </th>
119
+ <td>
120
+ <?php $field = 'footer_text'; ?>
121
+ <?php $Val = ''; ?>
122
+ <?php if( !empty( $Data[$field] ) ) : $Val = esc_html( stripslashes( $Data[$field] ) ); endif; ?>
123
+ <input type="text" name="data[<?php echo $field; ?>]" value="<?php echo $Val; ?>" class="large-text" />
124
+ <p class="description"><?php _e( 'Default' ); ?>: <?php _e( 'Thank you for creating with <a href="%s">WordPress</a>.' ); ?></p>
125
+ <a href="#TB_inline?height=300&width=600&inlineId=list_variables&modal=false" title="<?php _e( 'Shortcodes' , 'wp-admin-ui-customize' ); ?>" class="thickbox"><?php _e( 'Available Shortcodes' , 'wp-admin-ui-customize' ); ?></a>
126
+ </td>
127
+ </tr>
128
+ </tbody>
129
+ </table>
130
+ </div>
131
+ </div>
132
+
133
+ <div class="postbox">
134
+ <div class="handlediv" title="Click to toggle"><br></div>
135
+ <h3 class="hndle"><span><?php _e( 'General' ); ?></span></h3>
136
+ <div class="inside">
137
+ <table class="form-table">
138
+ <tbody>
139
+ <?php $field = 'css'; ?>
140
+ <tr>
141
+ <th>
142
+ <label><?php _e( 'CSS file to load' , 'wp-admin-ui-customize' ); ?></label>
143
+ </th>
144
+ <td>
145
+ <?php $Val = ''; ?>
146
+ <?php if( !empty( $Data[$field] ) ) : $Val = strip_tags( $Data[$field] ); endif; ?>
147
+ <input type="text" name="data[<?php echo $field; ?>]" value="<?php echo $Val; ?>" class="regular-text">
148
+ <a href="#TB_inline?height=300&width=600&inlineId=list_variables&modal=false" title="<?php _e( 'Shortcodes' , 'wp-admin-ui-customize' ); ?>" class="thickbox"><?php _e( 'Available Shortcodes' , 'wp-admin-ui-customize' ); ?></a>
149
+ </td>
150
+ </tr>
151
+ <?php $field = 'title_tag'; ?>
152
+ <tr>
153
+ <th>
154
+ <label><?php _e( 'Admin screen' , 'wp-admin-ui-customize' ); ?></label>
155
+ </th>
156
+ <td>
157
+ <?php $Checked = ''; ?>
158
+ <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
159
+ <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Remove "Wordpress" from title tag' , 'wp-admin-ui-customize' ); ?></label>
160
+ </td>
161
+ </tr>
162
+ <?php $field = 'resize_admin_bar'; ?>
163
+ <tr>
164
+ <th>
165
+ <label><?php _e( 'Admin bar' , 'wp-admin-ui-customize' ); ?></label>
166
+ </th>
167
+ <td>
168
+ <?php $Checked = ''; ?>
169
+ <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
170
+ <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Disable resizing' , 'wp-admin-ui-customize' ); ?></label>
171
+ </td>
172
+ </tr>
173
+ </tbody>
174
+ </table>
175
+ </div>
176
+ </div>
177
+ </div>
178
+ </div>
179
+
180
+ <br class="clear">
181
+
182
+ </div>
183
+
184
+ </div>
185
+
186
+ <p class="submit">
187
+ <input type="submit" class="button-primary" name="update" value="<?php _e( 'Save' ); ?>" />
188
+ </p>
189
+
190
+ <p class="submit reset">
191
+ <span class="description"><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , sprintf( __( '%1$s %2$s' , 'wp-admin-ui-customize' ) , __( 'General' ) , __( 'Settings' ) ) ); ?></span>
192
+ <input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
193
+ </p>
194
+
195
+ </form>
196
+
197
+ </div>
198
+
199
+ <?php require_once( dirname( __FILE__ ) . '/list_variables.php' ); ?>
200
+
201
+ <style>
202
+ </style>
203
+ <script>
204
+ jQuery(document).ready( function($) {
205
+
206
+ });
207
+ </script>
inc/setting_appearance_menus.php CHANGED
@@ -1,95 +1,95 @@
1
- <?php
2
-
3
- $Data = $this->get_data( 'appearance_menus' );
4
-
5
- // include js css
6
- $ReadedJs = array( 'jquery' , 'jquery-ui-sortable' );
7
- wp_enqueue_script( $this->PageSlug , $this->Url . $this->PluginSlug . '.js', $ReadedJs , $this->Ver );
8
- wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', array() , $this->Ver );
9
- ?>
10
-
11
- <div class="wrap">
12
-
13
- <?php echo $this->Msg; ?>
14
- <h2><?php _e( 'Appearance Menus Screen Setting' , 'wp-admin-ui-customize' ); ?></h2>
15
- <p>&nbsp;</p>
16
-
17
- <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
18
-
19
- <form id="wauc_setting_appearance_menus" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
20
- <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
21
- <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
22
- <input type="hidden" name="record_field" value="appearance_menus" />
23
-
24
- <div id="poststuff">
25
-
26
- <div id="post-body" class="metabox-holder columns-1">
27
-
28
- <div id="postbox-container-1" class="postbox-container">
29
-
30
- <div id="appearance_menus">
31
- <div class="postbox">
32
- <h3 class="hndle"><span><?php _e( 'Menus' ); ?></span></h3>
33
- <div class="inside">
34
- <table class="form-table">
35
- <tbody>
36
- <?php $field = 'add_new_menu'; ?>
37
- <tr>
38
- <th>
39
- <label><?php _e( 'Create a new menu' , 'wp-admin-ui-customize' ); ?></label>
40
- </th>
41
- <td>
42
- <?php $Checked = ''; ?>
43
- <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
44
- <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
45
- <p class="description"><?php _e( 'This is useful when you want to use only the menus have been created.' , 'wp-admin-ui-customize' ); ?></p>
46
- <p><img src="<?php echo $this->Url; ?>images/appearance_menus_add_new_menu.png" /></p>
47
- <p><img src="<?php echo $this->Url; ?>images/appearance_menus_add_new_menu_of_location.png" /></p>
48
- </td>
49
- </tr>
50
- <?php $field = 'delete_menu'; ?>
51
- <tr>
52
- <th>
53
- <label><?php _e( 'Delete Menu' ); ?></label>
54
- </th>
55
- <td>
56
- <?php $Checked = ''; ?>
57
- <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
58
- <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
59
- <p class="description"><?php _e( 'This is useful when you want to use only the menus have been created.' , 'wp-admin-ui-customize' ); ?></p>
60
- <p><img src="<?php echo $this->Url; ?>images/appearance_menus_delete_menu.png" /></p>
61
- </td>
62
- </tr>
63
- </tbody>
64
- </table>
65
- </div>
66
- </div>
67
- </div>
68
- </div>
69
-
70
- <br class="clear">
71
-
72
- </div>
73
-
74
- </div>
75
-
76
- <p class="submit">
77
- <input type="submit" class="button-primary" name="update" value="<?php _e( 'Save' ); ?>" />
78
- </p>
79
-
80
- <p class="submit reset">
81
- <span class="description"><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , __( 'Appearance Menus Screen Setting' , 'wp-admin-ui-customize' ) ); ?></span>
82
- <input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
83
- </p>
84
-
85
- </form>
86
-
87
- </div>
88
-
89
- <style>
90
- </style>
91
- <script>
92
- jQuery(document).ready( function($) {
93
-
94
- });
95
- </script>
1
+ <?php
2
+
3
+ $Data = $this->get_data( 'appearance_menus' );
4
+
5
+ // include js css
6
+ $ReadedJs = array( 'jquery' , 'jquery-ui-sortable' );
7
+ wp_enqueue_script( $this->PageSlug , $this->Url . $this->PluginSlug . '.js', $ReadedJs , $this->Ver );
8
+ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', array() , $this->Ver );
9
+ ?>
10
+
11
+ <div class="wrap">
12
+
13
+ <?php echo $this->Msg; ?>
14
+ <h2><?php _e( 'Appearance Menus' , 'wp-admin-ui-customize' ); ?></h2>
15
+ <p>&nbsp;</p>
16
+
17
+ <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
18
+
19
+ <form id="wauc_setting_appearance_menus" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
20
+ <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
21
+ <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
22
+ <input type="hidden" name="record_field" value="appearance_menus" />
23
+
24
+ <div id="poststuff">
25
+
26
+ <div id="post-body" class="metabox-holder columns-1">
27
+
28
+ <div id="postbox-container-1" class="postbox-container">
29
+
30
+ <div id="appearance_menus">
31
+ <div class="postbox">
32
+ <h3 class="hndle"><span><?php _e( 'Menus' ); ?></span></h3>
33
+ <div class="inside">
34
+ <table class="form-table">
35
+ <tbody>
36
+ <?php $field = 'add_new_menu'; ?>
37
+ <tr>
38
+ <th>
39
+ <label><?php _e( 'Create a new menu' , 'wp-admin-ui-customize' ); ?></label>
40
+ </th>
41
+ <td>
42
+ <?php $Checked = ''; ?>
43
+ <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
44
+ <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
45
+ <p class="description"><?php _e( 'This is useful when you want to use only the menus that have already been created.' , 'wp-admin-ui-customize' ); ?></p>
46
+ <p><img src="<?php echo $this->Url; ?>images/appearance_menus_add_new_menu.png" /></p>
47
+ <p><img src="<?php echo $this->Url; ?>images/appearance_menus_add_new_menu_of_location.png" /></p>
48
+ </td>
49
+ </tr>
50
+ <?php $field = 'delete_menu'; ?>
51
+ <tr>
52
+ <th>
53
+ <label><?php _e( 'Delete Menu' ); ?></label>
54
+ </th>
55
+ <td>
56
+ <?php $Checked = ''; ?>
57
+ <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
58
+ <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
59
+ <p class="description"><?php _e( 'This is useful when you want to use only the menus that have already been created.' , 'wp-admin-ui-customize' ); ?></p>
60
+ <p><img src="<?php echo $this->Url; ?>images/appearance_menus_delete_menu.png" /></p>
61
+ </td>
62
+ </tr>
63
+ </tbody>
64
+ </table>
65
+ </div>
66
+ </div>
67
+ </div>
68
+ </div>
69
+
70
+ <br class="clear">
71
+
72
+ </div>
73
+
74
+ </div>
75
+
76
+ <p class="submit">
77
+ <input type="submit" class="button-primary" name="update" value="<?php _e( 'Save' ); ?>" />
78
+ </p>
79
+
80
+ <p class="submit reset">
81
+ <span class="description"><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , __( 'Appearance Menus' , 'wp-admin-ui-customize' ) ); ?></span>
82
+ <input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
83
+ </p>
84
+
85
+ </form>
86
+
87
+ </div>
88
+
89
+ <style>
90
+ </style>
91
+ <script>
92
+ jQuery(document).ready( function($) {
93
+
94
+ });
95
+ </script>
inc/setting_dashboard.php CHANGED
@@ -1,193 +1,193 @@
1
- <?php
2
-
3
- $Data = $this->get_data( 'dashboard' );
4
- $Metaboxes = $this->get_data( "regist_dashboard_metabox" );
5
-
6
- // include js css
7
- $ReadedJs = array( 'jquery' , 'jquery-ui-sortable' );
8
- wp_enqueue_script( $this->PageSlug , $this->Url . $this->PluginSlug . '.js', $ReadedJs , $this->Ver );
9
- wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', array() , $this->Ver );
10
-
11
- ?>
12
-
13
- <div class="wrap">
14
-
15
- <?php echo $this->Msg; ?>
16
- <h2><?php _e( 'Dashboard' ); ?><?php _e( 'Settings' ); ?></h2>
17
- <p>&nbsp;</p>
18
-
19
- <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
20
-
21
- <form id="wauc_setting_dashboard" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
22
- <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
23
- <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
24
- <input type="hidden" name="record_field" value="dashboard" />
25
-
26
- <div id="poststuff">
27
-
28
- <div id="post-body" class="metabox-holder columns-1">
29
-
30
- <div id="postbox-container-1" class="postbox-container">
31
- <div id="dashboard">
32
- <div class="postbox">
33
- <div class="handlediv" title="Click to toggle"><br></div>
34
- <h3 class="hndle"><span><?php _e( 'Meta boxes' , 'wp-admin-ui-customize' ); ?></span></h3>
35
- <div class="inside">
36
-
37
- <?php if( !empty( $Metaboxes["metaboxes"]["dashboard"] ) ) : ?>
38
-
39
- <table class="form-table">
40
- <thead>
41
- <tr>
42
- <th>&nbsp;</th>
43
- <td style="width: 15%;">
44
- <input type="checkbox" name="" class="check_all" />
45
- <strong><?php _e( 'Select All' ); ?></strong>
46
- </td>
47
- <td><strong><?php _e( 'Change metabox title to' , 'wp-admin-ui-customize' ); ?></strong></td>
48
- </tr>
49
- </thead>
50
- <tbody>
51
- <?php $field = 'show_welcome_panel'; ?>
52
- <tr>
53
- <th>
54
- <label><?php echo _x( 'Welcome', 'Welcome panel' ); ?></label>
55
- </th>
56
- <td>
57
- <?php $Checked = ''; ?>
58
- <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
59
- <label><input type="checkbox" name="data[<?php echo $field; ?>][remove]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
60
- </td>
61
- <td></td>
62
- </tr>
63
- <?php foreach( $Metaboxes["metaboxes"]["dashboard"] as $context => $meta_box ) : ?>
64
- <?php foreach( $meta_box as $priority => $box ) : ?>
65
- <?php foreach( $box as $metabox_id => $metabox_title ) : ?>
66
- <?php if( !empty( $metabox_id ) ) : ?>
67
- <tr>
68
- <th>
69
- <label><?php _e( $metabox_title ); ?></label>
70
- </th>
71
- <td>
72
- <?php $Checked = ''; ?>
73
- <?php if( !empty( $Data[$metabox_id]["remove"] ) ) : $Checked = 'checked="checked"'; endif; ?>
74
- <label><input type="checkbox" name="data[<?php echo $metabox_id; ?>][remove]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
75
- </td>
76
- <td>
77
- <?php $Val = ''; ?>
78
- <?php if( !empty( $Data[$metabox_id]["name"] ) ) : $Val = esc_html( stripslashes( $Data[$metabox_id]["name"] ) ); endif; ?>
79
- <input type="text" name="data[<?php echo $metabox_id; ?>][name]" class="regular-text" value="<?php echo $Val; ?>" placeholder="<?php _e( $metabox_title ); ?>" />
80
- </td>
81
- </tr>
82
- <?php endif; ?>
83
- <?php endforeach; ?>
84
- <?php endforeach; ?>
85
- <?php endforeach; ?>
86
- </tbody>
87
- </table>
88
-
89
- <?php endif; ?>
90
-
91
- <?php $load_link = self_admin_url( 'index.php' ); ?>
92
-
93
- <p>
94
- <a href="<?php echo $load_link; ?>" class="button button-primary column_load">
95
- <span class="dashicons dashicons-update"></span>
96
- <?php echo sprintf( __( 'Metaboxes loading for %s', 'wp-admin-ui-customize' ) , __( 'Dashboard' ) ); ?>
97
- </a>
98
- </p>
99
- <p class="loading">
100
- <span class="spinner"></span>
101
- <?php _e( 'Loading&hellip;' ); ?>
102
- </p>
103
-
104
- </div>
105
- </div>
106
-
107
- <div class="postbox">
108
- <div class="handlediv" title="Click to toggle"><br></div>
109
- <h3 class="hndle"><span><?php _e( 'Other' , 'wp-admin-ui-customize' ); ?></span></h3>
110
- <div class="inside">
111
- <table class="form-table">
112
- <tbody>
113
- <?php $field = 'metabox_move'; ?>
114
- <tr>
115
- <th>
116
- <label><?php _e( 'Meta box movement restriction' , 'wp-admin-ui-customize' ); ?></label>
117
- </th>
118
- <td>
119
- <?php $Checked = ''; ?>
120
- <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
121
- <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e( "Prevent selected roles from re-arranging metaboxes" , 'wp-admin-ui-customize' ); ?></label>
122
- </td>
123
- </tr>
124
- </tbody>
125
- </table>
126
- </div>
127
- </div>
128
- </div>
129
- </div>
130
-
131
- <br class="clear">
132
-
133
- </div>
134
-
135
- </div>
136
-
137
- <p class="submit">
138
- <input type="submit" class="button-primary" name="update" value="<?php _e( 'Save' ); ?>" />
139
- </p>
140
-
141
- <p class="submit reset">
142
- <span class="description"><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , __( 'Dashboard' ) . __( 'Settings' ) ); ?></span>
143
- <input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
144
- </p>
145
-
146
- </form>
147
-
148
- </div>
149
-
150
- <style>
151
- .form-table td {
152
- vertical-align: top;
153
- }
154
- .inside .loading {
155
- display: none;
156
- }
157
- .inside .loading .spinner {
158
- float: left;
159
- visibility: visible;
160
- }
161
- .button.column_load .dashicons {
162
- margin-top: 3px;
163
- }
164
- </style>
165
- <script type="text/javascript">
166
- jQuery(document).ready(function($) {
167
-
168
- $( document ).on("click", "#wauc_setting_dashboard input.check_all", function() {
169
- var Checked = $(this).prop("checked");
170
- $Table = $(this).parent().parent().parent().parent();
171
- $Table.children("tbody").children("tr").each(function( key, el ) {
172
- $(el).find("input[type=checkbox]").prop("checked" , Checked);
173
- });
174
- });
175
-
176
- $('.wauc_form .column_load').on('click', function( ev ) {
177
- var load_url = $(ev.target).prop('href');
178
-
179
- $.ajax({
180
- url: load_url,
181
- beforeSend: function( xhr ) {
182
- $(ev.target).parent().parent().find('.loading').show();
183
- $(ev.target).parent().parent().find('.spinner').show();
184
- }
185
- }).done(function( data ) {
186
- location.reload();
187
- });
188
-
189
- return false;
190
- }).disableSelection();
191
-
192
- });
193
  </script>
1
+ <?php
2
+
3
+ $Data = $this->get_data( 'dashboard' );
4
+ $Metaboxes = $this->get_data( "regist_dashboard_metabox" );
5
+
6
+ // include js css
7
+ $ReadedJs = array( 'jquery' , 'jquery-ui-sortable' );
8
+ wp_enqueue_script( $this->PageSlug , $this->Url . $this->PluginSlug . '.js', $ReadedJs , $this->Ver );
9
+ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', array() , $this->Ver );
10
+
11
+ ?>
12
+
13
+ <div class="wrap">
14
+
15
+ <?php echo $this->Msg; ?>
16
+ <h2><?php _e( 'Dashboard' ); ?><?php _e( 'Settings' ); ?></h2>
17
+ <p>&nbsp;</p>
18
+
19
+ <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
20
+
21
+ <form id="wauc_setting_dashboard" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
22
+ <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
23
+ <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
24
+ <input type="hidden" name="record_field" value="dashboard" />
25
+
26
+ <div id="poststuff">
27
+
28
+ <div id="post-body" class="metabox-holder columns-1">
29
+
30
+ <div id="postbox-container-1" class="postbox-container">
31
+ <div id="dashboard">
32
+ <div class="postbox">
33
+ <div class="handlediv" title="Click to toggle"><br></div>
34
+ <h3 class="hndle"><span><?php _e( 'Meta boxes' , 'wp-admin-ui-customize' ); ?></span></h3>
35
+ <div class="inside">
36
+
37
+ <?php if( !empty( $Metaboxes["metaboxes"]["dashboard"] ) ) : ?>
38
+
39
+ <table class="form-table">
40
+ <thead>
41
+ <tr>
42
+ <th>&nbsp;</th>
43
+ <td style="width: 15%;">
44
+ <input type="checkbox" name="" class="check_all" />
45
+ <strong><?php _e( 'Select All' ); ?></strong>
46
+ </td>
47
+ <td><strong><?php _e( 'Update meta box title' , 'wp-admin-ui-customize' ); ?></strong></td>
48
+ </tr>
49
+ </thead>
50
+ <tbody>
51
+ <?php $field = 'show_welcome_panel'; ?>
52
+ <tr>
53
+ <th>
54
+ <label><?php echo _x( 'Welcome', 'Welcome panel' ); ?></label>
55
+ </th>
56
+ <td>
57
+ <?php $Checked = ''; ?>
58
+ <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
59
+ <label><input type="checkbox" name="data[<?php echo $field; ?>][remove]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
60
+ </td>
61
+ <td></td>
62
+ </tr>
63
+ <?php foreach( $Metaboxes["metaboxes"]["dashboard"] as $context => $meta_box ) : ?>
64
+ <?php foreach( $meta_box as $priority => $box ) : ?>
65
+ <?php foreach( $box as $metabox_id => $metabox_title ) : ?>
66
+ <?php if( !empty( $metabox_id ) ) : ?>
67
+ <tr>
68
+ <th>
69
+ <label><?php _e( $metabox_title ); ?></label>
70
+ </th>
71
+ <td>
72
+ <?php $Checked = ''; ?>
73
+ <?php if( !empty( $Data[$metabox_id]["remove"] ) ) : $Checked = 'checked="checked"'; endif; ?>
74
+ <label><input type="checkbox" name="data[<?php echo $metabox_id; ?>][remove]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
75
+ </td>
76
+ <td>
77
+ <?php $Val = ''; ?>
78
+ <?php if( !empty( $Data[$metabox_id]["name"] ) ) : $Val = esc_html( stripslashes( $Data[$metabox_id]["name"] ) ); endif; ?>
79
+ <input type="text" name="data[<?php echo $metabox_id; ?>][name]" class="regular-text" value="<?php echo $Val; ?>" placeholder="<?php _e( $metabox_title ); ?>" />
80
+ </td>
81
+ </tr>
82
+ <?php endif; ?>
83
+ <?php endforeach; ?>
84
+ <?php endforeach; ?>
85
+ <?php endforeach; ?>
86
+ </tbody>
87
+ </table>
88
+
89
+ <?php endif; ?>
90
+
91
+ <?php $load_link = self_admin_url( 'index.php' ); ?>
92
+
93
+ <p>
94
+ <a href="<?php echo $load_link; ?>" class="button button-primary column_load">
95
+ <span class="dashicons dashicons-update"></span>
96
+ <?php echo sprintf( __( 'Refresh meta boxes for %s', 'wp-admin-ui-customize' ) , __( 'Dashboard' ) ); ?>
97
+ </a>
98
+ </p>
99
+ <p class="loading">
100
+ <span class="spinner"></span>
101
+ <?php _e( 'Loading&hellip;' ); ?>
102
+ </p>
103
+
104
+ </div>
105
+ </div>
106
+
107
+ <div class="postbox">
108
+ <div class="handlediv" title="Click to toggle"><br></div>
109
+ <h3 class="hndle"><span><?php _e( 'Other' , 'wp-admin-ui-customize' ); ?></span></h3>
110
+ <div class="inside">
111
+ <table class="form-table">
112
+ <tbody>
113
+ <?php $field = 'metabox_move'; ?>
114
+ <tr>
115
+ <th>
116
+ <label><?php _e( 'Meta box movement' , 'wp-admin-ui-customize' ); ?></label>
117
+ </th>
118
+ <td>
119
+ <?php $Checked = ''; ?>
120
+ <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
121
+ <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e( "Prevent selected roles from re-arrange meta boxes" , 'wp-admin-ui-customize' ); ?></label>
122
+ </td>
123
+ </tr>
124
+ </tbody>
125
+ </table>
126
+ </div>
127
+ </div>
128
+ </div>
129
+ </div>
130
+
131
+ <br class="clear">
132
+
133
+ </div>
134
+
135
+ </div>
136
+
137
+ <p class="submit">
138
+ <input type="submit" class="button-primary" name="update" value="<?php _e( 'Save' ); ?>" />
139
+ </p>
140
+
141
+ <p class="submit reset">
142
+ <span class="description"><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , __( 'Dashboard' ) . __( 'Settings' ) ); ?></span>
143
+ <input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
144
+ </p>
145
+
146
+ </form>
147
+
148
+ </div>
149
+
150
+ <style>
151
+ .form-table td {
152
+ vertical-align: top;
153
+ }
154
+ .inside .loading {
155
+ display: none;
156
+ }
157
+ .inside .loading .spinner {
158
+ float: left;
159
+ visibility: visible;
160
+ }
161
+ .button.column_load .dashicons {
162
+ margin-top: 3px;
163
+ }
164
+ </style>
165
+ <script type="text/javascript">
166
+ jQuery(document).ready(function($) {
167
+
168
+ $( document ).on("click", "#wauc_setting_dashboard input.check_all", function() {
169
+ var Checked = $(this).prop("checked");
170
+ $Table = $(this).parent().parent().parent().parent();
171
+ $Table.children("tbody").children("tr").each(function( key, el ) {
172
+ $(el).find("input[type=checkbox]").prop("checked" , Checked);
173
+ });
174
+ });
175
+
176
+ $('.wauc_form .column_load').on('click', function( ev ) {
177
+ var load_url = $(ev.target).prop('href');
178
+
179
+ $.ajax({
180
+ url: load_url,
181
+ beforeSend: function( xhr ) {
182
+ $(ev.target).parent().parent().find('.loading').show();
183
+ $(ev.target).parent().parent().find('.spinner').show();
184
+ }
185
+ }).done(function( data ) {
186
+ location.reload();
187
+ });
188
+
189
+ return false;
190
+ }).disableSelection();
191
+
192
+ });
193
  </script>
inc/setting_default.php CHANGED
@@ -13,10 +13,11 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
13
 
14
  <?php echo $this->Msg; ?>
15
  <h2><?php echo $this->Name; ?></h2>
16
- <p><?php _e( 'Customize the UI of the management screen for all users.' , 'wp-admin-ui-customize' ); ?></p>
17
- <p><?php _e ( 'Please select the user roles that all settings will apply to.' , 'wp-admin-ui-customize' ); ?></p>
 
18
  <p>
19
- <span class="description"><?php _e( 'Please use the Multiple Add-on if you want per role customization.' , 'wp-admin-ui-customize' ); ?></span>
20
  <strong><a href="<?php echo $this->Site; ?>multiple_about/?utm_source=use_plugin&utm_medium=side&utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank">WP Admin UI Customize Multiple Add-on</a></strong>
21
  </p>
22
 
@@ -27,38 +28,13 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
27
 
28
  <div id="about_plugin">
29
 
30
- <div class="stuffbox" id="donationbox">
31
- <div class="inside">
32
- <p style="color: #FFFFFF; font-size: 20px;"><?php _e( 'Donate' , 'wp-admin-ui-customize' ); ?></p>
33
- <p style="color: #FFFFFF;"><?php _e( 'Are you happy with this plugin?<br />Japanese law prohibits PayPal donations. <br />Please consider purchasing the Line Break First and End plugin in lieu of a donation.' , 'wp-admin-ui-customize' ); ?></p>
34
- <p>&nbsp;</p>
35
- <p style="text-align: center;">
36
- <a href="<?php echo $this->AuthorUrl; ?>line-break-first-and-end/?utm_source=use_plugin&utm_medium=donate&utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" class="button-primary" target="_blank">Line Break First and End</a>
37
- </p>
38
- <p>&nbsp;</p>
39
- <div class="donation_memo">
40
- <p><strong><?php _e( 'Features' , 'wp-admin-ui-customize' ); ?></strong></p>
41
- <p><?php _e( 'Line Break First and End plugin allows for line breaks when using the visual editor TinyMCE.' , 'wp-admin-ui-customize' ); ?></p>
42
- </div>
43
- <div class="donation_memo">
44
- <p><strong><?php _e( 'The primary use of donations' , 'wp-admin-ui-customize' ); ?></strong></p>
45
- <ul>
46
- <li>- <?php _e( 'Liquidation of time and value' , 'wp-admin-ui-customize' ); ?></li>
47
- <li>- <?php _e( 'Additional suggestions feature' , 'wp-admin-ui-customize' ); ?></li>
48
- <li>- <?php _e( 'Maintain motivation' , 'wp-admin-ui-customize' ); ?></li>
49
- <li>- <?php _e( 'Ensure time as the father of Sunday' , 'wp-admin-ui-customize' ); ?></li>
50
- </ul>
51
- </div>
52
- </div>
53
- </div>
54
-
55
  <div class="stuffbox" id="aboutbox">
56
  <h3><span class="hndle"><?php _e( 'About plugin' , 'wp-admin-ui-customize' ); ?></span></h3>
57
  <div class="inside">
58
- <p><?php _e( 'Version checked' , 'wp-admin-ui-customize' ); ?> : 3.8 - 4.5</p>
59
  <ul>
60
- <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' , 'wp-admin-ui-customize' ); ?></a></li>
61
- <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' , 'wp-admin-ui-customize' ); ?></a></li>
62
  <li><a href="http://wordpress.org/support/plugin/<?php echo $this->PluginSlug; ?>" target="_blank"><?php _e( 'Support Forums' ); ?></a></li>
63
  <li><a href="http://wordpress.org/support/view/plugin-reviews/<?php echo $this->PluginSlug; ?>" target="_blank"><?php _e( 'Reviews' , 'wp-admin-ui-customize' ); ?></a></li>
64
  <li><a href="https://twitter.com/gqevu6bsiz" target="_blank">twitter</a></li>
@@ -70,8 +46,8 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
70
  <div class="stuffbox" id="usefulbox">
71
  <h3><span class="hndle"><?php _e( 'Useful plugins' , 'wp-admin-ui-customize' ); ?></span></h3>
72
  <div class="inside">
73
- <p><strong><span style="color: orange;">new</span> <a href="<?php echo $this->Site; ?>multiple_about/?utm_source=use_plugin&utm_medium=side&utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank">WP Admin UI Customize Multiple Add-on</a></strong></p>
74
- <p class="description"><?php _e( 'Apply setting on a per-role basis.' , 'wp-admin-ui-customize' ); ?></p>
75
  <p><strong><a href="<?php echo $this->Site; ?>import_export_about/?utm_source=use_plugin&utm_medium=side&utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank">WP Admin UI Customize Import &amp; Export Add-on</a></strong></p>
76
  <p class="description"><?php _e( 'Easily import/export setting between installations.' , 'wp-admin-ui-customize' ); ?></p>
77
  <p><strong><a href="<?php echo $this->Site; ?>multisite_about/?utm_source=use_plugin&utm_medium=side&utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank">WP Admin UI Customize for Multisite</a></strong></p>
@@ -129,16 +105,6 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
129
 
130
  </form>
131
 
132
- <form id="donation_form" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
133
- <h3><?php _e( 'If you have already donated to.' , 'wp-admin-ui-customize' ); ?></h3>
134
- <p><?php _e( 'Please enter the \'Donation Delete Key\' that was provided on the Line Break First and End download page.' , 'wp-admin-ui-customize' ); ?></p>
135
- <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
136
- <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
137
- <label for="donate_key"><?php _e( 'Donation Delete Key:' , 'wp-admin-ui-customize' ); ?></label>
138
- <input type="text" name="donate_key" id="donate_key" value="" class="regular-text" />
139
- <input type="submit" class="button-primary" name="update" value="<?php _e( 'Submit' ); ?>" />
140
- </form>
141
-
142
  <p>&nbsp;</p>
143
 
144
  <div class="stuffbox" style="border-color: #FFC426; border-width: 3px;">
@@ -168,33 +134,3 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
168
 
169
  </div>
170
 
171
- <style>
172
- #donationbox {
173
- background: #87BCE4;
174
- border: 3px solid #227499;
175
- }
176
- #donationbox .inside {
177
- padding: 6px 10px 10px 10px;
178
- }
179
- #donationbox .inside .donation_memo {
180
- background: #FFF8D9;
181
- padding: 2px 10px;
182
- }
183
- </style>
184
- <script type="text/javascript">
185
- jQuery(document).ready(function($) {
186
-
187
- var $RDonated = '<?php echo get_option( $this->Record["donate"] ); ?>';
188
- var $TDonated = '<?php echo $this->DonateKey; ?>';
189
-
190
- if( $RDonated == $TDonated ) {
191
- $("#donationbox").hide();
192
- if( $TDonated != "" ) {
193
- $("#donation_form").html( '<p>&nbsp;</p><p>&nbsp;</p><span class="description"><?php _e( 'Thank you for your donation.' , 'wp-admin-ui-customize' ); ?></span>' );
194
- } else {
195
- $("#donation_form").html( '' );
196
- }
197
- }
198
-
199
- });
200
- </script>
13
 
14
  <?php echo $this->Msg; ?>
15
  <h2><?php echo $this->Name; ?></h2>
16
+ <p><?php _e( '
17
+ WP Admin UI Customize allows the management UI for different user roles to be customized.' , 'wp-admin-ui-customize' ); ?></p>
18
+ <p><?php _e ( 'Select the user roles to customize below.' , 'wp-admin-ui-customize' ); ?></p>
19
  <p>
20
+ <span class="description"><?php _e( 'The Multiple Add-on is needed to create unique customizations for different user roles.' , 'wp-admin-ui-customize' ); ?></span>
21
  <strong><a href="<?php echo $this->Site; ?>multiple_about/?utm_source=use_plugin&utm_medium=side&utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank">WP Admin UI Customize Multiple Add-on</a></strong>
22
  </p>
23
 
28
 
29
  <div id="about_plugin">
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  <div class="stuffbox" id="aboutbox">
32
  <h3><span class="hndle"><?php _e( 'About plugin' , 'wp-admin-ui-customize' ); ?></span></h3>
33
  <div class="inside">
34
+ <p><?php _e( 'Tested with WordPress versions' , 'wp-admin-ui-customize' ); ?> : 4.2 - 4.6</p>
35
  <ul>
36
+ <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 site' , 'wp-admin-ui-customize' ); ?></a></li>
37
+ <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 site' , 'wp-admin-ui-customize' ); ?></a></li>
38
  <li><a href="http://wordpress.org/support/plugin/<?php echo $this->PluginSlug; ?>" target="_blank"><?php _e( 'Support Forums' ); ?></a></li>
39
  <li><a href="http://wordpress.org/support/view/plugin-reviews/<?php echo $this->PluginSlug; ?>" target="_blank"><?php _e( 'Reviews' , 'wp-admin-ui-customize' ); ?></a></li>
40
  <li><a href="https://twitter.com/gqevu6bsiz" target="_blank">twitter</a></li>
46
  <div class="stuffbox" id="usefulbox">
47
  <h3><span class="hndle"><?php _e( 'Useful plugins' , 'wp-admin-ui-customize' ); ?></span></h3>
48
  <div class="inside">
49
+ <p><strong><a href="<?php echo $this->Site; ?>multiple_about/?utm_source=use_plugin&utm_medium=side&utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank">WP Admin UI Customize Multiple Add-on</a></strong></p>
50
+ <p class="description"><?php _e( 'Create unique customizations for different user roles' , 'wp-admin-ui-customize' ); ?></p>
51
  <p><strong><a href="<?php echo $this->Site; ?>import_export_about/?utm_source=use_plugin&utm_medium=side&utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank">WP Admin UI Customize Import &amp; Export Add-on</a></strong></p>
52
  <p class="description"><?php _e( 'Easily import/export setting between installations.' , 'wp-admin-ui-customize' ); ?></p>
53
  <p><strong><a href="<?php echo $this->Site; ?>multisite_about/?utm_source=use_plugin&utm_medium=side&utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank">WP Admin UI Customize for Multisite</a></strong></p>
105
 
106
  </form>
107
 
 
 
 
 
 
 
 
 
 
 
108
  <p>&nbsp;</p>
109
 
110
  <div class="stuffbox" style="border-color: #FFC426; border-width: 3px;">
134
 
135
  </div>
136
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/setting_loginscreen.php CHANGED
@@ -1,168 +1,167 @@
1
- <?php
2
-
3
- $Data = $this->get_data( 'loginscreen' );
4
-
5
- // include js css
6
- $ReadedJs = array( 'jquery' , 'jquery-ui-sortable' , 'thickbox' );
7
- wp_enqueue_script( $this->PageSlug , $this->Url . $this->PluginSlug . '.js', $ReadedJs , $this->Ver );
8
- wp_enqueue_style('thickbox');
9
- wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', array() , $this->Ver );
10
-
11
- ?>
12
-
13
- <div class="wrap">
14
-
15
- <?php echo $this->Msg; ?>
16
- <h2><?php _e( 'Login Screen Settings' , 'wp-admin-ui-customize' ); ?></h2>
17
- <p>&nbsp;</p>
18
-
19
- <form id="wauc_setting_loginscreen" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
20
- <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
21
- <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
22
- <input type="hidden" name="record_field" value="loginscreen" />
23
-
24
- <?php if( is_multisite() ) : ?>
25
- <p class="description"><?php _e( 'Is not possible to check the login form if you do not log out in the case of MultiSite.' , 'wp-admin-ui-customize' ); ?></p>
26
- <?php endif; ?>
27
- <p><a title="<?php _e( 'Login Screen' , 'wp-admin-ui-customize' ); ?>" href="<?php echo get_option( 'siteurl' ); ?>/wp-login.php?TB_iframe=1&width=520&height=520" class="thickbox button button-secondary"><?php _e( 'Show Current Login Screen' , 'wp-admin-ui-customize' ); ?></a></p>
28
-
29
- <div id="poststuff">
30
-
31
- <div id="post-body" class="metabox-holder columns-2">
32
-
33
- <div id="postbox-container-1" class="postbox-container">
34
-
35
- <div class="stuffbox" id="usefulbox">
36
- <h3><span class="hndle"><?php _e( 'Useful plugins' , 'wp-admin-ui-customize' ); ?></span></h3>
37
- <div class="inside">
38
- <p><strong><span style="color: orange;">new</span> <a href="http://codecanyon.net/item/login-layout-customize/5729642" target="_blank">Login Layout Customize</a></strong></p>
39
- <p class="description"><?php _e( 'Flexible plugin for login screen customization.' , 'wp-admin-ui-customize' ); ?></p>
40
- </div>
41
- </div>
42
-
43
- </div>
44
-
45
-
46
- <div id="postbox-container-2" class="postbox-container">
47
- <div id="login_screen">
48
-
49
- <div class="postbox">
50
- <div class="handlediv" title="Click to toggle"><br></div>
51
- <h3 class="hndle"><span><?php _e( 'Login Form' , 'wp-admin-ui-customize' ); ?></span></h3>
52
- <div class="inside">
53
- <table class="form-table">
54
- <tbody>
55
- <?php $field = 'login_headerurl'; ?>
56
- <tr>
57
- <th>
58
- <label><?php _e( 'The link after clicking on the logo' , 'wp-admin-ui-customize' ); ?></label>
59
- </th>
60
- <td>
61
- <?php $Val = ''; ?>
62
- <?php if( !empty( $Data[$field] ) ) : $Val = strip_tags( $Data[$field] ); endif; ?>
63
- <input type="text" name="data[<?php echo $field; ?>]" value="<?php echo $Val; ?>" class="regular-text" id="<?php echo $field; ?>">
64
- <a href="#TB_inline?height=300&width=600&inlineId=list_variables&modal=false" title="<?php _e( 'Shortcodes' , 'wp-admin-ui-customize' ); ?>" class="thickbox"><?php _e( 'Available Shortcodes' , 'wp-admin-ui-customize' ); ?></a>
65
-
66
- </td>
67
- </tr>
68
- <?php $field = 'login_headertitle'; ?>
69
- <tr>
70
- <th>
71
- <label><?php _e( 'Logo Title' , 'wp-admin-ui-customize' ); ?></label>
72
- </th>
73
- <td>
74
- <?php $Val = ''; ?>
75
- <?php if( !empty( $Data[$field] ) ) : $Val = strip_tags( $Data[$field] ); endif; ?>
76
- <input type="text" name="data[<?php echo $field; ?>]" value="<?php echo $Val; ?>" class="regular-text" id="<?php echo $field; ?>">
77
- <a href="#TB_inline?height=300&width=600&inlineId=list_variables&modal=false" title="<?php _e( 'Shortcodes' , 'wp-admin-ui-customize' ); ?>" class="thickbox"><?php _e( 'Available Shortcodes' , 'wp-admin-ui-customize' ); ?></a>
78
- </td>
79
- </tr>
80
- <?php $field = 'login_headerlogo'; ?>
81
- <tr>
82
- <th>
83
- <label><?php _e( 'Logo Image path' , 'wp-admin-ui-customize' ); ?></label>
84
- </th>
85
- <td>
86
- <?php $Val = ''; ?>
87
- <?php if( !empty( $Data[$field] ) ) : $Val = strip_tags( $Data[$field] ); endif; ?>
88
- <input type="text" name="data[<?php echo $field; ?>]" value="<?php echo $Val; ?>" class="regular-text" id="<?php echo $field; ?>">
89
- <a href="#TB_inline?height=300&width=600&inlineId=list_variables&modal=false" title="<?php _e( 'Shortcodes' , 'wp-admin-ui-customize' ); ?>" class="thickbox"><?php _e( 'Available Shortcodes' , 'wp-admin-ui-customize' ); ?></a>
90
- <?php if( !empty( $Val ) ) : ?>
91
- <?php $img = str_replace( '[blog_url]' , get_bloginfo( 'url' ) , $Val ); ?>
92
- <?php $img = str_replace( '[template_directory_uri]' , get_bloginfo( 'url' ) , $img ); ?>
93
- <p><img src="<?php echo $img; ?>" alt="Login Logo" /></p>
94
- <?php endif; ?>
95
- </td>
96
- </tr>
97
- </tbody>
98
- </table>
99
- </div>
100
- </div>
101
-
102
- <div class="postbox">
103
- <div class="handlediv" title="Click to toggle"><br></div>
104
- <h3 class="hndle"><span><?php _e( 'General' ); ?></span></h3>
105
- <div class="inside">
106
- <table class="form-table">
107
- <tbody>
108
- <?php $field = 'login_css'; ?>
109
- <tr>
110
- <th>
111
- <label><?php _e( 'CSS file to load' , 'wp-admin-ui-customize' ); ?></label>
112
- </th>
113
- <td>
114
- <?php $Val = ''; ?>
115
- <?php if( !empty( $Data[$field] ) ) : $Val = strip_tags( $Data[$field] ); endif; ?>
116
- <input type="text" name="data[<?php echo $field; ?>]" value="<?php echo $Val; ?>" class="regular-text" id="<?php echo $field; ?>">
117
- <a href="#TB_inline?height=300&width=600&inlineId=list_variables&modal=false" title="<?php _e( 'Shortcodes' , 'wp-admin-ui-customize' ); ?>" class="thickbox"><?php _e( 'Available Shortcodes' , 'wp-admin-ui-customize' ); ?></a>
118
- </td>
119
- </tr>
120
- <?php $field = 'login_footer'; ?>
121
- <tr>
122
- <th>
123
- <label><?php _e( 'Footer text' , 'wp-admin-ui-customize' ); ?></label>
124
- </th>
125
- <td>
126
- <?php $Val = ''; ?>
127
- <?php if( !empty( $Data[$field] ) ) : $Val = stripslashes( esc_html( $Data[$field] ) ); endif; ?>
128
- <input type="text" name="data[<?php echo $field; ?>]" value="<?php echo $Val; ?>" class="large-text" id="<?php echo $field; ?>">
129
- <a href="#TB_inline?height=300&width=600&inlineId=list_variables&modal=false" title="<?php _e( 'Shortcodes' , 'wp-admin-ui-customize' ); ?>" class="thickbox"><?php _e( 'Available Shortcodes' , 'wp-admin-ui-customize' ); ?></a>
130
- </td>
131
- </tr>
132
- </tbody>
133
- </table>
134
- </div>
135
- </div>
136
-
137
- </div>
138
-
139
- </div>
140
-
141
- <br class="clear">
142
-
143
- </div>
144
-
145
- </div>
146
-
147
- <p class="submit">
148
- <input type="submit" class="button-primary" name="update" value="<?php _e( 'Save' ); ?>" />
149
- </p>
150
-
151
- <p class="submit reset">
152
- <span class="description"><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , __( 'Login Screen Settings' , 'wp-admin-ui-customize' ) ); ?></span>
153
- <input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
154
- </p>
155
-
156
- </form>
157
-
158
- </div>
159
-
160
- <?php require_once( dirname( __FILE__ ) . '/list_variables.php' ); ?>
161
-
162
- <style>
163
- </style>
164
- <script>
165
- jQuery(document).ready( function($) {
166
-
167
- });
168
- </script>
1
+ <?php
2
+
3
+ $Data = $this->get_data( 'loginscreen' );
4
+
5
+ // include js css
6
+ $ReadedJs = array( 'jquery' , 'jquery-ui-sortable' , 'thickbox' );
7
+ wp_enqueue_script( $this->PageSlug , $this->Url . $this->PluginSlug . '.js', $ReadedJs , $this->Ver );
8
+ wp_enqueue_style('thickbox');
9
+ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', array() , $this->Ver );
10
+
11
+ ?>
12
+
13
+ <div class="wrap">
14
+
15
+ <?php echo $this->Msg; ?>
16
+ <h2><?php _e( 'Login Form' , 'wp-admin-ui-customize' ); ?></h2>
17
+ <p>&nbsp;</p>
18
+
19
+ <form id="wauc_setting_loginscreen" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
20
+ <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
21
+ <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
22
+ <input type="hidden" name="record_field" value="loginscreen" />
23
+
24
+ <?php if( is_multisite() ) : ?>
25
+ <p class="description"><?php _e( 'Is not possible to check the login form if you do not log out in the case of MultiSite.' , 'wp-admin-ui-customize' ); ?></p>
26
+ <?php endif; ?>
27
+ <p><a title="<?php _e( 'Login Screen' , 'wp-admin-ui-customize' ); ?>" href="<?php echo get_option( 'siteurl' ); ?>/wp-login.php?TB_iframe=1&width=520&height=520" class="thickbox button button-secondary"><?php _e( 'Show Current Login Screen' , 'wp-admin-ui-customize' ); ?></a></p>
28
+
29
+ <div id="poststuff">
30
+
31
+ <div id="post-body" class="metabox-holder columns-2">
32
+
33
+ <div id="postbox-container-1" class="postbox-container">
34
+
35
+ <div class="stuffbox" id="usefulbox">
36
+ <h3><span class="hndle"><?php _e( 'Useful plugins' , 'wp-admin-ui-customize' ); ?></span></h3>
37
+ <div class="inside">
38
+ <p><strong><span style="color: orange;">new</span> <a href="http://codecanyon.net/item/login-layout-customize/5729642" target="_blank">Login Layout Customize</a></strong></p>
39
+ <p class="description"><?php _e( 'Flexible plugin for login screen customization.' , 'wp-admin-ui-customize' ); ?></p>
40
+ </div>
41
+ </div>
42
+
43
+ </div>
44
+
45
+
46
+ <div id="postbox-container-2" class="postbox-container">
47
+ <div id="login_screen">
48
+
49
+ <div class="postbox">
50
+ <div class="handlediv" title="Click to toggle"><br></div>
51
+ <h3 class="hndle"><span><?php _e( 'Login Form' , 'wp-admin-ui-customize' ); ?></span></h3>
52
+ <div class="inside">
53
+ <table class="form-table">
54
+ <tbody>
55
+ <?php $field = 'login_headerurl'; ?>
56
+ <tr>
57
+ <th>
58
+ <label><?php _e( 'Logo URL' , 'wp-admin-ui-customize' ); ?></label>
59
+ </th>
60
+ <td>
61
+ <?php $Val = ''; ?>
62
+ <?php if( !empty( $Data[$field] ) ) : $Val = strip_tags( $Data[$field] ); endif; ?>
63
+ <input type="text" name="data[<?php echo $field; ?>]" value="<?php echo $Val; ?>" class="regular-text" id="<?php echo $field; ?>">
64
+ <a href="#TB_inline?height=300&width=600&inlineId=list_variables&modal=false" title="<?php _e( 'Shortcodes' , 'wp-admin-ui-customize' ); ?>" class="thickbox"><?php _e( 'Available Shortcodes' , 'wp-admin-ui-customize' ); ?></a>
65
+
66
+ </td>
67
+ </tr>
68
+ <?php $field = 'login_headertitle'; ?>
69
+ <tr>
70
+ <th>
71
+ <label><?php _e( 'Logo Title' , 'wp-admin-ui-customize' ); ?></label>
72
+ </th>
73
+ <td>
74
+ <?php $Val = ''; ?>
75
+ <?php if( !empty( $Data[$field] ) ) : $Val = strip_tags( $Data[$field] ); endif; ?>
76
+ <input type="text" name="data[<?php echo $field; ?>]" value="<?php echo $Val; ?>" class="regular-text" id="<?php echo $field; ?>">
77
+ <a href="#TB_inline?height=300&width=600&inlineId=list_variables&modal=false" title="<?php _e( 'Shortcodes' , 'wp-admin-ui-customize' ); ?>" class="thickbox"><?php _e( 'Available Shortcodes' , 'wp-admin-ui-customize' ); ?></a>
78
+ </td>
79
+ </tr>
80
+ <?php $field = 'login_headerlogo'; ?>
81
+ <tr>
82
+ <th>
83
+ <label><?php _e( 'Logo Image URL' , 'wp-admin-ui-customize' ); ?></label>
84
+ </th>
85
+ <td>
86
+ <?php $Val = ''; ?>
87
+ <?php if( !empty( $Data[$field] ) ) : $Val = strip_tags( $Data[$field] ); endif; ?>
88
+ <input type="text" name="data[<?php echo $field; ?>]" value="<?php echo $Val; ?>" class="regular-text" id="<?php echo $field; ?>">
89
+ <a href="#TB_inline?height=300&width=600&inlineId=list_variables&modal=false" title="<?php _e( 'Shortcodes' , 'wp-admin-ui-customize' ); ?>" class="thickbox"><?php _e( 'Available Shortcodes' , 'wp-admin-ui-customize' ); ?></a>
90
+ <?php if( !empty( $Val ) ) : ?>
91
+ <?php $img = $this->val_replace( $Val ); ?>
92
+ <p><img src="<?php echo $img; ?>" style="max-width: 100%;" alt="Login Logo" /></p>
93
+ <?php endif; ?>
94
+ </td>
95
+ </tr>
96
+ </tbody>
97
+ </table>
98
+ </div>
99
+ </div>
100
+
101
+ <div class="postbox">
102
+ <div class="handlediv" title="Click to toggle"><br></div>
103
+ <h3 class="hndle"><span><?php _e( 'General' ); ?></span></h3>
104
+ <div class="inside">
105
+ <table class="form-table">
106
+ <tbody>
107
+ <?php $field = 'login_css'; ?>
108
+ <tr>
109
+ <th>
110
+ <label><?php _e( 'CSS file to load' , 'wp-admin-ui-customize' ); ?></label>
111
+ </th>
112
+ <td>
113
+ <?php $Val = ''; ?>
114
+ <?php if( !empty( $Data[$field] ) ) : $Val = strip_tags( $Data[$field] ); endif; ?>
115
+ <input type="text" name="data[<?php echo $field; ?>]" value="<?php echo $Val; ?>" class="regular-text" id="<?php echo $field; ?>">
116
+ <a href="#TB_inline?height=300&width=600&inlineId=list_variables&modal=false" title="<?php _e( 'Shortcodes' , 'wp-admin-ui-customize' ); ?>" class="thickbox"><?php _e( 'Available Shortcodes' , 'wp-admin-ui-customize' ); ?></a>
117
+ </td>
118
+ </tr>
119
+ <?php $field = 'login_footer'; ?>
120
+ <tr>
121
+ <th>
122
+ <label><?php _e( 'Footer text' , 'wp-admin-ui-customize' ); ?></label>
123
+ </th>
124
+ <td>
125
+ <?php $Val = ''; ?>
126
+ <?php if( !empty( $Data[$field] ) ) : $Val = stripslashes( esc_html( $Data[$field] ) ); endif; ?>
127
+ <input type="text" name="data[<?php echo $field; ?>]" value="<?php echo $Val; ?>" class="large-text" id="<?php echo $field; ?>">
128
+ <a href="#TB_inline?height=300&width=600&inlineId=list_variables&modal=false" title="<?php _e( 'Shortcodes' , 'wp-admin-ui-customize' ); ?>" class="thickbox"><?php _e( 'Available Shortcodes' , 'wp-admin-ui-customize' ); ?></a>
129
+ </td>
130
+ </tr>
131
+ </tbody>
132
+ </table>
133
+ </div>
134
+ </div>
135
+
136
+ </div>
137
+
138
+ </div>
139
+
140
+ <br class="clear">
141
+
142
+ </div>
143
+
144
+ </div>
145
+
146
+ <p class="submit">
147
+ <input type="submit" class="button-primary" name="update" value="<?php _e( 'Save' ); ?>" />
148
+ </p>
149
+
150
+ <p class="submit reset">
151
+ <span class="description"><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , __( 'Login Form' , 'wp-admin-ui-customize' ) ); ?></span>
152
+ <input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
153
+ </p>
154
+
155
+ </form>
156
+
157
+ </div>
158
+
159
+ <?php require_once( dirname( __FILE__ ) . '/list_variables.php' ); ?>
160
+
161
+ <style>
162
+ </style>
163
+ <script>
164
+ jQuery(document).ready( function($) {
165
+
166
+ });
167
+ </script>
 
inc/setting_manage_metabox.php CHANGED
@@ -1,445 +1,445 @@
1
- <?php
2
-
3
- $Data = $this->get_data( 'manage_metabox' );
4
- $Metaboxes = $this->get_data( "regist_metabox" );
5
- $CustomPosts = $this->get_custom_posts();
6
- $activated_plugin = $this->ActivatedPlugin;
7
-
8
- // include js css
9
- $ReadedJs = array( 'jquery' , 'jquery-ui-sortable' );
10
- wp_enqueue_script( $this->PageSlug , $this->Url . $this->PluginSlug . '.js', $ReadedJs , $this->Ver );
11
- wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', array() , $this->Ver );
12
-
13
- ?>
14
-
15
- <div class="wrap">
16
-
17
- <?php echo $this->Msg; ?>
18
- <h2><?php _e( 'Manage meta box' , 'wp-admin-ui-customize' ); ?></h2>
19
- <p><?php _e( 'Please update or add a "post" and a "page" to load the available meta boxes.' , 'wp-admin-ui-customize' ); ?></p>
20
- <p><?php _e( 'Please enter if you want to change of Metabox label name.' , 'wp-admin-ui-customize' ); ?></p>
21
-
22
- <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
23
-
24
- <form id="wauc_setting_manage_metabox" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
25
- <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
26
- <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
27
- <input type="hidden" name="record_field" value="manage_metabox" />
28
-
29
- <div id="poststuff">
30
-
31
- <div id="post-body" class="metabox-holder columns-1">
32
-
33
- <div id="postbox-container-1" class="postbox-container">
34
- <div id="built_in">
35
-
36
- <div class="postbox">
37
- <div class="handlediv" title="Click to toggle"><br></div>
38
- <h3 class="hndle"><span><?php _e( 'Posts' ); ?></span></h3>
39
- <div class="inside">
40
-
41
- <?php if( !empty( $Metaboxes["metaboxes"]["post"] ) ) : ?>
42
-
43
- <table class="form-table">
44
- <thead>
45
- <tr>
46
- <th>&nbsp;</th>
47
- <td style="width: 15%;">
48
- <label>
49
- <input type="checkbox" name="" class="check_all" />
50
- <strong><?php _e( 'Select All' ); ?></strong>
51
- </label>
52
- </td>
53
- <td style="width: 15%;">
54
- <strong><?php _e( 'Default Open' , 'wp-admin-ui-customize' ); ?></strong>
55
- </td>
56
- <td><strong><?php _e( 'Change metabox title to' , 'wp-admin-ui-customize' ); ?></strong></td>
57
- </tr>
58
- </thead>
59
- <tbody>
60
- <?php foreach( $Metaboxes["metaboxes"]["post"] as $context => $meta_box ) : ?>
61
- <?php foreach( $meta_box as $priority => $box ) : ?>
62
- <?php foreach( $box as $metabox_id => $metabox_title ) : ?>
63
-
64
- <tr>
65
- <th>
66
- <?php _e( $metabox_title ); ?>
67
- </th>
68
- <td>
69
- <?php if( $metabox_id != 'submitdiv' ) : ?>
70
- <?php $Checked = ''; ?>
71
- <?php if( !empty( $Data["post"][$metabox_id]["remove"] ) ) : $Checked = 'checked="checked"'; endif; ?>
72
- <label><input type="checkbox" name="data[post][<?php echo $metabox_id; ?>][remove]" value="1" class="show_check" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
73
- <?php else : ?>
74
- <?php _e( 'Show' ); ?>
75
- <?php endif; ?>
76
- </td>
77
- <td>
78
- <?php if( $metabox_id != 'submitdiv' ) : ?>
79
- <?php $Selected = 0; ?>
80
- <?php if( !empty( $Data["post"][$metabox_id]["toggle"] ) ) : $Selected = true; endif; ?>
81
- <select name="data[post][<?php echo $metabox_id; ?>][toggle]" class="select_toggle">
82
- <option value="0" <?php Selected( $Selected , 0 ); ?>><?php _e( 'Expanded' , 'wp-admin-ui-customize' ); ?></option>
83
- <option value="1" <?php Selected( $Selected , 1 ); ?>><?php _e( 'Collapsed' , 'wp-admin-ui-customize' ); ?></option>
84
- </select>
85
- <?php else : ?>
86
- <?php _e( 'Show' ); ?>
87
- <?php endif; ?>
88
- </td>
89
- <td>
90
- <?php $Val = ''; ?>
91
- <?php if( !empty( $Data["post"][$metabox_id]["name"] ) ) : $Val = esc_html( stripslashes( $Data["post"][$metabox_id]["name"] ) ); endif; ?>
92
- <input type="text" name="data[post][<?php echo $metabox_id; ?>][name]" class="regular-text metabox_rename" value="<?php echo $Val; ?>" placeholder="<?php _e( $metabox_title ); ?>" />
93
- <?php if( $metabox_id == 'commentstatusdiv' ) : ?>
94
- <p class="description"><?php _e( 'Notice: If hide the Discussion on metabox, comments does not display of Add New Post on apply user role.' , 'wp-admin-ui-customize' ); ?></p>
95
- <p><img src="<?php echo $this->Url; ?>images/discussion_allow_comments.png" /></p>
96
- <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.' , 'wp-admin-ui-customize' ); ?></a></p>
97
- <?php endif; ?>
98
- </td>
99
- </tr>
100
- <?php endforeach; ?>
101
- <?php endforeach; ?>
102
- <?php endforeach; ?>
103
- </tbody>
104
- </table>
105
-
106
- <?php endif; ?>
107
-
108
- <?php $post = get_posts( array( 'post_type' => 'post' , 'order' => 'DESC' , 'orderby' => 'post_date' , 'numberposts' => 1 ) ); ?>
109
-
110
- <?php if( !empty( $post ) ) : ?>
111
-
112
- <?php $load_link = self_admin_url( 'post.php?post=' . $post[0]->ID . '&action=edit' ); ?>
113
-
114
- <?php else: ?>
115
-
116
- <?php $load_link = self_admin_url( 'post-new.php' ); ?>
117
-
118
- <?php endif; ?>
119
-
120
- <p>
121
- <a href="<?php echo $load_link; ?>" class="button button-primary column_load">
122
- <span class="dashicons dashicons-update"></span>
123
- <?php echo sprintf( __( 'Metaboxes loading for %s', 'wp-admin-ui-customize' ) , __( 'Posts' ) ); ?>
124
- </a>
125
- </p>
126
- <p class="loading">
127
- <span class="spinner"></span>
128
- <?php _e( 'Loading&hellip;' ); ?>
129
- </p>
130
- </div>
131
- </div>
132
-
133
- <div class="postbox">
134
- <div class="handlediv" title="Click to toggle"><br></div>
135
- <h3 class="hndle"><span><?php _e( 'Pages' ); ?></span></h3>
136
- <div class="inside">
137
-
138
- <?php if( !empty( $Metaboxes["metaboxes"]["page"] ) ) : ?>
139
-
140
- <table class="form-table">
141
- <thead>
142
- <tr>
143
- <th>&nbsp;</th>
144
- <td style="width: 15%;">
145
- <label>
146
- <input type="checkbox" name="" class="check_all" />
147
- <strong><?php _e( 'Select All' ); ?></strong>
148
- </label>
149
- </td>
150
- <td style="width: 15%;">
151
- <strong><?php _e( 'Default Open' , 'wp-admin-ui-customize' ); ?></strong>
152
- </td>
153
- <td><strong><?php _e( 'Change metabox title to' , 'wp-admin-ui-customize' ); ?></strong></td>
154
- </tr>
155
- </thead>
156
- <tbody>
157
- <?php foreach( $Metaboxes["metaboxes"]["page"] as $context => $meta_box ) : ?>
158
- <?php foreach( $meta_box as $priority => $box ) : ?>
159
- <?php foreach( $box as $metabox_id => $metabox_title ) : ?>
160
- <tr>
161
- <th>
162
- <?php _e( $metabox_title ); ?>
163
- </th>
164
- <td>
165
- <?php if( $metabox_id != 'submitdiv' ) : ?>
166
- <?php $Checked = ''; ?>
167
- <?php if( !empty( $Data["page"][$metabox_id]["remove"] ) ) : $Checked = 'checked="checked"'; endif; ?>
168
- <label><input type="checkbox" name="data[page][<?php echo $metabox_id; ?>][remove]" value="1" class="show_check" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
169
- <?php else : ?>
170
- <?php _e( 'Show' ); ?>
171
- <?php endif; ?>
172
- </td>
173
- <td>
174
- <?php if( $metabox_id != 'submitdiv' ) : ?>
175
- <?php $Selected = 0; ?>
176
- <?php if( !empty( $Data["page"][$metabox_id]["toggle"] ) ) : $Selected = true; endif; ?>
177
- <select name="data[page][<?php echo $metabox_id; ?>][toggle]" class="select_toggle">
178
- <option value="0" <?php Selected( $Selected , 0 ); ?>><?php _e( 'Expanded' , 'wp-admin-ui-customize' ); ?></option>
179
- <option value="1" <?php Selected( $Selected , 1 ); ?>><?php _e( 'Collapsed' , 'wp-admin-ui-customize' ); ?></option>
180
- </select>
181
- <?php else : ?>
182
- <?php _e( 'Show' ); ?>
183
- <?php endif; ?>
184
- </td>
185
- <td>
186
- <?php $Val = ''; ?>
187
- <?php if( !empty( $Data["page"][$metabox_id]["name"] ) ) : $Val = esc_html( stripslashes( $Data["page"][$metabox_id]["name"] ) ); endif; ?>
188
- <input type="text" name="data[page][<?php echo $metabox_id; ?>][name]" class="regular-text metabox_rename" value="<?php echo $Val; ?>" placeholder="<?php _e( $metabox_title ); ?>" />
189
- <?php if( $metabox_id == 'commentstatusdiv' ) : ?>
190
- <p class="description"><?php _e( 'Notice: If hide the Discussion on metabox, comments does not display of Add New Post on apply user role.' , 'wp-admin-ui-customize' ); ?></p>
191
- <p><img src="<?php echo $this->Url; ?>images/discussion_allow_comments.png" /></p>
192
- <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.' , 'wp-admin-ui-customize' ); ?></a></p>
193
- <?php endif; ?>
194
- </td>
195
- </tr>
196
- <?php endforeach; ?>
197
- <?php endforeach; ?>
198
- <?php endforeach; ?>
199
- </tbody>
200
- </table>
201
-
202
- <?php endif; ?>
203
-
204
- <?php $post = get_posts( array( 'post_type' => 'page' , 'order' => 'DESC' , 'orderby' => 'post_date' , 'numberposts' => 1 ) ); ?>
205
-
206
- <?php if( !empty( $post ) ) : ?>
207
-
208
- <?php $load_link = self_admin_url( 'post.php?post=' . $post[0]->ID . '&action=edit' ); ?>
209
-
210
- <?php else: ?>
211
-
212
- <?php $load_link = self_admin_url( 'post-new.php?post_type=page' ); ?>
213
-
214
- <?php endif; ?>
215
-
216
- <p>
217
- <a href="<?php echo $load_link; ?>" class="button button-primary column_load">
218
- <span class="dashicons dashicons-update"></span>
219
- <?php echo sprintf( __( 'Metaboxes loading for %s', 'wp-admin-ui-customize' ) , __( 'Pages' ) ); ?>
220
- </a>
221
- </p>
222
- <p class="loading">
223
- <span class="spinner"></span>
224
- <?php _e( 'Loading&hellip;' ); ?>
225
- </p>
226
- </div>
227
- </div>
228
-
229
- </div>
230
- </div>
231
-
232
- <?php if ( !empty( $CustomPosts ) ) : ?>
233
-
234
- <div id="postbox-container-2" class="postbox-container">
235
- <div id="custom_post">
236
-
237
- <?php foreach( $CustomPosts as $post_name => $cpt ) : ?>
238
- <div class="postbox">
239
- <div class="handlediv" title="Click to toggle"><br></div>
240
- <h3 class="hndle"><span><?php echo strip_tags( $cpt->labels->name ); ?></span></h3>
241
- <div class="inside">
242
-
243
- <?php if( !empty( $Metaboxes["metaboxes"][$post_name] ) ) : ?>
244
-
245
- <table class="form-table">
246
- <thead>
247
- <tr>
248
- <th>&nbsp;</th>
249
- <td style="width: 15%;">
250
- <label>
251
- <input type="checkbox" name="" class="check_all" />
252
- <strong><?php _e( 'Select All' ); ?></strong>
253
- </label>
254
- </td>
255
- <td style="width: 15%;">
256
- <strong><?php _e( 'Default Open' , 'wp-admin-ui-customize' ); ?></strong>
257
- </td>
258
- <td><strong><?php _e( 'Change metabox title to' , 'wp-admin-ui-customize' ); ?></strong></td>
259
- </tr>
260
- </thead>
261
- <tbody>
262
- <?php foreach( $Metaboxes["metaboxes"][$post_name] as $context => $meta_box ) : ?>
263
- <?php foreach( $meta_box as $priority => $box ) : ?>
264
- <?php foreach( $box as $metabox_id => $metabox_title ) : ?>
265
- <?php if( !empty( $metabox_id ) ) : ?>
266
- <tr>
267
- <th><?php echo $metabox_title; ?></th>
268
- <td>
269
- <?php if( $metabox_id != 'submitdiv' ) : ?>
270
- <?php $Checked = ''; ?>
271
- <?php if( !empty( $Data[$post_name][$metabox_id]["remove"] ) ) : $Checked = 'checked="checked"'; endif; ?>
272
- <label><input type="checkbox" name="data[<?php echo $post_name; ?>][<?php echo $metabox_id; ?>][remove]" value="1" class="show_check" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
273
- <?php else : ?>
274
- <?php _e( 'Show' ); ?>
275
- <?php endif; ?>
276
- </td>
277
- <td>
278
- <?php if( $metabox_id != 'submitdiv' ) : ?>
279
- <?php $Selected = 0; ?>
280
- <?php if( !empty( $Data[$post_name][$metabox_id]["toggle"] ) ) : $Selected = true; endif; ?>
281
- <select name="data[<?php echo $post_name; ?>][<?php echo $metabox_id; ?>][toggle]" class="select_toggle">
282
- <option value="0" <?php Selected( $Selected , 0 ); ?>><?php _e( 'Expanded' , 'wp-admin-ui-customize' ); ?></option>
283
- <option value="1" <?php Selected( $Selected , 1 ); ?>><?php _e( 'Collapsed' , 'wp-admin-ui-customize' ); ?></option>
284
- </select>
285
- <?php else : ?>
286
- <?php _e( 'Show' ); ?>
287
- <?php endif; ?>
288
- </td>
289
- <td>
290
- <?php $Val = ''; ?>
291
- <?php if( !empty( $Data[$post_name][$metabox_id]["name"] ) ) : $Val = esc_html( stripslashes( $Data[$post_name][$metabox_id]["name"] ) ); endif; ?>
292
- <input type="text" name="data[<?php echo $post_name; ?>][<?php echo $metabox_id; ?>][name]" class="regular-text metabox_rename" value="<?php echo $Val; ?>" placeholder="<?php _e( $metabox_title ); ?>" />
293
- </td>
294
- </tr>
295
- <?php endif; ?>
296
- <?php endforeach; ?>
297
- <?php endforeach; ?>
298
- <?php endforeach; ?>
299
- </tbody>
300
- </table>
301
-
302
- <?php endif; ?>
303
-
304
- <?php $args = array( 'post_type' => $post_name , 'order' => 'DESC' , 'orderby' => 'post_date' , 'numberposts' => 1 ); ?>
305
-
306
- <?php if( !empty( $activated_plugin['woocommerce'] ) && $post_name == 'shop_order' ) : ?>
307
-
308
- <?php $args['post_status'] = array( 'wc-processing', 'wc-completed' ); ?>
309
-
310
- <?php endif; ?>
311
-
312
- <?php $post = get_posts( $args ); ?>
313
-
314
- <?php if( !empty( $post ) ) : ?>
315
-
316
- <?php $load_link = self_admin_url( 'post.php?post=' . $post[0]->ID . '&action=edit' ); ?>
317
-
318
- <?php else: ?>
319
-
320
- <?php $load_link = self_admin_url( 'post-new.php?post_type=' . $post_name ); ?>
321
-
322
- <?php endif; ?>
323
-
324
- <p>
325
- <a href="<?php echo $load_link; ?>" class="button button-primary column_load">
326
- <span class="dashicons dashicons-update"></span>
327
- <?php echo sprintf( __( 'Metaboxes loading for %s', 'wp-admin-ui-customize' ) , $cpt->label ); ?>
328
- </a>
329
- </p>
330
- <p class="loading">
331
- <span class="spinner"></span>
332
- <?php _e( 'Loading&hellip;' ); ?>
333
- </p>
334
- </div>
335
- </div>
336
- <?php endforeach; ?>
337
-
338
- </div>
339
- </div>
340
-
341
- <?php endif; ?>
342
-
343
- <br class="clear">
344
-
345
- </div>
346
-
347
- </div>
348
-
349
- <p class="submit">
350
- <input type="submit" class="button-primary" name="update" value="<?php _e( 'Save' ); ?>" />
351
- </p>
352
-
353
- <p class="submit reset">
354
- <span class="description"><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , __( 'Manage meta box' , 'wp-admin-ui-customize' ) . __( 'Settings' ) ); ?></span>
355
- <input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
356
- </p>
357
-
358
- </form>
359
-
360
- </div>
361
-
362
- <style>
363
- .form-table td {
364
- vertical-align: top;
365
- }
366
- .inside .loading {
367
- display: none;
368
- }
369
- .inside .loading .spinner {
370
- float: left;
371
- visibility: visible;
372
- }
373
- .button.column_load .dashicons {
374
- margin-top: 3px;
375
- }
376
- </style>
377
- <script type="text/javascript">
378
- jQuery(document).ready(function($) {
379
-
380
- var $Form = $("#wauc_setting_manage_metabox");
381
- $(".check_all", $Form).click(function() {
382
- var Checked = $(this).prop("checked");
383
- $Table = $(this).parent().parent().parent().parent().parent();
384
- $Table.children("tbody").children("tr").each(function( index, el ) {
385
- var $Tr = $(el);
386
- $Tr.find("input[type=checkbox]").prop("checked" , Checked);
387
- if( Checked ) {
388
- $Tr.find('.select_toggle').prop('disabled', true);
389
- $Tr.find('.metabox_rename').prop('disabled', true).addClass('disabled');
390
- } else {
391
- $Tr.find('.select_toggle').prop('disabled', false);
392
- $Tr.find('.metabox_rename').prop('disabled', false).removeClass('disabled');
393
- }
394
- });
395
- });
396
-
397
- $('.postbox .inside .form-table').each(function( key, el ) {
398
- $(el).find('tbody tr').each(function( tr_key , tr_el ) {
399
- if( $(tr_el).find('.show_check').size() > 0 ) {
400
- if( $(tr_el).find('.show_check').prop('checked') ) {
401
- $(tr_el).find('.select_toggle').prop('disabled', true);
402
- $(tr_el).find('.metabox_rename').prop('disabled', true).addClass('disabled');
403
- }
404
- }
405
- });
406
- });
407
-
408
- $('.postbox .inside .form-table tbody tr td .show_check').on('click', function( ev ) {
409
- var Tr = $(ev.target).parent().parent().parent();
410
- if( $(ev.target).prop('checked') ) {
411
- Tr.find('.select_toggle').prop('disabled', true);
412
- Tr.find('.metabox_rename').prop('disabled', true).addClass('disabled');
413
- } else {
414
- Tr.find('.select_toggle').prop('disabled', false);
415
- Tr.find('.metabox_rename').prop('disabled', false).removeClass('disabled');
416
- }
417
- });
418
-
419
- $('.wauc_form .column_load').on('click', function( ev ) {
420
- var load_url = $(ev.target).prop('href');
421
-
422
- load_url += '&<?php echo $this->ltd; ?>_metabox_load=1';
423
-
424
- $.ajax({
425
- url: load_url,
426
- beforeSend: function( xhr ) {
427
- $(ev.target).parent().parent().find('.loading').show();
428
- $(ev.target).parent().parent().find('.spinner').show();
429
- }
430
- }).done(function( post_html_el ) {
431
-
432
- if( post_html_el.indexOf( "adminpage = 'post-php'" ) != -1 || post_html_el.indexOf( "adminpage = 'post-new-php'" ) != -1 ) {
433
-
434
- location.reload();
435
-
436
- }
437
-
438
- });
439
-
440
- return false;
441
-
442
- }).disableSelection();
443
-
444
- });
445
  </script>
1
+ <?php
2
+
3
+ $Data = $this->get_data( 'manage_metabox' );
4
+ $Metaboxes = $this->get_data( "regist_metabox" );
5
+ $CustomPosts = $this->get_custom_posts();
6
+ $activated_plugin = $this->ActivatedPlugin;
7
+
8
+ // include js css
9
+ $ReadedJs = array( 'jquery' , 'jquery-ui-sortable' );
10
+ wp_enqueue_script( $this->PageSlug , $this->Url . $this->PluginSlug . '.js', $ReadedJs , $this->Ver );
11
+ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', array() , $this->Ver );
12
+
13
+ ?>
14
+
15
+ <div class="wrap">
16
+
17
+ <?php echo $this->Msg; ?>
18
+ <h2><?php _e( 'Management of meta boxes' , 'wp-admin-ui-customize' ); ?></h2>
19
+ <p><?php _e( 'Ensure at least one post and page is present and then refresh to display the available meta boxes.' , 'wp-admin-ui-customize' ); ?></p>
20
+ <p><?php _e( 'It is also possible to change the meta box display name.' , 'wp-admin-ui-customize' ); ?></p>
21
+
22
+ <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
23
+
24
+ <form id="wauc_setting_manage_metabox" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
25
+ <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
26
+ <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
27
+ <input type="hidden" name="record_field" value="manage_metabox" />
28
+
29
+ <div id="poststuff">
30
+
31
+ <div id="post-body" class="metabox-holder columns-1">
32
+
33
+ <div id="postbox-container-1" class="postbox-container">
34
+ <div id="built_in">
35
+
36
+ <div class="postbox">
37
+ <div class="handlediv" title="Click to toggle"><br></div>
38
+ <h3 class="hndle"><span><?php _e( 'Posts' ); ?></span></h3>
39
+ <div class="inside">
40
+
41
+ <?php if( !empty( $Metaboxes["metaboxes"]["post"] ) ) : ?>
42
+
43
+ <table class="form-table">
44
+ <thead>
45
+ <tr>
46
+ <th>&nbsp;</th>
47
+ <td style="width: 15%;">
48
+ <label>
49
+ <input type="checkbox" name="" class="check_all" />
50
+ <strong><?php _e( 'Select All' ); ?></strong>
51
+ </label>
52
+ </td>
53
+ <td style="width: 15%;">
54
+ <strong><?php _e( 'Default Open' , 'wp-admin-ui-customize' ); ?></strong>
55
+ </td>
56
+ <td><strong><?php _e( 'Update meta box title' , 'wp-admin-ui-customize' ); ?></strong></td>
57
+ </tr>
58
+ </thead>
59
+ <tbody>
60
+ <?php foreach( $Metaboxes["metaboxes"]["post"] as $context => $meta_box ) : ?>
61
+ <?php foreach( $meta_box as $priority => $box ) : ?>
62
+ <?php foreach( $box as $metabox_id => $metabox_title ) : ?>
63
+
64
+ <tr>
65
+ <th>
66
+ <?php _e( $metabox_title ); ?>
67
+ </th>
68
+ <td>
69
+ <?php if( $metabox_id != 'submitdiv' ) : ?>
70
+ <?php $Checked = ''; ?>
71
+ <?php if( !empty( $Data["post"][$metabox_id]["remove"] ) ) : $Checked = 'checked="checked"'; endif; ?>
72
+ <label><input type="checkbox" name="data[post][<?php echo $metabox_id; ?>][remove]" value="1" class="show_check" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
73
+ <?php else : ?>
74
+ <?php _e( 'Show' ); ?>
75
+ <?php endif; ?>
76
+ </td>
77
+ <td>
78
+ <?php if( $metabox_id != 'submitdiv' ) : ?>
79
+ <?php $Selected = 0; ?>
80
+ <?php if( !empty( $Data["post"][$metabox_id]["toggle"] ) ) : $Selected = true; endif; ?>
81
+ <select name="data[post][<?php echo $metabox_id; ?>][toggle]" class="select_toggle">
82
+ <option value="0" <?php Selected( $Selected , 0 ); ?>><?php _e( 'Expanded' , 'wp-admin-ui-customize' ); ?></option>
83
+ <option value="1" <?php Selected( $Selected , 1 ); ?>><?php _e( 'Collapsed' , 'wp-admin-ui-customize' ); ?></option>
84
+ </select>
85
+ <?php else : ?>
86
+ <?php _e( 'Show' ); ?>
87
+ <?php endif; ?>
88
+ </td>
89
+ <td>
90
+ <?php $Val = ''; ?>
91
+ <?php if( !empty( $Data["post"][$metabox_id]["name"] ) ) : $Val = esc_html( stripslashes( $Data["post"][$metabox_id]["name"] ) ); endif; ?>
92
+ <input type="text" name="data[post][<?php echo $metabox_id; ?>][name]" class="regular-text metabox_rename" value="<?php echo $Val; ?>" placeholder="<?php _e( $metabox_title ); ?>" />
93
+ <?php if( $metabox_id == 'commentstatusdiv' ) : ?>
94
+ <p class="description"><?php _e( 'If the discussion meta box is hidden comments will not be displayed on new posts for the selected role.' , 'wp-admin-ui-customize' ); ?></p>
95
+ <p><img src="<?php echo $this->Url; ?>images/discussion_allow_comments.png" /></p>
96
+ <p><a href="<?php echo admin_url( 'admin.php?page=' . $this->PageSlug . '_post_add_edit_screen' ); ?>"><?php _e( 'Change this setting to allow comments on new posts' , 'wp-admin-ui-customize' ); ?></a></p>
97
+ <?php endif; ?>
98
+ </td>
99
+ </tr>
100
+ <?php endforeach; ?>
101
+ <?php endforeach; ?>
102
+ <?php endforeach; ?>
103
+ </tbody>
104
+ </table>
105
+
106
+ <?php endif; ?>
107
+
108
+ <?php $post = get_posts( array( 'post_type' => 'post' , 'order' => 'DESC' , 'orderby' => 'post_date' , 'numberposts' => 1 ) ); ?>
109
+
110
+ <?php if( !empty( $post ) ) : ?>
111
+
112
+ <?php $load_link = self_admin_url( 'post.php?post=' . $post[0]->ID . '&action=edit' ); ?>
113
+
114
+ <?php else: ?>
115
+
116
+ <?php $load_link = self_admin_url( 'post-new.php' ); ?>
117
+
118
+ <?php endif; ?>
119
+
120
+ <p>
121
+ <a href="<?php echo $load_link; ?>" class="button button-primary column_load">
122
+ <span class="dashicons dashicons-update"></span>
123
+ <?php echo sprintf( __( 'Refresh meta boxes for %s', 'wp-admin-ui-customize' ) , __( 'Posts' ) ); ?>
124
+ </a>
125
+ </p>
126
+ <p class="loading">
127
+ <span class="spinner"></span>
128
+ <?php _e( 'Loading&hellip;' ); ?>
129
+ </p>
130
+ </div>
131
+ </div>
132
+
133
+ <div class="postbox">
134
+ <div class="handlediv" title="Click to toggle"><br></div>
135
+ <h3 class="hndle"><span><?php _e( 'Pages' ); ?></span></h3>
136
+ <div class="inside">
137
+
138
+ <?php if( !empty( $Metaboxes["metaboxes"]["page"] ) ) : ?>
139
+
140
+ <table class="form-table">
141
+ <thead>
142
+ <tr>
143
+ <th>&nbsp;</th>
144
+ <td style="width: 15%;">
145
+ <label>
146
+ <input type="checkbox" name="" class="check_all" />
147
+ <strong><?php _e( 'Select All' ); ?></strong>
148
+ </label>
149
+ </td>
150
+ <td style="width: 15%;">
151
+ <strong><?php _e( 'Default Open' , 'wp-admin-ui-customize' ); ?></strong>
152
+ </td>
153
+ <td><strong><?php _e( 'Update meta box title' , 'wp-admin-ui-customize' ); ?></strong></td>
154
+ </tr>
155
+ </thead>
156
+ <tbody>
157
+ <?php foreach( $Metaboxes["metaboxes"]["page"] as $context => $meta_box ) : ?>
158
+ <?php foreach( $meta_box as $priority => $box ) : ?>
159
+ <?php foreach( $box as $metabox_id => $metabox_title ) : ?>
160
+ <tr>
161
+ <th>
162
+ <?php _e( $metabox_title ); ?>
163
+ </th>
164
+ <td>
165
+ <?php if( $metabox_id != 'submitdiv' ) : ?>
166
+ <?php $Checked = ''; ?>
167
+ <?php if( !empty( $Data["page"][$metabox_id]["remove"] ) ) : $Checked = 'checked="checked"'; endif; ?>
168
+ <label><input type="checkbox" name="data[page][<?php echo $metabox_id; ?>][remove]" value="1" class="show_check" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
169
+ <?php else : ?>
170
+ <?php _e( 'Show' ); ?>
171
+ <?php endif; ?>
172
+ </td>
173
+ <td>
174
+ <?php if( $metabox_id != 'submitdiv' ) : ?>
175
+ <?php $Selected = 0; ?>
176
+ <?php if( !empty( $Data["page"][$metabox_id]["toggle"] ) ) : $Selected = true; endif; ?>
177
+ <select name="data[page][<?php echo $metabox_id; ?>][toggle]" class="select_toggle">
178
+ <option value="0" <?php Selected( $Selected , 0 ); ?>><?php _e( 'Expanded' , 'wp-admin-ui-customize' ); ?></option>
179
+ <option value="1" <?php Selected( $Selected , 1 ); ?>><?php _e( 'Collapsed' , 'wp-admin-ui-customize' ); ?></option>
180
+ </select>
181
+ <?php else : ?>
182
+ <?php _e( 'Show' ); ?>
183
+ <?php endif; ?>
184
+ </td>
185
+ <td>
186
+ <?php $Val = ''; ?>
187
+ <?php if( !empty( $Data["page"][$metabox_id]["name"] ) ) : $Val = esc_html( stripslashes( $Data["page"][$metabox_id]["name"] ) ); endif; ?>
188
+ <input type="text" name="data[page][<?php echo $metabox_id; ?>][name]" class="regular-text metabox_rename" value="<?php echo $Val; ?>" placeholder="<?php _e( $metabox_title ); ?>" />
189
+ <?php if( $metabox_id == 'commentstatusdiv' ) : ?>
190
+ <p class="description"><?php _e( 'If the discussion meta box is hidden comments will not be displayed on new posts for the selected role.' , 'wp-admin-ui-customize' ); ?></p>
191
+ <p><img src="<?php echo $this->Url; ?>images/discussion_allow_comments.png" /></p>
192
+ <p><a href="<?php echo admin_url( 'admin.php?page=' . $this->PageSlug . '_post_add_edit_screen' ); ?>"><?php _e( 'Change this setting to allow comments on new posts' , 'wp-admin-ui-customize' ); ?></a></p>
193
+ <?php endif; ?>
194
+ </td>
195
+ </tr>
196
+ <?php endforeach; ?>
197
+ <?php endforeach; ?>
198
+ <?php endforeach; ?>
199
+ </tbody>
200
+ </table>
201
+
202
+ <?php endif; ?>
203
+
204
+ <?php $post = get_posts( array( 'post_type' => 'page' , 'order' => 'DESC' , 'orderby' => 'post_date' , 'numberposts' => 1 ) ); ?>
205
+
206
+ <?php if( !empty( $post ) ) : ?>
207
+
208
+ <?php $load_link = self_admin_url( 'post.php?post=' . $post[0]->ID . '&action=edit' ); ?>
209
+
210
+ <?php else: ?>
211
+
212
+ <?php $load_link = self_admin_url( 'post-new.php?post_type=page' ); ?>
213
+
214
+ <?php endif; ?>
215
+
216
+ <p>
217
+ <a href="<?php echo $load_link; ?>" class="button button-primary column_load">
218
+ <span class="dashicons dashicons-update"></span>
219
+ <?php echo sprintf( __( 'Refresh meta boxes for %s', 'wp-admin-ui-customize' ) , __( 'Pages' ) ); ?>
220
+ </a>
221
+ </p>
222
+ <p class="loading">
223
+ <span class="spinner"></span>
224
+ <?php _e( 'Loading&hellip;' ); ?>
225
+ </p>
226
+ </div>
227
+ </div>
228
+
229
+ </div>
230
+ </div>
231
+
232
+ <?php if ( !empty( $CustomPosts ) ) : ?>
233
+
234
+ <div id="postbox-container-2" class="postbox-container">
235
+ <div id="custom_post">
236
+
237
+ <?php foreach( $CustomPosts as $post_name => $cpt ) : ?>
238
+ <div class="postbox">
239
+ <div class="handlediv" title="Click to toggle"><br></div>
240
+ <h3 class="hndle"><span><?php echo strip_tags( $cpt->labels->name ); ?></span></h3>
241
+ <div class="inside">
242
+
243
+ <?php if( !empty( $Metaboxes["metaboxes"][$post_name] ) ) : ?>
244
+
245
+ <table class="form-table">
246
+ <thead>
247
+ <tr>
248
+ <th>&nbsp;</th>
249
+ <td style="width: 15%;">
250
+ <label>
251
+ <input type="checkbox" name="" class="check_all" />
252
+ <strong><?php _e( 'Select All' ); ?></strong>
253
+ </label>
254
+ </td>
255
+ <td style="width: 15%;">
256
+ <strong><?php _e( 'Default Open' , 'wp-admin-ui-customize' ); ?></strong>
257
+ </td>
258
+ <td><strong><?php _e( 'Update meta box title' , 'wp-admin-ui-customize' ); ?></strong></td>
259
+ </tr>
260
+ </thead>
261
+ <tbody>
262
+ <?php foreach( $Metaboxes["metaboxes"][$post_name] as $context => $meta_box ) : ?>
263
+ <?php foreach( $meta_box as $priority => $box ) : ?>
264
+ <?php foreach( $box as $metabox_id => $metabox_title ) : ?>
265
+ <?php if( !empty( $metabox_id ) ) : ?>
266
+ <tr>
267
+ <th><?php echo $metabox_title; ?></th>
268
+ <td>
269
+ <?php if( $metabox_id != 'submitdiv' ) : ?>
270
+ <?php $Checked = ''; ?>
271
+ <?php if( !empty( $Data[$post_name][$metabox_id]["remove"] ) ) : $Checked = 'checked="checked"'; endif; ?>
272
+ <label><input type="checkbox" name="data[<?php echo $post_name; ?>][<?php echo $metabox_id; ?>][remove]" value="1" class="show_check" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
273
+ <?php else : ?>
274
+ <?php _e( 'Show' ); ?>
275
+ <?php endif; ?>
276
+ </td>
277
+ <td>
278
+ <?php if( $metabox_id != 'submitdiv' ) : ?>
279
+ <?php $Selected = 0; ?>
280
+ <?php if( !empty( $Data[$post_name][$metabox_id]["toggle"] ) ) : $Selected = true; endif; ?>
281
+ <select name="data[<?php echo $post_name; ?>][<?php echo $metabox_id; ?>][toggle]" class="select_toggle">
282
+ <option value="0" <?php Selected( $Selected , 0 ); ?>><?php _e( 'Expanded' , 'wp-admin-ui-customize' ); ?></option>
283
+ <option value="1" <?php Selected( $Selected , 1 ); ?>><?php _e( 'Collapsed' , 'wp-admin-ui-customize' ); ?></option>
284
+ </select>
285
+ <?php else : ?>
286
+ <?php _e( 'Show' ); ?>
287
+ <?php endif; ?>
288
+ </td>
289
+ <td>
290
+ <?php $Val = ''; ?>
291
+ <?php if( !empty( $Data[$post_name][$metabox_id]["name"] ) ) : $Val = esc_html( stripslashes( $Data[$post_name][$metabox_id]["name"] ) ); endif; ?>
292
+ <input type="text" name="data[<?php echo $post_name; ?>][<?php echo $metabox_id; ?>][name]" class="regular-text metabox_rename" value="<?php echo $Val; ?>" placeholder="<?php _e( $metabox_title ); ?>" />
293
+ </td>
294
+ </tr>
295
+ <?php endif; ?>
296
+ <?php endforeach; ?>
297
+ <?php endforeach; ?>
298
+ <?php endforeach; ?>
299
+ </tbody>
300
+ </table>
301
+
302
+ <?php endif; ?>
303
+
304
+ <?php $args = array( 'post_type' => $post_name , 'order' => 'DESC' , 'orderby' => 'post_date' , 'numberposts' => 1 ); ?>
305
+
306
+ <?php if( !empty( $activated_plugin['woocommerce'] ) && $post_name == 'shop_order' ) : ?>
307
+
308
+ <?php $args['post_status'] = array( 'wc-processing', 'wc-completed' ); ?>
309
+
310
+ <?php endif; ?>
311
+
312
+ <?php $post = get_posts( $args ); ?>
313
+
314
+ <?php if( !empty( $post ) ) : ?>
315
+
316
+ <?php $load_link = self_admin_url( 'post.php?post=' . $post[0]->ID . '&action=edit' ); ?>
317
+
318
+ <?php else: ?>
319
+
320
+ <?php $load_link = self_admin_url( 'post-new.php?post_type=' . $post_name ); ?>
321
+
322
+ <?php endif; ?>
323
+
324
+ <p>
325
+ <a href="<?php echo $load_link; ?>" class="button button-primary column_load">
326
+ <span class="dashicons dashicons-update"></span>
327
+ <?php echo sprintf( __( 'Refresh meta boxes for %s', 'wp-admin-ui-customize' ) , $cpt->label ); ?>
328
+ </a>
329
+ </p>
330
+ <p class="loading">
331
+ <span class="spinner"></span>
332
+ <?php _e( 'Loading&hellip;' ); ?>
333
+ </p>
334
+ </div>
335
+ </div>
336
+ <?php endforeach; ?>
337
+
338
+ </div>
339
+ </div>
340
+
341
+ <?php endif; ?>
342
+
343
+ <br class="clear">
344
+
345
+ </div>
346
+
347
+ </div>
348
+
349
+ <p class="submit">
350
+ <input type="submit" class="button-primary" name="update" value="<?php _e( 'Save' ); ?>" />
351
+ </p>
352
+
353
+ <p class="submit reset">
354
+ <span class="description"><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , __( 'Management of meta boxes' , 'wp-admin-ui-customize' ) . __( 'Settings' ) ); ?></span>
355
+ <input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
356
+ </p>
357
+
358
+ </form>
359
+
360
+ </div>
361
+
362
+ <style>
363
+ .form-table td {
364
+ vertical-align: top;
365
+ }
366
+ .inside .loading {
367
+ display: none;
368
+ }
369
+ .inside .loading .spinner {
370
+ float: left;
371
+ visibility: visible;
372
+ }
373
+ .button.column_load .dashicons {
374
+ margin-top: 3px;
375
+ }
376
+ </style>
377
+ <script type="text/javascript">
378
+ jQuery(document).ready(function($) {
379
+
380
+ var $Form = $("#wauc_setting_manage_metabox");
381
+ $(".check_all", $Form).click(function() {
382
+ var Checked = $(this).prop("checked");
383
+ $Table = $(this).parent().parent().parent().parent().parent();
384
+ $Table.children("tbody").children("tr").each(function( index, el ) {
385
+ var $Tr = $(el);
386
+ $Tr.find("input[type=checkbox]").prop("checked" , Checked);
387
+ if( Checked ) {
388
+ $Tr.find('.select_toggle').prop('disabled', true);
389
+ $Tr.find('.metabox_rename').prop('disabled', true).addClass('disabled');
390
+ } else {
391
+ $Tr.find('.select_toggle').prop('disabled', false);
392
+ $Tr.find('.metabox_rename').prop('disabled', false).removeClass('disabled');
393
+ }
394
+ });
395
+ });
396
+
397
+ $('.postbox .inside .form-table').each(function( key, el ) {
398
+ $(el).find('tbody tr').each(function( tr_key , tr_el ) {
399
+ if( $(tr_el).find('.show_check').size() > 0 ) {
400
+ if( $(tr_el).find('.show_check').prop('checked') ) {
401
+ $(tr_el).find('.select_toggle').prop('disabled', true);
402
+ $(tr_el).find('.metabox_rename').prop('disabled', true).addClass('disabled');
403
+ }
404
+ }
405
+ });
406
+ });
407
+
408
+ $('.postbox .inside .form-table tbody tr td .show_check').on('click', function( ev ) {
409
+ var Tr = $(ev.target).parent().parent().parent();
410
+ if( $(ev.target).prop('checked') ) {
411
+ Tr.find('.select_toggle').prop('disabled', true);
412
+ Tr.find('.metabox_rename').prop('disabled', true).addClass('disabled');
413
+ } else {
414
+ Tr.find('.select_toggle').prop('disabled', false);
415
+ Tr.find('.metabox_rename').prop('disabled', false).removeClass('disabled');
416
+ }
417
+ });
418
+
419
+ $('.wauc_form .column_load').on('click', function( ev ) {
420
+ var load_url = $(ev.target).prop('href');
421
+
422
+ load_url += '&<?php echo $this->ltd; ?>_metabox_load=1';
423
+
424
+ $.ajax({
425
+ url: load_url,
426
+ beforeSend: function( xhr ) {
427
+ $(ev.target).parent().parent().find('.loading').show();
428
+ $(ev.target).parent().parent().find('.spinner').show();
429
+ }
430
+ }).done(function( post_html_el ) {
431
+
432
+ if( post_html_el.indexOf( "adminpage = 'post-php'" ) != -1 || post_html_el.indexOf( "adminpage = 'post-new-php'" ) != -1 ) {
433
+
434
+ location.reload();
435
+
436
+ }
437
+
438
+ });
439
+
440
+ return false;
441
+
442
+ }).disableSelection();
443
+
444
+ });
445
  </script>
inc/setting_plugin_cap.php CHANGED
@@ -1,96 +1,96 @@
1
- <?php
2
-
3
- $Data = $this->get_data( 'plugin_cap' );
4
- $UserRoles = $this->get_user_role();
5
- $current_user_role_group = $this->current_user_role_group();
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
-
16
- <?php echo $this->Msg; ?>
17
- <h2><?php echo sprintf( __( '%1$s of %2$s %3$s' , 'wp-admin-ui-customize' ) , __( 'Change' ) , __( 'Plugin' ) , __( 'Capabilities' ) ); ?></h2>
18
- <p><?php echo sprintf( __( 'You can change the user role %2$s of %1$s settings.' , 'wp-admin-ui-customize' ) , $this->Name , __( 'Capabilities' ) ); ?></p>
19
- <p><?php echo sprintf( __( 'Please choose the minimum role that can modify %s settings.' , 'wp-admin-ui-customize' ) , $this->Name ); ?></p>
20
-
21
- <p>&nbsp;</p>
22
-
23
- <form id="wauc_setting_plugin_cap" class="wauc_form" method="post" action="<?php echo esc_url( 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="plugin_cap" />
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
-
34
- <div id="appearance_menus">
35
- <div class="postbox">
36
- <h3 class="hndle"><span><?php echo sprintf( __( 'Capability role for the %s' , 'wp-admin-ui-customize' ) , $this->Name ); ?></span></h3>
37
- <div class="inside">
38
- <table class="form-table">
39
- <tbody>
40
- <?php $field = 'edit_cap'; ?>
41
- <tr>
42
- <th>
43
- <label><?php _e( 'Capabilities' ); ?></label>
44
- </th>
45
- <td>
46
- <select name="data[<?php echo $field; ?>]">
47
- <?php $SelectedCap = 'manage_options'; ?>
48
- <?php if( !empty( $Data[$field] ) ) : ?>
49
- <?php $SelectedCap = strip_tags( $Data[$field] ); ?>
50
- <?php endif; ?>
51
- <?php if( !empty( $UserRoles[$current_user_role_group]["capabilities"] ) ) : ?>
52
- <?php foreach( $UserRoles[$current_user_role_group]["capabilities"] as $cap => $v ) : ?>
53
- <?php $Selected = false; ?>
54
- <?php if( !empty( $SelectedCap ) ) : ?>
55
- <?php if( $SelectedCap == $cap ) $Selected = 'selected="selected"'; ?>
56
- <?php endif; ?>
57
- <option value="<?php echo $cap; ?>" <?php echo $Selected; ?>><?php echo $cap; ?></option>
58
- <?php endforeach; ?>
59
- <?php endif; ?>
60
- </select>
61
- <p class="description"><?php _e( 'Default' ); ?>: manage_options</p>
62
- </td>
63
- </tr>
64
- </tbody>
65
- </table>
66
- </div>
67
- </div>
68
- </div>
69
- </div>
70
-
71
- <br class="clear">
72
-
73
- </div>
74
-
75
- </div>
76
-
77
- <p class="submit">
78
- <input type="submit" class="button-primary" name="update" value="<?php _e( 'Save' ); ?>" />
79
- </p>
80
-
81
- <p class="submit reset">
82
- <span class="description"><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , sprintf( __( '%1$s of %2$s %3$s' , 'wp-admin-ui-customize' ) , __( 'Change' ) , __( 'Plugin' ) , __( 'Capabilities' ) ) . __( 'Settings' ) ); ?></span>
83
- <input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
84
- </p>
85
-
86
- </form>
87
-
88
- </div>
89
-
90
- <style>
91
- </style>
92
- <script>
93
- jQuery(document).ready( function($) {
94
-
95
- });
96
  </script>
1
+ <?php
2
+
3
+ $Data = $this->get_data( 'plugin_cap' );
4
+ $UserRoles = $this->get_user_role();
5
+ $current_user_role_group = $this->current_user_role_group();
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
+
16
+ <?php echo $this->Msg; ?>
17
+ <h2><?php echo sprintf( __( '%1$s of %2$s %3$s' , 'wp-admin-ui-customize' ) , __( 'Change' ) , __( 'Plugin' ) , __( 'Capabilities' ) ); ?></h2>
18
+ <p><?php echo sprintf( __( 'You can change the user role %2$s of %1$s settings.' , 'wp-admin-ui-customize' ) , $this->Name , __( 'Capabilities' ) ); ?></p>
19
+ <p><?php echo sprintf( __( 'Select the capability required to modify %s settings.' , 'wp-admin-ui-customize' ) , $this->Name ); ?></p>
20
+
21
+ <p>&nbsp;</p>
22
+
23
+ <form id="wauc_setting_plugin_cap" class="wauc_form" method="post" action="<?php echo esc_url( 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="plugin_cap" />
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
+
34
+ <div id="appearance_menus">
35
+ <div class="postbox">
36
+ <h3 class="hndle"><span><?php echo sprintf( __( 'Capability required to modify %s settings' , 'wp-admin-ui-customize' ) , $this->Name ); ?></span></h3>
37
+ <div class="inside">
38
+ <table class="form-table">
39
+ <tbody>
40
+ <?php $field = 'edit_cap'; ?>
41
+ <tr>
42
+ <th>
43
+ <label><?php _e( 'Capabilities' ); ?></label>
44
+ </th>
45
+ <td>
46
+ <select name="data[<?php echo $field; ?>]">
47
+ <?php $SelectedCap = 'manage_options'; ?>
48
+ <?php if( !empty( $Data[$field] ) ) : ?>
49
+ <?php $SelectedCap = strip_tags( $Data[$field] ); ?>
50
+ <?php endif; ?>
51
+ <?php if( !empty( $UserRoles[$current_user_role_group]["capabilities"] ) ) : ?>
52
+ <?php foreach( $UserRoles[$current_user_role_group]["capabilities"] as $cap => $v ) : ?>
53
+ <?php $Selected = false; ?>
54
+ <?php if( !empty( $SelectedCap ) ) : ?>
55
+ <?php if( $SelectedCap == $cap ) $Selected = 'selected="selected"'; ?>
56
+ <?php endif; ?>
57
+ <option value="<?php echo $cap; ?>" <?php echo $Selected; ?>><?php echo $cap; ?></option>
58
+ <?php endforeach; ?>
59
+ <?php endif; ?>
60
+ </select>
61
+ <p class="description"><?php _e( 'Default' ); ?>: manage_options</p>
62
+ </td>
63
+ </tr>
64
+ </tbody>
65
+ </table>
66
+ </div>
67
+ </div>
68
+ </div>
69
+ </div>
70
+
71
+ <br class="clear">
72
+
73
+ </div>
74
+
75
+ </div>
76
+
77
+ <p class="submit">
78
+ <input type="submit" class="button-primary" name="update" value="<?php _e( 'Save' ); ?>" />
79
+ </p>
80
+
81
+ <p class="submit reset">
82
+ <span class="description"><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , sprintf( __( '%1$s of %2$s %3$s' , 'wp-admin-ui-customize' ) , __( 'Change' ) , __( 'Plugin' ) , __( 'Capabilities' ) ) . __( 'Settings' ) ); ?></span>
83
+ <input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
84
+ </p>
85
+
86
+ </form>
87
+
88
+ </div>
89
+
90
+ <style>
91
+ </style>
92
+ <script>
93
+ jQuery(document).ready( function($) {
94
+
95
+ });
96
  </script>
inc/setting_post_add_edit.php CHANGED
@@ -1,115 +1,115 @@
1
- <?php
2
-
3
- $Data = $this->get_data( 'post_add_edit' );
4
- $comment_status = get_option( 'default_comment_status' );
5
-
6
- // include js css
7
- $ReadedJs = array( 'jquery' , 'jquery-ui-sortable' );
8
- wp_enqueue_script( $this->PageSlug , $this->Url . $this->PluginSlug . '.js', $ReadedJs , $this->Ver );
9
- wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', array() , $this->Ver );
10
-
11
- ?>
12
-
13
- <div class="wrap">
14
-
15
- <?php echo $this->Msg; ?>
16
- <h2><?php _e( 'Add New Post and Edit Post Screen Setting' , 'wp-admin-ui-customize' ); ?></h2>
17
- <p>&nbsp;</p>
18
-
19
- <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
20
-
21
- <form id="wauc_setting_post_add_edit" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
22
- <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
23
- <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
24
- <input type="hidden" name="record_field" value="post_add_edit" />
25
-
26
- <div id="poststuff">
27
-
28
- <div id="post-body" class="metabox-holder columns-1">
29
-
30
- <div id="postbox-container-1" class="postbox-container">
31
-
32
- <div id="post_add">
33
- <div class="postbox">
34
- <h3 class="hndle"><span><?php _e( 'Add New Post' ); ?> &amp; <?php _e( 'Add New Page' ); ?></span></h3>
35
- <div class="inside">
36
- <table class="form-table">
37
- <tbody>
38
- <?php $field = 'allow_comments'; ?>
39
- <tr>
40
- <th>
41
- <label><?php _e( 'Allow people to post comments on new articles when hide to discussion of metabox' , 'wp-admin-ui-customize' ); ?></label>
42
- </th>
43
- <td>
44
- <?php if( $comment_status == 'open' ) : ?>
45
- <?php $Checked = ''; ?>
46
- <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
47
- <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Allow' ); ?></label>
48
- <p class="description"><?php _e( 'Notice: If hide the Discussion on metabox, comments does not display of Add New Post on apply user role.' , 'wp-admin-ui-customize' ); ?></p>
49
- <p><?php _e( 'Please select if you want to display the comments on Site.' , 'wp-admin-ui-customize' ); ?></p>
50
- <p><a href="<?php echo admin_url( 'options-discussion.php' ); ?>"><?php echo sprintf( __( 'However, this will follow the setting of %s.' , 'wp-admin-ui-customize' ) , __( 'Default article settings' ) ); ?></a></p>
51
- <?php else : ?>
52
- <p><a href="<?php echo admin_url( 'options-discussion.php' ); ?>"><?php echo sprintf( __( 'Please select the <strong>%s</strong>' , 'wp-admin-ui-customize' ) , __( 'Allow people to post comments on new articles' ) ); ?></a></p>
53
- <?php endif; ?>
54
-
55
- </td>
56
- </tr>
57
- </tbody>
58
- </table>
59
- </div>
60
- </div>
61
- </div>
62
-
63
- <div id="post_add_edit">
64
- <div class="postbox">
65
- <h3 class="hndle"><span><?php _e( 'Add New Post' ); ?> &amp; <?php _e( 'Edit Post' ); ?></span></h3>
66
- <div class="inside">
67
- <table class="form-table">
68
- <tbody>
69
- <?php $field = 'default_permalink'; ?>
70
- <tr>
71
- <th>
72
- <label><?php _e( 'Change Permalinks' ); ?></label>
73
- </th>
74
- <td>
75
- <?php $Checked = ''; ?>
76
- <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
77
- <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
78
- <p class="description"><?php _e( 'Only appears when you have settings to the default permalink.' , 'wp-admin-ui-customize' ); ?></p>
79
- <p><img src="<?php echo $this->Url; ?>images/post_add_edit_screen__edit_ppermalink.png" /></p>
80
- </td>
81
- </tr>
82
- </tbody>
83
- </table>
84
- </div>
85
- </div>
86
- </div>
87
-
88
- </div>
89
-
90
- <br class="clear">
91
-
92
- </div>
93
-
94
- </div>
95
-
96
- <p class="submit">
97
- <input type="submit" class="button-primary" name="update" value="<?php _e( 'Save' ); ?>" />
98
- </p>
99
-
100
- <p class="submit reset">
101
- <span class="description"><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , __( 'Add New Post and Edit Post Screen Setting' , 'wp-admin-ui-customize' ) ); ?></span>
102
- <input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
103
- </p>
104
-
105
- </form>
106
-
107
- </div>
108
-
109
- <style>
110
- </style>
111
- <script>
112
- jQuery(document).ready( function($) {
113
-
114
- });
115
  </script>
1
+ <?php
2
+
3
+ $Data = $this->get_data( 'post_add_edit' );
4
+ $comment_status = get_option( 'default_comment_status' );
5
+
6
+ // include js css
7
+ $ReadedJs = array( 'jquery' , 'jquery-ui-sortable' );
8
+ wp_enqueue_script( $this->PageSlug , $this->Url . $this->PluginSlug . '.js', $ReadedJs , $this->Ver );
9
+ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', array() , $this->Ver );
10
+
11
+ ?>
12
+
13
+ <div class="wrap">
14
+
15
+ <?php echo $this->Msg; ?>
16
+ <h2><?php _e( 'Add New Post and Edit Post Screen Setting' , 'wp-admin-ui-customize' ); ?></h2>
17
+ <p>&nbsp;</p>
18
+
19
+ <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
20
+
21
+ <form id="wauc_setting_post_add_edit" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
22
+ <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
23
+ <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
24
+ <input type="hidden" name="record_field" value="post_add_edit" />
25
+
26
+ <div id="poststuff">
27
+
28
+ <div id="post-body" class="metabox-holder columns-1">
29
+
30
+ <div id="postbox-container-1" class="postbox-container">
31
+
32
+ <div id="post_add">
33
+ <div class="postbox">
34
+ <h3 class="hndle"><span><?php _e( 'Add New Post' ); ?> &amp; <?php _e( 'Add New Page' ); ?></span></h3>
35
+ <div class="inside">
36
+ <table class="form-table">
37
+ <tbody>
38
+ <?php $field = 'allow_comments'; ?>
39
+ <tr>
40
+ <th>
41
+ <label><?php _e( 'Allow comments if discussion meta box is hidden' , 'wp-admin-ui-customize' ); ?></label>
42
+ </th>
43
+ <td>
44
+ <?php if( $comment_status == 'open' ) : ?>
45
+ <?php $Checked = ''; ?>
46
+ <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
47
+ <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Allow' ); ?></label>
48
+ <p class="description"><?php _e( 'If the discussion meta box is hidden comments will not be displayed on new posts for the selected role.' , 'wp-admin-ui-customize' ); ?></p>
49
+ <p><?php _e( 'Check \'Allow\' to allow comments on new posts.' , 'wp-admin-ui-customize' ); ?></p>
50
+ <p><a href="<?php echo admin_url( 'options-discussion.php' ); ?>"><?php echo sprintf( __( 'The %s in WordPress will override this setting.' , 'wp-admin-ui-customize' ) , __( 'Default article settings' ) ); ?></a></p>
51
+ <?php else : ?>
52
+ <p><a href="<?php echo admin_url( 'options-discussion.php' ); ?>"><?php echo sprintf( __( 'Please select the <strong>%s</strong>' , 'wp-admin-ui-customize' ) , __( 'Allow people to post comments on new articles' ) ); ?></a></p>
53
+ <?php endif; ?>
54
+
55
+ </td>
56
+ </tr>
57
+ </tbody>
58
+ </table>
59
+ </div>
60
+ </div>
61
+ </div>
62
+
63
+ <div id="post_add_edit">
64
+ <div class="postbox">
65
+ <h3 class="hndle"><span><?php _e( 'Add New Post' ); ?> &amp; <?php _e( 'Edit Post' ); ?></span></h3>
66
+ <div class="inside">
67
+ <table class="form-table">
68
+ <tbody>
69
+ <?php $field = 'default_permalink'; ?>
70
+ <tr>
71
+ <th>
72
+ <label><?php _e( 'Change Permalinks' ); ?></label>
73
+ </th>
74
+ <td>
75
+ <?php $Checked = ''; ?>
76
+ <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
77
+ <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
78
+ <p class="description"><?php _e( 'Only appears when the permalinks are set to the default setting.' , 'wp-admin-ui-customize' ); ?></p>
79
+ <p><img src="<?php echo $this->Url; ?>images/post_add_edit_screen__edit_ppermalink.png" /></p>
80
+ </td>
81
+ </tr>
82
+ </tbody>
83
+ </table>
84
+ </div>
85
+ </div>
86
+ </div>
87
+
88
+ </div>
89
+
90
+ <br class="clear">
91
+
92
+ </div>
93
+
94
+ </div>
95
+
96
+ <p class="submit">
97
+ <input type="submit" class="button-primary" name="update" value="<?php _e( 'Save' ); ?>" />
98
+ </p>
99
+
100
+ <p class="submit reset">
101
+ <span class="description"><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , __( 'Add New Post and Edit Post Screen Setting' , 'wp-admin-ui-customize' ) ); ?></span>
102
+ <input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
103
+ </p>
104
+
105
+ </form>
106
+
107
+ </div>
108
+
109
+ <style>
110
+ </style>
111
+ <script>
112
+ jQuery(document).ready( function($) {
113
+
114
+ });
115
  </script>
inc/setting_sidemenu.php CHANGED
@@ -14,10 +14,10 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
14
  <div class="wrap">
15
 
16
  <?php echo $this->Msg; ?>
17
- <h2><?php _e( 'Side Menu' , 'wp-admin-ui-customize' ); ?></h2>
18
- <p><?php _e( 'Please change the menu by drag and drop.' , 'wp-admin-ui-customize' ); ?></p>
19
- <p class="description"><?php echo sprintf( __( 'New plugin menus will be added to the <strong>%s</strong>.' , 'wp-admin-ui-customize' ) , __( 'Menu items that can be added' , 'wp-admin-ui-customize' ) ); ?>
20
- <p><strong><?php _e( 'Notice: Please do not place the same multiple menu slug.' , 'wp-admin-ui-customize' ); ?></strong></p>
21
 
22
  <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
23
 
@@ -37,7 +37,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
37
  <div id="can_menus">
38
 
39
  <div class="postbox">
40
- <h3 class="hndle"><span><?php _e( 'Menu items that can be added' , 'wp-admin-ui-customize' ); ?></span></h3>
41
  <div class="inside">
42
 
43
  <p class="description"><?php _e( 'Sepalator' , 'wp-admin-ui-customize' ); ?></p>
@@ -218,7 +218,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
218
 
219
  </div>
220
 
221
- <p class="sidebar_setting_delete"><a href="#"><?php _e( 'Delete all the Current menu' , 'wp-admin-ui-customize' ); ?></a></p>
222
 
223
  </div>
224
  </div>
@@ -234,7 +234,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
234
  </p>
235
 
236
  <p class="submit reset">
237
- <span class="description"><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , __( 'Side Menu' , 'wp-admin-ui-customize' ) . __( 'Settings' ) ); ?></span>
238
  <input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
239
  </p>
240
 
14
  <div class="wrap">
15
 
16
  <?php echo $this->Msg; ?>
17
+ <h2><?php _e( 'Sidebar' , 'wp-admin-ui-customize' ); ?></h2>
18
+ <p><?php _e( 'Drag menu items to edit and reorder menus.' , 'wp-admin-ui-customize' ); ?></p>
19
+ <p class="description"><?php echo sprintf( __( 'New plugin menus will be added to the <strong>%s</strong>.' , 'wp-admin-ui-customize' ) , __( 'Available menu items' , 'wp-admin-ui-customize' ) ); ?>
20
+ <p><strong><?php _e( 'Note: Using the same menu item multiple times could cause unexpected behavior.' , 'wp-admin-ui-customize' ); ?></strong></p>
21
 
22
  <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
23
 
37
  <div id="can_menus">
38
 
39
  <div class="postbox">
40
+ <h3 class="hndle"><span><?php _e( 'Available menu items' , 'wp-admin-ui-customize' ); ?></span></h3>
41
  <div class="inside">
42
 
43
  <p class="description"><?php _e( 'Sepalator' , 'wp-admin-ui-customize' ); ?></p>
218
 
219
  </div>
220
 
221
+ <p class="sidebar_setting_delete"><a href="#"><?php _e( 'Remove all items from the current menu' , 'wp-admin-ui-customize' ); ?></a></p>
222
 
223
  </div>
224
  </div>
234
  </p>
235
 
236
  <p class="submit reset">
237
+ <span class="description"><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , __( 'Sidebar' , 'wp-admin-ui-customize' ) . __( 'Settings' ) ); ?></span>
238
  <input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
239
  </p>
240
 
inc/setting_site.php CHANGED
@@ -1,174 +1,174 @@
1
- <?php
2
-
3
- $Data = $this->get_data( 'site' );
4
- $SiteSetting = get_option( $this->Record["site"] );
5
-
6
- // include js css
7
- $ReadedJs = array( 'jquery' , 'jquery-ui-sortable' );
8
- wp_enqueue_script( $this->PageSlug , $this->Url . $this->PluginSlug . '.js', $ReadedJs , $this->Ver );
9
- wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', array() , $this->Ver );
10
-
11
- ?>
12
-
13
- <div class="wrap">
14
-
15
- <?php echo $this->Msg; ?>
16
- <h2><?php _e( 'Site Settings' , 'wp-admin-ui-customize' ); ?></h2>
17
- <p>&nbsp;</p>
18
-
19
- <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
20
-
21
- <form id="wauc_setting_site" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
22
- <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
23
- <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
24
- <input type="hidden" name="record_field" value="site" />
25
-
26
- <div id="poststuff">
27
- <div id="post-body" class="metabox-holder columns-1">
28
-
29
- <div id="postbox-container-1" class="postbox-container">
30
-
31
- <div id="meta_fields">
32
-
33
- <div class="postbox">
34
- <div class="handlediv" title="Click to toggle"><br></div>
35
- <h3 class="hndle"><span><?php _e( 'Header Meta' , 'wp-admin-ui-customize' ); ?></span></h3>
36
- <div class="inside">
37
- <table class="form-table">
38
- <tbody>
39
- <?php $field = 'wp_generator'; ?>
40
- <tr>
41
- <th>
42
- <label><?php echo $field; ?></label>
43
- </th>
44
- <td>
45
- <?php $Checked = ''; ?>
46
- <?php if( !empty( $SiteSetting[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
47
- <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
48
- <p class="description"><?php _e( 'Tag to be output' , 'wp-admin-ui-customize' ); ?> : <code><?php echo esc_html( get_the_generator( 'xhtml' ) ); ?></code></p>
49
- </td>
50
- </tr>
51
- <?php $field = 'wlwmanifest_link'; ?>
52
- <tr>
53
- <th>
54
- <?php echo $field; ?>
55
- </th>
56
- <td>
57
- <?php $Checked = ''; ?>
58
- <?php if( !empty( $SiteSetting[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
59
- <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
60
- <p class="description"><?php _e( 'Please display when using the Windows Live Writer.' , 'wp-admin-ui-customize' ); ?></p>
61
- <p class="description"><?php _e( 'Tag to be output' , 'wp-admin-ui-customize' ); ?> : <code><?php echo esc_html( '<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="' . get_bloginfo('wpurl') . '/wp-includes/wlwmanifest.xml" />' ); ?></code></p>
62
- </td>
63
- </tr>
64
- <?php $field = 'rsd_link'; ?>
65
- <tr>
66
- <th>
67
- <?php echo $field; ?>
68
- </th>
69
- <td>
70
- <?php $Checked = ''; ?>
71
- <?php if( !empty( $SiteSetting[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
72
- <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
73
- <p class="description"><?php _e( 'Information of XML-rpc' , 'wp-admin-ui-customize' ); ?></p>
74
- <p class="description"><?php _e( 'Tag to be output' , 'wp-admin-ui-customize' ); ?> : <code><?php echo esc_html( '<link rel="EditURI" type="application/rsd+xml" title="RSD" href="' . get_bloginfo('wpurl') . '"/xmlrpc.php?rsd" />' ); ?></code></p>
75
- </td>
76
- </tr>
77
- <?php $field = 'feed_links'; ?>
78
- <tr>
79
- <th>
80
- <?php echo $field; ?>
81
- </th>
82
- <td>
83
- <?php $Checked = ''; ?>
84
- <?php if( !empty( $SiteSetting[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
85
- <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
86
- <p class="description"><?php _e( 'Sitewide feed' , 'wp-admin-ui-customize' ); ?></p>
87
- <p class="description"><?php _e( 'Tag to be output' , 'wp-admin-ui-customize' ); ?> : <code><?php echo esc_html( '<link rel="alternate" type="' . feed_content_type() . '" title="' . esc_attr( sprintf( __('%1$s %2$s Feed') , get_bloginfo('name') , '&amp;raquo&#059;' ) ) . '" href="' . get_feed_link( get_default_feed() ) . ' />' ); ?></code></p>
88
- </td>
89
- </tr>
90
- <?php $field = 'feed_links_extra'; ?>
91
- <tr>
92
- <th>
93
- <?php echo $field; ?>
94
- </th>
95
- <td>
96
- <?php $Checked = ''; ?>
97
- <?php if( !empty( $SiteSetting[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
98
- <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
99
- <p class="description"><?php _e( 'Extra feed' , 'wp-admin-ui-customize' ); ?></p>
100
- <p class="description"><?php _e( 'Tag to be output' , 'wp-admin-ui-customize' ); ?> : <code><?php echo esc_html( '<link rel="alternate" type="' . feed_content_type() . '" title="' . esc_attr( sprintf( __('%1$s %2$s Comments Feed') , get_bloginfo('name') , '&amp;raquo&#059;' ) ) . '" href="' . get_feed_link( get_default_feed() . '&#038;p=***' ) . ' />' ); ?></code></p>
101
- </td>
102
- </tr>
103
- </tbody>
104
- </table>
105
- </div>
106
- </div>
107
-
108
- </div>
109
-
110
- </div>
111
-
112
- <div id="postbox-container-2" class="postbox-container">
113
-
114
- <div id="general">
115
- <div class="postbox">
116
- <div class="handlediv" title="Click to toggle"><br></div>
117
- <h3 class="hndle"><span><?php _e( 'General' ); ?></span></h3>
118
- <div class="inside">
119
- <table class="form-table">
120
- <tbody>
121
- <?php $field = 'admin_bar'; ?>
122
- <tr>
123
- <th>
124
- <?php _e( 'Admin Bar' , 'wp-admin-ui-customize' ); ?>
125
- </th>
126
- <td>
127
- <?php $arr = array( "hide" => __( 'Hide the Admin bar on the front end' , 'wp-admin-ui-customize' ) , "front" => __( 'Apply WP Admin UI Customize settings on the front end admin bar also' , 'wp-admin-ui-customize' ) ); ?>
128
- <select name="data[<?php echo $field; ?>]">
129
- <option value="">-</option>
130
- <?php foreach( $arr as $key => $label ) : ?>
131
- <?php $Selected = ''; ?>
132
- <?php if( !empty( $Data[$field] ) ) : ?>
133
- <?php if( $Data[$field] == $key ) : $Selected = 'selected="selected"'; endif; ?>
134
- <?php if( $key == "hide" && $Data[$field] == "1" ) : $Selected = 'selected="selected"'; endif; ?>
135
- <?php endif; ?>
136
- <option value="<?php echo $key; ?>" <?php echo $Selected; ?>><?php echo $label; ?></option>
137
- <?php endforeach; ?>
138
- </select>
139
- </td>
140
- </tr>
141
- </tbody>
142
- </table>
143
- </div>
144
- </div>
145
- </div>
146
-
147
- </div>
148
-
149
- <br class="clear">
150
-
151
- </div>
152
-
153
- </div>
154
-
155
- <p class="submit">
156
- <input type="submit" class="button-primary" name="update" value="<?php _e( 'Save' ); ?>" />
157
- </p>
158
-
159
- <p class="submit reset">
160
- <span class="description"><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , __( 'Site Settings' , 'wp-admin-ui-customize' ) ); ?></span>
161
- <input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
162
- </p>
163
-
164
- </form>
165
-
166
- </div>
167
-
168
- <style>
169
- </style>
170
- <script>
171
- jQuery(document).ready( function($) {
172
-
173
- });
174
  </script>
1
+ <?php
2
+
3
+ $Data = $this->get_data( 'site' );
4
+ $SiteSetting = get_option( $this->Record["site"] );
5
+
6
+ // include js css
7
+ $ReadedJs = array( 'jquery' , 'jquery-ui-sortable' );
8
+ wp_enqueue_script( $this->PageSlug , $this->Url . $this->PluginSlug . '.js', $ReadedJs , $this->Ver );
9
+ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', array() , $this->Ver );
10
+
11
+ ?>
12
+
13
+ <div class="wrap">
14
+
15
+ <?php echo $this->Msg; ?>
16
+ <h2><?php _e( 'Site Settings' , 'wp-admin-ui-customize' ); ?></h2>
17
+ <p>&nbsp;</p>
18
+
19
+ <h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
20
+
21
+ <form id="wauc_setting_site" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
22
+ <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
23
+ <?php wp_nonce_field( $this->Nonces["value"] , $this->Nonces["field"] ); ?>
24
+ <input type="hidden" name="record_field" value="site" />
25
+
26
+ <div id="poststuff">
27
+ <div id="post-body" class="metabox-holder columns-1">
28
+
29
+ <div id="postbox-container-1" class="postbox-container">
30
+
31
+ <div id="meta_fields">
32
+
33
+ <div class="postbox">
34
+ <div class="handlediv" title="Click to toggle"><br></div>
35
+ <h3 class="hndle"><span><?php _e( 'Header Meta' , 'wp-admin-ui-customize' ); ?></span></h3>
36
+ <div class="inside">
37
+ <table class="form-table">
38
+ <tbody>
39
+ <?php $field = 'wp_generator'; ?>
40
+ <tr>
41
+ <th>
42
+ <label><?php echo $field; ?></label>
43
+ </th>
44
+ <td>
45
+ <?php $Checked = ''; ?>
46
+ <?php if( !empty( $SiteSetting[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
47
+ <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
48
+ <p class="description"><?php _e( 'Tag' , 'wp-admin-ui-customize' ); ?> : <code><?php echo esc_html( get_the_generator( 'xhtml' ) ); ?></code></p>
49
+ </td>
50
+ </tr>
51
+ <?php $field = 'wlwmanifest_link'; ?>
52
+ <tr>
53
+ <th>
54
+ <?php echo $field; ?>
55
+ </th>
56
+ <td>
57
+ <?php $Checked = ''; ?>
58
+ <?php if( !empty( $SiteSetting[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
59
+ <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
60
+ <p class="description"><?php _e( 'Required if you are using Windows Live Writer.' , 'wp-admin-ui-customize' ); ?></p>
61
+ <p class="description"><?php _e( 'Tag' , 'wp-admin-ui-customize' ); ?> : <code><?php echo esc_html( '<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="' . get_bloginfo('wpurl') . '/wp-includes/wlwmanifest.xml" />' ); ?></code></p>
62
+ </td>
63
+ </tr>
64
+ <?php $field = 'rsd_link'; ?>
65
+ <tr>
66
+ <th>
67
+ <?php echo $field; ?>
68
+ </th>
69
+ <td>
70
+ <?php $Checked = ''; ?>
71
+ <?php if( !empty( $SiteSetting[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
72
+ <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
73
+ <p class="description"><?php _e( 'Required if you are using pingbacks.' , 'wp-admin-ui-customize' ); ?></p>
74
+ <p class="description"><?php _e( 'Tag' , 'wp-admin-ui-customize' ); ?> : <code><?php echo esc_html( '<link rel="EditURI" type="application/rsd+xml" title="RSD" href="' . get_bloginfo('wpurl') . '"/xmlrpc.php?rsd" />' ); ?></code></p>
75
+ </td>
76
+ </tr>
77
+ <?php $field = 'feed_links'; ?>
78
+ <tr>
79
+ <th>
80
+ <?php echo $field; ?>
81
+ </th>
82
+ <td>
83
+ <?php $Checked = ''; ?>
84
+ <?php if( !empty( $SiteSetting[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
85
+ <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
86
+ <p class="description"><?php _e( 'Adds RSS feed links to the HTML &lt;head&gt;' , 'wp-admin-ui-customize' ); ?></p>
87
+ <p class="description"><?php _e( 'Tag' , 'wp-admin-ui-customize' ); ?> : <code><?php echo esc_html( '<link rel="alternate" type="' . feed_content_type() . '" title="' . esc_attr( sprintf( __('%1$s %2$s Feed') , get_bloginfo('name') , '&amp;raquo&#059;' ) ) . '" href="' . get_feed_link( get_default_feed() ) . ' />' ); ?></code></p>
88
+ </td>
89
+ </tr>
90
+ <?php $field = 'feed_links_extra'; ?>
91
+ <tr>
92
+ <th>
93
+ <?php echo $field; ?>
94
+ </th>
95
+ <td>
96
+ <?php $Checked = ''; ?>
97
+ <?php if( !empty( $SiteSetting[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
98
+ <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
99
+ <p class="description"><?php _e( 'Adds RSS feed links for other feeds such as category feeds' , 'wp-admin-ui-customize' ); ?></p>
100
+ <p class="description"><?php _e( 'Tag' , 'wp-admin-ui-customize' ); ?> : <code><?php echo esc_html( '<link rel="alternate" type="' . feed_content_type() . '" title="' . esc_attr( sprintf( __('%1$s %2$s Comments Feed') , get_bloginfo('name') , '&amp;raquo&#059;' ) ) . '" href="' . get_feed_link( get_default_feed() . '&#038;p=***' ) . ' />' ); ?></code></p>
101
+ </td>
102
+ </tr>
103
+ </tbody>
104
+ </table>
105
+ </div>
106
+ </div>
107
+
108
+ </div>
109
+
110
+ </div>
111
+
112
+ <div id="postbox-container-2" class="postbox-container">
113
+
114
+ <div id="general">
115
+ <div class="postbox">
116
+ <div class="handlediv" title="Click to toggle"><br></div>
117
+ <h3 class="hndle"><span><?php _e( 'General' ); ?></span></h3>
118
+ <div class="inside">
119
+ <table class="form-table">
120
+ <tbody>
121
+ <?php $field = 'admin_bar'; ?>
122
+ <tr>
123
+ <th>
124
+ <?php _e( 'Admin bar' , 'wp-admin-ui-customize' ); ?>
125
+ </th>
126
+ <td>
127
+ <?php $arr = array( "hide" => __( 'Hide admin bar on the front end' , 'wp-admin-ui-customize' ) , "front" => __( 'Apply WP Admin UI Customize settings to the front end admin bar' , 'wp-admin-ui-customize' ) ); ?>
128
+ <select name="data[<?php echo $field; ?>]">
129
+ <option value="">-</option>
130
+ <?php foreach( $arr as $key => $label ) : ?>
131
+ <?php $Selected = ''; ?>
132
+ <?php if( !empty( $Data[$field] ) ) : ?>
133
+ <?php if( $Data[$field] == $key ) : $Selected = 'selected="selected"'; endif; ?>
134
+ <?php if( $key == "hide" && $Data[$field] == "1" ) : $Selected = 'selected="selected"'; endif; ?>
135
+ <?php endif; ?>
136
+ <option value="<?php echo $key; ?>" <?php echo $Selected; ?>><?php echo $label; ?></option>
137
+ <?php endforeach; ?>
138
+ </select>
139
+ </td>
140
+ </tr>
141
+ </tbody>
142
+ </table>
143
+ </div>
144
+ </div>
145
+ </div>
146
+
147
+ </div>
148
+
149
+ <br class="clear">
150
+
151
+ </div>
152
+
153
+ </div>
154
+
155
+ <p class="submit">
156
+ <input type="submit" class="button-primary" name="update" value="<?php _e( 'Save' ); ?>" />
157
+ </p>
158
+
159
+ <p class="submit reset">
160
+ <span class="description"><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , __( 'Site Settings' , 'wp-admin-ui-customize' ) ); ?></span>
161
+ <input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
162
+ </p>
163
+
164
+ </form>
165
+
166
+ </div>
167
+
168
+ <style>
169
+ </style>
170
+ <script>
171
+ jQuery(document).ready( function($) {
172
+
173
+ });
174
  </script>
languages/wp-admin-ui-customize-ja.mo CHANGED
Binary file
languages/wp-admin-ui-customize-ja.po CHANGED
@@ -2,149 +2,37 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP Admin UI Customize\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-12-24 18:55+0900\n"
6
- "PO-Revision-Date: 2014-12-24 19:01+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"
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-Poedit-Language: Japanese\n"
16
- "X-Poedit-Country: JAPAN\n"
17
- "X-Poedit-SourceCharset: utf-8\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
  #: wp-admin-ui-customize.php:4
21
- msgid "An excellent plugin to customize the management screens."
22
  msgstr "管理画面のカスタマイズに優れたプラグインです。"
23
 
24
- #: wp-admin-ui-customize.php:144
25
- #: wp-admin-ui-customize.php:183
26
- #: inc/reset_userrole.php:15
27
- msgid "Reset User Roles"
28
- msgstr "ユーザー権限リセット"
29
-
30
- #: wp-admin-ui-customize.php:173
31
- #: inc/reset_userrole.php:49
32
- #: inc/setting_site.php:16
33
- #: inc/setting_site.php:160
34
- msgid "Site Settings"
35
- msgstr "サイトの設定"
36
-
37
- #: wp-admin-ui-customize.php:174
38
- #: inc/reset_userrole.php:50
39
- #: inc/setting_admin_general.php:16
40
- #: inc/setting_admin_general.php:191
41
- #, php-format
42
- msgid "%1$s %2$s"
43
- msgstr "%1$s%2$s"
44
-
45
- #: wp-admin-ui-customize.php:176
46
- #: inc/reset_userrole.php:52
47
- #: inc/setting_admin_bar_menu.php:18
48
- #: inc/setting_admin_bar_menu.php:87
49
- msgid "Admin Bar Menu"
50
- msgstr "管理バー"
51
-
52
- #: wp-admin-ui-customize.php:177
53
- #: inc/reset_userrole.php:53
54
- #: inc/setting_sidemenu.php:17
55
- #: inc/setting_sidemenu.php:232
56
- msgid "Side Menu"
57
- msgstr "サイドメニュー"
58
-
59
- #: wp-admin-ui-customize.php:178
60
- #: inc/reset_userrole.php:54
61
- #: inc/setting_manage_metabox.php:17
62
- #: inc/setting_manage_metabox.php:345
63
- msgid "Manage meta box"
64
- msgstr "メタボックス管理"
65
-
66
- #: wp-admin-ui-customize.php:179
67
- #: inc/reset_userrole.php:55
68
- #: inc/setting_post_add_edit.php:16
69
- #: inc/setting_post_add_edit.php:101
70
- msgid "Add New Post and Edit Post Screen Setting"
71
- msgstr "新規投稿&編集の設定"
72
-
73
- #: wp-admin-ui-customize.php:180
74
- #: inc/reset_userrole.php:56
75
- #: inc/setting_appearance_menus.php:14
76
- #: inc/setting_appearance_menus.php:81
77
- msgid "Appearance Menus Screen Setting"
78
- msgstr "外観メニュー画面の設定"
79
-
80
- #: wp-admin-ui-customize.php:181
81
- #: inc/reset_userrole.php:57
82
- #: inc/setting_loginscreen.php:27
83
- msgid "Login Screen"
84
- msgstr "ログイン画面"
85
-
86
- #: wp-admin-ui-customize.php:182
87
- #: inc/reset_userrole.php:58
88
- #: inc/setting_plugin_cap.php:16
89
- #: inc/setting_plugin_cap.php:86
90
- #, php-format
91
- msgid "%1$s of %2$s %3$s"
92
- msgstr "%2$s%3$sの%1$s"
93
-
94
- #: wp-admin-ui-customize.php:342
95
- #, php-format
96
- msgid "Authority to apply the setting is not selected. <a href=\"%s\">From here</a>, please select the permissions you want to set."
97
- msgstr "設定を適用する権限が選択されていません。<a href=\"%s\">こちら</a>から設定する権限を選んでください。"
98
-
99
- #: wp-admin-ui-customize.php:367
100
- msgid "Apply user roles"
101
- msgstr "適用されるユーザー権限"
102
-
103
- #: wp-admin-ui-customize.php:756
104
- #: wp-admin-ui-customize.php:926
105
- msgid "Sub Menus"
106
- msgstr "サブメニュー"
107
-
108
- #: wp-admin-ui-customize.php:851
109
- #: wp-admin-ui-customize.php:873
110
- msgid "Menu Group"
111
- msgstr "メニューグループ"
112
-
113
- #: wp-admin-ui-customize.php:871
114
- msgid "Show only on front end."
115
- msgstr "フロント(サイト)のみ表示"
116
-
117
- #: wp-admin-ui-customize.php:1174
118
- msgid "Front"
119
- msgstr "フロント(サイト)"
120
-
121
- #: wp-admin-ui-customize.php:2529
122
- #: inc/setting_default.php:180
123
- msgid "Thank you for your donation."
124
- msgstr "寄付いただきありがとうございます。"
125
-
126
- #: wp-admin-ui-customize.php:2544
127
- msgid "Please consider making a donation."
128
- msgstr "寄付のご検討宜しくお願いします。"
129
-
130
- #: wp-admin-ui-customize.php:2544
131
- #: inc/setting_default.php:32
132
- msgid "Donate"
133
- msgstr "寄付について"
134
-
135
- #: inc/list_variables.php:19
136
- #: inc/setting_admin_bar_menu.php:25
137
- #: inc/setting_admin_general.php:125
138
- #: inc/setting_admin_general.php:148
139
- #: inc/setting_loginscreen.php:64
140
- #: inc/setting_loginscreen.php:77
141
- #: inc/setting_loginscreen.php:89
142
- #: inc/setting_loginscreen.php:117
143
- #: inc/setting_loginscreen.php:129
144
- #: inc/setting_sidemenu.php:24
145
  msgid "Shortcodes"
146
  msgstr "ショートコード一覧"
147
 
 
 
 
 
148
  #: inc/list_variables.php:44
149
  msgid "Blog name of logged in."
150
  msgstr "ログイン中のブログ名"
@@ -153,334 +41,465 @@ msgstr "ログイン中のブログ名"
153
  msgid "Blog URL of logged in."
154
  msgstr "ログイン中のブログURL"
155
 
156
- #: inc/list_variables.php:103
157
- #: inc/list_variables.php:110
158
- #: inc/list_variables.php:117
159
- #: inc/list_variables.php:124
160
  msgid "In your case."
161
  msgstr "これはあなたの場合です。"
162
 
 
 
 
 
 
163
  #: inc/list_variables.php:131
164
  msgid "Current Post Type Name"
165
  msgstr "現在の投稿タイプ名"
166
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  #: inc/reset_userrole.php:23
168
  msgid "Applied user roles"
169
  msgstr "適用されたユーザー権限"
170
 
171
- #: inc/reset_userrole.php:33
172
- #: inc/setting_admin_bar_menu.php:87
173
- #: inc/setting_admin_general.php:191
174
- #: inc/setting_appearance_menus.php:81
175
- #: inc/setting_dashboard.php:143
176
- #: inc/setting_default.php:124
177
- #: inc/setting_loginscreen.php:152
178
- #: inc/setting_manage_metabox.php:345
179
- #: inc/setting_plugin_cap.php:86
180
- #: inc/setting_post_add_edit.php:101
181
- #: inc/setting_sidemenu.php:232
182
- #: inc/setting_site.php:160
183
  #, php-format
184
  msgid "Reset the %s?"
185
  msgstr "%s をリセットしますか?"
186
 
 
 
 
 
187
  #: inc/reset_userrole.php:35
188
- #: inc/setting_admin_bar_menu.php:88
189
- #: inc/setting_admin_general.php:192
190
- #: inc/setting_appearance_menus.php:82
191
- #: inc/setting_dashboard.php:144
192
- #: inc/setting_default.php:125
193
- #: inc/setting_loginscreen.php:153
194
- #: inc/setting_manage_metabox.php:346
195
- #: inc/setting_plugin_cap.php:87
196
- #: inc/setting_post_add_edit.php:102
197
- #: inc/setting_sidemenu.php:233
198
- #: inc/setting_site.php:161
199
- msgid "Reset settings"
200
- msgstr "設定をリセット"
201
 
202
- #: inc/reset_userrole.php:42
203
- #: inc/reset_userrole.php:64
204
- msgid "Reset settings of all"
205
- msgstr "全ての設定をリセット"
206
 
207
  #: inc/reset_userrole.php:47
208
- msgid "Setting all of the below will be deleted."
209
  msgstr "以下のすべての設定が削除されます。"
210
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
211
  #: inc/reset_userrole.php:62
212
  msgid "Are you sure you want to delete all settings?"
213
  msgstr "本当に全ての設定を削除してもよろしいですか?"
214
 
215
- #: inc/setting_admin_bar_menu.php:19
216
- #: inc/setting_sidemenu.php:18
217
- msgid "Please change the menu by drag and drop."
218
- msgstr "ドラッグ&ドロップでメニューを変更してください。"
219
 
220
- #: inc/setting_admin_bar_menu.php:20
221
- #: inc/setting_sidemenu.php:20
222
- msgid "Notice: Please do not place the same multiple menu slug."
 
223
  msgstr "注意: 複数同じメニュースラッグを設置しないでください。"
224
 
225
  #: inc/setting_admin_bar_menu.php:21
226
- msgid "Can be more than one custom menu."
227
  msgstr "カスタムメニューは複数設置できます。"
228
 
229
- #: inc/setting_admin_bar_menu.php:25
230
- #: inc/setting_admin_general.php:125
231
- #: inc/setting_admin_general.php:148
232
- #: inc/setting_loginscreen.php:64
233
- #: inc/setting_loginscreen.php:77
234
- #: inc/setting_loginscreen.php:89
235
- #: inc/setting_loginscreen.php:117
236
- #: inc/setting_loginscreen.php:129
237
  #: inc/setting_sidemenu.php:24
238
  msgid "Available Shortcodes"
239
  msgstr "利用可能なショートコード一覧"
240
 
241
  #: inc/setting_admin_bar_menu.php:33
242
- msgid "Sub-menu settings apply to maximum of four levels deep."
243
  msgstr "サブメニューは最大4階層まで設定できます。"
244
 
245
  #: inc/setting_admin_bar_menu.php:34
246
- msgid "Admin bar settings documentation page"
247
- msgstr "管理バー設定のドキュメントはこちら"
248
 
249
- #: inc/setting_admin_bar_menu.php:93
250
- #: inc/setting_sidemenu.php:19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
251
  #: inc/setting_sidemenu.php:40
252
- msgid "Menu items that can be added"
253
- msgstr "追加できるメニュー一覧"
 
 
 
 
254
 
255
  #: inc/setting_admin_general.php:34
256
  msgid "Notifications"
257
  msgstr "通知"
258
 
259
  #: inc/setting_admin_general.php:40
260
- msgid "WordPress core update notice"
261
- msgstr "WordPress コアアップデート通知"
262
 
263
- #: inc/setting_admin_general.php:46
264
- #: inc/setting_admin_general.php:57
265
  #: inc/setting_admin_general.php:68
266
- msgid "Not notified"
267
  msgstr "通知しない"
268
 
269
  #: inc/setting_admin_general.php:51
270
- msgid "Plugin update notice"
271
- msgstr "プラグイン アップデート通知"
272
 
273
  #: inc/setting_admin_general.php:62
274
- msgid "Theme update notice"
275
- msgstr "テーマ アップデート通知"
276
 
277
  #: inc/setting_admin_general.php:78
278
  msgid "Screen Options and Help Tab"
279
  msgstr "表示オプションとヘルプタブ"
280
 
281
- #: inc/setting_admin_general.php:117
282
- #: inc/setting_loginscreen.php:123
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
283
  msgid "Footer text"
284
  msgstr "フッターテキスト"
285
 
286
- #: inc/setting_admin_general.php:142
287
- #: inc/setting_loginscreen.php:111
 
 
 
 
 
 
 
 
288
  msgid "CSS file to load"
289
  msgstr "CSSファイルを読み込む"
290
 
291
  #: inc/setting_admin_general.php:154
292
- msgid "Title tag for Admin screen"
293
- msgstr "管理画面のタイトルタグ"
294
 
295
  #: inc/setting_admin_general.php:159
296
- msgid "Remove \"Wordpress\" from the title tag of the Admin screen"
297
  msgstr "管理画面のタイトルタグから\"WordPress\"を削除"
298
 
299
- #: inc/setting_admin_general.php:165
300
- msgid "Resizing Admin bar"
301
- msgstr "管理バーリサイズ"
302
-
303
  #: inc/setting_admin_general.php:170
304
- msgid "Don't resize"
305
  msgstr "リサイズしない"
306
 
307
  #: inc/setting_appearance_menus.php:39
308
  msgid "Create a new menu"
309
  msgstr "新規メニュー作成"
310
 
311
- #: inc/setting_appearance_menus.php:45
312
- #: inc/setting_appearance_menus.php:59
313
- msgid "This is useful when you want to use only the menus have been created."
 
314
  msgstr "作成済みのメニューだけを使用する時に便利です。"
315
 
316
- #: inc/setting_dashboard.php:34
317
- msgid "Meta boxes"
318
- msgstr "メタボックス"
319
 
320
- #: inc/setting_dashboard.php:43
321
- #: inc/setting_manage_metabox.php:56
322
- #: inc/setting_manage_metabox.php:153
323
- #: inc/setting_manage_metabox.php:258
 
 
 
 
 
 
 
 
324
  #, php-format
325
- msgid "Metaboxes loading for %s"
326
  msgstr "%sのメタボックスを読み込む"
327
 
328
- #: inc/setting_dashboard.php:61
329
- #: inc/setting_manage_metabox.php:77
330
- #: inc/setting_manage_metabox.php:174
331
- #: inc/setting_manage_metabox.php:279
332
- msgid "Change metabox title to"
333
- msgstr "メタボックス名を変更"
334
 
335
- #: inc/setting_dashboard.php:110
336
  msgid "Other"
337
  msgstr "その他"
338
 
339
- #: inc/setting_dashboard.php:117
340
- msgid "Meta box movement restriction"
341
- msgstr "メタボックスの移動制限"
342
 
343
- #: inc/setting_dashboard.php:122
344
- msgid "Prevent selected roles from re-arranging metaboxes"
345
  msgstr "メタボックスを移動させない"
346
 
347
  #: inc/setting_default.php:16
348
- msgid "Customize the UI of the management screen for all users."
349
- msgstr "全てのユーザーの管理画面UIをカスタマイズします。"
 
 
 
 
 
350
 
351
- #: inc/setting_default.php:17
352
- msgid "Please select the user roles that all settings will apply to."
353
  msgstr "設定を適用する権限を選んでください。"
354
 
355
- #: inc/setting_default.php:19
356
- msgid "Please use the Multiple Add-on if you want per role customization."
357
- msgstr "ユーザー権限ごとに設定したい場合は マルチ設定アドオン を使用してください。"
358
-
359
- #: inc/setting_default.php:33
360
- msgid "Are you happy with this plugin?<br />Japanese law prohibits PayPal donations. <br />Please consider purchasing the Line Break First and End plugin in lieu of a donation."
361
- msgstr "このプラグインを使って満足できましたか?<br />日本の法律では、日本の新PayPalユーザーは寄付ボタンを作成することはできません。<br />なので寄付の代わりとしてこのプラグインを購入して欲しいです。"
362
-
363
- #: inc/setting_default.php:40
364
- msgid "Features"
365
- msgstr "機能について"
366
-
367
- #: inc/setting_default.php:41
368
- msgid "Line Break First and End plugin allows for line breaks when using the visual editor TinyMCE."
369
- msgstr "Line Break First and Endプラグインは、TinyMCEのビジュアルエディタで、改行を入力することが出来なくなった時に便利なプラグインです。"
370
-
371
- #: inc/setting_default.php:44
372
- msgid "The primary use of donations"
373
- msgstr "寄付の主な使用目的"
374
-
375
- #: inc/setting_default.php:46
376
- msgid "Liquidation of time and value"
377
- msgstr "時間と価値の清算"
378
-
379
- #: inc/setting_default.php:47
380
- msgid "Additional suggestions feature"
381
- msgstr "機能提案の追加"
382
-
383
- #: inc/setting_default.php:48
384
- msgid "Maintain motivation"
385
- msgstr "モチベーション維持"
386
-
387
- #: inc/setting_default.php:49
388
- msgid "Ensure time as the father of Sunday"
389
- msgstr "日曜日の父親としての時間確保"
390
 
391
- #: inc/setting_default.php:56
392
  msgid "About plugin"
393
  msgstr "プラグインについて"
394
 
395
- #: inc/setting_default.php:58
396
- msgid "Version checked"
397
- msgstr "動作確認済み"
398
 
399
- #: inc/setting_default.php:60
400
- msgid "Plugin's site"
401
- msgstr "プラグインのサイト"
402
 
403
- #: inc/setting_default.php:61
404
- msgid "Developer's site"
405
- msgstr "開発者のサイト"
406
 
407
- #: inc/setting_default.php:63
 
 
 
 
408
  msgid "Reviews"
409
  msgstr "レビュー"
410
 
411
- #: inc/setting_default.php:71
412
- #: inc/setting_loginscreen.php:36
413
  msgid "Useful plugins"
414
  msgstr "便利なプラグイン"
415
 
416
- #: inc/setting_default.php:74
417
- msgid "Apply setting on a per-role basis."
418
- msgstr "ユーザー権限ごとに別々の設定を簡単にできるアドオンです。"
419
 
420
- #: inc/setting_default.php:76
421
  msgid "Easily import/export setting between installations."
422
- msgstr "このアドオンは、WP Admin UI Customizeの設定データをインポート&エクスポートする為のアドオンです。"
 
 
423
 
424
- #: inc/setting_default.php:78
425
  msgid "Unified custom management screens for Multisite."
426
- msgstr "このアドオンは、マルチサイトで全てのサイトの管理画面を統一する為のアドオンです。"
 
 
427
 
428
- #: inc/setting_default.php:80
429
- msgid "Customize list view columns for posts, pages, custom post types, media library, and other management screens."
430
- msgstr "投稿と固定ページ、カスタム投稿タイプ、メディアライブラリー等の一覧を自由にカスタマイズできます。"
 
 
 
 
431
 
432
- #: inc/setting_default.php:82
433
  msgid "Create dashboard messages to be displayed for selected user roles."
434
  msgstr "ダッシュボードにユーザー権限やサイトごとにお知らせを表示します。"
435
 
436
- #: inc/setting_default.php:84
437
- msgid "Create custom global variables that can be used with generated template tags or shortcodes."
438
- msgstr "オプション値作成プラグインです。作成したオプション値は、ショートコードとして記事に、テンプレートタグとしても使用できます。"
439
-
440
- #: inc/setting_default.php:124
441
- msgid "User Roles Settings"
442
- msgstr "ユーザー権限設定"
443
-
444
- #: inc/setting_default.php:133
445
- msgid "If you have already donated to."
446
- msgstr "寄付済みの方へ。"
447
-
448
- #: inc/setting_default.php:134
449
- msgid "Please enter the 'Donation Delete Key' that was provided on the Line Break First and End download page."
450
- msgstr "'Line Break First and End download page' ダウンロードページに記載されていた寄付削除キーを入力して、寄付メッセージを削除できます。"
451
 
452
- #: inc/setting_default.php:137
453
- msgid "Donation Delete Key:"
454
- msgstr "寄付メッセージ削除キー:"
 
455
 
456
- #: inc/setting_default.php:145
457
  msgid "Do you need professional setup and customization?"
458
  msgstr "何かカスタマイズしたい事はありますか?"
459
 
460
- #: inc/setting_default.php:151
461
  msgid "I provide full service customization for WP Admin UI Customize."
462
  msgstr "私は管理画面のカスタマイズを得意とします。"
463
 
464
- #: inc/setting_default.php:152
465
  msgid "Please contact me if you are interested."
466
  msgstr "宜しければご検討ください。"
467
 
468
- #: inc/setting_default.php:154
469
  msgid "Example Customize"
470
  msgstr "カスタマイズ例"
471
 
472
- #: inc/setting_default.php:155
473
  msgid "Contact me"
474
  msgstr "お問い合わせ"
475
 
476
- #: inc/setting_loginscreen.php:16
477
- #: inc/setting_loginscreen.php:152
478
- msgid "Login Screen Settings"
479
- msgstr "ログイン画面の設定"
480
-
481
  #: inc/setting_loginscreen.php:25
482
- msgid "Is not possible to check the login form if you do not log out in the case of MultiSite."
483
- msgstr "マルチサイトの場合はログアウトしないとログインフォームの表示確認はできません。"
 
 
 
 
 
 
 
 
484
 
485
  #: inc/setting_loginscreen.php:27
486
  msgid "Show Current Login Screen"
@@ -490,94 +509,134 @@ msgstr "ログイン画面を表示"
490
  msgid "Flexible plugin for login screen customization."
491
  msgstr "柔軟にログイン画面をカスタマイズするプラグインです。"
492
 
493
- #: inc/setting_loginscreen.php:51
494
- msgid "Login Form"
495
- msgstr "ログインフォーム"
496
-
497
  #: inc/setting_loginscreen.php:58
498
- msgid "The link after clicking on the logo"
499
- msgstr "ロゴのリンク先"
500
 
501
  #: inc/setting_loginscreen.php:71
502
  msgid "Logo Title"
503
  msgstr "ロゴタイトル"
504
 
505
  #: inc/setting_loginscreen.php:83
506
- msgid "Logo Image path"
507
- msgstr "ロゴ画像のパス"
508
 
509
- #: inc/setting_manage_metabox.php:18
510
- msgid "Please update or add a \"post\" and a \"page\" to load the available meta boxes."
511
- msgstr "メタボックスを読み込むには編集画面にアクセスしてください。"
512
 
513
  #: inc/setting_manage_metabox.php:19
514
- msgid "Please enter if you want to change of Metabox label name."
515
- msgstr "メタボックス名は変更したい時だけ入力してください。"
 
 
516
 
517
- #: inc/setting_manage_metabox.php:75
518
- #: inc/setting_manage_metabox.php:172
519
- #: inc/setting_manage_metabox.php:277
 
 
 
520
  msgid "Default Open"
521
  msgstr "デフォルトの表示"
522
 
523
- #: inc/setting_manage_metabox.php:103
524
- #: inc/setting_manage_metabox.php:199
525
- #: inc/setting_manage_metabox.php:303
 
 
 
 
 
526
  msgid "Expanded"
527
  msgstr "開く"
528
 
529
- #: inc/setting_manage_metabox.php:104
530
- #: inc/setting_manage_metabox.php:200
531
- #: inc/setting_manage_metabox.php:304
532
  msgid "Collapsed"
533
  msgstr "閉じる"
534
 
535
- #: inc/setting_manage_metabox.php:115
536
- #: inc/setting_manage_metabox.php:211
537
  #: inc/setting_post_add_edit.php:48
538
- msgid "Notice: If hide the Discussion on metabox, comments does not display of Add New Post on apply user role."
539
- msgstr "注意: ディスカッションメタボックスを隠す場合、適用された権限の新規投稿はコメントが表示されません。"
 
 
 
 
540
 
541
- #: inc/setting_manage_metabox.php:117
542
- #: inc/setting_manage_metabox.php:213
543
- msgid "Please set from here if you want to view the comments on screen."
544
  msgstr "コメントが表示されるようにしたい場合はここから設定してください。"
545
 
546
- #: inc/setting_plugin_cap.php:17
547
  #, php-format
548
  msgid "You can change the user role %2$s of %1$s settings."
549
  msgstr "%1$sの設定%2$sを変更することができます。"
550
 
551
- #: inc/setting_plugin_cap.php:18
552
  #, php-format
553
- msgid "Please choose the minimum role that can modify %s settings."
554
  msgstr "%s を動作させる最小限の権限を選択してください。"
555
 
556
- #: inc/setting_plugin_cap.php:35
557
  #, php-format
558
- msgid "Capability role for the %s"
559
  msgstr "%s を動作させる権限"
560
 
 
 
 
 
 
 
 
 
 
 
 
 
561
  #: inc/setting_post_add_edit.php:41
562
- msgid "Allow people to post comments on new articles when hide to discussion of metabox"
563
- msgstr "ディスカッションメタボックスが非表示でも新しい投稿へのコメントを許可する"
 
 
 
 
 
564
 
565
  #: inc/setting_post_add_edit.php:49
566
- msgid "Please select if you want to display the comments on Site."
567
- msgstr "サイトでコメントを表示させたい場合選択してください。"
568
 
569
  #: inc/setting_post_add_edit.php:50
570
  #, php-format
571
- msgid "However, this will follow the setting of %s."
572
  msgstr "ただし、これは%sの設定に従います。"
573
 
 
 
 
 
574
  #: inc/setting_post_add_edit.php:52
575
  #, php-format
576
  msgid "Please select the <strong>%s</strong>"
577
  msgstr "<strong>%s</strong> を選択してください。"
578
 
 
 
 
 
 
 
 
 
 
 
 
 
579
  #: inc/setting_post_add_edit.php:78
580
- msgid "Only appears when you have settings to the default permalink."
581
  msgstr "デフォルトのパーマリンクに設定している時のみ表示されます。"
582
 
583
  #: inc/setting_sidemenu.php:19
@@ -589,51 +648,164 @@ msgstr "新しいプラグインメニューは <strong>%s</strong> に追加さ
589
  msgid "Sepalator"
590
  msgstr "区切り線"
591
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
592
  #: inc/setting_sidemenu.php:114
593
  msgid "Current menu"
594
  msgstr "現在のメニュー"
595
 
596
- #: inc/setting_sidemenu.php:216
597
- msgid "Delete all the Current menu"
598
  msgstr "現在のメニューを全て削除"
599
 
 
 
 
 
600
  #: inc/setting_site.php:35
601
  msgid "Header Meta"
602
  msgstr "ヘッダー metaタグ"
603
 
604
- #: inc/setting_site.php:48
605
- #: inc/setting_site.php:61
606
- #: inc/setting_site.php:74
607
- #: inc/setting_site.php:87
608
- #: inc/setting_site.php:100
609
- msgid "Tag to be output"
610
- msgstr "出力されるタグ"
611
 
612
  #: inc/setting_site.php:60
613
- msgid "Please display when using the Windows Live Writer."
614
  msgstr "Windows Live Writer を使う場合は表示させてください。"
615
 
616
  #: inc/setting_site.php:73
617
- msgid "Information of XML-rpc"
618
  msgstr "XML-RPC投稿プロトコル(外部からの投稿)情報"
619
 
620
  #: inc/setting_site.php:86
621
- msgid "Sitewide feed"
622
  msgstr "サイト全体のフィード"
623
 
 
 
 
 
 
624
  #: inc/setting_site.php:99
625
- msgid "Extra feed"
626
  msgstr "その他のフィードリンク"
627
 
628
- #: inc/setting_site.php:124
629
- msgid "Admin Bar"
630
- msgstr "管理バー"
 
631
 
632
  #: inc/setting_site.php:127
633
- msgid "Hide the Admin bar on the front end"
634
- msgstr "フロント(サイト)で管理バーを非表示"
635
 
636
  #: inc/setting_site.php:127
637
- msgid "Apply WP Admin UI Customize settings on the front end admin bar also"
638
  msgstr "WP Admin UI Customize の管理バーの設定をフロントにも適用"
639
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: WP Admin UI Customize\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2016-08-18 16:53+0900\n"
6
+ "PO-Revision-Date: 2016-08-18 16:55+0900\n"
7
  "Last-Translator: gqevu6bsiz <gqevu6bsiz@gmail.com>\n"
8
  "Language-Team: gqevu6bsiz@gmail.com <gqevu6bsiz@gmail.com>\n"
9
+ "Language: ja_JP\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: ..\n"
15
  "Plural-Forms: nplurals=1; plural=0;\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Generator: Poedit 1.8.8\n"
 
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
  #: wp-admin-ui-customize.php:4
21
+ msgid "An excellent plugin to customize the WordPress management UI."
22
  msgstr "管理画面のカスタマイズに優れたプラグインです。"
23
 
24
+ #: inc/list_variables.php:19 inc/setting_admin_bar_menu.php:25
25
+ #: inc/setting_admin_general.php:125 inc/setting_admin_general.php:148
26
+ #: inc/setting_loginscreen.php:64 inc/setting_loginscreen.php:77
27
+ #: inc/setting_loginscreen.php:89 inc/setting_loginscreen.php:116
28
+ #: inc/setting_loginscreen.php:128 inc/setting_sidemenu.php:24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  msgid "Shortcodes"
30
  msgstr "ショートコード一覧"
31
 
32
+ #: inc/list_variables.php:20
33
+ msgid "Value"
34
+ msgstr ""
35
+
36
  #: inc/list_variables.php:44
37
  msgid "Blog name of logged in."
38
  msgstr "ログイン中のブログ名"
41
  msgid "Blog URL of logged in."
42
  msgstr "ログイン中のブログURL"
43
 
44
+ #: inc/list_variables.php:103 inc/list_variables.php:110
45
+ #: inc/list_variables.php:117 inc/list_variables.php:124
 
 
46
  msgid "In your case."
47
  msgstr "これはあなたの場合です。"
48
 
49
+ #: inc/list_variables.php:130 inc/setting_manage_metabox.php:38
50
+ #: inc/setting_manage_metabox.php:123
51
+ msgid "Posts"
52
+ msgstr ""
53
+
54
  #: inc/list_variables.php:131
55
  msgid "Current Post Type Name"
56
  msgstr "現在の投稿タイプ名"
57
 
58
+ #: inc/list_variables.php:131 inc/setting_manage_metabox.php:135
59
+ #: inc/setting_manage_metabox.php:219
60
+ msgid "Pages"
61
+ msgstr ""
62
+
63
+ #: inc/list_variables.php:131
64
+ msgid "Categories"
65
+ msgstr ""
66
+
67
+ #: inc/list_variables.php:131
68
+ msgid "Tags"
69
+ msgstr ""
70
+
71
+ #: inc/list_variables.php:131
72
+ msgid "Custom Post Type"
73
+ msgstr "カスタム投稿"
74
+
75
+ #: inc/reset_userrole.php:15 wp-admin-ui-customize.php:188
76
+ msgid "Reset Settings"
77
+ msgstr "設定リセット"
78
+
79
  #: inc/reset_userrole.php:23
80
  msgid "Applied user roles"
81
  msgstr "適用されたユーザー権限"
82
 
83
+ #: inc/reset_userrole.php:33 inc/setting_admin_bar_menu.php:87
84
+ #: inc/setting_admin_general.php:191 inc/setting_appearance_menus.php:81
85
+ #: inc/setting_dashboard.php:142 inc/setting_default.php:100
86
+ #: inc/setting_loginscreen.php:151 inc/setting_manage_metabox.php:354
87
+ #: inc/setting_plugin_cap.php:82 inc/setting_post_add_edit.php:101
88
+ #: inc/setting_sidemenu.php:237 inc/setting_site.php:160
 
 
 
 
 
 
89
  #, php-format
90
  msgid "Reset the %s?"
91
  msgstr "%s をリセットしますか?"
92
 
93
+ #: inc/reset_userrole.php:33 inc/setting_default.php:100
94
+ msgid "User Roles Settings"
95
+ msgstr "ユーザー権限設定"
96
+
97
  #: inc/reset_userrole.php:35
98
+ msgid "Reset User Roles Settings"
99
+ msgstr "ユーザー権限グループ設定をリセット"
 
 
 
 
 
 
 
 
 
 
 
100
 
101
+ #: inc/reset_userrole.php:42 inc/reset_userrole.php:64
102
+ msgid "Reset all settings"
103
+ msgstr "全てをリセット"
 
104
 
105
  #: inc/reset_userrole.php:47
106
+ msgid "All settings below will be deleted."
107
  msgstr "以下のすべての設定が削除されます。"
108
 
109
+ #: inc/reset_userrole.php:49 wp-admin-ui-customize.php:178
110
+ #: wp-admin-ui-customize.php:1192
111
+ msgid "Frontend"
112
+ msgstr "サイト"
113
+
114
+ #: inc/reset_userrole.php:50 inc/setting_admin_general.php:16
115
+ #: inc/setting_admin_general.php:191
116
+ #, php-format
117
+ msgid "%1$s %2$s"
118
+ msgstr "%1$s%2$s"
119
+
120
+ #: inc/reset_userrole.php:50 inc/setting_admin_general.php:16
121
+ #: inc/setting_admin_general.php:135 inc/setting_admin_general.php:191
122
+ #: inc/setting_loginscreen.php:103 inc/setting_site.php:117
123
+ #: wp-admin-ui-customize.php:179
124
+ msgid "General"
125
+ msgstr ""
126
+
127
+ #: inc/reset_userrole.php:50 inc/setting_admin_bar_menu.php:87
128
+ #: inc/setting_admin_general.php:16 inc/setting_admin_general.php:191
129
+ #: inc/setting_dashboard.php:16 inc/setting_dashboard.php:142
130
+ #: inc/setting_manage_metabox.php:354 inc/setting_plugin_cap.php:82
131
+ #: inc/setting_sidemenu.php:237 wp-admin-ui-customize.php:147
132
+ msgid "Settings"
133
+ msgstr ""
134
+
135
+ #: inc/reset_userrole.php:51 inc/setting_dashboard.php:16
136
+ #: inc/setting_dashboard.php:96 inc/setting_dashboard.php:142
137
+ #: wp-admin-ui-customize.php:180 wp-admin-ui-customize.php:479
138
+ msgid "Dashboard"
139
+ msgstr ""
140
+
141
+ #: inc/reset_userrole.php:52 inc/setting_admin_bar_menu.php:18
142
+ #: inc/setting_admin_bar_menu.php:87 inc/setting_admin_general.php:165
143
+ #: inc/setting_site.php:124 wp-admin-ui-customize.php:181
144
+ msgid "Admin bar"
145
+ msgstr "管理バー"
146
+
147
+ #: inc/reset_userrole.php:53 inc/setting_sidemenu.php:17
148
+ #: inc/setting_sidemenu.php:237 wp-admin-ui-customize.php:182
149
+ msgid "Sidebar"
150
+ msgstr "サイドバー"
151
+
152
+ #: inc/reset_userrole.php:54 inc/setting_dashboard.php:34
153
+ #: wp-admin-ui-customize.php:183
154
+ msgid "Meta boxes"
155
+ msgstr "メタボックス"
156
+
157
+ #: inc/reset_userrole.php:55 wp-admin-ui-customize.php:184
158
+ msgid "Posts and Pages"
159
+ msgstr "投稿と固定ページ"
160
+
161
+ #: inc/reset_userrole.php:56 inc/setting_appearance_menus.php:14
162
+ #: inc/setting_appearance_menus.php:81 wp-admin-ui-customize.php:185
163
+ msgid "Appearance Menus"
164
+ msgstr "外観メニュー"
165
+
166
+ #: inc/reset_userrole.php:57 inc/setting_loginscreen.php:16
167
+ #: inc/setting_loginscreen.php:51 inc/setting_loginscreen.php:151
168
+ #: wp-admin-ui-customize.php:186
169
+ msgid "Login Form"
170
+ msgstr "ログインフォーム"
171
+
172
+ #: inc/reset_userrole.php:58 inc/setting_plugin_cap.php:17
173
+ #: inc/setting_plugin_cap.php:82 wp-admin-ui-customize.php:187
174
+ #, php-format
175
+ msgid "%1$s of %2$s %3$s"
176
+ msgstr "%2$s%3$sの%1$s"
177
+
178
+ #: inc/reset_userrole.php:58 inc/setting_plugin_cap.php:17
179
+ #: inc/setting_plugin_cap.php:82 wp-admin-ui-customize.php:187
180
+ msgid "Change"
181
+ msgstr ""
182
+
183
+ #: inc/reset_userrole.php:58 inc/setting_plugin_cap.php:17
184
+ #: inc/setting_plugin_cap.php:82 wp-admin-ui-customize.php:187
185
+ msgid "Plugin"
186
+ msgstr ""
187
+
188
+ #: inc/reset_userrole.php:58 inc/setting_plugin_cap.php:17
189
+ #: inc/setting_plugin_cap.php:18 inc/setting_plugin_cap.php:43
190
+ #: inc/setting_plugin_cap.php:82 wp-admin-ui-customize.php:187
191
+ msgid "Capabilities"
192
+ msgstr ""
193
+
194
  #: inc/reset_userrole.php:62
195
  msgid "Are you sure you want to delete all settings?"
196
  msgstr "本当に全ての設定を削除してもよろしいですか?"
197
 
198
+ #: inc/setting_admin_bar_menu.php:19 inc/setting_sidemenu.php:18
199
+ msgid "Drag menu items to edit and reorder menus."
200
+ msgstr "ドラッグ&ドロップでメニューを変更できます。"
 
201
 
202
+ #: inc/setting_admin_bar_menu.php:20 inc/setting_sidemenu.php:20
203
+ msgid ""
204
+ "Note: Using the same menu item multiple times could cause unexpected "
205
+ "behavior."
206
  msgstr "注意: 複数同じメニュースラッグを設置しないでください。"
207
 
208
  #: inc/setting_admin_bar_menu.php:21
209
+ msgid "You can use multiple custom menus."
210
  msgstr "カスタムメニューは複数設置できます。"
211
 
212
+ #: inc/setting_admin_bar_menu.php:25 inc/setting_admin_general.php:125
213
+ #: inc/setting_admin_general.php:148 inc/setting_loginscreen.php:64
214
+ #: inc/setting_loginscreen.php:77 inc/setting_loginscreen.php:89
215
+ #: inc/setting_loginscreen.php:116 inc/setting_loginscreen.php:128
 
 
 
 
216
  #: inc/setting_sidemenu.php:24
217
  msgid "Available Shortcodes"
218
  msgstr "利用可能なショートコード一覧"
219
 
220
  #: inc/setting_admin_bar_menu.php:33
221
+ msgid "Sub menus can be a maximum of four levels deep."
222
  msgstr "サブメニューは最大4階層まで設定できます。"
223
 
224
  #: inc/setting_admin_bar_menu.php:34
225
+ msgid "Additional documentation"
226
+ msgstr "ドキュメントはこちら"
227
 
228
+ #: inc/setting_admin_bar_menu.php:48 inc/setting_admin_bar_menu.php:102
229
+ #: inc/setting_admin_bar_menu.php:118 inc/setting_appearance_menus.php:32
230
+ msgid "Menus"
231
+ msgstr ""
232
+
233
+ #: inc/setting_admin_bar_menu.php:83 inc/setting_admin_general.php:187
234
+ #: inc/setting_appearance_menus.php:77 inc/setting_dashboard.php:138
235
+ #: inc/setting_default.php:96 inc/setting_loginscreen.php:147
236
+ #: inc/setting_manage_metabox.php:350 inc/setting_plugin_cap.php:78
237
+ #: inc/setting_post_add_edit.php:97 inc/setting_sidemenu.php:233
238
+ #: inc/setting_site.php:156
239
+ msgid "Save"
240
+ msgstr ""
241
+
242
+ #: inc/setting_admin_bar_menu.php:88 inc/setting_admin_general.php:192
243
+ #: inc/setting_appearance_menus.php:82 inc/setting_dashboard.php:143
244
+ #: inc/setting_default.php:101 inc/setting_loginscreen.php:152
245
+ #: inc/setting_manage_metabox.php:355 inc/setting_plugin_cap.php:83
246
+ #: inc/setting_post_add_edit.php:102 inc/setting_sidemenu.php:238
247
+ #: inc/setting_site.php:161
248
+ msgid "Reset settings"
249
+ msgstr "設定をリセット"
250
+
251
+ #: inc/setting_admin_bar_menu.php:93 inc/setting_sidemenu.php:19
252
  #: inc/setting_sidemenu.php:40
253
+ msgid "Available menu items"
254
+ msgstr "利用可能なメニュー"
255
+
256
+ #: inc/setting_admin_bar_menu.php:102
257
+ msgid "Custom"
258
+ msgstr "カスタム"
259
 
260
  #: inc/setting_admin_general.php:34
261
  msgid "Notifications"
262
  msgstr "通知"
263
 
264
  #: inc/setting_admin_general.php:40
265
+ msgid "WordPress core updates"
266
+ msgstr "WordPressコアアップデート"
267
 
268
+ #: inc/setting_admin_general.php:46 inc/setting_admin_general.php:57
 
269
  #: inc/setting_admin_general.php:68
270
+ msgid "Hide notifications"
271
  msgstr "通知しない"
272
 
273
  #: inc/setting_admin_general.php:51
274
+ msgid "Plugin updates"
275
+ msgstr "プラグインアップデート"
276
 
277
  #: inc/setting_admin_general.php:62
278
+ msgid "Theme updates"
279
+ msgstr "テーマアップデート"
280
 
281
  #: inc/setting_admin_general.php:78
282
  msgid "Screen Options and Help Tab"
283
  msgstr "表示オプションとヘルプタブ"
284
 
285
+ #: inc/setting_admin_general.php:84
286
+ msgid "Screen Options"
287
+ msgstr ""
288
+
289
+ #: inc/setting_admin_general.php:90 inc/setting_admin_general.php:101
290
+ #: inc/setting_appearance_menus.php:44 inc/setting_appearance_menus.php:58
291
+ #: inc/setting_dashboard.php:59 inc/setting_dashboard.php:74
292
+ #: inc/setting_manage_metabox.php:72 inc/setting_manage_metabox.php:168
293
+ #: inc/setting_manage_metabox.php:272 inc/setting_post_add_edit.php:77
294
+ #: inc/setting_site.php:47 inc/setting_site.php:59 inc/setting_site.php:72
295
+ #: inc/setting_site.php:85 inc/setting_site.php:98
296
+ msgid "Hide"
297
+ msgstr ""
298
+
299
+ #: inc/setting_admin_general.php:95
300
+ msgid "Help"
301
+ msgstr ""
302
+
303
+ #: inc/setting_admin_general.php:111
304
+ msgid "Footer"
305
+ msgstr "フッター"
306
+
307
+ #: inc/setting_admin_general.php:117 inc/setting_loginscreen.php:122
308
  msgid "Footer text"
309
  msgstr "フッターテキスト"
310
 
311
+ #: inc/setting_admin_general.php:124 inc/setting_plugin_cap.php:61
312
+ msgid "Default"
313
+ msgstr ""
314
+
315
+ #: inc/setting_admin_general.php:124
316
+ #, php-format
317
+ msgid "Thank you for creating with <a href=\"%s\">WordPress</a>."
318
+ msgstr ""
319
+
320
+ #: inc/setting_admin_general.php:142 inc/setting_loginscreen.php:110
321
  msgid "CSS file to load"
322
  msgstr "CSSファイルを読み込む"
323
 
324
  #: inc/setting_admin_general.php:154
325
+ msgid "Admin screen"
326
+ msgstr "管理画面"
327
 
328
  #: inc/setting_admin_general.php:159
329
+ msgid "Remove \"Wordpress\" from title tag"
330
  msgstr "管理画面のタイトルタグから\"WordPress\"を削除"
331
 
 
 
 
 
332
  #: inc/setting_admin_general.php:170
333
+ msgid "Disable resizing"
334
  msgstr "リサイズしない"
335
 
336
  #: inc/setting_appearance_menus.php:39
337
  msgid "Create a new menu"
338
  msgstr "新規メニュー作成"
339
 
340
+ #: inc/setting_appearance_menus.php:45 inc/setting_appearance_menus.php:59
341
+ msgid ""
342
+ "This is useful when you want to use only the menus that have already been "
343
+ "created."
344
  msgstr "作成済みのメニューだけを使用する時に便利です。"
345
 
346
+ #: inc/setting_appearance_menus.php:53
347
+ msgid "Delete Menu"
348
+ msgstr ""
349
 
350
+ #: inc/setting_dashboard.php:45 inc/setting_manage_metabox.php:50
351
+ #: inc/setting_manage_metabox.php:147 inc/setting_manage_metabox.php:252
352
+ msgid "Select All"
353
+ msgstr ""
354
+
355
+ #: inc/setting_dashboard.php:47 inc/setting_manage_metabox.php:56
356
+ #: inc/setting_manage_metabox.php:153 inc/setting_manage_metabox.php:258
357
+ msgid "Update meta box title"
358
+ msgstr "メタボックス名を変更"
359
+
360
+ #: inc/setting_dashboard.php:96 inc/setting_manage_metabox.php:123
361
+ #: inc/setting_manage_metabox.php:219 inc/setting_manage_metabox.php:327
362
  #, php-format
363
+ msgid "Refresh meta boxes for %s"
364
  msgstr "%sのメタボックスを読み込む"
365
 
366
+ #: inc/setting_dashboard.php:101 inc/setting_manage_metabox.php:128
367
+ #: inc/setting_manage_metabox.php:224 inc/setting_manage_metabox.php:332
368
+ msgid "Loading&hellip;"
369
+ msgstr ""
 
 
370
 
371
+ #: inc/setting_dashboard.php:109
372
  msgid "Other"
373
  msgstr "その他"
374
 
375
+ #: inc/setting_dashboard.php:116
376
+ msgid "Meta box movement"
377
+ msgstr "メタボックスの移動"
378
 
379
+ #: inc/setting_dashboard.php:121
380
+ msgid "Prevent selected roles from re-arrange meta boxes"
381
  msgstr "メタボックスを移動させない"
382
 
383
  #: inc/setting_default.php:16
384
+ msgid ""
385
+ "\n"
386
+ "WP Admin UI Customize allows the management UI for different user roles to "
387
+ "be customized."
388
+ msgstr ""
389
+ "\n"
390
+ "ユーザーの管理画面UIをカスタマイズします。"
391
 
392
+ #: inc/setting_default.php:18
393
+ msgid "Select the user roles to customize below."
394
  msgstr "設定を適用する権限を選んでください。"
395
 
396
+ #: inc/setting_default.php:20
397
+ msgid ""
398
+ "The Multiple Add-on is needed to create unique customizations for different "
399
+ "user roles."
400
+ msgstr ""
401
+ "ユーザー権限ごとに設定したい場合は マルチ設定アドオン を使用してください。"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
402
 
403
+ #: inc/setting_default.php:32
404
  msgid "About plugin"
405
  msgstr "プラグインについて"
406
 
407
+ #: inc/setting_default.php:34
408
+ msgid "Tested with WordPress versions"
409
+ msgstr "テスト済みWordPressバージョン"
410
 
411
+ #: inc/setting_default.php:36
412
+ msgid "Plugin site"
413
+ msgstr "プラグインサイト"
414
 
415
+ #: inc/setting_default.php:37
416
+ msgid "Developer site"
417
+ msgstr "開発者サイト"
418
 
419
+ #: inc/setting_default.php:38 wp-admin-ui-customize.php:148
420
+ msgid "Support Forums"
421
+ msgstr ""
422
+
423
+ #: inc/setting_default.php:39
424
  msgid "Reviews"
425
  msgstr "レビュー"
426
 
427
+ #: inc/setting_default.php:47 inc/setting_loginscreen.php:36
 
428
  msgid "Useful plugins"
429
  msgstr "便利なプラグイン"
430
 
431
+ #: inc/setting_default.php:50
432
+ msgid "Create unique customizations for different user roles"
433
+ msgstr "ユーザー権限グループごとに別々の設定を簡単にできるアドオンです。"
434
 
435
+ #: inc/setting_default.php:52
436
  msgid "Easily import/export setting between installations."
437
+ msgstr ""
438
+ "このアドオンは、WP Admin UI Customizeの設定データをインポート&エクスポートす"
439
+ "る為のアドオンです。"
440
 
441
+ #: inc/setting_default.php:54
442
  msgid "Unified custom management screens for Multisite."
443
+ msgstr ""
444
+ "このアドオンは、マルチサイトで全てのサイトの管理画面を統一する為のアドオンで"
445
+ "す。"
446
 
447
+ #: inc/setting_default.php:56
448
+ msgid ""
449
+ "Customize list view columns for posts, pages, custom post types, media "
450
+ "library, and other management screens."
451
+ msgstr ""
452
+ "投稿と固定ページ、カスタム投稿タイプ、メディアライブラリー等の一覧を自由にカ"
453
+ "スタマイズできます。"
454
 
455
+ #: inc/setting_default.php:58
456
  msgid "Create dashboard messages to be displayed for selected user roles."
457
  msgstr "ダッシュボードにユーザー権限やサイトごとにお知らせを表示します。"
458
 
459
+ #: inc/setting_default.php:60
460
+ msgid ""
461
+ "Create custom global variables that can be used with generated template tags "
462
+ "or shortcodes."
463
+ msgstr ""
464
+ "オプション値作成プラグインです。作成したオプション値は、ショートコードとして"
465
+ "記事に、テンプレートタグとしても使用できます。"
 
 
 
 
 
 
 
 
466
 
467
+ #: inc/setting_default.php:79 wp-admin-ui-customize.php:355
468
+ #: wp-admin-ui-customize.php:750 wp-admin-ui-customize.php:794
469
+ msgid "User Roles"
470
+ msgstr ""
471
 
472
+ #: inc/setting_default.php:111
473
  msgid "Do you need professional setup and customization?"
474
  msgstr "何かカスタマイズしたい事はありますか?"
475
 
476
+ #: inc/setting_default.php:117
477
  msgid "I provide full service customization for WP Admin UI Customize."
478
  msgstr "私は管理画面のカスタマイズを得意とします。"
479
 
480
+ #: inc/setting_default.php:118
481
  msgid "Please contact me if you are interested."
482
  msgstr "宜しければご検討ください。"
483
 
484
+ #: inc/setting_default.php:120
485
  msgid "Example Customize"
486
  msgstr "カスタマイズ例"
487
 
488
+ #: inc/setting_default.php:121
489
  msgid "Contact me"
490
  msgstr "お問い合わせ"
491
 
 
 
 
 
 
492
  #: inc/setting_loginscreen.php:25
493
+ msgid ""
494
+ "Is not possible to check the login form if you do not log out in the case of "
495
+ "MultiSite."
496
+ msgstr ""
497
+ "マルチサイトの場合はログアウトしないとログインフォームの表示確認はできませ"
498
+ "ん。"
499
+
500
+ #: inc/setting_loginscreen.php:27
501
+ msgid "Login Screen"
502
+ msgstr "ログイン画面"
503
 
504
  #: inc/setting_loginscreen.php:27
505
  msgid "Show Current Login Screen"
509
  msgid "Flexible plugin for login screen customization."
510
  msgstr "柔軟にログイン画面をカスタマイズするプラグインです。"
511
 
 
 
 
 
512
  #: inc/setting_loginscreen.php:58
513
+ msgid "Logo URL"
514
+ msgstr "ロゴURL"
515
 
516
  #: inc/setting_loginscreen.php:71
517
  msgid "Logo Title"
518
  msgstr "ロゴタイトル"
519
 
520
  #: inc/setting_loginscreen.php:83
521
+ msgid "Logo Image URL"
522
+ msgstr "ロゴ画像URL"
523
 
524
+ #: inc/setting_manage_metabox.php:18 inc/setting_manage_metabox.php:354
525
+ msgid "Management of meta boxes"
526
+ msgstr "メタボックス管理"
527
 
528
  #: inc/setting_manage_metabox.php:19
529
+ msgid ""
530
+ "Ensure at least one post and page is present and then refresh to display the "
531
+ "available meta boxes."
532
+ msgstr "メタボックスを読み込むには少なくとも1つは投稿を作成してください。"
533
 
534
+ #: inc/setting_manage_metabox.php:20
535
+ msgid "It is also possible to change the meta box display name."
536
+ msgstr "メタボックス名は変更することもできます。"
537
+
538
+ #: inc/setting_manage_metabox.php:54 inc/setting_manage_metabox.php:151
539
+ #: inc/setting_manage_metabox.php:256
540
  msgid "Default Open"
541
  msgstr "デフォルトの表示"
542
 
543
+ #: inc/setting_manage_metabox.php:74 inc/setting_manage_metabox.php:86
544
+ #: inc/setting_manage_metabox.php:170 inc/setting_manage_metabox.php:182
545
+ #: inc/setting_manage_metabox.php:274 inc/setting_manage_metabox.php:286
546
+ msgid "Show"
547
+ msgstr ""
548
+
549
+ #: inc/setting_manage_metabox.php:82 inc/setting_manage_metabox.php:178
550
+ #: inc/setting_manage_metabox.php:282
551
  msgid "Expanded"
552
  msgstr "開く"
553
 
554
+ #: inc/setting_manage_metabox.php:83 inc/setting_manage_metabox.php:179
555
+ #: inc/setting_manage_metabox.php:283
 
556
  msgid "Collapsed"
557
  msgstr "閉じる"
558
 
559
+ #: inc/setting_manage_metabox.php:94 inc/setting_manage_metabox.php:190
 
560
  #: inc/setting_post_add_edit.php:48
561
+ msgid ""
562
+ "If the discussion meta box is hidden comments will not be displayed on new "
563
+ "posts for the selected role."
564
+ msgstr ""
565
+ "ディスカッションメタボックスを隠す場合、適用された権限の新規投稿はコメントが"
566
+ "表示されません。"
567
 
568
+ #: inc/setting_manage_metabox.php:96 inc/setting_manage_metabox.php:192
569
+ msgid "Change this setting to allow comments on new posts"
 
570
  msgstr "コメントが表示されるようにしたい場合はここから設定してください。"
571
 
572
+ #: inc/setting_plugin_cap.php:18
573
  #, php-format
574
  msgid "You can change the user role %2$s of %1$s settings."
575
  msgstr "%1$sの設定%2$sを変更することができます。"
576
 
577
+ #: inc/setting_plugin_cap.php:19
578
  #, php-format
579
+ msgid "Select the capability required to modify %s settings."
580
  msgstr "%s を動作させる最小限の権限を選択してください。"
581
 
582
+ #: inc/setting_plugin_cap.php:36
583
  #, php-format
584
+ msgid "Capability required to modify %s settings"
585
  msgstr "%s を動作させる権限"
586
 
587
+ #: inc/setting_post_add_edit.php:16 inc/setting_post_add_edit.php:101
588
+ msgid "Add New Post and Edit Post Screen Setting"
589
+ msgstr "新規投稿&編集の設定"
590
+
591
+ #: inc/setting_post_add_edit.php:34 inc/setting_post_add_edit.php:65
592
+ msgid "Add New Post"
593
+ msgstr ""
594
+
595
+ #: inc/setting_post_add_edit.php:34
596
+ msgid "Add New Page"
597
+ msgstr ""
598
+
599
  #: inc/setting_post_add_edit.php:41
600
+ msgid "Allow comments if discussion meta box is hidden"
601
+ msgstr ""
602
+ "ディスカッションメタボックスが非表示でも新しい投稿へのコメントを許可する"
603
+
604
+ #: inc/setting_post_add_edit.php:47
605
+ msgid "Allow"
606
+ msgstr ""
607
 
608
  #: inc/setting_post_add_edit.php:49
609
+ msgid "Check 'Allow' to allow comments on new posts."
610
+ msgstr "サイトでコメントを表示させたい場合に選択してください。"
611
 
612
  #: inc/setting_post_add_edit.php:50
613
  #, php-format
614
+ msgid "The %s in WordPress will override this setting."
615
  msgstr "ただし、これは%sの設定に従います。"
616
 
617
+ #: inc/setting_post_add_edit.php:50
618
+ msgid "Default article settings"
619
+ msgstr ""
620
+
621
  #: inc/setting_post_add_edit.php:52
622
  #, php-format
623
  msgid "Please select the <strong>%s</strong>"
624
  msgstr "<strong>%s</strong> を選択してください。"
625
 
626
+ #: inc/setting_post_add_edit.php:52
627
+ msgid "Allow people to post comments on new articles"
628
+ msgstr ""
629
+
630
+ #: inc/setting_post_add_edit.php:65
631
+ msgid "Edit Post"
632
+ msgstr ""
633
+
634
+ #: inc/setting_post_add_edit.php:72
635
+ msgid "Change Permalinks"
636
+ msgstr ""
637
+
638
  #: inc/setting_post_add_edit.php:78
639
+ msgid "Only appears when the permalinks are set to the default setting."
640
  msgstr "デフォルトのパーマリンクに設定している時のみ表示されます。"
641
 
642
  #: inc/setting_sidemenu.php:19
648
  msgid "Sepalator"
649
  msgstr "区切り線"
650
 
651
+ #: inc/setting_sidemenu.php:54 inc/setting_sidemenu.php:133
652
+ msgid "Comments"
653
+ msgstr ""
654
+
655
+ #: inc/setting_sidemenu.php:56 inc/setting_sidemenu.php:135
656
+ msgid "Appearance"
657
+ msgstr ""
658
+
659
+ #: inc/setting_sidemenu.php:58 inc/setting_sidemenu.php:137
660
+ msgid "Plugins"
661
+ msgstr ""
662
+
663
+ #: inc/setting_sidemenu.php:76 inc/setting_sidemenu.php:148
664
+ msgid "Update"
665
+ msgstr ""
666
+
667
  #: inc/setting_sidemenu.php:114
668
  msgid "Current menu"
669
  msgstr "現在のメニュー"
670
 
671
+ #: inc/setting_sidemenu.php:221
672
+ msgid "Remove all items from the current menu"
673
  msgstr "現在のメニューを全て削除"
674
 
675
+ #: inc/setting_site.php:16 inc/setting_site.php:160
676
+ msgid "Site Settings"
677
+ msgstr "サイトの設定"
678
+
679
  #: inc/setting_site.php:35
680
  msgid "Header Meta"
681
  msgstr "ヘッダー metaタグ"
682
 
683
+ #: inc/setting_site.php:48 inc/setting_site.php:61 inc/setting_site.php:74
684
+ #: inc/setting_site.php:87 inc/setting_site.php:100
685
+ msgid "Tag"
686
+ msgstr "タグ"
 
 
 
687
 
688
  #: inc/setting_site.php:60
689
+ msgid "Required if you are using Windows Live Writer."
690
  msgstr "Windows Live Writer を使う場合は表示させてください。"
691
 
692
  #: inc/setting_site.php:73
693
+ msgid "Required if you are using pingbacks."
694
  msgstr "XML-RPC投稿プロトコル(外部からの投稿)情報"
695
 
696
  #: inc/setting_site.php:86
697
+ msgid "Adds RSS feed links to the HTML &lt;head&gt;"
698
  msgstr "サイト全体のフィード"
699
 
700
+ #: inc/setting_site.php:87
701
+ #, php-format
702
+ msgid "%1$s %2$s Feed"
703
+ msgstr ""
704
+
705
  #: inc/setting_site.php:99
706
+ msgid "Adds RSS feed links for other feeds such as category feeds"
707
  msgstr "その他のフィードリンク"
708
 
709
+ #: inc/setting_site.php:100
710
+ #, php-format
711
+ msgid "%1$s %2$s Comments Feed"
712
+ msgstr ""
713
 
714
  #: inc/setting_site.php:127
715
+ msgid "Hide admin bar on the front end"
716
+ msgstr "サイトで管理バーを非表示"
717
 
718
  #: inc/setting_site.php:127
719
+ msgid "Apply WP Admin UI Customize settings to the front end admin bar"
720
  msgstr "WP Admin UI Customize の管理バーの設定をフロントにも適用"
721
 
722
+ #: wp-admin-ui-customize.php:149
723
+ msgid "Reset User Roles"
724
+ msgstr "ユーザー権限リセット"
725
+
726
+ #: wp-admin-ui-customize.php:183
727
+ msgid "Management of Meta boxes"
728
+ msgstr "メタボックス管理"
729
+
730
+ #: wp-admin-ui-customize.php:330
731
+ #, php-format
732
+ msgid ""
733
+ "You must <a href=\"%s\">select a user role</a> before settings can be "
734
+ "applied."
735
+ msgstr ""
736
+ "<a href=\"%s\">ユーザー権限グループ設定</a>から適用する権限を選んでください。"
737
+
738
+ #: wp-admin-ui-customize.php:365
739
+ msgid "None"
740
+ msgstr ""
741
+
742
+ #: wp-admin-ui-customize.php:483
743
+ #, php-format
744
+ msgid "Howdy, %1$s"
745
+ msgstr ""
746
+
747
+ #: wp-admin-ui-customize.php:583
748
+ msgid "Edit"
749
+ msgstr ""
750
+
751
+ #: wp-admin-ui-customize.php:587
752
+ msgid "Search"
753
+ msgstr ""
754
+
755
+ #: wp-admin-ui-customize.php:593
756
+ msgid "View"
757
+ msgstr ""
758
+
759
+ #: wp-admin-ui-customize.php:743
760
+ msgid "Url"
761
+ msgstr ""
762
+
763
+ #: wp-admin-ui-customize.php:746 wp-admin-ui-customize.php:791
764
+ msgid "Slug"
765
+ msgstr ""
766
+
767
+ #: wp-admin-ui-customize.php:761 wp-admin-ui-customize.php:805
768
+ #: wp-admin-ui-customize.php:899
769
+ msgid "Title"
770
+ msgstr ""
771
+
772
+ #: wp-admin-ui-customize.php:768 wp-admin-ui-customize.php:942
773
+ msgid "Sub Menus"
774
+ msgstr "サブメニュー"
775
+
776
+ #: wp-admin-ui-customize.php:811 wp-admin-ui-customize.php:823
777
+ #: wp-admin-ui-customize.php:973
778
+ msgid "Remove"
779
+ msgstr ""
780
+
781
+ #: wp-admin-ui-customize.php:863 wp-admin-ui-customize.php:885
782
+ msgid "Menu Group"
783
+ msgstr "メニューグループ"
784
+
785
+ #: wp-admin-ui-customize.php:883
786
+ msgid "Show only on front end."
787
+ msgstr "フロント(サイト)のみ表示"
788
+
789
+ #: wp-admin-ui-customize.php:930
790
+ msgid "Open link in a new tab"
791
+ msgstr ""
792
+
793
+ #: wp-admin-ui-customize.php:1192
794
+ msgid "Left"
795
+ msgstr ""
796
+
797
+ #: wp-admin-ui-customize.php:1192
798
+ msgid "Right"
799
+ msgstr ""
800
+
801
+ #: wp-admin-ui-customize.php:1709
802
+ msgid "http://wordpress.org/"
803
+ msgstr ""
804
+
805
+ #: wp-admin-ui-customize.php:1726
806
+ msgid "Powered by WordPress"
807
+ msgstr ""
808
+
809
+ #: wp-admin-ui-customize.php:2580
810
+ msgid "Settings saved."
811
+ msgstr ""
languages/wp-admin-ui-customize.pot CHANGED
@@ -1,8 +1,9 @@
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP Admin UI Customize\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-12-24 18:55+0900\n"
6
  "PO-Revision-Date: 2014-12-24 18:55+0900\n"
7
  "Last-Translator: gqevu6bsiz <gqevu6bsiz@gmail.com>\n"
8
  "Language-Team: CedarPoint <mike@cedarpointconcepts.com>\n"
@@ -10,243 +11,249 @@ msgstr ""
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-Poedit-SearchPath-0: .\n"
16
 
17
  #: wp-admin-ui-customize.php:4
18
- msgid "An excellent plugin to customize the management screens."
19
  msgstr ""
20
 
21
- #: wp-admin-ui-customize.php:144
22
- #: wp-admin-ui-customize.php:183
23
- #: inc/reset_userrole.php:15
24
- msgid "Reset User Roles"
 
 
25
  msgstr ""
26
 
27
- #: wp-admin-ui-customize.php:173
28
- #: inc/reset_userrole.php:49
29
- #: inc/setting_site.php:16
30
- #: inc/setting_site.php:160
31
- msgid "Site Settings"
32
  msgstr ""
33
 
34
- #: wp-admin-ui-customize.php:174
35
- #: inc/reset_userrole.php:50
36
- #: inc/setting_admin_general.php:16
37
- #: inc/setting_admin_general.php:191
38
- #, php-format
39
- msgid "%1$s %2$s"
40
  msgstr ""
41
 
42
- #: wp-admin-ui-customize.php:176
43
- #: inc/reset_userrole.php:52
44
- #: inc/setting_admin_bar_menu.php:18
45
- #: inc/setting_admin_bar_menu.php:87
46
- msgid "Admin Bar Menu"
47
  msgstr ""
48
 
49
- #: wp-admin-ui-customize.php:177
50
- #: inc/reset_userrole.php:53
51
- #: inc/setting_sidemenu.php:17
52
- #: inc/setting_sidemenu.php:232
53
- msgid "Side Menu"
54
  msgstr ""
55
 
56
- #: wp-admin-ui-customize.php:178
57
- #: inc/reset_userrole.php:54
58
- #: inc/setting_manage_metabox.php:17
59
- #: inc/setting_manage_metabox.php:345
60
- msgid "Manage meta box"
61
  msgstr ""
62
 
63
- #: wp-admin-ui-customize.php:179
64
- #: inc/reset_userrole.php:55
65
- #: inc/setting_post_add_edit.php:16
66
- #: inc/setting_post_add_edit.php:101
67
- msgid "Add New Post and Edit Post Screen Setting"
68
  msgstr ""
69
 
70
- #: wp-admin-ui-customize.php:180
71
- #: inc/reset_userrole.php:56
72
- #: inc/setting_appearance_menus.php:14
73
- #: inc/setting_appearance_menus.php:81
74
- msgid "Appearance Menus Screen Setting"
75
  msgstr ""
76
 
77
- #: wp-admin-ui-customize.php:181
78
- #: inc/reset_userrole.php:57
79
- #: inc/setting_loginscreen.php:27
80
- msgid "Login Screen"
81
  msgstr ""
82
 
83
- #: wp-admin-ui-customize.php:182
84
- #: inc/reset_userrole.php:58
85
- #: inc/setting_plugin_cap.php:16
86
- #: inc/setting_plugin_cap.php:86
87
- #, php-format
88
- msgid "%1$s of %2$s %3$s"
89
  msgstr ""
90
 
91
- #: wp-admin-ui-customize.php:342
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  #, php-format
93
- msgid "Authority to apply the setting is not selected. <a href=\"%s\">From here</a>, please select the permissions you want to set."
94
  msgstr ""
95
 
96
- #: wp-admin-ui-customize.php:367
97
- msgid "Apply user roles"
98
  msgstr ""
99
 
100
- #: wp-admin-ui-customize.php:756
101
- #: wp-admin-ui-customize.php:926
102
- msgid "Sub Menus"
103
  msgstr ""
104
 
105
- #: wp-admin-ui-customize.php:851
106
- #: wp-admin-ui-customize.php:873
107
- msgid "Menu Group"
108
  msgstr ""
109
 
110
- #: wp-admin-ui-customize.php:871
111
- msgid "Show only on front end."
112
  msgstr ""
113
 
114
- #: wp-admin-ui-customize.php:1174
115
- msgid "Front"
 
116
  msgstr ""
117
 
118
- #: wp-admin-ui-customize.php:2529
119
- #: inc/setting_default.php:180
120
- msgid "Thank you for your donation."
 
121
  msgstr ""
122
 
123
- #: wp-admin-ui-customize.php:2544
124
- msgid "Please consider making a donation."
 
 
 
125
  msgstr ""
126
 
127
- #: wp-admin-ui-customize.php:2544
128
- #: inc/setting_default.php:32
129
- msgid "Donate"
130
- msgstr ""
131
-
132
- #: inc/list_variables.php:19
133
- #: inc/setting_admin_bar_menu.php:25
134
- #: inc/setting_admin_general.php:125
135
- #: inc/setting_admin_general.php:148
136
- #: inc/setting_loginscreen.php:64
137
- #: inc/setting_loginscreen.php:77
138
- #: inc/setting_loginscreen.php:89
139
- #: inc/setting_loginscreen.php:117
140
- #: inc/setting_loginscreen.php:129
141
- #: inc/setting_sidemenu.php:24
142
- msgid "Shortcodes"
143
  msgstr ""
144
 
145
- #: inc/list_variables.php:44
146
- msgid "Blog name of logged in."
 
 
147
  msgstr ""
148
 
149
- #: inc/list_variables.php:53
150
- msgid "Blog URL of logged in."
 
 
151
  msgstr ""
152
 
153
- #: inc/list_variables.php:103
154
- #: inc/list_variables.php:110
155
- #: inc/list_variables.php:117
156
- #: inc/list_variables.php:124
157
- msgid "In your case."
158
  msgstr ""
159
 
160
- #: inc/list_variables.php:131
161
- msgid "Current Post Type Name"
 
162
  msgstr ""
163
 
164
- #: inc/reset_userrole.php:23
165
- msgid "Applied user roles"
166
  msgstr ""
167
 
168
- #: inc/reset_userrole.php:33
169
- #: inc/setting_admin_bar_menu.php:87
170
- #: inc/setting_admin_general.php:191
171
- #: inc/setting_appearance_menus.php:81
172
- #: inc/setting_dashboard.php:143
173
- #: inc/setting_default.php:124
174
- #: inc/setting_loginscreen.php:152
175
- #: inc/setting_manage_metabox.php:345
176
- #: inc/setting_plugin_cap.php:86
177
- #: inc/setting_post_add_edit.php:101
178
- #: inc/setting_sidemenu.php:232
179
- #: inc/setting_site.php:160
 
180
  #, php-format
181
- msgid "Reset the %s?"
182
  msgstr ""
183
 
184
- #: inc/reset_userrole.php:35
185
- #: inc/setting_admin_bar_menu.php:88
186
- #: inc/setting_admin_general.php:192
187
- #: inc/setting_appearance_menus.php:82
188
- #: inc/setting_dashboard.php:144
189
- #: inc/setting_default.php:125
190
- #: inc/setting_loginscreen.php:153
191
- #: inc/setting_manage_metabox.php:346
192
- #: inc/setting_plugin_cap.php:87
193
- #: inc/setting_post_add_edit.php:102
194
- #: inc/setting_sidemenu.php:233
195
- #: inc/setting_site.php:161
196
- msgid "Reset settings"
197
  msgstr ""
198
 
199
- #: inc/reset_userrole.php:42
200
- #: inc/reset_userrole.php:64
201
- msgid "Reset settings of all"
202
  msgstr ""
203
 
204
- #: inc/reset_userrole.php:47
205
- msgid "Setting all of the below will be deleted."
 
 
206
  msgstr ""
207
 
208
  #: inc/reset_userrole.php:62
209
  msgid "Are you sure you want to delete all settings?"
210
  msgstr ""
211
 
212
- #: inc/setting_admin_bar_menu.php:19
213
- #: inc/setting_sidemenu.php:18
214
- msgid "Please change the menu by drag and drop."
215
  msgstr ""
216
 
217
- #: inc/setting_admin_bar_menu.php:20
218
- #: inc/setting_sidemenu.php:20
219
- msgid "Notice: Please do not place the same multiple menu slug."
 
220
  msgstr ""
221
 
222
  #: inc/setting_admin_bar_menu.php:21
223
- msgid "Can be more than one custom menu."
224
  msgstr ""
225
 
226
- #: inc/setting_admin_bar_menu.php:25
227
- #: inc/setting_admin_general.php:125
228
- #: inc/setting_admin_general.php:148
229
- #: inc/setting_loginscreen.php:64
230
- #: inc/setting_loginscreen.php:77
231
- #: inc/setting_loginscreen.php:89
232
- #: inc/setting_loginscreen.php:117
233
- #: inc/setting_loginscreen.php:129
234
  #: inc/setting_sidemenu.php:24
235
  msgid "Available Shortcodes"
236
  msgstr ""
237
 
238
  #: inc/setting_admin_bar_menu.php:33
239
- msgid "Sub-menu settings apply to maximum of four levels deep."
240
  msgstr ""
241
 
242
  #: inc/setting_admin_bar_menu.php:34
243
- msgid "Admin bar settings documentation page"
244
  msgstr ""
245
 
246
- #: inc/setting_admin_bar_menu.php:93
247
- #: inc/setting_sidemenu.php:19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
248
  #: inc/setting_sidemenu.php:40
249
- msgid "Menu items that can be added"
 
 
 
 
250
  msgstr ""
251
 
252
  #: inc/setting_admin_general.php:34
@@ -254,229 +261,230 @@ msgid "Notifications"
254
  msgstr ""
255
 
256
  #: inc/setting_admin_general.php:40
257
- msgid "WordPress core update notice"
258
  msgstr ""
259
 
260
- #: inc/setting_admin_general.php:46
261
- #: inc/setting_admin_general.php:57
262
  #: inc/setting_admin_general.php:68
263
- msgid "Not notified"
264
  msgstr ""
265
 
266
  #: inc/setting_admin_general.php:51
267
- msgid "Plugin update notice"
268
  msgstr ""
269
 
270
  #: inc/setting_admin_general.php:62
271
- msgid "Theme update notice"
272
  msgstr ""
273
 
274
  #: inc/setting_admin_general.php:78
275
  msgid "Screen Options and Help Tab"
276
  msgstr ""
277
 
278
- #: inc/setting_admin_general.php:117
279
- #: inc/setting_loginscreen.php:123
280
- msgid "Footer text"
281
  msgstr ""
282
 
283
- #: inc/setting_admin_general.php:142
284
- #: inc/setting_loginscreen.php:111
285
- msgid "CSS file to load"
 
 
 
 
 
286
  msgstr ""
287
 
288
- #: inc/setting_admin_general.php:154
289
- msgid "Title tag for Admin screen"
290
  msgstr ""
291
 
292
- #: inc/setting_admin_general.php:159
293
- msgid "Remove \"Wordpress\" from the title tag of the Admin screen"
294
  msgstr ""
295
 
296
- #: inc/setting_admin_general.php:165
297
- msgid "Resizing Admin bar"
298
  msgstr ""
299
 
300
- #: inc/setting_admin_general.php:170
301
- msgid "Don't resize"
302
  msgstr ""
303
 
304
- #: inc/setting_appearance_menus.php:39
305
- msgid "Create a new menu"
 
306
  msgstr ""
307
 
308
- #: inc/setting_appearance_menus.php:45
309
- #: inc/setting_appearance_menus.php:59
310
- msgid "This is useful when you want to use only the menus have been created."
311
  msgstr ""
312
 
313
- #: inc/setting_dashboard.php:34
314
- msgid "Meta boxes"
315
  msgstr ""
316
 
317
- #: inc/setting_dashboard.php:43
318
- #: inc/setting_manage_metabox.php:56
319
- #: inc/setting_manage_metabox.php:153
320
- #: inc/setting_manage_metabox.php:258
321
- #, php-format
322
- msgid "Metaboxes loading for %s"
323
  msgstr ""
324
 
325
- #: inc/setting_dashboard.php:61
326
- #: inc/setting_manage_metabox.php:77
327
- #: inc/setting_manage_metabox.php:174
328
- #: inc/setting_manage_metabox.php:279
329
- msgid "Change metabox title to"
330
  msgstr ""
331
 
332
- #: inc/setting_dashboard.php:110
333
- msgid "Other"
334
  msgstr ""
335
 
336
- #: inc/setting_dashboard.php:117
337
- msgid "Meta box movement restriction"
 
 
338
  msgstr ""
339
 
340
- #: inc/setting_dashboard.php:122
341
- msgid "Prevent selected roles from re-arranging metaboxes"
342
  msgstr ""
343
 
344
- #: inc/setting_default.php:16
345
- msgid "Customize the UI of the management screen for all users."
 
346
  msgstr ""
347
 
348
- #: inc/setting_default.php:17
349
- msgid "Please select the user roles that all settings will apply to."
 
350
  msgstr ""
351
 
352
- #: inc/setting_default.php:19
353
- msgid "Please use the Multiple Add-on if you want per role customization."
 
 
354
  msgstr ""
355
 
356
- #: inc/setting_default.php:33
357
- msgid "Are you happy with this plugin?<br />Japanese law prohibits PayPal donations. <br />Please consider purchasing the Line Break First and End plugin in lieu of a donation."
 
358
  msgstr ""
359
 
360
- #: inc/setting_default.php:40
361
- msgid "Features"
362
  msgstr ""
363
 
364
- #: inc/setting_default.php:41
365
- msgid "Line Break First and End plugin allows for line breaks when using the visual editor TinyMCE."
366
  msgstr ""
367
 
368
- #: inc/setting_default.php:44
369
- msgid "The primary use of donations"
370
  msgstr ""
371
 
372
- #: inc/setting_default.php:46
373
- msgid "Liquidation of time and value"
 
 
 
374
  msgstr ""
375
 
376
- #: inc/setting_default.php:47
377
- msgid "Additional suggestions feature"
378
  msgstr ""
379
 
380
- #: inc/setting_default.php:48
381
- msgid "Maintain motivation"
 
 
382
  msgstr ""
383
 
384
- #: inc/setting_default.php:49
385
- msgid "Ensure time as the father of Sunday"
386
  msgstr ""
387
 
388
- #: inc/setting_default.php:56
389
- msgid "About plugin"
390
  msgstr ""
391
 
392
- #: inc/setting_default.php:58
393
- msgid "Version checked"
394
  msgstr ""
395
 
396
- #: inc/setting_default.php:60
397
- msgid "Plugin's site"
398
  msgstr ""
399
 
400
- #: inc/setting_default.php:61
401
- msgid "Developer's site"
402
  msgstr ""
403
 
404
- #: inc/setting_default.php:63
405
  msgid "Reviews"
406
  msgstr ""
407
 
408
- #: inc/setting_default.php:71
409
- #: inc/setting_loginscreen.php:36
410
  msgid "Useful plugins"
411
  msgstr ""
412
 
413
- #: inc/setting_default.php:74
414
- msgid "Apply setting on a per-role basis."
415
  msgstr ""
416
 
417
- #: inc/setting_default.php:76
418
  msgid "Easily import/export setting between installations."
419
  msgstr ""
420
 
421
- #: inc/setting_default.php:78
422
  msgid "Unified custom management screens for Multisite."
423
  msgstr ""
424
 
425
- #: inc/setting_default.php:80
426
- msgid "Customize list view columns for posts, pages, custom post types, media library, and other management screens."
 
 
427
  msgstr ""
428
 
429
- #: inc/setting_default.php:82
430
  msgid "Create dashboard messages to be displayed for selected user roles."
431
  msgstr ""
432
 
433
- #: inc/setting_default.php:84
434
- msgid "Create custom global variables that can be used with generated template tags or shortcodes."
435
- msgstr ""
436
-
437
- #: inc/setting_default.php:124
438
- msgid "User Roles Settings"
439
- msgstr ""
440
-
441
- #: inc/setting_default.php:133
442
- msgid "If you have already donated to."
443
- msgstr ""
444
-
445
- #: inc/setting_default.php:134
446
- msgid "Please enter the 'Donation Delete Key' that was provided on the Line Break First and End download page."
447
  msgstr ""
448
 
449
- #: inc/setting_default.php:137
450
- msgid "Donation Delete Key:"
 
451
  msgstr ""
452
 
453
- #: inc/setting_default.php:145
454
  msgid "Do you need professional setup and customization?"
455
  msgstr ""
456
 
457
- #: inc/setting_default.php:151
458
  msgid "I provide full service customization for WP Admin UI Customize."
459
  msgstr ""
460
 
461
- #: inc/setting_default.php:152
462
  msgid "Please contact me if you are interested."
463
  msgstr ""
464
 
465
- #: inc/setting_default.php:154
466
  msgid "Example Customize"
467
  msgstr ""
468
 
469
- #: inc/setting_default.php:155
470
  msgid "Contact me"
471
  msgstr ""
472
 
473
- #: inc/setting_loginscreen.php:16
474
- #: inc/setting_loginscreen.php:152
475
- msgid "Login Screen Settings"
 
476
  msgstr ""
477
 
478
- #: inc/setting_loginscreen.php:25
479
- msgid "Is not possible to check the login form if you do not log out in the case of MultiSite."
480
  msgstr ""
481
 
482
  #: inc/setting_loginscreen.php:27
@@ -487,12 +495,8 @@ msgstr ""
487
  msgid "Flexible plugin for login screen customization."
488
  msgstr ""
489
 
490
- #: inc/setting_loginscreen.php:51
491
- msgid "Login Form"
492
- msgstr ""
493
-
494
  #: inc/setting_loginscreen.php:58
495
- msgid "The link after clicking on the logo"
496
  msgstr ""
497
 
498
  #: inc/setting_loginscreen.php:71
@@ -500,72 +504,101 @@ msgid "Logo Title"
500
  msgstr ""
501
 
502
  #: inc/setting_loginscreen.php:83
503
- msgid "Logo Image path"
504
  msgstr ""
505
 
506
- #: inc/setting_manage_metabox.php:18
507
- msgid "Please update or add a \"post\" and a \"page\" to load the available meta boxes."
508
  msgstr ""
509
 
510
  #: inc/setting_manage_metabox.php:19
511
- msgid "Please enter if you want to change of Metabox label name."
 
 
512
  msgstr ""
513
 
514
- #: inc/setting_manage_metabox.php:75
515
- #: inc/setting_manage_metabox.php:172
516
- #: inc/setting_manage_metabox.php:277
 
 
 
517
  msgid "Default Open"
518
  msgstr ""
519
 
520
- #: inc/setting_manage_metabox.php:103
521
- #: inc/setting_manage_metabox.php:199
522
- #: inc/setting_manage_metabox.php:303
 
 
 
 
 
523
  msgid "Expanded"
524
  msgstr ""
525
 
526
- #: inc/setting_manage_metabox.php:104
527
- #: inc/setting_manage_metabox.php:200
528
- #: inc/setting_manage_metabox.php:304
529
  msgid "Collapsed"
530
  msgstr ""
531
 
532
- #: inc/setting_manage_metabox.php:115
533
- #: inc/setting_manage_metabox.php:211
534
  #: inc/setting_post_add_edit.php:48
535
- msgid "Notice: If hide the Discussion on metabox, comments does not display of Add New Post on apply user role."
 
 
536
  msgstr ""
537
 
538
- #: inc/setting_manage_metabox.php:117
539
- #: inc/setting_manage_metabox.php:213
540
- msgid "Please set from here if you want to view the comments on screen."
541
  msgstr ""
542
 
543
- #: inc/setting_plugin_cap.php:17
544
  #, php-format
545
  msgid "You can change the user role %2$s of %1$s settings."
546
  msgstr ""
547
 
548
- #: inc/setting_plugin_cap.php:18
549
  #, php-format
550
- msgid "Please choose the minimum role that can modify %s settings."
551
  msgstr ""
552
 
553
- #: inc/setting_plugin_cap.php:35
554
  #, php-format
555
- msgid "Capability role for the %s"
 
 
 
 
 
 
 
 
 
 
 
 
556
  msgstr ""
557
 
558
  #: inc/setting_post_add_edit.php:41
559
- msgid "Allow people to post comments on new articles when hide to discussion of metabox"
 
 
 
 
560
  msgstr ""
561
 
562
  #: inc/setting_post_add_edit.php:49
563
- msgid "Please select if you want to display the comments on Site."
564
  msgstr ""
565
 
566
  #: inc/setting_post_add_edit.php:50
567
  #, php-format
568
- msgid "However, this will follow the setting of %s."
 
 
 
 
569
  msgstr ""
570
 
571
  #: inc/setting_post_add_edit.php:52
@@ -573,8 +606,20 @@ msgstr ""
573
  msgid "Please select the <strong>%s</strong>"
574
  msgstr ""
575
 
 
 
 
 
 
 
 
 
 
 
 
 
576
  #: inc/setting_post_add_edit.php:78
577
- msgid "Only appears when you have settings to the default permalink."
578
  msgstr ""
579
 
580
  #: inc/setting_sidemenu.php:19
@@ -586,51 +631,163 @@ msgstr ""
586
  msgid "Sepalator"
587
  msgstr ""
588
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
589
  #: inc/setting_sidemenu.php:114
590
  msgid "Current menu"
591
  msgstr ""
592
 
593
- #: inc/setting_sidemenu.php:216
594
- msgid "Delete all the Current menu"
 
 
 
 
595
  msgstr ""
596
 
597
  #: inc/setting_site.php:35
598
  msgid "Header Meta"
599
  msgstr ""
600
 
601
- #: inc/setting_site.php:48
602
- #: inc/setting_site.php:61
603
- #: inc/setting_site.php:74
604
- #: inc/setting_site.php:87
605
- #: inc/setting_site.php:100
606
- msgid "Tag to be output"
607
  msgstr ""
608
 
609
  #: inc/setting_site.php:60
610
- msgid "Please display when using the Windows Live Writer."
611
  msgstr ""
612
 
613
  #: inc/setting_site.php:73
614
- msgid "Information of XML-rpc"
615
  msgstr ""
616
 
617
  #: inc/setting_site.php:86
618
- msgid "Sitewide feed"
 
 
 
 
 
619
  msgstr ""
620
 
621
  #: inc/setting_site.php:99
622
- msgid "Extra feed"
623
  msgstr ""
624
 
625
- #: inc/setting_site.php:124
626
- msgid "Admin Bar"
 
627
  msgstr ""
628
 
629
  #: inc/setting_site.php:127
630
- msgid "Hide the Admin bar on the front end"
631
  msgstr ""
632
 
633
  #: inc/setting_site.php:127
634
- msgid "Apply WP Admin UI Customize settings on the front end admin bar also"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
635
  msgstr ""
636
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #, fuzzy
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: WP Admin UI Customize\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2016-08-18 16:53+0900\n"
7
  "PO-Revision-Date: 2014-12-24 18:55+0900\n"
8
  "Last-Translator: gqevu6bsiz <gqevu6bsiz@gmail.com>\n"
9
  "Language-Team: CedarPoint <mike@cedarpointconcepts.com>\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: ..\n"
15
  "Plural-Forms: nplurals=1; plural=0;\n"
16
+ "X-Generator: Poedit 1.8.8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
  #: wp-admin-ui-customize.php:4
20
+ msgid "An excellent plugin to customize the WordPress management UI."
21
  msgstr ""
22
 
23
+ #: inc/list_variables.php:19 inc/setting_admin_bar_menu.php:25
24
+ #: inc/setting_admin_general.php:125 inc/setting_admin_general.php:148
25
+ #: inc/setting_loginscreen.php:64 inc/setting_loginscreen.php:77
26
+ #: inc/setting_loginscreen.php:89 inc/setting_loginscreen.php:116
27
+ #: inc/setting_loginscreen.php:128 inc/setting_sidemenu.php:24
28
+ msgid "Shortcodes"
29
  msgstr ""
30
 
31
+ #: inc/list_variables.php:20
32
+ msgid "Value"
 
 
 
33
  msgstr ""
34
 
35
+ #: inc/list_variables.php:44
36
+ msgid "Blog name of logged in."
 
 
 
 
37
  msgstr ""
38
 
39
+ #: inc/list_variables.php:53
40
+ msgid "Blog URL of logged in."
 
 
 
41
  msgstr ""
42
 
43
+ #: inc/list_variables.php:103 inc/list_variables.php:110
44
+ #: inc/list_variables.php:117 inc/list_variables.php:124
45
+ msgid "In your case."
 
 
46
  msgstr ""
47
 
48
+ #: inc/list_variables.php:130 inc/setting_manage_metabox.php:38
49
+ #: inc/setting_manage_metabox.php:123
50
+ msgid "Posts"
 
 
51
  msgstr ""
52
 
53
+ #: inc/list_variables.php:131
54
+ msgid "Current Post Type Name"
 
 
 
55
  msgstr ""
56
 
57
+ #: inc/list_variables.php:131 inc/setting_manage_metabox.php:135
58
+ #: inc/setting_manage_metabox.php:219
59
+ msgid "Pages"
 
 
60
  msgstr ""
61
 
62
+ #: inc/list_variables.php:131
63
+ msgid "Categories"
 
 
64
  msgstr ""
65
 
66
+ #: inc/list_variables.php:131
67
+ msgid "Tags"
 
 
 
 
68
  msgstr ""
69
 
70
+ #: inc/list_variables.php:131
71
+ msgid "Custom Post Type"
72
+ msgstr ""
73
+
74
+ #: inc/reset_userrole.php:15 wp-admin-ui-customize.php:188
75
+ msgid "Reset Settings"
76
+ msgstr ""
77
+
78
+ #: inc/reset_userrole.php:23
79
+ msgid "Applied user roles"
80
+ msgstr ""
81
+
82
+ #: inc/reset_userrole.php:33 inc/setting_admin_bar_menu.php:87
83
+ #: inc/setting_admin_general.php:191 inc/setting_appearance_menus.php:81
84
+ #: inc/setting_dashboard.php:142 inc/setting_default.php:100
85
+ #: inc/setting_loginscreen.php:151 inc/setting_manage_metabox.php:354
86
+ #: inc/setting_plugin_cap.php:82 inc/setting_post_add_edit.php:101
87
+ #: inc/setting_sidemenu.php:237 inc/setting_site.php:160
88
  #, php-format
89
+ msgid "Reset the %s?"
90
  msgstr ""
91
 
92
+ #: inc/reset_userrole.php:33 inc/setting_default.php:100
93
+ msgid "User Roles Settings"
94
  msgstr ""
95
 
96
+ #: inc/reset_userrole.php:35
97
+ msgid "Reset User Roles Settings"
 
98
  msgstr ""
99
 
100
+ #: inc/reset_userrole.php:42 inc/reset_userrole.php:64
101
+ msgid "Reset all settings"
 
102
  msgstr ""
103
 
104
+ #: inc/reset_userrole.php:47
105
+ msgid "All settings below will be deleted."
106
  msgstr ""
107
 
108
+ #: inc/reset_userrole.php:49 wp-admin-ui-customize.php:178
109
+ #: wp-admin-ui-customize.php:1192
110
+ msgid "Frontend"
111
  msgstr ""
112
 
113
+ #: inc/reset_userrole.php:50 inc/setting_admin_general.php:16
114
+ #: inc/setting_admin_general.php:191
115
+ #, php-format
116
+ msgid "%1$s %2$s"
117
  msgstr ""
118
 
119
+ #: inc/reset_userrole.php:50 inc/setting_admin_general.php:16
120
+ #: inc/setting_admin_general.php:135 inc/setting_admin_general.php:191
121
+ #: inc/setting_loginscreen.php:103 inc/setting_site.php:117
122
+ #: wp-admin-ui-customize.php:179
123
+ msgid "General"
124
  msgstr ""
125
 
126
+ #: inc/reset_userrole.php:50 inc/setting_admin_bar_menu.php:87
127
+ #: inc/setting_admin_general.php:16 inc/setting_admin_general.php:191
128
+ #: inc/setting_dashboard.php:16 inc/setting_dashboard.php:142
129
+ #: inc/setting_manage_metabox.php:354 inc/setting_plugin_cap.php:82
130
+ #: inc/setting_sidemenu.php:237 wp-admin-ui-customize.php:147
131
+ msgid "Settings"
 
 
 
 
 
 
 
 
 
 
132
  msgstr ""
133
 
134
+ #: inc/reset_userrole.php:51 inc/setting_dashboard.php:16
135
+ #: inc/setting_dashboard.php:96 inc/setting_dashboard.php:142
136
+ #: wp-admin-ui-customize.php:180 wp-admin-ui-customize.php:479
137
+ msgid "Dashboard"
138
  msgstr ""
139
 
140
+ #: inc/reset_userrole.php:52 inc/setting_admin_bar_menu.php:18
141
+ #: inc/setting_admin_bar_menu.php:87 inc/setting_admin_general.php:165
142
+ #: inc/setting_site.php:124 wp-admin-ui-customize.php:181
143
+ msgid "Admin bar"
144
  msgstr ""
145
 
146
+ #: inc/reset_userrole.php:53 inc/setting_sidemenu.php:17
147
+ #: inc/setting_sidemenu.php:237 wp-admin-ui-customize.php:182
148
+ msgid "Sidebar"
 
 
149
  msgstr ""
150
 
151
+ #: inc/reset_userrole.php:54 inc/setting_dashboard.php:34
152
+ #: wp-admin-ui-customize.php:183
153
+ msgid "Meta boxes"
154
  msgstr ""
155
 
156
+ #: inc/reset_userrole.php:55 wp-admin-ui-customize.php:184
157
+ msgid "Posts and Pages"
158
  msgstr ""
159
 
160
+ #: inc/reset_userrole.php:56 inc/setting_appearance_menus.php:14
161
+ #: inc/setting_appearance_menus.php:81 wp-admin-ui-customize.php:185
162
+ msgid "Appearance Menus"
163
+ msgstr ""
164
+
165
+ #: inc/reset_userrole.php:57 inc/setting_loginscreen.php:16
166
+ #: inc/setting_loginscreen.php:51 inc/setting_loginscreen.php:151
167
+ #: wp-admin-ui-customize.php:186
168
+ msgid "Login Form"
169
+ msgstr ""
170
+
171
+ #: inc/reset_userrole.php:58 inc/setting_plugin_cap.php:17
172
+ #: inc/setting_plugin_cap.php:82 wp-admin-ui-customize.php:187
173
  #, php-format
174
+ msgid "%1$s of %2$s %3$s"
175
  msgstr ""
176
 
177
+ #: inc/reset_userrole.php:58 inc/setting_plugin_cap.php:17
178
+ #: inc/setting_plugin_cap.php:82 wp-admin-ui-customize.php:187
179
+ msgid "Change"
 
 
 
 
 
 
 
 
 
 
180
  msgstr ""
181
 
182
+ #: inc/reset_userrole.php:58 inc/setting_plugin_cap.php:17
183
+ #: inc/setting_plugin_cap.php:82 wp-admin-ui-customize.php:187
184
+ msgid "Plugin"
185
  msgstr ""
186
 
187
+ #: inc/reset_userrole.php:58 inc/setting_plugin_cap.php:17
188
+ #: inc/setting_plugin_cap.php:18 inc/setting_plugin_cap.php:43
189
+ #: inc/setting_plugin_cap.php:82 wp-admin-ui-customize.php:187
190
+ msgid "Capabilities"
191
  msgstr ""
192
 
193
  #: inc/reset_userrole.php:62
194
  msgid "Are you sure you want to delete all settings?"
195
  msgstr ""
196
 
197
+ #: inc/setting_admin_bar_menu.php:19 inc/setting_sidemenu.php:18
198
+ msgid "Drag menu items to edit and reorder menus."
 
199
  msgstr ""
200
 
201
+ #: inc/setting_admin_bar_menu.php:20 inc/setting_sidemenu.php:20
202
+ msgid ""
203
+ "Note: Using the same menu item multiple times could cause unexpected "
204
+ "behavior."
205
  msgstr ""
206
 
207
  #: inc/setting_admin_bar_menu.php:21
208
+ msgid "You can use multiple custom menus."
209
  msgstr ""
210
 
211
+ #: inc/setting_admin_bar_menu.php:25 inc/setting_admin_general.php:125
212
+ #: inc/setting_admin_general.php:148 inc/setting_loginscreen.php:64
213
+ #: inc/setting_loginscreen.php:77 inc/setting_loginscreen.php:89
214
+ #: inc/setting_loginscreen.php:116 inc/setting_loginscreen.php:128
 
 
 
 
215
  #: inc/setting_sidemenu.php:24
216
  msgid "Available Shortcodes"
217
  msgstr ""
218
 
219
  #: inc/setting_admin_bar_menu.php:33
220
+ msgid "Sub menus can be a maximum of four levels deep."
221
  msgstr ""
222
 
223
  #: inc/setting_admin_bar_menu.php:34
224
+ msgid "Additional documentation"
225
  msgstr ""
226
 
227
+ #: inc/setting_admin_bar_menu.php:48 inc/setting_admin_bar_menu.php:102
228
+ #: inc/setting_admin_bar_menu.php:118 inc/setting_appearance_menus.php:32
229
+ msgid "Menus"
230
+ msgstr ""
231
+
232
+ #: inc/setting_admin_bar_menu.php:83 inc/setting_admin_general.php:187
233
+ #: inc/setting_appearance_menus.php:77 inc/setting_dashboard.php:138
234
+ #: inc/setting_default.php:96 inc/setting_loginscreen.php:147
235
+ #: inc/setting_manage_metabox.php:350 inc/setting_plugin_cap.php:78
236
+ #: inc/setting_post_add_edit.php:97 inc/setting_sidemenu.php:233
237
+ #: inc/setting_site.php:156
238
+ msgid "Save"
239
+ msgstr ""
240
+
241
+ #: inc/setting_admin_bar_menu.php:88 inc/setting_admin_general.php:192
242
+ #: inc/setting_appearance_menus.php:82 inc/setting_dashboard.php:143
243
+ #: inc/setting_default.php:101 inc/setting_loginscreen.php:152
244
+ #: inc/setting_manage_metabox.php:355 inc/setting_plugin_cap.php:83
245
+ #: inc/setting_post_add_edit.php:102 inc/setting_sidemenu.php:238
246
+ #: inc/setting_site.php:161
247
+ msgid "Reset settings"
248
+ msgstr ""
249
+
250
+ #: inc/setting_admin_bar_menu.php:93 inc/setting_sidemenu.php:19
251
  #: inc/setting_sidemenu.php:40
252
+ msgid "Available menu items"
253
+ msgstr ""
254
+
255
+ #: inc/setting_admin_bar_menu.php:102
256
+ msgid "Custom"
257
  msgstr ""
258
 
259
  #: inc/setting_admin_general.php:34
261
  msgstr ""
262
 
263
  #: inc/setting_admin_general.php:40
264
+ msgid "WordPress core updates"
265
  msgstr ""
266
 
267
+ #: inc/setting_admin_general.php:46 inc/setting_admin_general.php:57
 
268
  #: inc/setting_admin_general.php:68
269
+ msgid "Hide notifications"
270
  msgstr ""
271
 
272
  #: inc/setting_admin_general.php:51
273
+ msgid "Plugin updates"
274
  msgstr ""
275
 
276
  #: inc/setting_admin_general.php:62
277
+ msgid "Theme updates"
278
  msgstr ""
279
 
280
  #: inc/setting_admin_general.php:78
281
  msgid "Screen Options and Help Tab"
282
  msgstr ""
283
 
284
+ #: inc/setting_admin_general.php:84
285
+ msgid "Screen Options"
 
286
  msgstr ""
287
 
288
+ #: inc/setting_admin_general.php:90 inc/setting_admin_general.php:101
289
+ #: inc/setting_appearance_menus.php:44 inc/setting_appearance_menus.php:58
290
+ #: inc/setting_dashboard.php:59 inc/setting_dashboard.php:74
291
+ #: inc/setting_manage_metabox.php:72 inc/setting_manage_metabox.php:168
292
+ #: inc/setting_manage_metabox.php:272 inc/setting_post_add_edit.php:77
293
+ #: inc/setting_site.php:47 inc/setting_site.php:59 inc/setting_site.php:72
294
+ #: inc/setting_site.php:85 inc/setting_site.php:98
295
+ msgid "Hide"
296
  msgstr ""
297
 
298
+ #: inc/setting_admin_general.php:95
299
+ msgid "Help"
300
  msgstr ""
301
 
302
+ #: inc/setting_admin_general.php:111
303
+ msgid "Footer"
304
  msgstr ""
305
 
306
+ #: inc/setting_admin_general.php:117 inc/setting_loginscreen.php:122
307
+ msgid "Footer text"
308
  msgstr ""
309
 
310
+ #: inc/setting_admin_general.php:124 inc/setting_plugin_cap.php:61
311
+ msgid "Default"
312
  msgstr ""
313
 
314
+ #: inc/setting_admin_general.php:124
315
+ #, php-format
316
+ msgid "Thank you for creating with <a href=\"%s\">WordPress</a>."
317
  msgstr ""
318
 
319
+ #: inc/setting_admin_general.php:142 inc/setting_loginscreen.php:110
320
+ msgid "CSS file to load"
 
321
  msgstr ""
322
 
323
+ #: inc/setting_admin_general.php:154
324
+ msgid "Admin screen"
325
  msgstr ""
326
 
327
+ #: inc/setting_admin_general.php:159
328
+ msgid "Remove \"Wordpress\" from title tag"
 
 
 
 
329
  msgstr ""
330
 
331
+ #: inc/setting_admin_general.php:170
332
+ msgid "Disable resizing"
 
 
 
333
  msgstr ""
334
 
335
+ #: inc/setting_appearance_menus.php:39
336
+ msgid "Create a new menu"
337
  msgstr ""
338
 
339
+ #: inc/setting_appearance_menus.php:45 inc/setting_appearance_menus.php:59
340
+ msgid ""
341
+ "This is useful when you want to use only the menus that have already been "
342
+ "created."
343
  msgstr ""
344
 
345
+ #: inc/setting_appearance_menus.php:53
346
+ msgid "Delete Menu"
347
  msgstr ""
348
 
349
+ #: inc/setting_dashboard.php:45 inc/setting_manage_metabox.php:50
350
+ #: inc/setting_manage_metabox.php:147 inc/setting_manage_metabox.php:252
351
+ msgid "Select All"
352
  msgstr ""
353
 
354
+ #: inc/setting_dashboard.php:47 inc/setting_manage_metabox.php:56
355
+ #: inc/setting_manage_metabox.php:153 inc/setting_manage_metabox.php:258
356
+ msgid "Update meta box title"
357
  msgstr ""
358
 
359
+ #: inc/setting_dashboard.php:96 inc/setting_manage_metabox.php:123
360
+ #: inc/setting_manage_metabox.php:219 inc/setting_manage_metabox.php:327
361
+ #, php-format
362
+ msgid "Refresh meta boxes for %s"
363
  msgstr ""
364
 
365
+ #: inc/setting_dashboard.php:101 inc/setting_manage_metabox.php:128
366
+ #: inc/setting_manage_metabox.php:224 inc/setting_manage_metabox.php:332
367
+ msgid "Loading&hellip;"
368
  msgstr ""
369
 
370
+ #: inc/setting_dashboard.php:109
371
+ msgid "Other"
372
  msgstr ""
373
 
374
+ #: inc/setting_dashboard.php:116
375
+ msgid "Meta box movement"
376
  msgstr ""
377
 
378
+ #: inc/setting_dashboard.php:121
379
+ msgid "Prevent selected roles from re-arrange meta boxes"
380
  msgstr ""
381
 
382
+ #: inc/setting_default.php:16
383
+ msgid ""
384
+ "\n"
385
+ "WP Admin UI Customize allows the management UI for different user roles to "
386
+ "be customized."
387
  msgstr ""
388
 
389
+ #: inc/setting_default.php:18
390
+ msgid "Select the user roles to customize below."
391
  msgstr ""
392
 
393
+ #: inc/setting_default.php:20
394
+ msgid ""
395
+ "The Multiple Add-on is needed to create unique customizations for different "
396
+ "user roles."
397
  msgstr ""
398
 
399
+ #: inc/setting_default.php:32
400
+ msgid "About plugin"
401
  msgstr ""
402
 
403
+ #: inc/setting_default.php:34
404
+ msgid "Tested with WordPress versions"
405
  msgstr ""
406
 
407
+ #: inc/setting_default.php:36
408
+ msgid "Plugin site"
409
  msgstr ""
410
 
411
+ #: inc/setting_default.php:37
412
+ msgid "Developer site"
413
  msgstr ""
414
 
415
+ #: inc/setting_default.php:38 wp-admin-ui-customize.php:148
416
+ msgid "Support Forums"
417
  msgstr ""
418
 
419
+ #: inc/setting_default.php:39
420
  msgid "Reviews"
421
  msgstr ""
422
 
423
+ #: inc/setting_default.php:47 inc/setting_loginscreen.php:36
 
424
  msgid "Useful plugins"
425
  msgstr ""
426
 
427
+ #: inc/setting_default.php:50
428
+ msgid "Create unique customizations for different user roles"
429
  msgstr ""
430
 
431
+ #: inc/setting_default.php:52
432
  msgid "Easily import/export setting between installations."
433
  msgstr ""
434
 
435
+ #: inc/setting_default.php:54
436
  msgid "Unified custom management screens for Multisite."
437
  msgstr ""
438
 
439
+ #: inc/setting_default.php:56
440
+ msgid ""
441
+ "Customize list view columns for posts, pages, custom post types, media "
442
+ "library, and other management screens."
443
  msgstr ""
444
 
445
+ #: inc/setting_default.php:58
446
  msgid "Create dashboard messages to be displayed for selected user roles."
447
  msgstr ""
448
 
449
+ #: inc/setting_default.php:60
450
+ msgid ""
451
+ "Create custom global variables that can be used with generated template tags "
452
+ "or shortcodes."
 
 
 
 
 
 
 
 
 
 
453
  msgstr ""
454
 
455
+ #: inc/setting_default.php:79 wp-admin-ui-customize.php:355
456
+ #: wp-admin-ui-customize.php:750 wp-admin-ui-customize.php:794
457
+ msgid "User Roles"
458
  msgstr ""
459
 
460
+ #: inc/setting_default.php:111
461
  msgid "Do you need professional setup and customization?"
462
  msgstr ""
463
 
464
+ #: inc/setting_default.php:117
465
  msgid "I provide full service customization for WP Admin UI Customize."
466
  msgstr ""
467
 
468
+ #: inc/setting_default.php:118
469
  msgid "Please contact me if you are interested."
470
  msgstr ""
471
 
472
+ #: inc/setting_default.php:120
473
  msgid "Example Customize"
474
  msgstr ""
475
 
476
+ #: inc/setting_default.php:121
477
  msgid "Contact me"
478
  msgstr ""
479
 
480
+ #: inc/setting_loginscreen.php:25
481
+ msgid ""
482
+ "Is not possible to check the login form if you do not log out in the case of "
483
+ "MultiSite."
484
  msgstr ""
485
 
486
+ #: inc/setting_loginscreen.php:27
487
+ msgid "Login Screen"
488
  msgstr ""
489
 
490
  #: inc/setting_loginscreen.php:27
495
  msgid "Flexible plugin for login screen customization."
496
  msgstr ""
497
 
 
 
 
 
498
  #: inc/setting_loginscreen.php:58
499
+ msgid "Logo URL"
500
  msgstr ""
501
 
502
  #: inc/setting_loginscreen.php:71
504
  msgstr ""
505
 
506
  #: inc/setting_loginscreen.php:83
507
+ msgid "Logo Image URL"
508
  msgstr ""
509
 
510
+ #: inc/setting_manage_metabox.php:18 inc/setting_manage_metabox.php:354
511
+ msgid "Management of meta boxes"
512
  msgstr ""
513
 
514
  #: inc/setting_manage_metabox.php:19
515
+ msgid ""
516
+ "Ensure at least one post and page is present and then refresh to display the "
517
+ "available meta boxes."
518
  msgstr ""
519
 
520
+ #: inc/setting_manage_metabox.php:20
521
+ msgid "It is also possible to change the meta box display name."
522
+ msgstr ""
523
+
524
+ #: inc/setting_manage_metabox.php:54 inc/setting_manage_metabox.php:151
525
+ #: inc/setting_manage_metabox.php:256
526
  msgid "Default Open"
527
  msgstr ""
528
 
529
+ #: inc/setting_manage_metabox.php:74 inc/setting_manage_metabox.php:86
530
+ #: inc/setting_manage_metabox.php:170 inc/setting_manage_metabox.php:182
531
+ #: inc/setting_manage_metabox.php:274 inc/setting_manage_metabox.php:286
532
+ msgid "Show"
533
+ msgstr ""
534
+
535
+ #: inc/setting_manage_metabox.php:82 inc/setting_manage_metabox.php:178
536
+ #: inc/setting_manage_metabox.php:282
537
  msgid "Expanded"
538
  msgstr ""
539
 
540
+ #: inc/setting_manage_metabox.php:83 inc/setting_manage_metabox.php:179
541
+ #: inc/setting_manage_metabox.php:283
 
542
  msgid "Collapsed"
543
  msgstr ""
544
 
545
+ #: inc/setting_manage_metabox.php:94 inc/setting_manage_metabox.php:190
 
546
  #: inc/setting_post_add_edit.php:48
547
+ msgid ""
548
+ "If the discussion meta box is hidden comments will not be displayed on new "
549
+ "posts for the selected role."
550
  msgstr ""
551
 
552
+ #: inc/setting_manage_metabox.php:96 inc/setting_manage_metabox.php:192
553
+ msgid "Change this setting to allow comments on new posts"
 
554
  msgstr ""
555
 
556
+ #: inc/setting_plugin_cap.php:18
557
  #, php-format
558
  msgid "You can change the user role %2$s of %1$s settings."
559
  msgstr ""
560
 
561
+ #: inc/setting_plugin_cap.php:19
562
  #, php-format
563
+ msgid "Select the capability required to modify %s settings."
564
  msgstr ""
565
 
566
+ #: inc/setting_plugin_cap.php:36
567
  #, php-format
568
+ msgid "Capability required to modify %s settings"
569
+ msgstr ""
570
+
571
+ #: inc/setting_post_add_edit.php:16 inc/setting_post_add_edit.php:101
572
+ msgid "Add New Post and Edit Post Screen Setting"
573
+ msgstr ""
574
+
575
+ #: inc/setting_post_add_edit.php:34 inc/setting_post_add_edit.php:65
576
+ msgid "Add New Post"
577
+ msgstr ""
578
+
579
+ #: inc/setting_post_add_edit.php:34
580
+ msgid "Add New Page"
581
  msgstr ""
582
 
583
  #: inc/setting_post_add_edit.php:41
584
+ msgid "Allow comments if discussion meta box is hidden"
585
+ msgstr ""
586
+
587
+ #: inc/setting_post_add_edit.php:47
588
+ msgid "Allow"
589
  msgstr ""
590
 
591
  #: inc/setting_post_add_edit.php:49
592
+ msgid "Check 'Allow' to allow comments on new posts."
593
  msgstr ""
594
 
595
  #: inc/setting_post_add_edit.php:50
596
  #, php-format
597
+ msgid "The %s in WordPress will override this setting."
598
+ msgstr ""
599
+
600
+ #: inc/setting_post_add_edit.php:50
601
+ msgid "Default article settings"
602
  msgstr ""
603
 
604
  #: inc/setting_post_add_edit.php:52
606
  msgid "Please select the <strong>%s</strong>"
607
  msgstr ""
608
 
609
+ #: inc/setting_post_add_edit.php:52
610
+ msgid "Allow people to post comments on new articles"
611
+ msgstr ""
612
+
613
+ #: inc/setting_post_add_edit.php:65
614
+ msgid "Edit Post"
615
+ msgstr ""
616
+
617
+ #: inc/setting_post_add_edit.php:72
618
+ msgid "Change Permalinks"
619
+ msgstr ""
620
+
621
  #: inc/setting_post_add_edit.php:78
622
+ msgid "Only appears when the permalinks are set to the default setting."
623
  msgstr ""
624
 
625
  #: inc/setting_sidemenu.php:19
631
  msgid "Sepalator"
632
  msgstr ""
633
 
634
+ #: inc/setting_sidemenu.php:54 inc/setting_sidemenu.php:133
635
+ msgid "Comments"
636
+ msgstr ""
637
+
638
+ #: inc/setting_sidemenu.php:56 inc/setting_sidemenu.php:135
639
+ msgid "Appearance"
640
+ msgstr ""
641
+
642
+ #: inc/setting_sidemenu.php:58 inc/setting_sidemenu.php:137
643
+ msgid "Plugins"
644
+ msgstr ""
645
+
646
+ #: inc/setting_sidemenu.php:76 inc/setting_sidemenu.php:148
647
+ msgid "Update"
648
+ msgstr ""
649
+
650
  #: inc/setting_sidemenu.php:114
651
  msgid "Current menu"
652
  msgstr ""
653
 
654
+ #: inc/setting_sidemenu.php:221
655
+ msgid "Remove all items from the current menu"
656
+ msgstr ""
657
+
658
+ #: inc/setting_site.php:16 inc/setting_site.php:160
659
+ msgid "Site Settings"
660
  msgstr ""
661
 
662
  #: inc/setting_site.php:35
663
  msgid "Header Meta"
664
  msgstr ""
665
 
666
+ #: inc/setting_site.php:48 inc/setting_site.php:61 inc/setting_site.php:74
667
+ #: inc/setting_site.php:87 inc/setting_site.php:100
668
+ msgid "Tag"
 
 
 
669
  msgstr ""
670
 
671
  #: inc/setting_site.php:60
672
+ msgid "Required if you are using Windows Live Writer."
673
  msgstr ""
674
 
675
  #: inc/setting_site.php:73
676
+ msgid "Required if you are using pingbacks."
677
  msgstr ""
678
 
679
  #: inc/setting_site.php:86
680
+ msgid "Adds RSS feed links to the HTML &lt;head&gt;"
681
+ msgstr ""
682
+
683
+ #: inc/setting_site.php:87
684
+ #, php-format
685
+ msgid "%1$s %2$s Feed"
686
  msgstr ""
687
 
688
  #: inc/setting_site.php:99
689
+ msgid "Adds RSS feed links for other feeds such as category feeds"
690
  msgstr ""
691
 
692
+ #: inc/setting_site.php:100
693
+ #, php-format
694
+ msgid "%1$s %2$s Comments Feed"
695
  msgstr ""
696
 
697
  #: inc/setting_site.php:127
698
+ msgid "Hide admin bar on the front end"
699
  msgstr ""
700
 
701
  #: inc/setting_site.php:127
702
+ msgid "Apply WP Admin UI Customize settings to the front end admin bar"
703
+ msgstr ""
704
+
705
+ #: wp-admin-ui-customize.php:149
706
+ msgid "Reset User Roles"
707
+ msgstr ""
708
+
709
+ #: wp-admin-ui-customize.php:183
710
+ msgid "Management of Meta boxes"
711
+ msgstr ""
712
+
713
+ #: wp-admin-ui-customize.php:330
714
+ #, php-format
715
+ msgid ""
716
+ "You must <a href=\"%s\">select a user role</a> before settings can be "
717
+ "applied."
718
+ msgstr ""
719
+
720
+ #: wp-admin-ui-customize.php:365
721
+ msgid "None"
722
+ msgstr ""
723
+
724
+ #: wp-admin-ui-customize.php:483
725
+ #, php-format
726
+ msgid "Howdy, %1$s"
727
+ msgstr ""
728
+
729
+ #: wp-admin-ui-customize.php:583
730
+ msgid "Edit"
731
+ msgstr ""
732
+
733
+ #: wp-admin-ui-customize.php:587
734
+ msgid "Search"
735
+ msgstr ""
736
+
737
+ #: wp-admin-ui-customize.php:593
738
+ msgid "View"
739
  msgstr ""
740
 
741
+ #: wp-admin-ui-customize.php:743
742
+ msgid "Url"
743
+ msgstr ""
744
+
745
+ #: wp-admin-ui-customize.php:746 wp-admin-ui-customize.php:791
746
+ msgid "Slug"
747
+ msgstr ""
748
+
749
+ #: wp-admin-ui-customize.php:761 wp-admin-ui-customize.php:805
750
+ #: wp-admin-ui-customize.php:899
751
+ msgid "Title"
752
+ msgstr ""
753
+
754
+ #: wp-admin-ui-customize.php:768 wp-admin-ui-customize.php:942
755
+ msgid "Sub Menus"
756
+ msgstr ""
757
+
758
+ #: wp-admin-ui-customize.php:811 wp-admin-ui-customize.php:823
759
+ #: wp-admin-ui-customize.php:973
760
+ msgid "Remove"
761
+ msgstr ""
762
+
763
+ #: wp-admin-ui-customize.php:863 wp-admin-ui-customize.php:885
764
+ msgid "Menu Group"
765
+ msgstr ""
766
+
767
+ #: wp-admin-ui-customize.php:883
768
+ msgid "Show only on front end."
769
+ msgstr ""
770
+
771
+ #: wp-admin-ui-customize.php:930
772
+ msgid "Open link in a new tab"
773
+ msgstr ""
774
+
775
+ #: wp-admin-ui-customize.php:1192
776
+ msgid "Left"
777
+ msgstr ""
778
+
779
+ #: wp-admin-ui-customize.php:1192
780
+ msgid "Right"
781
+ msgstr ""
782
+
783
+ #: wp-admin-ui-customize.php:1709
784
+ msgid "http://wordpress.org/"
785
+ msgstr ""
786
+
787
+ #: wp-admin-ui-customize.php:1726
788
+ msgid "Powered by WordPress"
789
+ msgstr ""
790
+
791
+ #: wp-admin-ui-customize.php:2580
792
+ msgid "Settings saved."
793
+ msgstr ""
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_9
4
  Tags: admin, post, posts, page, option, sitemenu, menu, custom, customize, dashboard, admin_bar, multisite, network, metabox
5
  Requires at least: 4.2
6
- Tested up to: 4.5
7
- Stable tag: 1.5.9
8
  License: GPL2
9
 
10
  Customize the management screen UI.
@@ -50,6 +50,10 @@ These to Customization is possible.
50
 
51
  == Changelog ==
52
 
 
 
 
 
53
  = 1.5.9 =
54
  * Fixed: Items panel expand on Sidemenus and Admin bar menus.
55
 
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_10
4
  Tags: admin, post, posts, page, option, sitemenu, menu, custom, customize, dashboard, admin_bar, multisite, network, metabox
5
  Requires at least: 4.2
6
+ Tested up to: 4.7
7
+ Stable tag: 1.5.10
8
  License: GPL2
9
 
10
  Customize the management screen UI.
50
 
51
  == Changelog ==
52
 
53
+ = 1.5.10 =
54
+ * Changed: More labels and texts.
55
+ * Removed: Donate message.
56
+
57
  = 1.5.9 =
58
  * Fixed: Items panel expand on Sidemenus and Admin bar menus.
59
 
wp-admin-ui-customize.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  /*
3
  Plugin Name: WP Admin UI Customize
4
- Description: An excellent plugin to customize the management screens.
5
- Plugin URI: http://wpadminuicustomize.com/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_5_9
6
- Version: 1.5.9
7
  Author: gqevu6bsiz
8
- Author URI: http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_5_9
9
  Text Domain: wp-admin-ui-customize
10
  Domain Path: /languages
11
  */
@@ -47,7 +47,6 @@ class WP_Admin_UI_Customize
47
  $Nonces,
48
  $Schema,
49
  $UPFN,
50
- $DonateKey,
51
  $Menu,
52
  $SubMenu,
53
  $Admin_bar,
@@ -58,7 +57,7 @@ class WP_Admin_UI_Customize
58
 
59
 
60
  function __construct() {
61
- $this->Ver = '1.5.9';
62
  $this->Name = 'WP Admin UI Customize';
63
  $this->Dir = plugin_dir_path( __FILE__ );
64
  $this->Url = plugin_dir_url( __FILE__ );
@@ -79,7 +78,6 @@ class WP_Admin_UI_Customize
79
  "appearance_menus" => $this->ltd . '_appearance_menus_setting',
80
  "loginscreen" => $this->ltd . '_loginscreen_setting',
81
  "plugin_cap" => $this->ltd . '_plugin_cap',
82
- "donate" => $this->ltd . '_donated',
83
  );
84
  $this->PageSlug = 'wp_admin_ui_customize';
85
  $this->PluginSlug = dirname( plugin_basename( __FILE__ ) );
@@ -88,7 +86,6 @@ class WP_Admin_UI_Customize
88
  $this->ActivatedPlugin = array();
89
  $this->OtherPluginMenu = array();
90
  $this->UPFN = 'Y';
91
- $this->DonateKey = 'd77aec9bc89d445fd54b4c988d090f03';
92
  $this->MsgQ = $this->ltd . '_msg';
93
 
94
  $this->PluginSetup();
@@ -178,17 +175,17 @@ class WP_Admin_UI_Customize
178
  $capability = $this->get_plugin_cap();
179
 
180
  add_menu_page( $this->Name , $this->Name , $capability, $this->PageSlug , array( $this , 'setting_default') );
181
- add_submenu_page( $this->PageSlug , __( 'Site Settings' , 'wp-admin-ui-customize' ) , __( 'Site Settings' , 'wp-admin-ui-customize' ) , $capability , $this->PageSlug . '_setting_site' , array( $this , 'setting_site' ) );
182
- add_submenu_page( $this->PageSlug , sprintf( __( '%1$s %2$s' , 'wp-admin-ui-customize' ) , __( 'General' ) , __( 'Settings' ) ) , sprintf( __( '%1$s %2$s' , 'wp-admin-ui-customize' ) , __( 'General' ) , __( 'Settings' ) ) , $capability , $this->PageSlug . '_admin_general_setting' , array( $this , 'setting_admin_general' ) );
183
  add_submenu_page( $this->PageSlug , __( 'Dashboard' ) , __( 'Dashboard' ) , $capability , $this->PageSlug . '_dashboard' , array( $this , 'setting_dashboard' ) );
184
- add_submenu_page( $this->PageSlug , __( 'Admin Bar Menu' , 'wp-admin-ui-customize' ) , __( 'Admin Bar Menu' , 'wp-admin-ui-customize' ) , $capability , $this->PageSlug . '_admin_bar' , array( $this , 'setting_admin_bar_menu' ) );
185
- add_submenu_page( $this->PageSlug , __( 'Side Menu' , 'wp-admin-ui-customize' ) , __( 'Side Menu' , 'wp-admin-ui-customize' ) , $capability , $this->PageSlug . '_sidemenu' , array( $this , 'setting_sidemenu' ) );
186
- add_submenu_page( $this->PageSlug , __( 'Manage meta box' , 'wp-admin-ui-customize' ) , __( 'Manage meta box' , 'wp-admin-ui-customize' ) , $capability , $this->PageSlug . '_manage_metabox' , array( $this , 'setting_manage_metabox' ) );
187
- add_submenu_page( $this->PageSlug , __( 'Add New Post and Edit Post Screen Setting' , 'wp-admin-ui-customize' ) , __( 'Add New Post and Edit Post Screen Setting' , 'wp-admin-ui-customize' ) , $capability , $this->PageSlug . '_post_add_edit_screen' , array( $this , 'setting_post_add_edit' ) );
188
- add_submenu_page( $this->PageSlug , __( 'Appearance Menus Screen Setting' , 'wp-admin-ui-customize' ) , __( 'Appearance Menus Screen Setting' , 'wp-admin-ui-customize' ) , $capability , $this->PageSlug . '_appearance_menus' , array( $this , 'setting_appearance_menus' ) );
189
- add_submenu_page( $this->PageSlug , __( 'Login Screen' , 'wp-admin-ui-customize' ) , __( 'Login Screen' , 'wp-admin-ui-customize' ) , $capability , $this->PageSlug . '_loginscreen' , array( $this , 'setting_loginscreen' ) );
190
  add_submenu_page( $this->PageSlug , sprintf( __( '%1$s of %2$s %3$s' , 'wp-admin-ui-customize' ) , __( 'Change' ) , __( 'Plugin' ) , __( 'Capabilities' ) ) , sprintf( __( '%1$s of %2$s %3$s' , 'wp-admin-ui-customize' ) , __( 'Change' ) , __( 'Plugin' ) , __( 'Capabilities' ) ) , $capability , $this->PageSlug . '_plugin_cap' , array( $this , 'setting_plugin_cap' ) );
191
- add_submenu_page( $this->PageSlug , __( 'Reset User Roles' , 'wp-admin-ui-customize' ) , __( 'Reset User Roles' , 'wp-admin-ui-customize' ) , $capability , $this->PageSlug . '_reset_userrole' , array( $this , 'reset_userrole' ) );
192
  }
193
 
194
  // PluginSetup
@@ -219,93 +216,72 @@ class WP_Admin_UI_Customize
219
  // SettingPage
220
  function setting_default() {
221
  $this->display_msg();
222
- add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
223
  include_once 'inc/setting_default.php';
224
  }
225
 
226
  // SettingPage
227
  function setting_site() {
228
  $this->display_msg();
229
- add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
230
- $this->DisplayDonation();
231
  include_once 'inc/setting_site.php';
232
  }
233
 
234
  // SettingPage
235
  function setting_admin_general() {
236
  $this->display_msg();
237
- add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
238
- $this->DisplayDonation();
239
  include_once 'inc/setting_admin_general.php';
240
  }
241
 
242
  // SettingPage
243
  function setting_dashboard() {
244
  $this->display_msg();
245
- add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
246
- $this->DisplayDonation();
247
  include_once 'inc/setting_dashboard.php';
248
  }
249
 
250
  // SettingPage
251
  function setting_admin_bar_menu() {
252
  $this->display_msg();
253
- add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
254
- $this->DisplayDonation();
255
  include_once 'inc/setting_admin_bar_menu.php';
256
  }
257
 
258
  // SettingPage
259
  function setting_sidemenu() {
260
  $this->display_msg();
261
- add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
262
- $this->DisplayDonation();
263
  include_once 'inc/setting_sidemenu.php';
264
  }
265
 
266
  // SettingPage
267
  function setting_manage_metabox() {
268
  $this->display_msg();
269
- add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
270
- $this->DisplayDonation();
271
  include_once 'inc/setting_manage_metabox.php';
272
  }
273
 
274
  // SettingPage
275
  function setting_post_add_edit() {
276
  $this->display_msg();
277
- add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
278
- $this->DisplayDonation();
279
  include_once 'inc/setting_post_add_edit.php';
280
  }
281
 
282
  // SettingPage
283
  function setting_appearance_menus() {
284
  $this->display_msg();
285
- add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
286
- $this->DisplayDonation();
287
  include_once 'inc/setting_appearance_menus.php';
288
  }
289
 
290
  // SettingPage
291
  function setting_loginscreen() {
292
  $this->display_msg();
293
- add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
294
- $this->DisplayDonation();
295
  include_once 'inc/setting_loginscreen.php';
296
  }
297
 
298
  // SettingPage
299
  function reset_userrole() {
300
  $this->display_msg();
301
- add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
302
  include_once 'inc/reset_userrole.php';
303
  }
304
 
305
  // SettingPage
306
  function setting_plugin_cap() {
307
  $this->display_msg();
308
- add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
309
  include_once 'inc/setting_plugin_cap.php';
310
  }
311
 
@@ -351,7 +327,7 @@ class WP_Admin_UI_Customize
351
  }
352
  if( empty( $Data ) ) {
353
  if( $current_screen->parent_base == $this->PageSlug && $current_screen->id != 'toplevel_page_' . $this->PageSlug ) {
354
- echo '<div class="error"><p><strong>' . sprintf( __( 'Authority to apply the setting is not selected. <a href="%s">From here</a>, please select the permissions you want to set.' , 'wp-admin-ui-customize' ) , admin_url( 'admin.php?page=' . $this->PageSlug ) ) . '</strong></p></div>';
355
  }
356
  }
357
  }
@@ -376,7 +352,7 @@ class WP_Admin_UI_Customize
376
  $apply_user_roles = $this->get_data( 'user_role' );
377
  unset( $apply_user_roles["UPFN"] );
378
 
379
- $Contents = __( 'Apply user roles' , 'wp-admin-ui-customize' ) . ' : ';
380
 
381
  if( !empty( $apply_user_roles ) ) {
382
  $UserRoles = $this->get_user_role();
@@ -951,7 +927,7 @@ class WP_Admin_UI_Customize
951
  <?php $checked = checked( $menu_widget["meta"]["target"] , '_blank' , 0 ); ?>
952
  <?php endif; ?>
953
  <input type="checkbox" class="meta_target" value="_blank" name="data[][meta][target]" <?php echo $checked; ?> />
954
- <?php _e( 'Open link in a new window/tab' ); ?>
955
  <?php endif; ?>
956
  </label>
957
  <input type="hidden" class="meta_class" value="<?php echo $menu_widget["meta"]["class"]; ?>" name="data[][meta][class]" />
@@ -1213,7 +1189,7 @@ class WP_Admin_UI_Customize
1213
 
1214
  // SetList
1215
  function admin_bar_places() {
1216
- return $Place_types = array( "left" => __( 'Left' ) , "right" => __( 'Right' ) , "front" => __( 'Front' , 'wp-admin-ui-customize' ) );
1217
  }
1218
 
1219
  // SetList
@@ -1310,9 +1286,6 @@ class WP_Admin_UI_Customize
1310
  }
1311
  }
1312
 
1313
- if( !empty( $_POST["donate_key"] ) && !empty( $_POST["update"] ) ) {
1314
- $this->DonatingCheck();
1315
- }
1316
  }
1317
 
1318
  }
@@ -1348,32 +1321,13 @@ class WP_Admin_UI_Customize
1348
  if( !empty( $Update ) && check_admin_referer( $this->Nonces["value"] , $this->Nonces["field"] ) ) {
1349
 
1350
  foreach( $this->Record as $key => $record ) {
1351
- if( $key != 'donate' ) {
1352
- delete_option( $record );
1353
- }
1354
  }
1355
  wp_redirect( esc_url_raw( add_query_arg( $this->MsgQ , 'delete' , stripslashes( $_POST["_wp_http_referer"] ) ) ) );
1356
  exit;
1357
  }
1358
  }
1359
 
1360
- // DataUpdate
1361
- function DonatingCheck() {
1362
- $Update = $this->update_validate();
1363
-
1364
- if( !empty( $Update ) && check_admin_referer( $this->Nonces["value"] , $this->Nonces["field"] ) ) {
1365
- if( !empty( $_POST["donate_key"] ) ) {
1366
- $SubmitKey = md5( strip_tags( $_POST["donate_key"] ) );
1367
- if( $this->DonateKey == $SubmitKey ) {
1368
- update_option( $this->Record["donate"] , $SubmitKey );
1369
- wp_redirect( esc_url_raw( add_query_arg( $this->MsgQ , 'donated' ) ) );
1370
- exit;
1371
- }
1372
- }
1373
- }
1374
-
1375
- }
1376
-
1377
  // DataUpdate
1378
  function update_userrole() {
1379
  $Update = $this->update_validate();
@@ -2624,26 +2578,10 @@ class WP_Admin_UI_Customize
2624
  $msg = strip_tags( $_GET[$this->MsgQ] );
2625
  if( $msg == 'update' or $msg == 'delete' ) {
2626
  $this->Msg .= '<div class="updated"><p><strong>' . __( 'Settings saved.' ) . '</strong></p></div>';
2627
- } elseif( $msg == 'donated' ) {
2628
- $this->Msg .= '<div class="updated"><p><strong>' . __( 'Thank you for your donation.' , 'wp-admin-ui-customize' ) . '</strong></p></div>';
2629
  }
2630
  }
2631
  }
2632
 
2633
- // FilterStart
2634
- function layout_footer( $text ) {
2635
- $text = '<img src="' . $this->Schema . 'www.gravatar.com/avatar/7e05137c5a859aa987a809190b979ed4?s=18" width="18" /> Plugin developer : <a href="' . $this->AuthorUrl . '?utm_source=use_plugin&utm_medium=footer&utm_content=' . $this->ltd . '&utm_campaign=' . str_replace( '.' , '_' , $this->Ver ) . '" target="_blank">gqevu6bsiz</a>';
2636
- return $text;
2637
- }
2638
-
2639
- // FilterStart
2640
- function DisplayDonation() {
2641
- $donation = get_option( $this->Record["donate"] );
2642
- if( $this->DonateKey != $donation ) {
2643
- $this->Msg .= '<div class="error"><p><strong>' . __( 'Please consider making a donation.' , 'wp-admin-ui-customize' ) . '</strong> <a href="' . self_admin_url( 'admin.php?page=' . $this->PageSlug ) . '">' . __( 'Donate' , 'wp-admin-ui-customize' ) . '</a></p></div>';
2644
- }
2645
- }
2646
-
2647
  }
2648
 
2649
  $wauc = new WP_Admin_UI_Customize();
1
  <?php
2
  /*
3
  Plugin Name: WP Admin UI Customize
4
+ Description: An excellent plugin to customize the Wordpress management UI.
5
+ Plugin URI: http://wpadminuicustomize.com/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_5_10
6
+ Version: 1.5.10
7
  Author: gqevu6bsiz
8
+ Author URI: http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_5_10
9
  Text Domain: wp-admin-ui-customize
10
  Domain Path: /languages
11
  */
47
  $Nonces,
48
  $Schema,
49
  $UPFN,
 
50
  $Menu,
51
  $SubMenu,
52
  $Admin_bar,
57
 
58
 
59
  function __construct() {
60
+ $this->Ver = '1.5.10';
61
  $this->Name = 'WP Admin UI Customize';
62
  $this->Dir = plugin_dir_path( __FILE__ );
63
  $this->Url = plugin_dir_url( __FILE__ );
78
  "appearance_menus" => $this->ltd . '_appearance_menus_setting',
79
  "loginscreen" => $this->ltd . '_loginscreen_setting',
80
  "plugin_cap" => $this->ltd . '_plugin_cap',
 
81
  );
82
  $this->PageSlug = 'wp_admin_ui_customize';
83
  $this->PluginSlug = dirname( plugin_basename( __FILE__ ) );
86
  $this->ActivatedPlugin = array();
87
  $this->OtherPluginMenu = array();
88
  $this->UPFN = 'Y';
 
89
  $this->MsgQ = $this->ltd . '_msg';
90
 
91
  $this->PluginSetup();
175
  $capability = $this->get_plugin_cap();
176
 
177
  add_menu_page( $this->Name , $this->Name , $capability, $this->PageSlug , array( $this , 'setting_default') );
178
+ add_submenu_page( $this->PageSlug , __( 'Frontend' , 'wp-admin-ui-customize' ) , __( 'Frontend' , 'wp-admin-ui-customize' ) , $capability , $this->PageSlug . '_setting_site' , array( $this , 'setting_site' ) );
179
+ add_submenu_page( $this->PageSlug , __( 'General' ) , __( 'General' ) , $capability , $this->PageSlug . '_admin_general_setting' , array( $this , 'setting_admin_general' ) );
180
  add_submenu_page( $this->PageSlug , __( 'Dashboard' ) , __( 'Dashboard' ) , $capability , $this->PageSlug . '_dashboard' , array( $this , 'setting_dashboard' ) );
181
+ add_submenu_page( $this->PageSlug , __( 'Admin bar' , 'wp-admin-ui-customize' ) , __( 'Admin bar' , 'wp-admin-ui-customize' ) , $capability , $this->PageSlug . '_admin_bar' , array( $this , 'setting_admin_bar_menu' ) );
182
+ add_submenu_page( $this->PageSlug , __( 'Sidebar' , 'wp-admin-ui-customize' ) , __( 'Sidebar' , 'wp-admin-ui-customize' ) , $capability , $this->PageSlug . '_sidemenu' , array( $this , 'setting_sidemenu' ) );
183
+ add_submenu_page( $this->PageSlug , __( 'Management of Meta boxes' , 'wp-admin-ui-customize' ) , __( 'Meta boxes' , 'wp-admin-ui-customize' ) , $capability , $this->PageSlug . '_manage_metabox' , array( $this , 'setting_manage_metabox' ) );
184
+ add_submenu_page( $this->PageSlug , __( 'Posts and Pages' , 'wp-admin-ui-customize' ) , __( 'Posts and Pages' , 'wp-admin-ui-customize' ) , $capability , $this->PageSlug . '_post_add_edit_screen' , array( $this , 'setting_post_add_edit' ) );
185
+ add_submenu_page( $this->PageSlug , __( 'Appearance Menus' , 'wp-admin-ui-customize' ) , __( 'Appearance Menus' , 'wp-admin-ui-customize' ) , $capability , $this->PageSlug . '_appearance_menus' , array( $this , 'setting_appearance_menus' ) );
186
+ add_submenu_page( $this->PageSlug , __( 'Login Form' , 'wp-admin-ui-customize' ) , __( 'Login Form' , 'wp-admin-ui-customize' ) , $capability , $this->PageSlug . '_loginscreen' , array( $this , 'setting_loginscreen' ) );
187
  add_submenu_page( $this->PageSlug , sprintf( __( '%1$s of %2$s %3$s' , 'wp-admin-ui-customize' ) , __( 'Change' ) , __( 'Plugin' ) , __( 'Capabilities' ) ) , sprintf( __( '%1$s of %2$s %3$s' , 'wp-admin-ui-customize' ) , __( 'Change' ) , __( 'Plugin' ) , __( 'Capabilities' ) ) , $capability , $this->PageSlug . '_plugin_cap' , array( $this , 'setting_plugin_cap' ) );
188
+ add_submenu_page( $this->PageSlug , __( 'Reset Settings' , 'wp-admin-ui-customize' ) , __( 'Reset Settings' , 'wp-admin-ui-customize' ) , $capability , $this->PageSlug . '_reset_userrole' , array( $this , 'reset_userrole' ) );
189
  }
190
 
191
  // PluginSetup
216
  // SettingPage
217
  function setting_default() {
218
  $this->display_msg();
 
219
  include_once 'inc/setting_default.php';
220
  }
221
 
222
  // SettingPage
223
  function setting_site() {
224
  $this->display_msg();
 
 
225
  include_once 'inc/setting_site.php';
226
  }
227
 
228
  // SettingPage
229
  function setting_admin_general() {
230
  $this->display_msg();
 
 
231
  include_once 'inc/setting_admin_general.php';
232
  }
233
 
234
  // SettingPage
235
  function setting_dashboard() {
236
  $this->display_msg();
 
 
237
  include_once 'inc/setting_dashboard.php';
238
  }
239
 
240
  // SettingPage
241
  function setting_admin_bar_menu() {
242
  $this->display_msg();
 
 
243
  include_once 'inc/setting_admin_bar_menu.php';
244
  }
245
 
246
  // SettingPage
247
  function setting_sidemenu() {
248
  $this->display_msg();
 
 
249
  include_once 'inc/setting_sidemenu.php';
250
  }
251
 
252
  // SettingPage
253
  function setting_manage_metabox() {
254
  $this->display_msg();
 
 
255
  include_once 'inc/setting_manage_metabox.php';
256
  }
257
 
258
  // SettingPage
259
  function setting_post_add_edit() {
260
  $this->display_msg();
 
 
261
  include_once 'inc/setting_post_add_edit.php';
262
  }
263
 
264
  // SettingPage
265
  function setting_appearance_menus() {
266
  $this->display_msg();
 
 
267
  include_once 'inc/setting_appearance_menus.php';
268
  }
269
 
270
  // SettingPage
271
  function setting_loginscreen() {
272
  $this->display_msg();
 
 
273
  include_once 'inc/setting_loginscreen.php';
274
  }
275
 
276
  // SettingPage
277
  function reset_userrole() {
278
  $this->display_msg();
 
279
  include_once 'inc/reset_userrole.php';
280
  }
281
 
282
  // SettingPage
283
  function setting_plugin_cap() {
284
  $this->display_msg();
 
285
  include_once 'inc/setting_plugin_cap.php';
286
  }
287
 
327
  }
328
  if( empty( $Data ) ) {
329
  if( $current_screen->parent_base == $this->PageSlug && $current_screen->id != 'toplevel_page_' . $this->PageSlug ) {
330
+ echo '<div class="error"><p><strong>' . sprintf( __( 'You must <a href="%s">select a user role</a> before settings can be applied.' , 'wp-admin-ui-customize' ) , admin_url( 'admin.php?page=' . $this->PageSlug ) ) . '</strong></p></div>';
331
  }
332
  }
333
  }
352
  $apply_user_roles = $this->get_data( 'user_role' );
353
  unset( $apply_user_roles["UPFN"] );
354
 
355
+ $Contents = __( 'User Roles' ) . ' : ';
356
 
357
  if( !empty( $apply_user_roles ) ) {
358
  $UserRoles = $this->get_user_role();
927
  <?php $checked = checked( $menu_widget["meta"]["target"] , '_blank' , 0 ); ?>
928
  <?php endif; ?>
929
  <input type="checkbox" class="meta_target" value="_blank" name="data[][meta][target]" <?php echo $checked; ?> />
930
+ <?php _e( 'Open link in a new tab' ); ?>
931
  <?php endif; ?>
932
  </label>
933
  <input type="hidden" class="meta_class" value="<?php echo $menu_widget["meta"]["class"]; ?>" name="data[][meta][class]" />
1189
 
1190
  // SetList
1191
  function admin_bar_places() {
1192
+ return $Place_types = array( "left" => __( 'Left' ) , "right" => __( 'Right' ) , "front" => __( 'Frontend' , 'wp-admin-ui-customize' ) );
1193
  }
1194
 
1195
  // SetList
1286
  }
1287
  }
1288
 
 
 
 
1289
  }
1290
 
1291
  }
1321
  if( !empty( $Update ) && check_admin_referer( $this->Nonces["value"] , $this->Nonces["field"] ) ) {
1322
 
1323
  foreach( $this->Record as $key => $record ) {
1324
+ delete_option( $record );
 
 
1325
  }
1326
  wp_redirect( esc_url_raw( add_query_arg( $this->MsgQ , 'delete' , stripslashes( $_POST["_wp_http_referer"] ) ) ) );
1327
  exit;
1328
  }
1329
  }
1330
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1331
  // DataUpdate
1332
  function update_userrole() {
1333
  $Update = $this->update_validate();
2578
  $msg = strip_tags( $_GET[$this->MsgQ] );
2579
  if( $msg == 'update' or $msg == 'delete' ) {
2580
  $this->Msg .= '<div class="updated"><p><strong>' . __( 'Settings saved.' ) . '</strong></p></div>';
 
 
2581
  }
2582
  }
2583
  }
2584
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2585
  }
2586
 
2587
  $wauc = new WP_Admin_UI_Customize();