WP Admin UI Customize - Version 1.3.1

Version Description

  • Added some variables.
  • Fixed bug : Error to does not exist sub menu in the side menu settings.
  • WordPress 3.6 compatibility
Download this release

Release Info

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

Code changes from version 1.3 to 1.3.1

images/3.5.1/appearance_menus_add_new_menu.png ADDED
Binary file
images/3.5.1/appearance_menus_delete_menu.png ADDED
Binary file
images/appearance_menus_add_new_menu.png CHANGED
Binary file
images/appearance_menus_add_new_menu_of_location.png ADDED
Binary file
images/appearance_menus_delete_menu.png CHANGED
Binary file
inc/list_variables.php CHANGED
@@ -3,6 +3,9 @@ $update_data = wp_get_update_data();
3
  $awaiting_mod = wp_count_comments();
4
  $awaiting_mod = $awaiting_mod->moderated;
5
  $current_user = wp_get_current_user();
 
 
 
6
  ?>
7
 
8
  <div id="list_variables">
@@ -16,6 +19,21 @@ $current_user = wp_get_current_user();
16
  </tr>
17
  </thead>
18
  <tbody>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  <tr>
20
  <th><strong>[blog_name]</strong></th>
21
  <td>
@@ -34,6 +52,12 @@ $current_user = wp_get_current_user();
34
  <code><?php echo get_bloginfo( 'template_directory' ); ?></code>
35
  </td>
36
  </tr>
 
 
 
 
 
 
37
  <tr>
38
  <th><strong>[update_total]</strong></th>
39
  <td>
3
  $awaiting_mod = wp_count_comments();
4
  $awaiting_mod = $awaiting_mod->moderated;
5
  $current_user = wp_get_current_user();
6
+ if( is_multisite() ) {
7
+ $current_site = get_current_site();
8
+ }
9
  ?>
10
 
11
  <div id="list_variables">
19
  </tr>
20
  </thead>
21
  <tbody>
22
+ <?php if( is_multisite() ) : ?>
23
+ <tr>
24
+ <th><strong>[site_name]</strong></th>
25
+ <td>
26
+ <code><?php echo esc_attr( $current_site->site_name ); ?></code>
27
+ </td>
28
+ </tr>
29
+ <tr>
30
+ <th><strong>[site_url]</strong></th>
31
+ <td>
32
+ <?php $protocol = is_ssl() ? 'https://' : 'http://'; ?>
33
+ <code><?php echo $protocol . esc_attr( $current_site->domain );?></code>
34
+ </td>
35
+ </tr>
36
+ <?php endif; ?>
37
  <tr>
38
  <th><strong>[blog_name]</strong></th>
39
  <td>
52
  <code><?php echo get_bloginfo( 'template_directory' ); ?></code>
53
  </td>
54
  </tr>
55
+ <tr>
56
+ <th><strong>[stylesheet_directory_uri]</strong></th>
57
+ <td>
58
+ <code><?php echo get_stylesheet_directory_uri(); ?></code>
59
+ </td>
60
+ </tr>
61
  <tr>
62
  <th><strong>[update_total]</strong></th>
63
  <td>
inc/setting_appearance_menus.php CHANGED
@@ -42,8 +42,13 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
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.' , $this->ltd ); ?>
46
- <p><img src="<?php echo $this->Dir; ?>images/appearance_menus_add_new_menu.png" /></p>
 
 
 
 
 
47
  </td>
48
  </tr>
49
  <?php $field = 'delete_menu'; ?>
@@ -55,8 +60,12 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
55
  <?php $Checked = ''; ?>
56
  <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
57
  <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
58
- <p class="description"><?php _e( 'This is useful when you want to use only the menus have been created.' , $this->ltd ); ?>
59
- <p><img src="<?php echo $this->Dir; ?>images/appearance_menus_delete_menu.png" /></p>
 
 
 
 
60
  </td>
61
  </tr>
62
  </tbody>
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.' , $this->ltd ); ?></p>
46
+ <?php if( version_compare( $GLOBALS['wp_version'], '3.5.1', '>' ) ) : ?>
47
+ <p><img src="<?php echo $this->Dir; ?>images/appearance_menus_add_new_menu.png" /></p>
48
+ <p><img src="<?php echo $this->Dir; ?>images/appearance_menus_add_new_menu_of_location.png" /></p>
49
+ <?php else: ?>
50
+ <p><img src="<?php echo $this->Dir; ?>images/3.5.1/appearance_menus_add_new_menu.png" /></p>
51
+ <?php endif; ?>
52
  </td>
53
  </tr>
