Version Description
- Updated: Change the text domain to wp-admin-ui-customize from wauc.
Download this release
Release Info
Developer | gqevu6bsiz |
Plugin | WP Admin UI Customize |
Version | 1.5.7 |
Comparing to | |
See all releases |
Code changes from version 1.5.6 to 1.5.7
- inc/list_variables.php +8 -8
- inc/reset_userrole.php +17 -17
- inc/setting_admin_bar_menu.php +10 -10
- inc/setting_admin_general.php +19 -19
- inc/setting_appearance_menus.php +6 -6
- inc/setting_dashboard.php +8 -8
- inc/setting_default.php +35 -35
- inc/setting_loginscreen.php +18 -18
- inc/setting_manage_metabox.php +24 -24
- inc/setting_plugin_cap.php +6 -6
- inc/setting_post_add_edit.php +9 -9
- inc/setting_sidemenu.php +11 -11
- inc/setting_site.php +15 -15
- languages/{wauc-ja.mo → wp-admin-ui-customize-ja.mo} +0 -0
- languages/{wauc-ja.po → wp-admin-ui-customize-ja.po} +0 -0
- languages/{wauc-ru_RU.mo → wp-admin-ui-customize-ru_RU.mo} +0 -0
- languages/{wauc-ru_RU.po → wp-admin-ui-customize-ru_RU.po} +0 -0
- languages/{wauc-zh_TW.mo → wp-admin-ui-customize-zh_TW.mo} +0 -0
- languages/{wauc-zh_TW.po → wp-admin-ui-customize-zh_TW.po} +0 -0
- languages/{wauc.pot → wp-admin-ui-customize.pot} +0 -0
- readme.txt +5 -2
- wp-admin-ui-customize.php +27 -27
inc/list_variables.php
CHANGED
@@ -16,7 +16,7 @@ if( is_multisite() ) {
|
|
16 |
<table class="widefat fixed">
|
17 |
<thead>
|
18 |
<tr>
|
19 |
-
<th><?php _e( 'Shortcodes' ,
|
20 |
<th><?php _e( 'Value' ); ?></th>
|
21 |
</tr>
|
22 |
</thead>
|
@@ -41,7 +41,7 @@ if( is_multisite() ) {
|
|
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.' ,
|
45 |
<?php endif; ?>
|
46 |
</td>
|
47 |
</tr>
|
@@ -50,7 +50,7 @@ if( is_multisite() ) {
|
|
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.' ,
|
54 |
<?php endif; ?>
|
55 |
</td>
|
56 |
</tr>
|
@@ -100,35 +100,35 @@ if( is_multisite() ) {
|
|
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.' ,
|
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.' ,
|
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.' ,
|
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.' ,
|
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' ,
|
132 |
</td>
|
133 |
</tr>
|
134 |
<?php if( !empty( $this->ActivatedPlugin ) ) : ?>
|
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>
|
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>
|
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>
|
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 ) ) : ?>
|
inc/reset_userrole.php
CHANGED
@@ -12,7 +12,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
12 |
<div class="wrap">
|
13 |
|
14 |
<?php echo $this->Msg; ?>
|
15 |
-
<h2><?php _e( 'Reset User Roles' ,
|
16 |
<p> </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 ) ) ) ); ?>">
|
@@ -20,7 +20,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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' ,
|
24 |
<ul class="description">
|
25 |
<?php foreach( $Data as $key => $val ) : ?>
|
26 |
<?php if( !empty( $UserRoles[$key] ) ): ?>
|
@@ -30,38 +30,38 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
30 |
</ul>
|
31 |
<br />
|
32 |
|
33 |
-
<p><?php printf( __( 'Reset the %s?' ,
|
34 |
<p class="submit">
|
35 |
-
<input type="submit" class="button-primary" name="reset" value="<?php _e( 'Reset settings' ,
|
36 |
</p>
|
37 |
|
38 |
</form>
|
39 |
|
40 |
<p> </p>
|
41 |
|
42 |
-
<h2><?php _e( 'Reset settings of all' ,
|
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.' ,
|
48 |
<ul class="description">
|
49 |
-
<li><?php _e( 'Site Settings' ,
|
50 |
-
<li><?php printf( __( '%1$s %2$s' ,
|
51 |
<li><?php _e( 'Dashboard' ); ?></li>
|
52 |
-
<li><?php _e( 'Admin Bar Menu' ,
|
53 |
-
<li><?php _e( 'Side Menu' ,
|
54 |
-
<li><?php _e( 'Manage meta box' ,
|
55 |
-
<li><?php _e( 'Add New Post and Edit Post Screen Setting' ,
|
56 |
-
<li><?php _e( 'Appearance Menus Screen Setting' ,
|
57 |
-
<li><?php _e( 'Login Screen' ,
|
58 |
-
<li><?php printf( __( '%1$s of %2$s %3$s' ,
|
59 |
</ul>
|
60 |
<br />
|
61 |
|
62 |
-
<p><?php _e( 'Are you sure you want to delete all settings?' ,
|
63 |
<p class="submit">
|
64 |
-
<input type="submit" class="button-primary" name="reset" value="<?php _e( 'Reset settings of all' ,
|
65 |
</p>
|
66 |
|
67 |
</form>
|
12 |
<div class="wrap">
|
13 |
|
14 |
<?php echo $this->Msg; ?>
|
15 |
+
<h2><?php _e( 'Reset User Roles' , 'wp-admin-ui-customize' ); ?></h2>
|
16 |
<p> </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 ) ) ) ); ?>">
|
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] ) ): ?>
|
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> </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>
|
inc/setting_admin_bar_menu.php
CHANGED
@@ -15,14 +15,14 @@ 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' ,
|
19 |
-
<p><?php _e( 'Please change the menu by drag and drop.' ,
|
20 |
-
<p><strong><?php _e( 'Notice: Please do not place the same multiple menu slug.' ,
|
21 |
-
<p class="description"><?php _e( 'Can be more than one custom menu.' ,
|
22 |
|
23 |
<h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
|
24 |
|
25 |
-
<p><a href="#TB_inline?height=300&width=600&inlineId=list_variables&modal=false" title="<?php _e( 'Shortcodes' ,
|
26 |
|
27 |
<form id="wauc_setting_admin_bar_menu" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
|
28 |
<input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
|
@@ -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.' ,
|
34 |
-
<p><a href="<?php $this->get_document_link( 'admin_bar' ); ?>" target="_blank" class="button-secondary"><?php _e( 'Admin bar settings documentation page' ,
|
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?' ,
|
88 |
-
<input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' ,
|
89 |
</p>
|
90 |
|
91 |
</form>
|
92 |
|
93 |
-
<h3><?php _e ( 'Menu items that can be added' ,
|
94 |
|
95 |
<div id="can_menus" class="metabox-holder columns-1">
|
96 |
|
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 |
|
25 |
+
<p><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></p>
|
26 |
|
27 |
<form id="wauc_setting_admin_bar_menu" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
|
28 |
<input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
|
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 |
</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 |
|
inc/setting_admin_general.php
CHANGED
@@ -13,7 +13,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
13 |
<div class="wrap">
|
14 |
|
15 |
<?php echo $this->Msg; ?>
|
16 |
-
<h2><?php printf( __( '%1$s %2$s' ,
|
17 |
<p> </p>
|
18 |
|
19 |
<h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
|
@@ -31,41 +31,41 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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' ,
|
35 |
<div class="inside">
|
36 |
<table class="form-table">
|
37 |
<tbody>
|
38 |
<tr>
|
39 |
<th>
|
40 |
-
<label><?php _e( 'WordPress core update notice' ,
|
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' ,
|
47 |
</td>
|
48 |
</tr>
|
49 |
<tr>
|
50 |
<th>
|
51 |
-
<label><?php _e( 'Plugin update notice' ,
|
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' ,
|
58 |
</td>
|
59 |
</tr>
|
60 |
<tr>
|
61 |
<th>
|
62 |
-
<label><?php _e( 'Theme update notice' ,
|
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' ,
|
69 |
</td>
|
70 |
</tr>
|
71 |
</tbody>
|
@@ -75,7 +75,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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' ,
|
79 |
<div class="inside">
|
80 |
<table class="form-table">
|
81 |
<tbody>
|
@@ -114,7 +114,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
114 |
<tbody>
|
115 |
<tr>
|
116 |
<th>
|
117 |
-
<label><?php _e( 'Footer text' ,
|
118 |
</th>
|
119 |
<td>
|
120 |
<?php $field = 'footer_text'; ?>
|
@@ -122,7 +122,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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' ,
|
126 |
</td>
|
127 |
</tr>
|
128 |
</tbody>
|
@@ -139,35 +139,35 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
139 |
<?php $field = 'css'; ?>
|
140 |
<tr>
|
141 |
<th>
|
142 |
-
<label><?php _e( 'CSS file to load' ,
|
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' ,
|
149 |
</td>
|
150 |
</tr>
|
151 |
<?php $field = 'title_tag'; ?>
|
152 |
<tr>
|
153 |
<th>
|
154 |
-
<label><?php _e( 'Title tag for Admin screen' ,
|
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' ,
|
160 |
</td>
|
161 |
</tr>
|
162 |
<?php $field = 'resize_admin_bar'; ?>
|
163 |
<tr>
|
164 |
<th>
|
165 |
-
<label><?php _e( 'Resizing Admin bar' ,
|
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' ,
|
171 |
</td>
|
172 |
</tr>
|
173 |
</tbody>
|
@@ -188,8 +188,8 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
188 |
</p>
|
189 |
|
190 |
<p class="submit reset">
|
191 |
-
<span class="description"><?php printf( __( 'Reset the %s?' ,
|
192 |
-
<input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' ,
|
193 |
</p>
|
194 |
|
195 |
</form>
|
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> </p>
|
18 |
|
19 |
<h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
|
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>
|
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>
|
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'; ?>
|
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>
|
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>
|
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>
|
inc/setting_appearance_menus.php
CHANGED
@@ -11,7 +11,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
11 |
<div class="wrap">
|
12 |
|
13 |
<?php echo $this->Msg; ?>
|
14 |
-
<h2><?php _e( 'Appearance Menus Screen Setting' ,
|
15 |
<p> </p>
|
16 |
|
17 |
<h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
|
@@ -36,13 +36,13 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
36 |
<?php $field = 'add_new_menu'; ?>
|
37 |
<tr>
|
38 |
<th>
|
39 |
-
<label><?php _e( 'Create a new menu' ,
|
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.' ,
|
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>
|
@@ -56,7 +56,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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.' ,
|
60 |
<p><img src="<?php echo $this->Url; ?>images/appearance_menus_delete_menu.png" /></p>
|
61 |
</td>
|
62 |
</tr>
|
@@ -78,8 +78,8 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
78 |
</p>
|
79 |
|
80 |
<p class="submit reset">
|
81 |
-
<span class="description"><?php printf( __( 'Reset the %s?' ,
|
82 |
-
<input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' ,
|
83 |
</p>
|
84 |
|
85 |
</form>
|
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> </p>
|
16 |
|
17 |
<h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
|
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>
|
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>
|
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>
|
inc/setting_dashboard.php
CHANGED
@@ -31,7 +31,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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' ,
|
35 |
<div class="inside">
|
36 |
|
37 |
<?php if( !empty( $Metaboxes["metaboxes"]["dashboard"] ) ) : ?>
|
@@ -44,7 +44,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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' ,
|
48 |
</tr>
|
49 |
</thead>
|
50 |
<tbody>
|
@@ -93,7 +93,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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',
|
97 |
</a>
|
98 |
</p>
|
99 |
<p class="loading">
|
@@ -106,19 +106,19 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
106 |
|
107 |
<div class="postbox">
|
108 |
<div class="handlediv" title="Click to toggle"><br></div>
|
109 |
-
<h3 class="hndle"><span><?php _e( 'Other' ,
|
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' ,
|
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" ,
|
122 |
</td>
|
123 |
</tr>
|
124 |
</tbody>
|
@@ -139,8 +139,8 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
139 |
</p>
|
140 |
|
141 |
<p class="submit reset">
|
142 |
-
<span class="description"><?php printf( __( 'Reset the %s?' ,
|
143 |
-
<input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' ,
|
144 |
</p>
|
145 |
|
146 |
</form>
|
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"] ) ) : ?>
|
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>
|
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">
|
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>
|
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>
|
inc/setting_default.php
CHANGED
@@ -13,10 +13,10 @@ 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.' ,
|
17 |
-
<p><?php _e ( 'Please select the user roles that all settings will apply to.' ,
|
18 |
<p>
|
19 |
-
<span class="description"><?php _e( 'Please use the Multiple Add-on if you want per role customization.' ,
|
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 |
|
@@ -29,38 +29,38 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
29 |
|
30 |
<div class="stuffbox" id="donationbox">
|
31 |
<div class="inside">
|
32 |
-
<p style="color: #FFFFFF; font-size: 20px;"><?php _e( 'Donate' ,
|
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.' ,
|
34 |
<p> </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> </p>
|
39 |
<div class="donation_memo">
|
40 |
-
<p><strong><?php _e( 'Features' ,
|
41 |
-
<p><?php _e( 'Line Break First and End plugin allows for line breaks when using the visual editor TinyMCE.' ,
|
42 |
</div>
|
43 |
<div class="donation_memo">
|
44 |
-
<p><strong><?php _e( 'The primary use of donations' ,
|
45 |
<ul>
|
46 |
-
<li>- <?php _e( 'Liquidation of time and value' ,
|
47 |
-
<li>- <?php _e( 'Additional suggestions feature' ,
|
48 |
-
<li>- <?php _e( 'Maintain motivation' ,
|
49 |
-
<li>- <?php _e( 'Ensure time as the father of Sunday' ,
|
50 |
</ul>
|
51 |
</div>
|
52 |
</div>
|
53 |
</div>
|
54 |
|
55 |
<div class="stuffbox" id="aboutbox">
|
56 |
-
<h3><span class="hndle"><?php _e( 'About plugin' ,
|
57 |
<div class="inside">
|
58 |
-
<p><?php _e( 'Version checked' ,
|
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' ,
|
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' ,
|
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' ,
|
64 |
<li><a href="https://twitter.com/gqevu6bsiz" target="_blank">twitter</a></li>
|
65 |
<li><a href="http://www.facebook.com/pages/Gqevu6bsiz/499584376749601" target="_blank">facebook</a></li>
|
66 |
</ul>
|
@@ -68,20 +68,20 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
68 |
</div>
|
69 |
|
70 |
<div class="stuffbox" id="usefulbox">
|
71 |
-
<h3><span class="hndle"><?php _e( 'Useful plugins' ,
|
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.' ,
|
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 & Export Add-on</a></strong></p>
|
76 |
-
<p class="description"><?php _e( 'Easily import/export setting between installations.' ,
|
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>
|
78 |
-
<p class="description"><?php _e( 'Unified custom management screens for Multisite.' ,
|
79 |
<p><strong><a href="http://wordpress.org/extend/plugins/post-lists-view-custom/" target="_blank">Post Lists View Custom</a></strong></p>
|
80 |
-
<p class="description"><?php _e( 'Customize list view columns for posts, pages, custom post types, media library, and other management screens.' ,
|
81 |
<p><strong><a href="http://wordpress.org/extend/plugins/announce-from-the-dashboard/" target="_blank">Announce from the Dashboard</a></strong></p>
|
82 |
-
<p class="description"><?php _e( 'Create dashboard messages to be displayed for selected user roles.' ,
|
83 |
<p><strong><a href="http://wordpress.org/extend/plugins/custom-options-plus-post-in/" target="_blank">Custom Options Plus Post in</a></strong></p>
|
84 |
-
<p class="description"><?php _e( 'Create custom global variables that can be used with generated template tags or shortcodes.' ,
|
85 |
<p> </p>
|
86 |
</div>
|
87 |
</div>
|
@@ -121,8 +121,8 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
121 |
</p>
|
122 |
|
123 |
<p class="submit reset">
|
124 |
-
<span class="description"><?php printf( __( 'Reset the %s?' ,
|
125 |
-
<input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' ,
|
126 |
</p>
|
127 |
|
128 |
<p> </p>
|
@@ -130,11 +130,11 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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.' ,
|
134 |
-
<p><?php _e( 'Please enter the \'Donation Delete Key\' that was provided on the Line Break First and End download page.' ,
|
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:' ,
|
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>
|
@@ -142,17 +142,17 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
142 |
<p> </p>
|
143 |
|
144 |
<div class="stuffbox" style="border-color: #FFC426; border-width: 3px;">
|
145 |
-
<h3 style="background: #FFF2D0; border-color: #FFC426;"><span class="hndle"><?php _e( 'Do you need professional setup and customization?' ,
|
146 |
<div class="inside">
|
147 |
<p style="float: right;">
|
148 |
<img src="<?php echo $this->Schema; ?>www.gravatar.com/avatar/7e05137c5a859aa987a809190b979ed4?s=46" width="46" /><br />
|
149 |
<a href="<?php echo $this->AuthorUrl; ?>contact-us/?utm_source=use_plugin&utm_medium=side&utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank">gqevu6bsiz</a>
|
150 |
</p>
|
151 |
-
<p><?php _e( 'I provide full service customization for WP Admin UI Customize.' ,
|
152 |
-
<p><?php _e( 'Please contact me if you are interested.' ,
|
153 |
<p>
|
154 |
-
<a href="<?php echo $this->Site; ?>blog/category/example/?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 ( 'Example Customize' ,
|
155 |
-
<a href="<?php echo $this->Site; ?>contact/?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( 'Contact me' ,
|
156 |
</div>
|
157 |
</div>
|
158 |
|
@@ -190,7 +190,7 @@ jQuery(document).ready(function($) {
|
|
190 |
if( $RDonated == $TDonated ) {
|
191 |
$("#donationbox").hide();
|
192 |
if( $TDonated != "" ) {
|
193 |
-
$("#donation_form").html( '<p> </p><p> </p><span class="description"><?php _e( 'Thank you for your donation.' ,
|
194 |
} else {
|
195 |
$("#donation_form").html( '' );
|
196 |
}
|
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 |
|
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> </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> </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.3</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>
|
65 |
<li><a href="http://www.facebook.com/pages/Gqevu6bsiz/499584376749601" target="_blank">facebook</a></li>
|
66 |
</ul>
|
68 |
</div>
|
69 |
|
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 & 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>
|
78 |
+
<p class="description"><?php _e( 'Unified custom management screens for Multisite.' , 'wp-admin-ui-customize' ); ?></p>
|
79 |
<p><strong><a href="http://wordpress.org/extend/plugins/post-lists-view-custom/" target="_blank">Post Lists View Custom</a></strong></p>
|
80 |
+
<p class="description"><?php _e( 'Customize list view columns for posts, pages, custom post types, media library, and other management screens.' , 'wp-admin-ui-customize' ); ?></p>
|
81 |
<p><strong><a href="http://wordpress.org/extend/plugins/announce-from-the-dashboard/" target="_blank">Announce from the Dashboard</a></strong></p>
|
82 |
+
<p class="description"><?php _e( 'Create dashboard messages to be displayed for selected user roles.' , 'wp-admin-ui-customize' ); ?></p>
|
83 |
<p><strong><a href="http://wordpress.org/extend/plugins/custom-options-plus-post-in/" target="_blank">Custom Options Plus Post in</a></strong></p>
|
84 |
+
<p class="description"><?php _e( 'Create custom global variables that can be used with generated template tags or shortcodes.' , 'wp-admin-ui-customize' ); ?></p>
|
85 |
<p> </p>
|
86 |
</div>
|
87 |
</div>
|
121 |
</p>
|
122 |
|
123 |
<p class="submit reset">
|
124 |
+
<span class="description"><?php printf( __( 'Reset the %s?' , 'wp-admin-ui-customize' ) , __( 'User Roles Settings' , 'wp-admin-ui-customize' ) ); ?></span>
|
125 |
+
<input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' , 'wp-admin-ui-customize' ); ?>" />
|
126 |
</p>
|
127 |
|
128 |
<p> </p>
|
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>
|
142 |
<p> </p>
|
143 |
|
144 |
<div class="stuffbox" style="border-color: #FFC426; border-width: 3px;">
|
145 |
+
<h3 style="background: #FFF2D0; border-color: #FFC426;"><span class="hndle"><?php _e( 'Do you need professional setup and customization?' , 'wp-admin-ui-customize' ); ?></span></h3>
|
146 |
<div class="inside">
|
147 |
<p style="float: right;">
|
148 |
<img src="<?php echo $this->Schema; ?>www.gravatar.com/avatar/7e05137c5a859aa987a809190b979ed4?s=46" width="46" /><br />
|
149 |
<a href="<?php echo $this->AuthorUrl; ?>contact-us/?utm_source=use_plugin&utm_medium=side&utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank">gqevu6bsiz</a>
|
150 |
</p>
|
151 |
+
<p><?php _e( 'I provide full service customization for WP Admin UI Customize.' , 'wp-admin-ui-customize' ); ?></p>
|
152 |
+
<p><?php _e( 'Please contact me if you are interested.' , 'wp-admin-ui-customize' ); ?></p>
|
153 |
<p>
|
154 |
+
<a href="<?php echo $this->Site; ?>blog/category/example/?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 ( 'Example Customize' , 'wp-admin-ui-customize' ); ?></a> :
|
155 |
+
<a href="<?php echo $this->Site; ?>contact/?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( 'Contact me' , 'wp-admin-ui-customize' ); ?></a></p>
|
156 |
</div>
|
157 |
</div>
|
158 |
|
190 |
if( $RDonated == $TDonated ) {
|
191 |
$("#donationbox").hide();
|
192 |
if( $TDonated != "" ) {
|
193 |
+
$("#donation_form").html( '<p> </p><p> </p><span class="description"><?php _e( 'Thank you for your donation.' , 'wp-admin-ui-customize' ); ?></span>' );
|
194 |
} else {
|
195 |
$("#donation_form").html( '' );
|
196 |
}
|
inc/setting_loginscreen.php
CHANGED
@@ -13,7 +13,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
13 |
<div class="wrap">
|
14 |
|
15 |
<?php echo $this->Msg; ?>
|
16 |
-
<h2><?php _e( 'Login Screen Settings' ,
|
17 |
<p> </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 ) ) ) ); ?>">
|
@@ -22,9 +22,9 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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.' ,
|
26 |
<?php endif; ?>
|
27 |
-
<p><a title="<?php _e( 'Login Screen' ,
|
28 |
|
29 |
<div id="poststuff">
|
30 |
|
@@ -33,10 +33,10 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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' ,
|
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.' ,
|
40 |
</div>
|
41 |
</div>
|
42 |
|
@@ -48,45 +48,45 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
48 |
|
49 |
<div class="postbox">
|
50 |
<div class="handlediv" title="Click to toggle"><br></div>
|
51 |
-
<h3 class="hndle"><span><?php _e( 'Login Form' ,
|
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' ,
|
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' ,
|
65 |
|
66 |
</td>
|
67 |
</tr>
|
68 |
<?php $field = 'login_headertitle'; ?>
|
69 |
<tr>
|
70 |
<th>
|
71 |
-
<label><?php _e( 'Logo Title' ,
|
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' ,
|
78 |
</td>
|
79 |
</tr>
|
80 |
<?php $field = 'login_headerlogo'; ?>
|
81 |
<tr>
|
82 |
<th>
|
83 |
-
<label><?php _e( 'Logo Image path' ,
|
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' ,
|
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 ); ?>
|
@@ -108,25 +108,25 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
108 |
<?php $field = 'login_css'; ?>
|
109 |
<tr>
|
110 |
<th>
|
111 |
-
<label><?php _e( 'CSS file to load' ,
|
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' ,
|
118 |
</td>
|
119 |
</tr>
|
120 |
<?php $field = 'login_footer'; ?>
|
121 |
<tr>
|
122 |
<th>
|
123 |
-
<label><?php _e( 'Footer text' ,
|
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' ,
|
130 |
</td>
|
131 |
</tr>
|
132 |
</tbody>
|
@@ -149,8 +149,8 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
149 |
</p>
|
150 |
|
151 |
<p class="submit reset">
|
152 |
-
<span class="description"><?php printf( __( 'Reset the %s?' ,
|
153 |
-
<input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' ,
|
154 |
</p>
|
155 |
|
156 |
</form>
|
13 |
<div class="wrap">
|
14 |
|
15 |
<?php echo $this->Msg; ?>
|
16 |
+
<h2><?php _e( 'Login Screen Settings' , 'wp-admin-ui-customize' ); ?></h2>
|
17 |
<p> </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 ) ) ) ); ?>">
|
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 |
|
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 |
|
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 ); ?>
|
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>
|
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>
|
inc/setting_manage_metabox.php
CHANGED
@@ -15,9 +15,9 @@ 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( 'Manage meta box' ,
|
19 |
-
<p><?php _e( 'Please update or add a "post" and a "page" to load the available meta boxes.' ,
|
20 |
-
<p><?php _e( 'Please enter if you want to change of Metabox label name.' ,
|
21 |
|
22 |
<h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
|
23 |
|
@@ -51,9 +51,9 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
51 |
</label>
|
52 |
</td>
|
53 |
<td style="width: 15%;">
|
54 |
-
<strong><?php _e( 'Default Open' ,
|
55 |
</td>
|
56 |
-
<td><strong><?php _e( 'Change metabox title to' ,
|
57 |
</tr>
|
58 |
</thead>
|
59 |
<tbody>
|
@@ -79,8 +79,8 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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' ,
|
83 |
-
<option value="1" <?php Selected( $Selected , 1 ); ?>><?php _e( 'Collapsed' ,
|
84 |
</select>
|
85 |
<?php else : ?>
|
86 |
<?php _e( 'Show' ); ?>
|
@@ -91,9 +91,9 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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.' ,
|
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.' ,
|
97 |
<?php endif; ?>
|
98 |
</td>
|
99 |
</tr>
|
@@ -120,7 +120,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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',
|
124 |
</a>
|
125 |
</p>
|
126 |
<p class="loading">
|
@@ -148,9 +148,9 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
148 |
</label>
|
149 |
</td>
|
150 |
<td style="width: 15%;">
|
151 |
-
<strong><?php _e( 'Default Open' ,
|
152 |
</td>
|
153 |
-
<td><strong><?php _e( 'Change metabox title to' ,
|
154 |
</tr>
|
155 |
</thead>
|
156 |
<tbody>
|
@@ -175,8 +175,8 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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' ,
|
179 |
-
<option value="1" <?php Selected( $Selected , 1 ); ?>><?php _e( 'Collapsed' ,
|
180 |
</select>
|
181 |
<?php else : ?>
|
182 |
<?php _e( 'Show' ); ?>
|
@@ -187,9 +187,9 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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.' ,
|
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.' ,
|
193 |
<?php endif; ?>
|
194 |
</td>
|
195 |
</tr>
|
@@ -216,7 +216,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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',
|
220 |
</a>
|
221 |
</p>
|
222 |
<p class="loading">
|
@@ -253,9 +253,9 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
253 |
</label>
|
254 |
</td>
|
255 |
<td style="width: 15%;">
|
256 |
-
<strong><?php _e( 'Default Open' ,
|
257 |
</td>
|
258 |
-
<td><strong><?php _e( 'Change metabox title to' ,
|
259 |
</tr>
|
260 |
</thead>
|
261 |
<tbody>
|
@@ -279,8 +279,8 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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' ,
|
283 |
-
<option value="1" <?php Selected( $Selected , 1 ); ?>><?php _e( 'Collapsed' ,
|
284 |
</select>
|
285 |
<?php else : ?>
|
286 |
<?php _e( 'Show' ); ?>
|
@@ -324,7 +324,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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',
|
328 |
</a>
|
329 |
</p>
|
330 |
<p class="loading">
|
@@ -351,8 +351,8 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
351 |
</p>
|
352 |
|
353 |
<p class="submit reset">
|
354 |
-
<span class="description"><?php printf( __( 'Reset the %s?' ,
|
355 |
-
<input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' ,
|
356 |
</p>
|
357 |
|
358 |
</form>
|
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 |
|
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>
|
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' ); ?>
|
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>
|
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">
|
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>
|
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' ); ?>
|
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>
|
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">
|
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>
|
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' ); ?>
|
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">
|
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>
|
inc/setting_plugin_cap.php
CHANGED
@@ -14,9 +14,9 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
14 |
<div class="wrap">
|
15 |
|
16 |
<?php echo $this->Msg; ?>
|
17 |
-
<h2><?php echo sprintf( __( '%1$s of %2$s %3$s' ,
|
18 |
-
<p><?php echo sprintf( __( 'You can change the user role %2$s of %1$s settings.' ,
|
19 |
-
<p><?php echo sprintf( __( 'Please choose the minimum role that can modify %s settings.' ,
|
20 |
|
21 |
<p> </p>
|
22 |
|
@@ -33,7 +33,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
33 |
|
34 |
<div id="appearance_menus">
|
35 |
<div class="postbox">
|
36 |
-
<h3 class="hndle"><span><?php echo sprintf( __( 'Capability role for the %s' ,
|
37 |
<div class="inside">
|
38 |
<table class="form-table">
|
39 |
<tbody>
|
@@ -79,8 +79,8 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
79 |
</p>
|
80 |
|
81 |
<p class="submit reset">
|
82 |
-
<span class="description"><?php printf( __( 'Reset the %s?' ,
|
83 |
-
<input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' ,
|
84 |
</p>
|
85 |
|
86 |
</form>
|
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> </p>
|
22 |
|
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>
|
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>
|
inc/setting_post_add_edit.php
CHANGED
@@ -13,7 +13,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
13 |
<div class="wrap">
|
14 |
|
15 |
<?php echo $this->Msg; ?>
|
16 |
-
<h2><?php _e( 'Add New Post and Edit Post Screen Setting' ,
|
17 |
<p> </p>
|
18 |
|
19 |
<h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
|
@@ -38,18 +38,18 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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' ,
|
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.' ,
|
49 |
-
<p><?php _e( 'Please select if you want to display the comments on Site.' ,
|
50 |
-
<p><a href="<?php echo admin_url( 'options-discussion.php' ); ?>"><?php echo sprintf( __( 'However, this will follow the setting of %s.' ,
|
51 |
<?php else : ?>
|
52 |
-
<p><a href="<?php echo admin_url( 'options-discussion.php' ); ?>"><?php echo sprintf( __( 'Please select the <strong>%s</strong>' ,
|
53 |
<?php endif; ?>
|
54 |
|
55 |
</td>
|
@@ -75,7 +75,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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.' ,
|
79 |
<p><img src="<?php echo $this->Url; ?>images/post_add_edit_screen__edit_ppermalink.png" /></p>
|
80 |
</td>
|
81 |
</tr>
|
@@ -98,8 +98,8 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
98 |
</p>
|
99 |
|
100 |
<p class="submit reset">
|
101 |
-
<span class="description"><?php printf( __( 'Reset the %s?' ,
|
102 |
-
<input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' ,
|
103 |
</p>
|
104 |
|
105 |
</form>
|
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> </p>
|
18 |
|
19 |
<h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
|
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>
|
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>
|
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>
|
inc/setting_sidemenu.php
CHANGED
@@ -14,14 +14,14 @@ 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' ,
|
18 |
-
<p><?php _e( 'Please change the menu by drag and drop.' ,
|
19 |
-
<p class="description"><?php echo sprintf( __( 'New plugin menus will be added to the <strong>%s</strong>.' ,
|
20 |
-
<p><strong><?php _e( 'Notice: Please do not place the same multiple menu slug.' ,
|
21 |
|
22 |
<h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
|
23 |
|
24 |
-
<p><a href="#TB_inline?height=300&width=600&inlineId=list_variables&modal=false" title="<?php _e( 'Shortcodes' ,
|
25 |
|
26 |
<form id="wauc_setting_sidemenu" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
|
27 |
<input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
|
@@ -37,10 +37,10 @@ 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' ,
|
41 |
<div class="inside">
|
42 |
|
43 |
-
<p class="description"><?php _e( 'Sepalator' ,
|
44 |
<?php $menu_widget = array( 'title' => '-' , 'slug' => 'separator' , 'parent_slug' => '' , 'new' => true , 'cap' => 'read' ); ?>
|
45 |
<?php $this->sidebar_menu_widget( $menu_widget ); ?>
|
46 |
<div class="clear"></div>
|
@@ -111,7 +111,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
111 |
|
112 |
<div class="postbox">
|
113 |
<h3 class="hndle">
|
114 |
-
<span><?php _e( 'Current menu' ,
|
115 |
</h3>
|
116 |
<div class="inside widgets-holder-wrap">
|
117 |
|
@@ -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' ,
|
222 |
|
223 |
</div>
|
224 |
</div>
|
@@ -234,8 +234,8 @@ 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?' ,
|
238 |
-
<input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' ,
|
239 |
</p>
|
240 |
|
241 |
</form>
|
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 |
|
24 |
+
<p><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></p>
|
25 |
|
26 |
<form id="wauc_setting_sidemenu" class="wauc_form" method="post" action="<?php echo esc_url( remove_query_arg( 'wauc_msg' , add_query_arg( array( 'page' => $this->PageSlug ) ) ) ); ?>">
|
27 |
<input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
|
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>
|
44 |
<?php $menu_widget = array( 'title' => '-' , 'slug' => 'separator' , 'parent_slug' => '' , 'new' => true , 'cap' => 'read' ); ?>
|
45 |
<?php $this->sidebar_menu_widget( $menu_widget ); ?>
|
46 |
<div class="clear"></div>
|
111 |
|
112 |
<div class="postbox">
|
113 |
<h3 class="hndle">
|
114 |
+
<span><?php _e( 'Current menu' , 'wp-admin-ui-customize' ); ?></span>
|
115 |
</h3>
|
116 |
<div class="inside widgets-holder-wrap">
|
117 |
|
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 |
</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 |
|
241 |
</form>
|
inc/setting_site.php
CHANGED
@@ -13,7 +13,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
13 |
<div class="wrap">
|
14 |
|
15 |
<?php echo $this->Msg; ?>
|
16 |
-
<h2><?php _e( 'Site Settings' ,
|
17 |
<p> </p>
|
18 |
|
19 |
<h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
|
@@ -32,7 +32,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
32 |
|
33 |
<div class="postbox">
|
34 |
<div class="handlediv" title="Click to toggle"><br></div>
|
35 |
-
<h3 class="hndle"><span><?php _e( 'Header Meta' ,
|
36 |
<div class="inside">
|
37 |
<table class="form-table">
|
38 |
<tbody>
|
@@ -45,7 +45,7 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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' ,
|
49 |
</td>
|
50 |
</tr>
|
51 |
<?php $field = 'wlwmanifest_link'; ?>
|
@@ -57,8 +57,8 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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.' ,
|
61 |
-
<p class="description"><?php _e( 'Tag to be output' ,
|
62 |
</td>
|
63 |
</tr>
|
64 |
<?php $field = 'rsd_link'; ?>
|
@@ -70,8 +70,8 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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' ,
|
74 |
-
<p class="description"><?php _e( 'Tag to be output' ,
|
75 |
</td>
|
76 |
</tr>
|
77 |
<?php $field = 'feed_links'; ?>
|
@@ -83,8 +83,8 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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' ,
|
87 |
-
<p class="description"><?php _e( 'Tag to be output' ,
|
88 |
</td>
|
89 |
</tr>
|
90 |
<?php $field = 'feed_links_extra'; ?>
|
@@ -96,8 +96,8 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
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' ,
|
100 |
-
<p class="description"><?php _e( 'Tag to be output' ,
|
101 |
</td>
|
102 |
</tr>
|
103 |
</tbody>
|
@@ -121,10 +121,10 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
121 |
<?php $field = 'admin_bar'; ?>
|
122 |
<tr>
|
123 |
<th>
|
124 |
-
<?php _e( 'Admin Bar' ,
|
125 |
</th>
|
126 |
<td>
|
127 |
-
<?php $arr = array( "hide" => __( 'Hide the Admin bar on the front end' ,
|
128 |
<select name="data[<?php echo $field; ?>]">
|
129 |
<option value="">-</option>
|
130 |
<?php foreach( $arr as $key => $label ) : ?>
|
@@ -157,8 +157,8 @@ wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', arr
|
|
157 |
</p>
|
158 |
|
159 |
<p class="submit reset">
|
160 |
-
<span class="description"><?php printf( __( 'Reset the %s?' ,
|
161 |
-
<input type="submit" class="button-secondary" name="reset" value="<?php _e( 'Reset settings' ,
|
162 |
</p>
|
163 |
|
164 |
</form>
|
13 |
<div class="wrap">
|
14 |
|
15 |
<?php echo $this->Msg; ?>
|
16 |
+
<h2><?php _e( 'Site Settings' , 'wp-admin-ui-customize' ); ?></h2>
|
17 |
<p> </p>
|
18 |
|
19 |
<h3 id="wauc-apply-user-roles"><?php echo $this->get_apply_roles(); ?></h3>
|
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>
|
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'; ?>
|
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'; ?>
|
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'; ?>
|
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') , '&raquo;' ) ) . '" href="' . get_feed_link( get_default_feed() ) . ' />' ); ?></code></p>
|
88 |
</td>
|
89 |
</tr>
|
90 |
<?php $field = 'feed_links_extra'; ?>
|
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') , '&raquo;' ) ) . '" href="' . get_feed_link( get_default_feed() . '&p=***' ) . ' />' ); ?></code></p>
|
101 |
</td>
|
102 |
</tr>
|
103 |
</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 ) : ?>
|
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>
|
languages/{wauc-ja.mo → wp-admin-ui-customize-ja.mo}
RENAMED
File without changes
|
languages/{wauc-ja.po → wp-admin-ui-customize-ja.po}
RENAMED
File without changes
|
languages/{wauc-ru_RU.mo → wp-admin-ui-customize-ru_RU.mo}
RENAMED
File without changes
|
languages/{wauc-ru_RU.po → wp-admin-ui-customize-ru_RU.po}
RENAMED
File without changes
|
languages/{wauc-zh_TW.mo → wp-admin-ui-customize-zh_TW.mo}
RENAMED
File without changes
|
languages/{wauc-zh_TW.po → wp-admin-ui-customize-zh_TW.po}
RENAMED
File without changes
|
languages/{wauc.pot → wp-admin-ui-customize.pot}
RENAMED
File without changes
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== WP Admin UI Customize ===
|
2 |
Contributors: gqevu6bsiz
|
3 |
-
Donate link: http://gqevu6bsiz.chicappa.jp/please-donation/?utm_source=wporg&utm_medium=donate&utm_content=wauc&utm_campaign=
|
4 |
Tags: admin, post, posts, page, option, sitemenu, menu, custom, customize, dashboard, admin_bar, multisite, network, metabox
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.3
|
7 |
-
Stable tag: 1.5.
|
8 |
License: GPL2
|
9 |
|
10 |
Customize the management screen UI.
|
@@ -50,6 +50,9 @@ These to Customization is possible.
|
|
50 |
|
51 |
== Changelog ==
|
52 |
|
|
|
|
|
|
|
53 |
= 1.5.6 =
|
54 |
* Fixed: Empty global values to return.
|
55 |
* Fixed: Check the sidemenus slug with htmlspecialchars_decode().
|
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_7
|
4 |
Tags: admin, post, posts, page, option, sitemenu, menu, custom, customize, dashboard, admin_bar, multisite, network, metabox
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.3
|
7 |
+
Stable tag: 1.5.7
|
8 |
License: GPL2
|
9 |
|
10 |
Customize the management screen UI.
|
50 |
|
51 |
== Changelog ==
|
52 |
|
53 |
+
= 1.5.7 =
|
54 |
+
* Updated: Change the text domain to wp-admin-ui-customize from wauc.
|
55 |
+
|
56 |
= 1.5.6 =
|
57 |
* Fixed: Empty global values to return.
|
58 |
* Fixed: Check the sidemenus slug with htmlspecialchars_decode().
|
wp-admin-ui-customize.php
CHANGED
@@ -2,11 +2,11 @@
|
|
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=
|
6 |
-
Version: 1.5.
|
7 |
Author: gqevu6bsiz
|
8 |
-
Author URI: http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=
|
9 |
-
Text Domain:
|
10 |
Domain Path: /languages
|
11 |
*/
|
12 |
|
@@ -58,7 +58,7 @@ class WP_Admin_UI_Customize
|
|
58 |
|
59 |
|
60 |
function __construct() {
|
61 |
-
$this->Ver = '1.5.
|
62 |
$this->Name = 'WP Admin UI Customize';
|
63 |
$this->Dir = plugin_dir_path( __FILE__ );
|
64 |
$this->Url = plugin_dir_url( __FILE__ );
|
@@ -102,7 +102,7 @@ class WP_Admin_UI_Customize
|
|
102 |
// PluginSetup
|
103 |
function PluginSetup() {
|
104 |
// load text domain
|
105 |
-
load_plugin_textdomain(
|
106 |
|
107 |
add_action( 'plugins_loaded' , array( $this , 'plugins_loaded' ) );
|
108 |
|
@@ -149,7 +149,7 @@ class WP_Admin_UI_Customize
|
|
149 |
if( plugin_basename(__FILE__) == $file ) {
|
150 |
$link = '<a href="' . self_admin_url( 'admin.php?page=' . $this->PageSlug ) . '">' . __( 'Settings' ) . '</a>';
|
151 |
$support_link = '<a href="http://wordpress.org/support/plugin/' . $this->PluginSlug . '" target="_blank">' . __( 'Support Forums' ) . '</a>';
|
152 |
-
$delete_userrole_link = '<a href="' . self_admin_url( 'admin.php?page=' . $this->PageSlug . '_reset_userrole' ) . '">' . __( 'Reset User Roles' ,
|
153 |
array_unshift( $links, $link , $delete_userrole_link , $support_link );
|
154 |
}
|
155 |
return $links;
|
@@ -178,17 +178,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' ,
|
182 |
-
add_submenu_page( $this->PageSlug , sprintf( __( '%1$s %2$s' ,
|
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' ,
|
185 |
-
add_submenu_page( $this->PageSlug , __( 'Side Menu' ,
|
186 |
-
add_submenu_page( $this->PageSlug , __( 'Manage meta box' ,
|
187 |
-
add_submenu_page( $this->PageSlug , __( 'Add New Post and Edit Post Screen Setting' ,
|
188 |
-
add_submenu_page( $this->PageSlug , __( 'Appearance Menus Screen Setting' ,
|
189 |
-
add_submenu_page( $this->PageSlug , __( 'Login Screen' ,
|
190 |
-
add_submenu_page( $this->PageSlug , sprintf( __( '%1$s of %2$s %3$s' ,
|
191 |
-
add_submenu_page( $this->PageSlug , __( 'Reset User Roles' ,
|
192 |
}
|
193 |
|
194 |
// PluginSetup
|
@@ -351,7 +351,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.' ,
|
355 |
}
|
356 |
}
|
357 |
}
|
@@ -376,7 +376,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' ,
|
380 |
|
381 |
if( !empty( $apply_user_roles ) ) {
|
382 |
$UserRoles = $this->get_user_role();
|
@@ -789,7 +789,7 @@ class WP_Admin_UI_Customize
|
|
789 |
|
790 |
<?php if( $menu_widget["slug"] != 'separator' ) : ?>
|
791 |
<div class="submenu">
|
792 |
-
<p class="description"><?php _e( 'Sub Menus' ,
|
793 |
<?php if( empty( $menu_widget["new"] ) && !empty( $menu_widget["submenu"] ) ) : ?>
|
794 |
<?php foreach( $menu_widget["submenu"] as $sm ) : ?>
|
795 |
<?php $sepalator_widget = ''; ?>
|
@@ -884,7 +884,7 @@ class WP_Admin_UI_Customize
|
|
884 |
<div class="widget-title">
|
885 |
<h4>
|
886 |
<?php if( !empty( $menu_widget["group"] ) ) : ?>
|
887 |
-
<?php _e( 'Menu Group' ,
|
888 |
: <span class="in-widget-title"><?php echo $menu_widget["id"]; ?></span>
|
889 |
<?php elseif( preg_match( '/\<form/' , $menu_widget["title"] ) ) : ?>
|
890 |
<?php echo $menu_widget["id"]; ?>
|
@@ -904,9 +904,9 @@ class WP_Admin_UI_Customize
|
|
904 |
URL: <input type="text" class="regular-text linktext" value="<?php echo $menu_widget["href"]; ?>" name="data[][href]" placeholder="http://" />
|
905 |
<?php else: ?>
|
906 |
<?php if( $menu_widget["id"] == 'edit-post_type' ) : ?>
|
907 |
-
<strong><?php _e( 'Show only on front end.' ,
|
908 |
<?php elseif( !empty( $menu_widget["group"] ) ) : ?>
|
909 |
-
<strong><?php _e( 'Menu Group' ,
|
910 |
<?php elseif( $menu_widget["id"] == 'menu-toggle' ) : ?>
|
911 |
<strong><?php echo $menu_widget["id"]; ?></strong>
|
912 |
<?php else: ?>
|
@@ -963,7 +963,7 @@ class WP_Admin_UI_Customize
|
|
963 |
|
964 |
<?php if( !in_array( $menu_widget["id"] , $no_submenu ) ) : ?>
|
965 |
<div class="submenu">
|
966 |
-
<p class="description"><?php _e( 'Sub Menus' ,
|
967 |
|
968 |
<?php if( empty( $new_widget ) && !empty( $node_type ) ) : ?>
|
969 |
|
@@ -1213,7 +1213,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' ,
|
1217 |
}
|
1218 |
|
1219 |
// SetList
|
@@ -2625,7 +2625,7 @@ class WP_Admin_UI_Customize
|
|
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.' ,
|
2629 |
}
|
2630 |
}
|
2631 |
}
|
@@ -2640,7 +2640,7 @@ class WP_Admin_UI_Customize
|
|
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.' ,
|
2644 |
}
|
2645 |
}
|
2646 |
|
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_7
|
6 |
+
Version: 1.5.7
|
7 |
Author: gqevu6bsiz
|
8 |
+
Author URI: http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_5_7
|
9 |
+
Text Domain: wp-admin-ui-customize
|
10 |
Domain Path: /languages
|
11 |
*/
|
12 |
|
58 |
|
59 |
|
60 |
function __construct() {
|
61 |
+
$this->Ver = '1.5.7';
|
62 |
$this->Name = 'WP Admin UI Customize';
|
63 |
$this->Dir = plugin_dir_path( __FILE__ );
|
64 |
$this->Url = plugin_dir_url( __FILE__ );
|
102 |
// PluginSetup
|
103 |
function PluginSetup() {
|
104 |
// load text domain
|
105 |
+
load_plugin_textdomain( 'wp-admin-ui-customize' , false , $this->PluginSlug . '/languages' );
|
106 |
|
107 |
add_action( 'plugins_loaded' , array( $this , 'plugins_loaded' ) );
|
108 |
|
149 |
if( plugin_basename(__FILE__) == $file ) {
|
150 |
$link = '<a href="' . self_admin_url( 'admin.php?page=' . $this->PageSlug ) . '">' . __( 'Settings' ) . '</a>';
|
151 |
$support_link = '<a href="http://wordpress.org/support/plugin/' . $this->PluginSlug . '" target="_blank">' . __( 'Support Forums' ) . '</a>';
|
152 |
+
$delete_userrole_link = '<a href="' . self_admin_url( 'admin.php?page=' . $this->PageSlug . '_reset_userrole' ) . '">' . __( 'Reset User Roles' , 'wp-admin-ui-customize' ) . '</a>';
|
153 |
array_unshift( $links, $link , $delete_userrole_link , $support_link );
|
154 |
}
|
155 |
return $links;
|
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
|
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 |
$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();
|
789 |
|
790 |
<?php if( $menu_widget["slug"] != 'separator' ) : ?>
|
791 |
<div class="submenu">
|
792 |
+
<p class="description"><?php _e( 'Sub Menus' , 'wp-admin-ui-customize' ); ?></p>
|
793 |
<?php if( empty( $menu_widget["new"] ) && !empty( $menu_widget["submenu"] ) ) : ?>
|
794 |
<?php foreach( $menu_widget["submenu"] as $sm ) : ?>
|
795 |
<?php $sepalator_widget = ''; ?>
|
884 |
<div class="widget-title">
|
885 |
<h4>
|
886 |
<?php if( !empty( $menu_widget["group"] ) ) : ?>
|
887 |
+
<?php _e( 'Menu Group' , 'wp-admin-ui-customize' ); ?>
|
888 |
: <span class="in-widget-title"><?php echo $menu_widget["id"]; ?></span>
|
889 |
<?php elseif( preg_match( '/\<form/' , $menu_widget["title"] ) ) : ?>
|
890 |
<?php echo $menu_widget["id"]; ?>
|
904 |
URL: <input type="text" class="regular-text linktext" value="<?php echo $menu_widget["href"]; ?>" name="data[][href]" placeholder="http://" />
|
905 |
<?php else: ?>
|
906 |
<?php if( $menu_widget["id"] == 'edit-post_type' ) : ?>
|
907 |
+
<strong><?php _e( 'Show only on front end.' , 'wp-admin-ui-customize' ); ?></strong>
|
908 |
<?php elseif( !empty( $menu_widget["group"] ) ) : ?>
|
909 |
+
<strong><?php _e( 'Menu Group' , 'wp-admin-ui-customize' ); ?></strong>
|
910 |
<?php elseif( $menu_widget["id"] == 'menu-toggle' ) : ?>
|
911 |
<strong><?php echo $menu_widget["id"]; ?></strong>
|
912 |
<?php else: ?>
|
963 |
|
964 |
<?php if( !in_array( $menu_widget["id"] , $no_submenu ) ) : ?>
|
965 |
<div class="submenu">
|
966 |
+
<p class="description"><?php _e( 'Sub Menus' , 'wp-admin-ui-customize' ); ?></p>
|
967 |
|
968 |
<?php if( empty( $new_widget ) && !empty( $node_type ) ) : ?>
|
969 |
|
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
|
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 |
}
|
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 |
|