Version Description
fixed because there was a mistake in the notation. Changed the layout. Priority of the side menu, and how to save slug was changed.
Download this release
Release Info
Developer | gqevu6bsiz |
Plugin | WP Admin UI Customize |
Version | 1.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.2.1
- images/gqevu6bsiz.png +0 -0
- inc/setting_appearance_menus.php +1 -1
- inc/setting_default.php +71 -38
- languages/wauc-ja.mo +0 -0
- languages/wauc.pot +45 -9
- readme.txt +7 -2
- wp-admin-ui-customize.css +15 -3
- wp-admin-ui-customize.php +44 -13
images/gqevu6bsiz.png
ADDED
Binary file
|
inc/setting_appearance_menus.php
CHANGED
@@ -29,7 +29,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
29 |
|
30 |
<div class="postbox">
|
31 |
<div class="handlediv" title="Click to toggle"><br></div>
|
32 |
-
<h3 class="hndle"><span><?php _e( '
|
33 |
<div class="inside">
|
34 |
<table class="form-table">
|
35 |
<tbody>
|
29 |
|
30 |
<div class="postbox">
|
31 |
<div class="handlediv" title="Click to toggle"><br></div>
|
32 |
+
<h3 class="hndle"><span><?php _e( 'Menus' ); ?></span></h3>
|
33 |
<div class="inside">
|
34 |
<table class="form-table">
|
35 |
<tbody>
|
inc/setting_default.php
CHANGED
@@ -21,17 +21,17 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
21 |
<h2><?php echo $this->Name; ?></h2>
|
22 |
<p><?php _e( 'Customize the UI of the management screen for all users.' , $this->ltd ); ?>
|
23 |
<p><?php _e ( 'Please select the user role you want to apply the settings.' , $this->ltd ); ?></p>
|
24 |
-
<p><strong><?php _e( 'With this plugin, you can be more customized.' , $this->ltd ); ?></strong> >> Wordpress Plugin <a href="http://wordpress.org/extend/plugins/post-lists-view-custom/" target="_blank">Post Lists View Custom</a></p>
|
25 |
|
26 |
-
<
|
27 |
-
<input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
|
28 |
-
<?php wp_nonce_field(); ?>
|
29 |
|
30 |
-
<div
|
|
|
|
|
|
|
|
|
31 |
|
32 |
-
<div id="postbox-container-1" class="postbox-container">
|
33 |
<div class="postbox">
|
34 |
-
<h3 class="hndle"><span><?php _e( '
|
35 |
<div class="inside">
|
36 |
<?php $field = 'user_role'; ?>
|
37 |
<?php foreach($UserRoles as $key => $val) : ?>
|
@@ -46,45 +46,78 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
|
|
46 |
<?php endforeach; ?>
|
47 |
</div>
|
48 |
</div>
|
49 |
-
</div>
|
50 |
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
</div>
|
72 |
</div>
|
73 |
</div>
|
74 |
|
75 |
-
<div class="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
|
77 |
</div>
|
78 |
|
79 |
-
<
|
80 |
-
<input type="submit" class="button-primary" name="update" value="<?php _e( 'Save' ); ?>" />
|
81 |
-
</p>
|
82 |
-
|
83 |
-
<p class="submit reset">
|
84 |
-
<span class="description"><?php _e( 'Would initialize?' , $this->ltd ); ?></span>
|
85 |
-
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
86 |
-
</p>
|
87 |
|
88 |
-
</
|
89 |
|
90 |
</div>
|
21 |
<h2><?php echo $this->Name; ?></h2>
|
22 |
<p><?php _e( 'Customize the UI of the management screen for all users.' , $this->ltd ); ?>
|
23 |
<p><?php _e ( 'Please select the user role you want to apply the settings.' , $this->ltd ); ?></p>
|
|
|
24 |
|
25 |
+
<div class="metabox-holder columns-2">
|
|
|
|
|
26 |
|
27 |
+
<div id="postbox-container-1" class="postbox-container">
|
28 |
+
|
29 |
+
<form id="waum_setting_site" class="waum_form" method="post" action="">
|
30 |
+
<input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
|
31 |
+
<?php wp_nonce_field(); ?>
|
32 |
|
|
|
33 |
<div class="postbox">
|
34 |
+
<h3 class="hndle"><span><?php _e( 'User Roles' ); ?></span></h3>
|
35 |
<div class="inside">
|
36 |
<?php $field = 'user_role'; ?>
|
37 |
<?php foreach($UserRoles as $key => $val) : ?>
|
46 |
<?php endforeach; ?>
|
47 |
</div>
|
48 |
</div>
|
|
|
49 |
|
50 |
+
<p class="submit">
|
51 |
+
<input type="submit" class="button-primary" name="update" value="<?php _e( 'Save' ); ?>" />
|
52 |
+
</p>
|
53 |
+
|
54 |
+
<p class="submit reset">
|
55 |
+
<span class="description"><?php _e( 'Would initialize?' , $this->ltd ); ?></span>
|
56 |
+
<input type="submit" class="button-secondary" name="reset" value="<?php _e('Reset'); ?>" />
|
57 |
+
</p>
|
58 |
+
|
59 |
+
</form>
|
60 |
+
|
61 |
+
</div>
|
62 |
+
|
63 |
+
<div id="postbox-container-2" class="postbox-container">
|
64 |
+
|
65 |
+
<div class="stuffbox" id="donationbox">
|
66 |
+
<div class="inside">
|
67 |
+
<p style="color: #FFFFFF; font-size: 20px;"><?php _e( 'Please donation.' , $this->ltd ); ?></p>
|
68 |
+
<p style="color: #FFFFFF;"><?php _e( 'You are contented with this plugin?<br />By the laws of Japan, Japan\'s new paypal user can not make a donation button.<br />So i would like you to buy this plugin as the replacement for the donation.' , $this->ltd ); ?></p>
|
69 |
+
<p> </p>
|
70 |
+
<p style="text-align: center;">
|
71 |
+
<a href="http://gqevu6bsiz.chicappa.jp/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>
|
72 |
+
</p>
|
73 |
+
<p> </p>
|
74 |
+
<div class="donation_memo">
|
75 |
+
<p><strong><?php _e( 'Features' , $this->ltd ); ?></strong></p>
|
76 |
+
<p><?php _e( 'Line Break First and End plugin is In the visual editor TinyMCE, It is a plugin that will help when you will not be able to enter a line break.' , $this->ltd ); ?></p>
|
77 |
+
</div>
|
78 |
+
<div class="donation_memo">
|
79 |
+
<p><strong><?php _e( 'The primary use of donations' , $this->ltd ); ?></strong></p>
|
80 |
+
<ul>
|
81 |
+
<li>- <?php _e( 'Liquidation of time and value' , $this->ltd ); ?></li>
|
82 |
+
<li>- <?php _e( 'Additional suggestions feature' , $this->ltd ); ?></li>
|
83 |
+
<li>- <?php _e( 'Maintain motivation' , $this->ltd ); ?></li>
|
84 |
+
<li>- <?php _e( 'Ensure time as the father of Sunday' , $this->ltd ); ?></li>
|
85 |
+
</ul>
|
86 |
</div>
|
87 |
</div>
|
88 |
</div>
|
89 |
|
90 |
+
<div class="stuffbox" id="aboutbox">
|
91 |
+
<h3><span class="hndle"><?php _e( 'About plugin' , $this->ltd ); ?></span></h3>
|
92 |
+
<div class="inside">
|
93 |
+
<p><?php _e( 'Version check' , $this->ltd ); ?> : 3.4.2 - 3.5.1</p>
|
94 |
+
<ul>
|
95 |
+
<li><a href="http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=side&utm_content=utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank"><?php _e( 'Developer\'s site' , $this->ltd ); ?></a></li>
|
96 |
+
<li><a href="http://wordpress.org/support/plugin/wp-admin-ui-customize" target="_blank"><?php _e( 'Support Forums' ); ?></a></li>
|
97 |
+
<li><a href="http://wordpress.org/support/view/plugin-reviews/wp-admin-ui-customize" target="_blank"><?php _e( 'Reviews' , $this->ltd ); ?></a></li>
|
98 |
+
<li><a href="https://twitter.com/gqevu6bsiz" target="_blank">twitter</a></li>
|
99 |
+
<li><a href="http://www.facebook.com/pages/Gqevu6bsiz/499584376749601" target="_blank">facebook</a></li>
|
100 |
+
</ul>
|
101 |
+
</div>
|
102 |
+
</div>
|
103 |
+
|
104 |
+
<div class="stuffbox" id="usefulbox">
|
105 |
+
<h3><span class="hndle"><?php _e( 'Useful plugins' , $this->ltd ); ?></span></h3>
|
106 |
+
<div class="inside">
|
107 |
+
<p><strong><a href="http://wordpress.org/extend/plugins/post-lists-view-custom/" target="_blank">Post Lists View Custom</a></strong></p>
|
108 |
+
<p class="description"><?php _e( 'Customize the list of the post and page. custom post type page, too. You can customize the column display items freely.' , $this->ltd ); ?></p>
|
109 |
+
<p><strong><a href="http://wordpress.org/extend/plugins/announce-from-the-dashboard/" target="_blank">Announce from the Dashboard</a></strong></p>
|
110 |
+
<p class="description"><?php _e( 'Announce to display the dashboard. Change the display to a different user role.' , $this->ltd ); ?></p>
|
111 |
+
<p><strong><a href="http://wordpress.org/extend/plugins/custom-options-plus-post-in/" target="_blank">Custom Options Plus Post in</a></strong></p>
|
112 |
+
<p class="description"><?php _e( 'The plugin that allows you to add the value of the options. Option value that you have created, can be used in addition to the template tag, Short code can be used in the body of the article.' , $this->ltd ); ?></p>
|
113 |
+
<p> </p>
|
114 |
+
</div>
|
115 |
+
</div>
|
116 |
|
117 |
</div>
|
118 |
|
119 |
+
<div class="clear"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
|
121 |
+
</div>
|
122 |
|
123 |
</div>
|
languages/wauc-ja.mo
CHANGED
Binary file
|
languages/wauc.pot
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: 1.0.0\n"
|
4 |
"POT-Creation-Date: \n"
|
5 |
-
"PO-Revision-Date: 2013-03-
|
6 |
"Language-Team: \n"
|
7 |
"MIME-Version: 1.0\n"
|
8 |
"Content-Type: text/plain; charset=utf-8\n"
|
@@ -13,22 +13,61 @@ msgstr ""
|
|
13 |
"X-Poedit-SourceCharset: utf-8\n"
|
14 |
"Last-Translator: \n"
|
15 |
|
16 |
-
msgid "It is an excellent
|
17 |
msgstr ""
|
18 |
|
19 |
-
msgid "
|
20 |
msgstr ""
|
21 |
|
22 |
msgid "Please donation."
|
23 |
msgstr ""
|
24 |
|
25 |
-
msgid "
|
26 |
msgstr ""
|
27 |
|
28 |
-
msgid "
|
29 |
msgstr ""
|
30 |
|
31 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
msgstr ""
|
33 |
|
34 |
msgid "Customize the UI of the management screen for all users."
|
@@ -40,9 +79,6 @@ msgstr ""
|
|
40 |
msgid "Please select the user role you want to apply the settings."
|
41 |
msgstr ""
|
42 |
|
43 |
-
msgid "With this plugin, you can be more customized."
|
44 |
-
msgstr ""
|
45 |
-
|
46 |
msgid "Would initialize?"
|
47 |
msgstr ""
|
48 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: 1.0.0\n"
|
4 |
"POT-Creation-Date: \n"
|
5 |
+
"PO-Revision-Date: 2013-03-28 16:34+0900\n"
|
6 |
"Language-Team: \n"
|
7 |
"MIME-Version: 1.0\n"
|
8 |
"Content-Type: text/plain; charset=utf-8\n"
|
13 |
"X-Poedit-SourceCharset: utf-8\n"
|
14 |
"Last-Translator: \n"
|
15 |
|
16 |
+
msgid "It is an excellent plugin to customize the management screen."
|
17 |
msgstr ""
|
18 |
|
19 |
+
msgid "Please consider a donation if you are satisfied with this plugin."
|
20 |
msgstr ""
|
21 |
|
22 |
msgid "Please donation."
|
23 |
msgstr ""
|
24 |
|
25 |
+
msgid "You are contented with this plugin?<br />By the laws of Japan, Japan's new paypal user can not make a donation button.<br />So i would like you to buy this plugin as the replacement for the donation."
|
26 |
msgstr ""
|
27 |
|
28 |
+
msgid "Features"
|
29 |
msgstr ""
|
30 |
|
31 |
+
msgid "Line Break First and End plugin is In the visual editor TinyMCE, It is a plugin that will help when you will not be able to enter a line break."
|
32 |
+
msgstr ""
|
33 |
+
|
34 |
+
msgid "The primary use of donations"
|
35 |
+
msgstr ""
|
36 |
+
|
37 |
+
msgid "Liquidation of time and value"
|
38 |
+
msgstr ""
|
39 |
+
|
40 |
+
msgid "Additional suggestions feature"
|
41 |
+
msgstr ""
|
42 |
+
|
43 |
+
msgid "Maintain motivation"
|
44 |
+
msgstr ""
|
45 |
+
|
46 |
+
msgid "Ensure time as the father of Sunday"
|
47 |
+
msgstr ""
|
48 |
+
|
49 |
+
msgid "About plugin"
|
50 |
+
msgstr ""
|
51 |
+
|
52 |
+
msgid "Version check"
|
53 |
+
msgstr ""
|
54 |
+
|
55 |
+
msgid "Developer's site"
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
msgid "Reviews"
|
59 |
+
msgstr ""
|
60 |
+
|
61 |
+
msgid "Useful plugins"
|
62 |
+
msgstr ""
|
63 |
+
|
64 |
+
msgid "Customize the list of the post and page. custom post type page, too. You can customize the column display items freely."
|
65 |
+
msgstr ""
|
66 |
+
|
67 |
+
msgid "Announce to display the dashboard. Change the display to a different user role."
|
68 |
+
msgstr ""
|
69 |
+
|
70 |
+
msgid "The plugin that allows you to add the value of the options. Option value that you have created, can be used in addition to the template tag, Short code can be used in the body of the article."
|
71 |
msgstr ""
|
72 |
|
73 |
msgid "Customize the UI of the management screen for all users."
|
79 |
msgid "Please select the user role you want to apply the settings."
|
80 |
msgstr ""
|
81 |
|
|
|
|
|
|
|
82 |
msgid "Would initialize?"
|
83 |
msgstr ""
|
84 |
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== WP Admin UI Customize ===
|
2 |
Contributors: gqevu6bsiz
|
3 |
-
Donate link: http://gqevu6bsiz.chicappa.jp/please-donation
|
4 |
Tags: admin, post, posts, page, option, sitemenu, menu, custom, customize, dashboard, admin_bar
|
5 |
Requires at least: 3.4.2
|
6 |
Tested up to: 3.5.1
|
7 |
-
Stable tag: 1.2
|
8 |
License: GPL2
|
9 |
|
10 |
Customize the management screen UI.
|
@@ -49,6 +49,11 @@ These to Customization is possible.
|
|
49 |
|
50 |
== Changelog ==
|
51 |
|
|
|
|
|
|
|
|
|
|
|
52 |
= 1.2 =
|
53 |
was be able to hide the menu add, and the delete menu, and the change permalink.
|
54 |
|
1 |
=== WP Admin UI Customize ===
|
2 |
Contributors: gqevu6bsiz
|
3 |
+
Donate link: http://gqevu6bsiz.chicappa.jp/please-donation/?utm_source=wporg&utm_medium=donate&utm_content=wauc&utm_campaign=1_2_1
|
4 |
Tags: admin, post, posts, page, option, sitemenu, menu, custom, customize, dashboard, admin_bar
|
5 |
Requires at least: 3.4.2
|
6 |
Tested up to: 3.5.1
|
7 |
+
Stable tag: 1.2.1
|
8 |
License: GPL2
|
9 |
|
10 |
Customize the management screen UI.
|
49 |
|
50 |
== Changelog ==
|
51 |
|
52 |
+
= 1.2.1 =
|
53 |
+
fixed because there was a mistake in the notation.
|
54 |
+
Changed the layout.
|
55 |
+
Priority of the side menu, and how to save slug was changed.
|
56 |
+
|
57 |
= 1.2 =
|
58 |
was be able to hide the menu add, and the delete menu, and the change permalink.
|
59 |
|
wp-admin-ui-customize.css
CHANGED
@@ -1,15 +1,27 @@
|
|
1 |
-
|
2 |
width: 60%;
|
3 |
}
|
4 |
-
|
5 |
width: 38%;
|
6 |
margin-left: 2%;
|
7 |
}
|
8 |
-
|
9 |
cursor: default;
|
10 |
}
|
11 |
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
|
15 |
/* sidemenu */
|
1 |
+
.columns-2 #postbox-container-1 {
|
2 |
width: 60%;
|
3 |
}
|
4 |
+
.columns-2 #postbox-container-2 {
|
5 |
width: 38%;
|
6 |
margin-left: 2%;
|
7 |
}
|
8 |
+
.postbox-container .postbox .hndle {
|
9 |
cursor: default;
|
10 |
}
|
11 |
|
12 |
|
13 |
+
.postbox-container #donationbox {
|
14 |
+
background: #87BCE4;
|
15 |
+
border: 3px solid #227499;
|
16 |
+
}
|
17 |
+
.postbox-container #donationbox .inside {
|
18 |
+
padding: 6px 10px 10px 10px;
|
19 |
+
}
|
20 |
+
.postbox-container #donationbox .inside .donation_memo {
|
21 |
+
background: #FFF8D9;
|
22 |
+
padding: 2px 10px;
|
23 |
+
}
|
24 |
+
|
25 |
|
26 |
|
27 |
/* sidemenu */
|
wp-admin-ui-customize.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: WP Admin UI Customize
|
4 |
-
Description:
|
5 |
-
Plugin URI: http://
|
6 |
-
Version: 1.2
|
7 |
Author: gqevu6bsiz
|
8 |
-
Author URI: http://gqevu6bsiz.chicappa.jp
|
9 |
Text Domain: wauc
|
10 |
Domain Path: /languages
|
11 |
*/
|
@@ -45,7 +45,7 @@ class WP_Admin_UI_Customize
|
|
45 |
|
46 |
|
47 |
function __construct() {
|
48 |
-
$this->Ver = '1.2';
|
49 |
$this->Name = 'WP Admin UI Customize';
|
50 |
$this->Dir = WP_PLUGIN_URL . '/' . dirname( plugin_basename( __FILE__ ) ) . '/';
|
51 |
$this->ltd = 'wauc';
|
@@ -88,7 +88,8 @@ class WP_Admin_UI_Customize
|
|
88 |
function plugin_action_links( $links , $file ) {
|
89 |
if( plugin_basename(__FILE__) == $file ) {
|
90 |
$link = '<a href="' . 'admin.php?page=' . $this->PageSlug . '">' . __('Settings') . '</a>';
|
91 |
-
|
|
|
92 |
}
|
93 |
return $links;
|
94 |
}
|
@@ -113,59 +114,78 @@ class WP_Admin_UI_Customize
|
|
113 |
|
114 |
// SettingPage
|
115 |
function setting_default() {
|
|
|
116 |
include_once 'inc/setting_default.php';
|
117 |
}
|
118 |
|
119 |
// SettingPage
|
120 |
function setting_site() {
|
|
|
|
|
121 |
include_once 'inc/setting_site.php';
|
122 |
}
|
123 |
|
124 |
// SettingPage
|
125 |
function setting_admin_general() {
|
|
|
126 |
$this->settingCheck();
|
|
|
127 |
include_once 'inc/setting_admin_general.php';
|
128 |
}
|
129 |
|
130 |
// SettingPage
|
131 |
function setting_dashboard() {
|
|
|
132 |
$this->settingCheck();
|
|
|
133 |
include_once 'inc/setting_dashboard.php';
|
134 |
}
|
135 |
|
136 |
// SettingPage
|
137 |
function setting_admin_bar_menu() {
|
|
|
138 |
$this->settingCheck();
|
|
|
139 |
include_once 'inc/setting_admin_bar_menu.php';
|
140 |
}
|
141 |
|
142 |
// SettingPage
|
143 |
function setting_sidemenu() {
|
|
|
144 |
$this->settingCheck();
|
|
|
145 |
include_once 'inc/setting_sidemenu.php';
|
146 |
}
|
147 |
|
148 |
// SettingPage
|
149 |
function setting_removemtabox() {
|
|
|
150 |
$this->settingCheck();
|
|
|
151 |
include_once 'inc/setting_removemtabox.php';
|
152 |
}
|
153 |
|
154 |
// SettingPage
|
155 |
function setting_post_add_edit() {
|
|
|
156 |
$this->settingCheck();
|
|
|
157 |
include_once 'inc/setting_post_add_edit.php';
|
158 |
}
|
159 |
|
160 |
// SettingPage
|
161 |
function setting_appearance_menus() {
|
|
|
162 |
$this->settingCheck();
|
|
|
163 |
include_once 'inc/setting_appearance_menus.php';
|
164 |
}
|
165 |
|
166 |
// SettingPage
|
167 |
function setting_loginscreen() {
|
|
|
168 |
$this->settingCheck();
|
|
|
169 |
include_once 'inc/setting_loginscreen.php';
|
170 |
}
|
171 |
|
@@ -194,7 +214,7 @@ class WP_Admin_UI_Customize
|
|
194 |
unset( $Data["UPFN"] );
|
195 |
}
|
196 |
if( empty( $Data ) ) {
|
197 |
-
$this->Msg
|
198 |
}
|
199 |
}
|
200 |
|
@@ -258,7 +278,7 @@ class WP_Admin_UI_Customize
|
|
258 |
<?php endif; ?>
|
259 |
</p>
|
260 |
<label>
|
261 |
-
<?php _e( 'Title' ); ?> : <input type="text" class="regular-text titletext" value="<?php echo $menu_widget["title"]; ?>" name="data[][title]">
|
262 |
</label>
|
263 |
<input type="hidden" class="parent_slugtext" value="<?php echo $menu_widget["parent_slug"]; ?>" name="data[][parent_slug]">
|
264 |
</div>
|
@@ -292,7 +312,7 @@ class WP_Admin_UI_Customize
|
|
292 |
<input type="hidden" class="slugtext" value="<?php echo $sm["slug"]; ?>" name="data[][slug]">
|
293 |
</p>
|
294 |
<label>
|
295 |
-
<?php _e( 'Title' ); ?> : <input type="text" class="regular-text titletext" value="<?php echo $sm["title"]; ?>" name="data[][title]">
|
296 |
</label>
|
297 |
<input type="hidden" class="parent_slugtext" value="<?php echo $sm["parent_slug"]; ?>" name="data[][parent_slug]">
|
298 |
</div>
|
@@ -561,8 +581,8 @@ class WP_Admin_UI_Customize
|
|
561 |
if( !empty( $_POST["data"] ) ) {
|
562 |
foreach($_POST["data"] as $menu) {
|
563 |
if( !empty( $menu["title"] ) && !empty( $menu["slug"] ) ) {
|
564 |
-
$slug =
|
565 |
-
$title =
|
566 |
$parent_slug = '';
|
567 |
$depth = 'main';
|
568 |
|
@@ -677,7 +697,7 @@ class WP_Admin_UI_Customize
|
|
677 |
// admin UI
|
678 |
if ( is_admin() ) {
|
679 |
// default side menu load.
|
680 |
-
add_action( 'admin_menu' , array( $this , 'sidemenu_default_load' ) );
|
681 |
// default admin bar menu load.
|
682 |
add_action( 'wp_before_admin_bar_render' , array( $this , 'admin_bar_default_load' ) , 1 );
|
683 |
|
@@ -707,7 +727,7 @@ class WP_Admin_UI_Customize
|
|
707 |
add_action( 'admin_print_styles' , array( $this , 'load_css' ) );
|
708 |
add_action( 'wp_dashboard_setup' , array( $this , 'wp_dashboard_setup' ) );
|
709 |
add_action( 'admin_menu' , array( $this , 'removemetabox' ) );
|
710 |
-
add_filter( 'admin_menu', array( $this , 'sidemenu' ) );
|
711 |
add_filter( 'get_sample_permalink_html' , array( $this , 'add_edit_post_change_permalink' ) );
|
712 |
add_action( 'admin_print_styles-nav-menus.php', array( $this , 'nav_menus' ) );
|
713 |
}
|
@@ -1126,6 +1146,17 @@ class WP_Admin_UI_Customize
|
|
1126 |
wp_enqueue_style( $this->PageSlug , $this->Dir . 'css/nav-menus.css' , array() , $this->Ver );
|
1127 |
}
|
1128 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1129 |
}
|
1130 |
$wauc = new WP_Admin_UI_Customize();
|
1131 |
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: WP Admin UI Customize
|
4 |
+
Description: It is an excellent plugin to customize the management screen.
|
5 |
+
Plugin URI: http://wordpress.org/extend/plugins/wp-admin-ui-customize/
|
6 |
+
Version: 1.2.1
|
7 |
Author: gqevu6bsiz
|
8 |
+
Author URI: http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_2_1
|
9 |
Text Domain: wauc
|
10 |
Domain Path: /languages
|
11 |
*/
|
45 |
|
46 |
|
47 |
function __construct() {
|
48 |
+
$this->Ver = '1.2.1';
|
49 |
$this->Name = 'WP Admin UI Customize';
|
50 |
$this->Dir = WP_PLUGIN_URL . '/' . dirname( plugin_basename( __FILE__ ) ) . '/';
|
51 |
$this->ltd = 'wauc';
|
88 |
function plugin_action_links( $links , $file ) {
|
89 |
if( plugin_basename(__FILE__) == $file ) {
|
90 |
$link = '<a href="' . 'admin.php?page=' . $this->PageSlug . '">' . __('Settings') . '</a>';
|
91 |
+
$support_link = '<a href="http://wordpress.org/support/plugin/wp-admin-ui-customize" target="_blank">' . __( 'Support Forums' ) . '</a>';
|
92 |
+
array_unshift( $links, $link , $support_link );
|
93 |
}
|
94 |
return $links;
|
95 |
}
|
114 |
|
115 |
// SettingPage
|
116 |
function setting_default() {
|
117 |
+
add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
|
118 |
include_once 'inc/setting_default.php';
|
119 |
}
|
120 |
|
121 |
// SettingPage
|
122 |
function setting_site() {
|
123 |
+
add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
|
124 |
+
$this->DisplayDonation();
|
125 |
include_once 'inc/setting_site.php';
|
126 |
}
|
127 |
|
128 |
// SettingPage
|
129 |
function setting_admin_general() {
|
130 |
+
add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
|
131 |
$this->settingCheck();
|
132 |
+
$this->DisplayDonation();
|
133 |
include_once 'inc/setting_admin_general.php';
|
134 |
}
|
135 |
|
136 |
// SettingPage
|
137 |
function setting_dashboard() {
|
138 |
+
add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
|
139 |
$this->settingCheck();
|
140 |
+
$this->DisplayDonation();
|
141 |
include_once 'inc/setting_dashboard.php';
|
142 |
}
|
143 |
|
144 |
// SettingPage
|
145 |
function setting_admin_bar_menu() {
|
146 |
+
add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
|
147 |
$this->settingCheck();
|
148 |
+
$this->DisplayDonation();
|
149 |
include_once 'inc/setting_admin_bar_menu.php';
|
150 |
}
|
151 |
|
152 |
// SettingPage
|
153 |
function setting_sidemenu() {
|
154 |
+
add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
|
155 |
$this->settingCheck();
|
156 |
+
$this->DisplayDonation();
|
157 |
include_once 'inc/setting_sidemenu.php';
|
158 |
}
|
159 |
|
160 |
// SettingPage
|
161 |
function setting_removemtabox() {
|
162 |
+
add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
|
163 |
$this->settingCheck();
|
164 |
+
$this->DisplayDonation();
|
165 |
include_once 'inc/setting_removemtabox.php';
|
166 |
}
|
167 |
|
168 |
// SettingPage
|
169 |
function setting_post_add_edit() {
|
170 |
+
add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
|
171 |
$this->settingCheck();
|
172 |
+
$this->DisplayDonation();
|
173 |
include_once 'inc/setting_post_add_edit.php';
|
174 |
}
|
175 |
|
176 |
// SettingPage
|
177 |
function setting_appearance_menus() {
|
178 |
+
add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
|
179 |
$this->settingCheck();
|
180 |
+
$this->DisplayDonation();
|
181 |
include_once 'inc/setting_appearance_menus.php';
|
182 |
}
|
183 |
|
184 |
// SettingPage
|
185 |
function setting_loginscreen() {
|
186 |
+
add_filter( 'admin_footer_text' , array( $this , 'layout_footer' ) );
|
187 |
$this->settingCheck();
|
188 |
+
$this->DisplayDonation();
|
189 |
include_once 'inc/setting_loginscreen.php';
|
190 |
}
|
191 |
|
214 |
unset( $Data["UPFN"] );
|
215 |
}
|
216 |
if( empty( $Data ) ) {
|
217 |
+
$this->Msg .= '<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.' , $this->ltd ) , self_admin_url( 'admin.php?page=' . $this->PageSlug ) ) . '</strong></p></div>';
|
218 |
}
|
219 |
}
|
220 |
|
278 |
<?php endif; ?>
|
279 |
</p>
|
280 |
<label>
|
281 |
+
<?php _e( 'Title' ); ?> : <input type="text" class="regular-text titletext" value="<?php echo esc_attr( $menu_widget["title"] ); ?>" name="data[][title]">
|
282 |
</label>
|
283 |
<input type="hidden" class="parent_slugtext" value="<?php echo $menu_widget["parent_slug"]; ?>" name="data[][parent_slug]">
|
284 |
</div>
|
312 |
<input type="hidden" class="slugtext" value="<?php echo $sm["slug"]; ?>" name="data[][slug]">
|
313 |
</p>
|
314 |
<label>
|
315 |
+
<?php _e( 'Title' ); ?> : <input type="text" class="regular-text titletext" value="<?php echo esc_attr( $sm["title"] ); ?>" name="data[][title]">
|
316 |
</label>
|
317 |
<input type="hidden" class="parent_slugtext" value="<?php echo $sm["parent_slug"]; ?>" name="data[][parent_slug]">
|
318 |
</div>
|
581 |
if( !empty( $_POST["data"] ) ) {
|
582 |
foreach($_POST["data"] as $menu) {
|
583 |
if( !empty( $menu["title"] ) && !empty( $menu["slug"] ) ) {
|
584 |
+
$slug = htmlspecialchars( $menu["slug"] );
|
585 |
+
$title = stripslashes( $menu["title"] );
|
586 |
$parent_slug = '';
|
587 |
$depth = 'main';
|
588 |
|
697 |
// admin UI
|
698 |
if ( is_admin() ) {
|
699 |
// default side menu load.
|
700 |
+
add_action( 'admin_menu' , array( $this , 'sidemenu_default_load' ) , 10000 );
|
701 |
// default admin bar menu load.
|
702 |
add_action( 'wp_before_admin_bar_render' , array( $this , 'admin_bar_default_load' ) , 1 );
|
703 |
|
727 |
add_action( 'admin_print_styles' , array( $this , 'load_css' ) );
|
728 |
add_action( 'wp_dashboard_setup' , array( $this , 'wp_dashboard_setup' ) );
|
729 |
add_action( 'admin_menu' , array( $this , 'removemetabox' ) );
|
730 |
+
add_filter( 'admin_menu', array( $this , 'sidemenu' ) , 10001 );
|
731 |
add_filter( 'get_sample_permalink_html' , array( $this , 'add_edit_post_change_permalink' ) );
|
732 |
add_action( 'admin_print_styles-nav-menus.php', array( $this , 'nav_menus' ) );
|
733 |
}
|
1146 |
wp_enqueue_style( $this->PageSlug , $this->Dir . 'css/nav-menus.css' , array() , $this->Ver );
|
1147 |
}
|
1148 |
|
1149 |
+
// FilterStart
|
1150 |
+
function layout_footer( $text ) {
|
1151 |
+
$text = '<img src="' . $this->Dir . 'images/gqevu6bsiz.png" width="18" /> Plugin developer : <a href="http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=footer&utm_content=' . $this->ltd . '&utm_campaign=' . str_replace( '.' , '_' , $this->Ver ) . '" target="_blank">gqevu6bsiz</a>';
|
1152 |
+
return $text;
|
1153 |
+
}
|
1154 |
+
|
1155 |
+
// FilterStart
|
1156 |
+
function DisplayDonation() {
|
1157 |
+
$this->Msg .= '<div class="error"><p><strong>' . __( 'Please consider a donation if you are satisfied with this plugin.' , $this->ltd ) . '</strong> <a href="' . self_admin_url( 'admin.php?page=' . $this->PageSlug ) . '">' . __( 'Please donation.' , $this->ltd ) . '</a></p></div>';
|
1158 |
+
}
|
1159 |
+
|
1160 |
}
|
1161 |
$wauc = new WP_Admin_UI_Customize();
|
1162 |
|