54
  <?php $field = 'delete_menu'; ?>
60
  <?php $Checked = ''; ?>
61
  <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
62
  <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Hide' ); ?></label>
63
+ <p class="description"><?php _e( 'This is useful when you want to use only the menus have been created.' , $this->ltd ); ?></p>
64
+ <?php if( version_compare( $GLOBALS['wp_version'], '3.5.1', '>' ) ) : ?>
65
+ <p><img src="<?php echo $this->Dir; ?>images/appearance_menus_delete_menu.png" /></p>
66
+ <?php else: ?>
67
+ <p><img src="<?php echo $this->Dir; ?>images/3.5.1/appearance_menus_delete_menu.png" /></p>
68
+ <?php endif; ?>
69
  </td>
70
  </tr>
71
  </tbody>
inc/setting_default.php CHANGED
@@ -105,10 +105,10 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
105
  <div class="stuffbox" id="aboutbox">
106
  <h3><span class="hndle"><?php _e( 'About plugin' , $this->ltd_p ); ?></span></h3>
107
  <div class="inside">
108
- <p><?php _e( 'Version check' , $this->ltd_p ); ?> : 3.4.2 - 3.5.1</p>
109
  <ul>
110
  <li><a href="<?php echo $this->Site; ?>?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( 'Plugin\'s site' , $this->ltd_p ); ?></a></li>
111
- <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_p ); ?></a></li>
112
  <li><a href="http://wordpress.org/support/plugin/wp-admin-ui-customize" target="_blank"><?php _e( 'Support Forums' ); ?></a></li>
113
  <li><a href="http://wordpress.org/support/view/plugin-reviews/wp-admin-ui-customize" target="_blank"><?php _e( 'Reviews' , $this->ltd_p ); ?></a></li>
114
  <li><a href="https://twitter.com/gqevu6bsiz" target="_blank">twitter</a></li>
105
  <div class="stuffbox" id="aboutbox">
106
  <h3><span class="hndle"><?php _e( 'About plugin' , $this->ltd_p ); ?></span></h3>
107
  <div class="inside">
108
+ <p><?php _e( 'Version check' , $this->ltd_p ); ?> : 3.4.2 - 3.6 beta3</p>
109
  <ul>
110
  <li><a href="<?php echo $this->Site; ?>?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( 'Plugin\'s site' , $this->ltd_p ); ?></a></li>
111
+ <li><a href="http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=side&utm_content<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank"><?php _e( 'Developer\'s site' , $this->ltd_p ); ?></a></li>
112
  <li><a href="http://wordpress.org/support/plugin/wp-admin-ui-customize" target="_blank"><?php _e( 'Support Forums' ); ?></a></li>
113
  <li><a href="http://wordpress.org/support/view/plugin-reviews/wp-admin-ui-customize" target="_blank"><?php _e( 'Reviews' , $this->ltd_p ); ?></a></li>
114
  <li><a href="https://twitter.com/gqevu6bsiz" target="_blank">twitter</a></li>
inc/setting_sidemenu.php CHANGED
@@ -90,15 +90,17 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
90
  <?php if( !empty( $mm["title"] ) ) : ?>
91
 
92
  <?php $mwsm = array(); ?>
93
- <?php foreach($Data["sub"] as $sm) : ?>
94
-
95
- <?php if( $mm["slug"] == $sm["parent_slug"] ) : ?>
96
-
97
- <?php $mwsm[] = array( 'title' => $sm["title"] , 'slug' => $sm["slug"] , 'parent_slug' => $sm["parent_slug"] ); ?>
98
-
99
- <?php endif; ?>
100
-
101
- <?php endforeach; ?>
 
 
102
 
103
  <?php $menu_widget = array( 'title' => $mm["title"] , 'slug' => $mm["slug"] , 'parent_slug' => '' , 'new' => false , 'submenu' => $mwsm ); ?>
104
  <?php $this->menu_widget( $menu_widget ); ?>
90
  <?php if( !empty( $mm["title"] ) ) : ?>
91
 
92
  <?php $mwsm = array(); ?>
93
+ <?php if( !empty( $Data["sub"] ) ) : ?>
94
+ <?php foreach($Data["sub"] as $sm) : ?>
95
+
96
+ <?php if( $mm["slug"] == $sm["parent_slug"] ) : ?>
97
+
98
+ <?php $mwsm[] = array( 'title' => $sm["title"] , 'slug' => $sm["slug"] , 'parent_slug' => $sm["parent_slug"] ); ?>
99
+
100
+ <?php endif; ?>
101
+
102
+ <?php endforeach; ?>
103
+ <?php endif; ?>
104
 
105
  <?php $menu_widget = array( 'title' => $mm["title"] , 'slug' => $mm["slug"] , 'parent_slug' => '' , 'new' => false , 'submenu' => $mwsm ); ?>
106
  <?php $this->menu_widget( $menu_widget ); ?>
languages/wauc-ja.po ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WP Admin UI Customize\n"
4
+ "POT-Creation-Date: \n"
5
+ "PO-Revision-Date: 2013-05-04 01:16+0900\n"
6
+ "Language-Team: \n"
7
+ "MIME-Version: 1.0\n"
8
+ "Content-Type: text/plain; charset=utf-8\n"
9
+ "Content-Transfer-Encoding: 8bit\n"
10
+ "Plural-Forms: nplurals=1; plural=0;\n"
11
+ "X-Poedit-Language: Japanese\n"
12
+ "X-Poedit-Country: JAPAN\n"
13
+ "X-Poedit-SourceCharset: utf-8\n"
14
+ "Last-Translator: Gqevu6bsiz <gqevu6bsiz@gmail.com>\n"
15
+
16
+ msgid "It is an excellent plugin to customize the management screen."
17
+ msgstr "管理画面のカスタマイズに優れたプラグインです。"
18
+
19
+ msgid "Customize the UI of the management screen for all users."
20
+ msgstr "全てのユーザーの管理画面UIをカスタマイズします。"
21
+
22
+ msgid "Authority to apply the setting is not selected. <a href=\"%s\">From here</a>, please select the permissions you want to set."
23
+ msgstr "設定を適用する権限が選択されていません。<a href=\"%s\">こちら</a>から設定する権限を選んでください。"
24
+
25
+ msgid "Please select the user role you want to apply the settings."
26
+ msgstr "設定を適用する権限を選んでください。"
27
+
28
+ msgid "Would initialize?"
29
+ msgstr "初期化しますか?"
30
+
31
+ msgid "Site Settings"
32
+ msgstr "サイトの設定"
33
+
34
+ msgid "Tag to be output"
35
+ msgstr "出力されるタグ"
36
+
37
+ msgid "Please display when using the Windows Live Writer."
38
+ msgstr "Windows Live Writer を使う場合は表示させてください。"
39
+
40
+ msgid "Information of XML-rpc"
41
+ msgstr "XML-RPC投稿プロトコル(外部からの投稿)情報"
42
+
43
+ msgid "Sitewide feed"
44
+ msgstr "サイト全体のフィードリンク"
45
+
46
+ msgid "Extra feed"
47
+ msgstr "その他のフィードリンク"
48
+
49
+ msgid "Account Title"
50
+ msgstr "アカウント表記"
51
+
52
+ msgid "Wordpress Logo"
53
+ msgstr "Wordpress のロゴ"
54
+
55
+ msgid "Add New"
56
+ msgstr "新規追加"
57
+
58
+ msgid "Update Menu"
59
+ msgstr "アップデート表示"
60
+
61
+ msgid "Profile Edit"
62
+ msgstr "プロフィール編集"
63
+
64
+ msgid "General screen setting"
65
+ msgstr "一般設定"
66
+
67
+ msgid "Notice"
68
+ msgstr "通知"
69
+
70
+ msgid "Not notified"
71
+ msgstr "通知しない"
72
+
73
+ msgid "Wordpress core update notice"
74
+ msgstr "Wordpress コアアップデート通知"
75
+
76
+ msgid "Plugin update notice"
77
+ msgstr "プラグイン アップデート通知"
78
+
79
+ msgid "Theme update notice"
80
+ msgstr "テーマ アップデート通知"
81
+
82
+ msgid "Footer text"
83
+ msgstr "フッターテキスト"
84
+
85
+ msgid "Title tag for Admin screen"
86
+ msgstr "管理画面のタイトルタグ"
87
+
88
+ msgid "Remove the \"Wordpress\" from the title tag of the Admin screen"
89
+ msgstr "管理画面のタイトルタグから\"Wordpress\"を削除"
90
+
91
+ msgid "Screen Options and Help tab"
92
+ msgstr "表示オプションとヘルプタブ"
93
+
94
+ msgid "Meta boxes"
95
+ msgstr "メタボックス"
96
+
97
+ msgid "Other"
98
+ msgstr "その他"
99
+
100
+ msgid "Movement restriction meta box"
101
+ msgstr "メタボックスの移動制限"
102
+
103
+ msgid "Don't move the meta box."
104
+ msgstr "メタボックスを移動させない"
105
+
106
+ msgid "Admin bar Menu"
107
+ msgstr "管理バー"
108
+
109
+ msgid "Notice: Please do not place the same multiple menu slug."
110
+ msgstr "注意: 複数同じメニュースラッグを設置しないでください。"
111
+
112
+ msgid "can be more than one custom menu."
113
+ msgstr "カスタムメニューは複数設置できます。"
114
+
115
+ msgid "Left"
116
+ msgstr "左"
117
+
118
+ msgid "Right"
119
+ msgstr "右"
120
+
121
+ msgid "Menu that can be added"
122
+ msgstr "追加できるメニュー一覧"
123
+
124
+ msgid "Custom Menu"
125
+ msgstr "カスタムメニュー"
126
+
127
+ msgid "Side Menu"
128
+ msgstr "サイドメニュー"
129
+
130
+ msgid "Please change the menu by drag and drop."
131
+ msgstr "ドラッグ&ドロップでメニューを変更してください。"
132
+
133
+ msgid "The current menu"
134
+ msgstr "現在のメニュー"
135
+
136
+ msgid "Sepalator"
137
+ msgstr "区切り線"
138
+
139
+ msgid "Menu Title"
140
+ msgstr "メニュータイトル"
141
+
142
+ msgid "Sub Menus"
143
+ msgstr "サブメニュー"
144
+
145
+ msgid "Remove meta box"
146
+ msgstr "メタボックス削除"
147
+
148
+ msgid "Add New Post and Edit Post screen setting"
149
+ msgstr "新規投稿と投稿編集の設定"
150
+
151
+ msgid "Only appears when you have settings to the default permalink."
152
+ msgstr "デフォルトのパーマリンクに設定している時のみ表示されます。"
153
+
154
+ msgid "Appearance's Menus screen setting"
155
+ msgstr "外観のメニュー画面の設定"
156
+
157
+ msgid "Add a new menu"
158
+ msgstr "メニューの新規作成"
159
+
160
+ msgid "This is useful when you want to use only the menus have been created."
161
+ msgstr "作成済みのメニューだけを使用する時に便利です。"
162
+
163
+ msgid "Login Screen"
164
+ msgstr "ログイン画面"
165
+
166
+ msgid "Is not possible to check the login form if you do not log out in the case of MultiSite."
167
+ msgstr "マルチサイトの場合はログアウトしないとログインフォームの表示確認はできません。"
168
+
169
+ msgid "Login Screen Settings"
170
+ msgstr "ログイン画面の設定"
171
+
172
+ msgid "Show Login Screen"
173
+ msgstr "ログイン画面を表示"
174
+
175
+ msgid "Login Form"
176
+ msgstr "ログインフォーム"
177
+
178
+ msgid "The link after clicking on the logo"
179
+ msgstr "ロゴをクリック後のリンク"
180
+
181
+ msgid "Logo title"
182
+ msgstr "ロゴタイトル"
183
+
184
+ msgid "Logo Image path"
185
+ msgstr "ロゴ画像のパス"
186
+
187
+ msgid "Css file to load"
188
+ msgstr "CSSファイルを読み込む"
189
+
190
+ msgid "Available Shortcodes"
191
+ msgstr "利用可能なショートコード一覧"
192
+
193
+ msgid "Shortcodes"
194
+ msgstr "ショートコード一覧"
195
+
196
+ msgid "Shortcode"
197
+ msgstr "ショートコード"
198
+
199
+ msgid "In your case."
200
+ msgstr "これはあなたの場合です。"
201
+
languages/wauc_plugin-ja.po ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WP Admin UI Customize\n"
4
+ "POT-Creation-Date: \n"
5
+ "PO-Revision-Date: 2013-05-04 02:58+0900\n"
6
+ "Language-Team: \n"
7
+ "MIME-Version: 1.0\n"
8
+ "Content-Type: text/plain; charset=utf-8\n"
9
+ "Content-Transfer-Encoding: 8bit\n"
10
+ "Plural-Forms: nplurals=1; plural=0;\n"
11
+ "X-Poedit-Language: Japanese\n"
12
+ "X-Poedit-Country: JAPAN\n"
13
+ "X-Poedit-SourceCharset: utf-8\n"
14
+ "Last-Translator: Gqevu6bsiz <gqevu6bsiz@gmail.com>\n"
15
+
16
+ msgid "Thank you for your donation."
17
+ msgstr "寄付いただきありがとうございます。"
18
+
19
+ msgid "If you have already donated to."
20
+ msgstr "寄付済みの方へ。"
21
+
22
+ msgid "Please enter the 'Donation delete key' that have been described in the 'Line Break First and End download page'."
23
+ msgstr "'Line Break First and End download page' ダウンロードページに記載されていた寄付削除キーを入力して、寄付メッセージを削除できます。"
24
+
25
+ msgid "Donation delete key"
26
+ msgstr "寄付メッセージ削除キー"
27
+
28
+ msgid "Please consider a donation if you are satisfied with this plugin."
29
+ msgstr "このプラグインに満足できたらら寄付のご検討を宜しくお願いします。"
30
+
31
+ msgid "Please donation."
32
+ msgstr "寄付のお願い"
33
+
34
+ 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."
35
+ msgstr "このプラグインを使って満足できましたか?<br />日本の法律では、日本の新PayPalユーザーは寄付ボタンを作成することはできません。<br />なので寄付の代わりとしてこのプラグインを購入して欲しいです。"
36
+
37
+ msgid "Features"
38
+ msgstr "機能について"
39
+
40
+ 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."
41
+ msgstr "Line Break First and Endプラグインは、TinyMCEのビジュアルエディタで、改行を入力することが出来なくなった時に便利なプラグインです。"
42
+
43
+ msgid "The primary use of donations"
44
+ msgstr "寄付の主な使用目的"
45
+
46
+ msgid "Liquidation of time and value"
47
+ msgstr "時間と価値の清算"
48
+
49
+ msgid "Additional suggestions feature"
50
+ msgstr "機能提案の追加"
51
+
52
+ msgid "Maintain motivation"
53
+ msgstr "モチベーション維持"
54
+
55
+ msgid "Ensure time as the father of Sunday"
56
+ msgstr "日曜日の父親としての時間確保"
57
+
58
+ msgid "About plugin"
59
+ msgstr "プラグインについて"
60
+
61
+ msgid "Version check"
62
+ msgstr "動作確認済み"
63
+
64
+ msgid "Plugin's site"
65
+ msgstr "プラグインのサイト"
66
+
67
+ msgid "Developer's site"
68
+ msgstr "開発者のサイト"
69
+
70
+ msgid "Reviews"
71
+ msgstr "レビュー"
72
+
73
+ msgid "Useful plugins"
74
+ msgstr "便利なプラグイン"
75
+
76
+ msgid "This add-on is an add-on to unify the management screen of all sites."
77
+ msgstr "このアドオンは、全てのサイトの管理画面を統一する為のアドオンです。"
78
+
79
+ msgid "Customize the list of the post and page. custom post type page, too. You can customize the column display items freely."
80
+ msgstr "投稿と固定ページ一覧をカスタマイズします。カスタム投稿タイプも。カラム一覧を自由にカスタマイズできます。"
81
+
82
+ msgid "Announce to display the dashboard. Change the display to a different user role."
83
+ msgstr "ダッシュボードにお知らせを表示します。ユーザーの権限ごとに表示を変更できます。"
84
+
85
+ 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."
86
+ msgstr "オプション値作成プラグインです。作成したオプション値は、ショートコードとして記事に、テンプレートタグとしても使用できます。"
87
+
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === WP Admin UI Customize ===
2
  Contributors: gqevu6bsiz
3
- Donate link: http://gqevu6bsiz.chicappa.jp/please-donation/?utm_source=wporg&utm_medium=donate&utm_content=wauc&utm_campaign=1_3
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.3
8
  License: GPL2
9
 
@@ -49,6 +49,11 @@ These to Customization is possible.
49
 
50
  == Changelog ==
51
 
 
 
 
 
 
52
  = 1.3 =
53
  * Came to be able to use the various variables.
54
  * Removed the part menu from the Admin bar.
1
  === WP Admin UI Customize ===
2
  Contributors: gqevu6bsiz
3
+ Donate link: http://gqevu6bsiz.chicappa.jp/please-donation/?utm_source=wporg&utm_medium=donate&utm_content=wauc&utm_campaign=1_3_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.6
7
  Stable tag: 1.3
8
  License: GPL2
9
 
49
 
50
  == Changelog ==
51
 
52
+ = 1.3.1 =
53
+ * Added some variables.
54
+ * Fixed bug : Error to does not exist sub menu in the side menu settings.
55
+ * WordPress 3.6 compatibility
56
+
57
  = 1.3 =
58
  * Came to be able to use the various variables.
59
  * Removed the part menu from the Admin bar.
wp-admin-ui-customize.php CHANGED
@@ -2,10 +2,10 @@
2
  /*
3
  Plugin Name: WP Admin UI Customize
4
  Description: It is an excellent plugin to customize the management screen.
5
- Plugin URI: http://wpadminuicustomize.com/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_3
6
- Version: 1.3
7
  Author: gqevu6bsiz
8
- Author URI: http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_3
9
  Text Domain: wauc
10
  Domain Path: /languages
11
  */
@@ -47,7 +47,7 @@ class WP_Admin_UI_Customize
47
 
48
 
49
  function __construct() {
50
- $this->Ver = '1.3';
51
  $this->Name = 'WP Admin UI Customize';
52
  $this->Dir = WP_PLUGIN_URL . '/' . dirname( plugin_basename( __FILE__ ) ) . '/';
53
  $this->Site = 'http://wpadminuicustomize.com/';
@@ -456,6 +456,9 @@ class WP_Admin_UI_Customize
456
  $awaiting_mod = wp_count_comments();
457
  $awaiting_mod = $awaiting_mod->moderated;
458
  $current_user = wp_get_current_user();
 
 
 
459
 
460
  if( strstr( $str , '[blog_url]') ) {
461
  $str = str_replace( '[blog_url]' , get_bloginfo( 'url' ) , $str );
@@ -463,6 +466,9 @@ class WP_Admin_UI_Customize
463
  if( strstr( $str , '[template_directory_uri]') ) {
464
  $str = str_replace( '[template_directory_uri]' , get_bloginfo( 'template_directory' ) , $str );
465
  }
 
 
 
466
  if( strstr( $str , '[blog_name]') ) {
467
  $str = str_replace( '[blog_name]' , get_bloginfo( 'name' ) , $str );
468
  }
@@ -493,6 +499,17 @@ class WP_Admin_UI_Customize
493
  if( strstr( $str , '[user_name]') ) {
494
  $str = str_replace( '[user_name]' , '<span class="display-name">' . $current_user->display_name . '</span>' , $str );
495
  }
 
 
 
 
 
 
 
 
 
 
 
496
  }
497
 
498
  return $str;
@@ -1123,6 +1140,8 @@ class WP_Admin_UI_Customize
1123
  if( current_theme_supports( 'post-thumbnails' ) ) {
1124
  remove_post_type_support( $post_type , 'thumbnail' );
1125
  }
 
 
1126
  } else {
1127
  remove_meta_box( $id , $post_type , 'normal' );
1128
  }
@@ -1207,50 +1226,52 @@ class WP_Admin_UI_Customize
1207
  }
1208
  }
1209
 
1210
- foreach($GetData["sub"] as $sm_pos => $sm) {
1211
- if($sm["slug"] == 'separator') {
1212
- $SetMain_submenu[$sm["parent_slug"]][] = $separator_menu;
1213
- } else {
1214
- $gm_search = false;
1215
- foreach($menu as $gm_pos => $gm) {
1216
- if($sm["slug"] == $gm[2]) {
1217
- if( strstr( $sm["title"] , '[comment_count]') ) {
1218
- $sm["title"] = str_replace( '[comment_count]' , '<span class="update-plugins count-[comment_count]"><span class="theme-count">[comment_count_format]</span></span>' , $sm["title"] );
1219
- }
1220
- if( strstr( $sm["title"] , '[update_total]') ) {
1221
- $sm["title"] = str_replace( '[update_total]' , '<span class="update-plugins count-[update_total]"><span class="update-count">[update_total_format]</span></span>' , $sm["title"] );
1222
- }
1223
- if( strstr( $sm["title"] , '[update_plugins]') ) {
1224
- $sm["title"] = str_replace( '[update_plugins]' , '<span class="update-plugins count-[update_plugins]"><span class="plugin-count">[update_plugins_format]</span></span>' , $sm["title"] );
1225
- }
1226
- if( strstr( $sm["title"] , '[update_themes]') ) {
1227
- $sm["title"] = str_replace( '[update_themes]' , '<span class="update-plugins count-[update_themes]"><span class="theme-count">[update_themes_format]</span></span>' , $sm["title"] );
 
 
 
 
 
 
1228
  }
1229
- $menu[$gm_pos][0] = $this->val_replace( $sm["title"] );
1230
- $SetMain_submenu[$sm["parent_slug"]][] = $menu[$gm_pos];
1231
- $gm_search = true;
1232
- break;
1233
  }
1234
- }
1235
- if( empty( $gm_search ) ) {
1236
- foreach($submenu as $gsm_parent_slug => $v) {
1237
- foreach($v as $gsm_pos => $gsm) {
1238
- if($sm["slug"] == $gsm[2]) {
1239
-
1240
- if( strstr( $sm["title"] , '[comment_count]') ) {
1241
- $sm["title"] = str_replace( '[comment_count]' , '<span class="update-plugins count-[comment_count]"><span class="theme-count">[comment_count_format]</span></span>' , $sm["title"] );
1242
- }
1243
- if( strstr( $sm["title"] , '[update_total]') ) {
1244
- $sm["title"] = str_replace( '[update_total]' , '<span class="update-plugins count-[update_total]"><span class="update-count">[update_total_format]</span></span>' , $sm["title"] );
1245
- }
1246
- if( strstr( $sm["title"] , '[update_plugins]') ) {
1247
- $sm["title"] = str_replace( '[update_plugins]' , '<span class="update-plugins count-[update_plugins]"><span class="plugin-count">[update_plugins_format]</span></span>' , $sm["title"] );
1248
- }
1249
- if( strstr( $sm["title"] , '[update_themes]') ) {
1250
- $sm["title"] = str_replace( '[update_themes]' , '<span class="update-plugins count-[update_themes]"><span class="theme-count">[update_themes_format]</span></span>' , $sm["title"] );
 
 
1251
  }
1252
- $submenu[$gsm_parent_slug][$gsm_pos][0] = $this->val_replace( $sm["title"] );
1253
- $SetMain_submenu[$sm["parent_slug"]][] = $submenu[$gsm_parent_slug][$gsm_pos];
1254
  }
1255
  }
1256
  }
@@ -1310,7 +1331,11 @@ class WP_Admin_UI_Customize
1310
  unset( $GetData["UPFN"] );
1311
 
1312
  if( !empty( $GetData["add_new_menu"] ) ) {
1313
- echo '<style>.nav-tabs .menu-add-new { display: none; }</style>';
 
 
 
 
1314
  }
1315
  if( !empty( $GetData["delete_menu"] ) ) {
1316
  echo '<style>.major-publishing-actions .delete-action { display: none; }</style>';
2
  /*
3
  Plugin Name: WP Admin UI Customize
4
  Description: It is an excellent plugin to customize the management screen.
5
+ Plugin URI: http://wpadminuicustomize.com/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_3_1
6
+ Version: 1.3.1
7
  Author: gqevu6bsiz
8
+ Author URI: http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_3_1
9
  Text Domain: wauc
10
  Domain Path: /languages
11
  */
47
 
48
 
49
  function __construct() {
50
+ $this->Ver = '1.3.1';
51
  $this->Name = 'WP Admin UI Customize';
52
  $this->Dir = WP_PLUGIN_URL . '/' . dirname( plugin_basename( __FILE__ ) ) . '/';
53
  $this->Site = 'http://wpadminuicustomize.com/';
456
  $awaiting_mod = wp_count_comments();
457
  $awaiting_mod = $awaiting_mod->moderated;
458
  $current_user = wp_get_current_user();
459
+ if( is_multisite() ) {
460
+ $current_site = get_current_site();
461
+ }
462
 
463
  if( strstr( $str , '[blog_url]') ) {
464
  $str = str_replace( '[blog_url]' , get_bloginfo( 'url' ) , $str );
466
  if( strstr( $str , '[template_directory_uri]') ) {
467
  $str = str_replace( '[template_directory_uri]' , get_bloginfo( 'template_directory' ) , $str );
468
  }
469
+ if( strstr( $str , '[stylesheet_directory_uri]') ) {
470
+ $str = str_replace( '[stylesheet_directory_uri]' , get_stylesheet_directory_uri() , $str );
471
+ }
472
  if( strstr( $str , '[blog_name]') ) {
473
  $str = str_replace( '[blog_name]' , get_bloginfo( 'name' ) , $str );
474
  }
499
  if( strstr( $str , '[user_name]') ) {
500
  $str = str_replace( '[user_name]' , '<span class="display-name">' . $current_user->display_name . '</span>' , $str );
501
  }
502
+
503
+ if( is_multisite() ) {
504
+ if( strstr( $str , '[site_name]') ) {
505
+ $str = str_replace( '[site_name]' , esc_attr( $current_site->site_name ) , $str );
506
+ }
507
+ if( strstr( $str , '[site_url]') ) {
508
+ $protocol = is_ssl() ? 'https://' : 'http://';
509
+ $str = str_replace( '[site_url]' , $protocol . esc_attr( $current_site->domain ) , $str );
510
+ }
511
+ }
512
+
513
  }
514
 
515
  return $str;
1140
  if( current_theme_supports( 'post-thumbnails' ) ) {
1141
  remove_post_type_support( $post_type , 'thumbnail' );
1142
  }
1143
+ } elseif( $id == 'formatdiv' && version_compare( $GLOBALS['wp_version'], '3.5.1', '>' ) ) {
1144
+ remove_post_type_support( "post" , "post-formats" );
1145
  } else {
1146
  remove_meta_box( $id , $post_type , 'normal' );
1147
  }
1226
  }
1227
  }
1228
 
1229
+ if( !empty( $GetData["sub"] ) ) {
1230
+ foreach($GetData["sub"] as $sm_pos => $sm) {
1231
+ if($sm["slug"] == 'separator') {
1232
+ $SetMain_submenu[$sm["parent_slug"]][] = $separator_menu;
1233
+ } else {
1234
+ $gm_search = false;
1235
+ foreach($menu as $gm_pos => $gm) {
1236
+ if($sm["slug"] == $gm[2]) {
1237
+ if( strstr( $sm["title"] , '[comment_count]') ) {
1238
+ $sm["title"] = str_replace( '[comment_count]' , '<span class="update-plugins count-[comment_count]"><span class="theme-count">[comment_count_format]</span></span>' , $sm["title"] );
1239
+ }
1240
+ if( strstr( $sm["title"] , '[update_total]') ) {
1241
+ $sm["title"] = str_replace( '[update_total]' , '<span class="update-plugins count-[update_total]"><span class="update-count">[update_total_format]</span></span>' , $sm["title"] );
1242
+ }
1243
+ if( strstr( $sm["title"] , '[update_plugins]') ) {
1244
+ $sm["title"] = str_replace( '[update_plugins]' , '<span class="update-plugins count-[update_plugins]"><span class="plugin-count">[update_plugins_format]</span></span>' , $sm["title"] );
1245
+ }
1246
+ if( strstr( $sm["title"] , '[update_themes]') ) {
1247
+ $sm["title"] = str_replace( '[update_themes]' , '<span class="update-plugins count-[update_themes]"><span class="theme-count">[update_themes_format]</span></span>' , $sm["title"] );
1248
+ }
1249
+ $menu[$gm_pos][0] = $this->val_replace( $sm["title"] );
1250
+ $SetMain_submenu[$sm["parent_slug"]][] = $menu[$gm_pos];
1251
+ $gm_search = true;
1252
+ break;
1253
  }
 
 
 
 
1254
  }
1255
+ if( empty( $gm_search ) ) {
1256
+ foreach($submenu as $gsm_parent_slug => $v) {
1257
+ foreach($v as $gsm_pos => $gsm) {
1258
+ if($sm["slug"] == $gsm[2]) {
1259
+
1260
+ if( strstr( $sm["title"] , '[comment_count]') ) {
1261
+ $sm["title"] = str_replace( '[comment_count]' , '<span class="update-plugins count-[comment_count]"><span class="theme-count">[comment_count_format]</span></span>' , $sm["title"] );
1262
+ }
1263
+ if( strstr( $sm["title"] , '[update_total]') ) {
1264
+ $sm["title"] = str_replace( '[update_total]' , '<span class="update-plugins count-[update_total]"><span class="update-count">[update_total_format]</span></span>' , $sm["title"] );
1265
+ }
1266
+ if( strstr( $sm["title"] , '[update_plugins]') ) {
1267
+ $sm["title"] = str_replace( '[update_plugins]' , '<span class="update-plugins count-[update_plugins]"><span class="plugin-count">[update_plugins_format]</span></span>' , $sm["title"] );
1268
+ }
1269
+ if( strstr( $sm["title"] , '[update_themes]') ) {
1270
+ $sm["title"] = str_replace( '[update_themes]' , '<span class="update-plugins count-[update_themes]"><span class="theme-count">[update_themes_format]</span></span>' , $sm["title"] );
1271
+ }
1272
+ $submenu[$gsm_parent_slug][$gsm_pos][0] = $this->val_replace( $sm["title"] );
1273
+ $SetMain_submenu[$sm["parent_slug"]][] = $submenu[$gsm_parent_slug][$gsm_pos];
1274
  }
 
 
1275
  }
1276
  }
1277
  }
1331
  unset( $GetData["UPFN"] );
1332
 
1333
  if( !empty( $GetData["add_new_menu"] ) ) {
1334
+ if( version_compare( $GLOBALS['wp_version'], '3.5.1', '>' ) ) {
1335
+ echo '<style>.manage-menus .add-new-menu-action, .manage-menus .add-edit-menu-action, .locations-row-links .locations-add-menu-link { display: none; }</style>';
1336
+ } else {
1337
+ echo '<style>.nav-tabs .menu-add-new { display: none; }</style>';
1338
+ }
1339
  }
1340
  if( !empty( $GetData["delete_menu"] ) ) {
1341
  echo '<style>.major-publishing-actions .delete-action { display: none; }</style>';