Version Description
- http://wpist.me/2011/11/17/wp-total-hacks-0-6-0/
Download this release
Release Info
Developer | miyauchi |
Plugin | WP Total Hacks |
Version | 0.6.0 |
Comparing to | |
See all releases |
Code changes from version 0.5.2 to 0.6.0
- css/style.css +2 -2
- includes/admin.php +20 -54
- includes/form/appearance.php +2 -2
- includes/form/footer.php +6 -6
- includes/form/other.php +1 -1
- includes/form/post.php +1 -1
- includes/form/sidebar.php +1 -1
- includes/form/site.php +4 -3
- js/{wfb-upload.js → wp-total-hacks-upload.js} +0 -0
- js/{wp-biz.js → wp-total-hacks.js} +5 -5
- languages/wp-total-hacks-be_BY.mo +0 -0
- languages/wp-total-hacks-be_BY.po +2 -2
- languages/wp-total-hacks-de_DE.mo +0 -0
- languages/wp-total-hacks-de_DE.po +2 -2
- languages/wp-total-hacks-it_IT.mo +0 -0
- languages/wp-total-hacks-it_IT.po +2 -2
- languages/wp-total-hacks-ja.mo +0 -0
- languages/wp-total-hacks-ja.po +33 -28
- languages/wp-total-hacks-nl_NL.mo +0 -0
- languages/wp-total-hacks-nl_NL.po +2 -2
- languages/wp-total-hacks-ru_RU.mo +0 -0
- languages/wp-total-hacks-ru_RU.po +2 -2
- languages/wp-total-hacks-tr_TR.mo +0 -0
- languages/wp-total-hacks-tr_TR.po +2 -2
- languages/wp-total-hacks-zh_CN.mo +0 -0
- languages/wp-total-hacks-zh_CN.po +2 -2
- languages/wp-total-hacks.pot +32 -27
- readme.txt +19 -6
- wp-total-hacks.php +45 -4
css/style.css
CHANGED
@@ -138,13 +138,13 @@
|
|
138 |
height: 30px;
|
139 |
}
|
140 |
|
141 |
-
.wrap #tabs
|
142 |
{
|
143 |
display :none;
|
144 |
margin-right: 300px;
|
145 |
}
|
146 |
|
147 |
-
.wrap .tab
|
148 |
{
|
149 |
}
|
150 |
|
138 |
height: 30px;
|
139 |
}
|
140 |
|
141 |
+
.wrap #total-hacks-tabs
|
142 |
{
|
143 |
display :none;
|
144 |
margin-right: 300px;
|
145 |
}
|
146 |
|
147 |
+
.wrap .total-hacks-tab
|
148 |
{
|
149 |
}
|
150 |
|
includes/admin.php
CHANGED
@@ -7,17 +7,21 @@ class TotalHacksAdmin {
|
|
7 |
private $contributors = array(
|
8 |
'Takayuki Miyauchi' => array(
|
9 |
'country' => 'Japan',
|
10 |
-
'url' => 'http://
|
11 |
),
|
12 |
'Felix Kern' => array(
|
13 |
'country' => 'Germany',
|
14 |
'url' => 'http://twitter.com/#!/kernfel',
|
15 |
),
|
|
|
|
|
|
|
|
|
16 |
);
|
17 |
private $translators = array(
|
18 |
'Takayuki Miyauchi' => array(
|
19 |
'lang' => 'Japanese',
|
20 |
-
'url' => 'http://
|
21 |
),
|
22 |
'Andrea Bersi' => array(
|
23 |
'lang' => 'Italian',
|
@@ -51,38 +55,7 @@ private $translators = array(
|
|
51 |
private $role = 'manage_options';
|
52 |
private $plugin_url = '';
|
53 |
private $page_title = 'WP Total Hacks';
|
54 |
-
private $params = array(
|
55 |
-
'wfb_google_analytics' => 'text',
|
56 |
-
'wfb_favicon' => 'url',
|
57 |
-
'wfb_apple_icon' => 'url',
|
58 |
-
'wfb_hide_version' => 'bool',
|
59 |
-
'wfb_google' => 'text',
|
60 |
-
'wfb_yahoo' => 'text',
|
61 |
-
'wfb_bing' => 'text',
|
62 |
-
'wfb_hide_custom_fields' => 'bool',
|
63 |
-
'wfb_revision' => 'int',
|
64 |
-
'wfb_autosave' => 'bool',
|
65 |
-
'wfb_selfping' => 'bool',
|
66 |
-
'wfb_widget' => 'array',
|
67 |
-
'wfb_custom_logo' => 'url',
|
68 |
-
'wfb_admin_footer_text' => 'html',
|
69 |
-
'wfb_login_logo' => 'url',
|
70 |
-
'wfb_login_url' => 'url',
|
71 |
-
'wfb_login_title' => 'text',
|
72 |
-
'wfb_webmaster' => 'bool',
|
73 |
-
'wfb_remove_xmlrpc' => 'bool',
|
74 |
-
'wfb_exclude_loggedin' => 'bool',
|
75 |
-
'wfb_adjacent_posts_rel_links' => 'bool',
|
76 |
-
'wfb_remove_more' => 'bool',
|
77 |
-
'wfb_pageexcerpt' => 'bool',
|
78 |
-
'wfb_postmetas' => 'array',
|
79 |
-
'wfb_pagemetas' => 'array',
|
80 |
-
'wfb_emailaddress' => 'email',
|
81 |
-
'wfb_sendername' => 'text',
|
82 |
-
'wfb_contact_methods' => 'array',
|
83 |
-
'wfb_remove_excerpt' => 'bool',
|
84 |
-
'wfb_update_notification' => 'bool',
|
85 |
-
);
|
86 |
private $widgets = array(
|
87 |
'dashboard_right_now' => array(
|
88 |
'position' => 'normal',
|
@@ -172,9 +145,10 @@ private $contact_methods = array(
|
|
172 |
'jabber' => 'Jabber / Google Talk',
|
173 |
);
|
174 |
|
175 |
-
function __construct($url)
|
176 |
{
|
177 |
$this->plugin_url = $url;
|
|
|
178 |
add_action('admin_menu', array(&$this, 'admin_menu'));
|
179 |
add_filter('gettext', array(&$this, 'replace_text_in_thickbox'), 1, 3);
|
180 |
}
|
@@ -203,19 +177,15 @@ public function admin_styles() {
|
|
203 |
}
|
204 |
|
205 |
public function admin_scripts() {
|
206 |
-
global $wp_version;
|
207 |
wp_enqueue_script('jquery-ui-tabs');
|
208 |
wp_enqueue_script('editor');
|
209 |
add_thickbox();
|
210 |
wp_register_script(
|
211 |
-
'
|
212 |
-
$this->plugin_url.'/js/
|
213 |
array('thickbox')
|
214 |
);
|
215 |
-
wp_enqueue_script('
|
216 |
-
if (version_compare($wp_version, '3.2', '<')) {
|
217 |
-
add_action('admin_print_footer_scripts', 'wp_tiny_mce_preload_dialogs', 30);
|
218 |
-
}
|
219 |
}
|
220 |
|
221 |
public function admin_menu()
|
@@ -224,7 +194,7 @@ public function admin_menu()
|
|
224 |
$this->page_title,
|
225 |
'WP Total Hacks',
|
226 |
$this->role,
|
227 |
-
'wp-
|
228 |
array(&$this, 'options')
|
229 |
);
|
230 |
add_action("admin_head-".$hook, array(&$this, 'admin_head'));
|
@@ -236,7 +206,7 @@ public function admin_menu()
|
|
236 |
public function admin_head()
|
237 |
{
|
238 |
printf(
|
239 |
-
"<script type=\"text/javascript\" src=\"%s/js/wp-
|
240 |
$this->plugin_url
|
241 |
);
|
242 |
if (isset($_GET['err']) && $_GET['err']) {
|
@@ -268,19 +238,19 @@ public function admin_init()
|
|
268 |
{
|
269 |
if (isset($_POST['wpbiz-nonce']) && $_POST['wpbiz-nonce']) {
|
270 |
if (!current_user_can($this->role)) {
|
271 |
-
wp_redirect(admin_url('options-general.php?page=wp-
|
272 |
}
|
273 |
$nonce = $_POST['wpbiz-nonce'];
|
274 |
if (!$act = wp_verify_nonce($nonce, plugin_basename(__FILE__))) {
|
275 |
-
wp_redirect(admin_url('options-general.php?page=wp-
|
276 |
}
|
277 |
$this->save();
|
278 |
-
if (preg_match("/^[a-z]+$/", $_POST['tabid'])) {
|
279 |
$tabid = $_POST['tabid'];
|
280 |
} else {
|
281 |
$tabid = '';
|
282 |
}
|
283 |
-
wp_redirect(admin_url('options-general.php?page=wp-
|
284 |
}
|
285 |
}
|
286 |
|
@@ -377,16 +347,12 @@ public function options()
|
|
377 |
|
378 |
private function form()
|
379 |
{
|
380 |
-
|
381 |
-
if (version_compare($wp_version, '3.2', '<')) {
|
382 |
-
wp_tiny_mce(true);
|
383 |
-
}
|
384 |
-
$url = admin_url('options-general.php?page=wp-biz');
|
385 |
echo '<form method="post" action="'.$url.'">';
|
386 |
$nonce = wp_create_nonce(plugin_basename(__FILE__));
|
387 |
echo '<input type="hidden" name="wpbiz-nonce" value="'.$nonce.'" />';
|
388 |
echo '<input type="hidden" id="tabid" name="tabid" value="" />';
|
389 |
-
echo '<div id="tabs">';
|
390 |
echo '<div id="wfb-notice"><div>'.__('Saved.').'</div></div>';
|
391 |
echo '<ul id="menu"></ul>';
|
392 |
include(dirname(__FILE__).'/form/site.php');
|
7 |
private $contributors = array(
|
8 |
'Takayuki Miyauchi' => array(
|
9 |
'country' => 'Japan',
|
10 |
+
'url' => 'http://wpist.me/',
|
11 |
),
|
12 |
'Felix Kern' => array(
|
13 |
'country' => 'Germany',
|
14 |
'url' => 'http://twitter.com/#!/kernfel',
|
15 |
),
|
16 |
+
'Mako' => array(
|
17 |
+
'country' => 'Japan',
|
18 |
+
'url' => 'http://profiles.wordpress.org/users/mako09',
|
19 |
+
),
|
20 |
);
|
21 |
private $translators = array(
|
22 |
'Takayuki Miyauchi' => array(
|
23 |
'lang' => 'Japanese',
|
24 |
+
'url' => 'http://wpist.me/',
|
25 |
),
|
26 |
'Andrea Bersi' => array(
|
27 |
'lang' => 'Italian',
|
55 |
private $role = 'manage_options';
|
56 |
private $plugin_url = '';
|
57 |
private $page_title = 'WP Total Hacks';
|
58 |
+
private $params = array();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
private $widgets = array(
|
60 |
'dashboard_right_now' => array(
|
61 |
'position' => 'normal',
|
145 |
'jabber' => 'Jabber / Google Talk',
|
146 |
);
|
147 |
|
148 |
+
function __construct($url, $params)
|
149 |
{
|
150 |
$this->plugin_url = $url;
|
151 |
+
$this->params = $params;
|
152 |
add_action('admin_menu', array(&$this, 'admin_menu'));
|
153 |
add_filter('gettext', array(&$this, 'replace_text_in_thickbox'), 1, 3);
|
154 |
}
|
177 |
}
|
178 |
|
179 |
public function admin_scripts() {
|
|
|
180 |
wp_enqueue_script('jquery-ui-tabs');
|
181 |
wp_enqueue_script('editor');
|
182 |
add_thickbox();
|
183 |
wp_register_script(
|
184 |
+
'wp-total-hacks-upload',
|
185 |
+
$this->plugin_url.'/js/wp-total-hacks-upload.js',
|
186 |
array('thickbox')
|
187 |
);
|
188 |
+
wp_enqueue_script('wp-total-hacks-upload');
|
|
|
|
|
|
|
189 |
}
|
190 |
|
191 |
public function admin_menu()
|
194 |
$this->page_title,
|
195 |
'WP Total Hacks',
|
196 |
$this->role,
|
197 |
+
'wp-total-hacks',
|
198 |
array(&$this, 'options')
|
199 |
);
|
200 |
add_action("admin_head-".$hook, array(&$this, 'admin_head'));
|
206 |
public function admin_head()
|
207 |
{
|
208 |
printf(
|
209 |
+
"<script type=\"text/javascript\" src=\"%s/js/wp-total-hacks.js\"></script>",
|
210 |
$this->plugin_url
|
211 |
);
|
212 |
if (isset($_GET['err']) && $_GET['err']) {
|
238 |
{
|
239 |
if (isset($_POST['wpbiz-nonce']) && $_POST['wpbiz-nonce']) {
|
240 |
if (!current_user_can($this->role)) {
|
241 |
+
wp_redirect(admin_url('options-general.php?page=wp-total-hacks&err=true'));
|
242 |
}
|
243 |
$nonce = $_POST['wpbiz-nonce'];
|
244 |
if (!$act = wp_verify_nonce($nonce, plugin_basename(__FILE__))) {
|
245 |
+
wp_redirect(admin_url('options-general.php?page=wp-total-hacks&err=true'));
|
246 |
}
|
247 |
$this->save();
|
248 |
+
if (preg_match("/^total\-hacks\-[a-z]+$/", $_POST['tabid'])) {
|
249 |
$tabid = $_POST['tabid'];
|
250 |
} else {
|
251 |
$tabid = '';
|
252 |
}
|
253 |
+
wp_redirect(admin_url('options-general.php?page=wp-total-hacks&update=true#'.$tabid));
|
254 |
}
|
255 |
}
|
256 |
|
347 |
|
348 |
private function form()
|
349 |
{
|
350 |
+
$url = admin_url('options-general.php?page=wp-total-hacks');
|
|
|
|
|
|
|
|
|
351 |
echo '<form method="post" action="'.$url.'">';
|
352 |
$nonce = wp_create_nonce(plugin_basename(__FILE__));
|
353 |
echo '<input type="hidden" name="wpbiz-nonce" value="'.$nonce.'" />';
|
354 |
echo '<input type="hidden" id="tabid" name="tabid" value="" />';
|
355 |
+
echo '<div id="total-hacks-tabs">';
|
356 |
echo '<div id="wfb-notice"><div>'.__('Saved.').'</div></div>';
|
357 |
echo '<ul id="menu"></ul>';
|
358 |
include(dirname(__FILE__).'/form/site.php');
|
includes/form/appearance.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
|
2 |
-
<div id="admin" class="tab">
|
3 |
<h3><?php _e('Appearance in admin', 'wp-total-hacks'); ?></h3>
|
4 |
|
5 |
<div class="block">
|
6 |
<h4><img alt="" src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Change admin header logo', 'wp-total-hacks'); ?></h4>
|
7 |
<div class="block_content">
|
8 |
-
<p><?php
|
9 |
<p><img class="caption" alt="" src="<?php echo $this->get_plugin_url(); ?>/img/admin_header_logo.png"></p>
|
10 |
<input type="text" id="wfb_custom_logo" name="wfb_custom_logo" class="media" value="<?php $this->op('wfb_custom_logo'); ?>" />
|
11 |
<a class="media-upload" href="JavaScript:void(0);" rel="wfb_custom_logo"><?php _e('Select File', 'wp-total-hacks'); ?></a>
|
1 |
|
2 |
+
<div id="total-hacks-admin" class="total-hacks-tab">
|
3 |
<h3><?php _e('Appearance in admin', 'wp-total-hacks'); ?></h3>
|
4 |
|
5 |
<div class="block">
|
6 |
<h4><img alt="" src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Change admin header logo', 'wp-total-hacks'); ?></h4>
|
7 |
<div class="block_content">
|
8 |
+
<p><?php printf(__('Upload %s x %s pixel image for admin header logo.', 'wp-total-hacks'), 16, 16); ?></p>
|
9 |
<p><img class="caption" alt="" src="<?php echo $this->get_plugin_url(); ?>/img/admin_header_logo.png"></p>
|
10 |
<input type="text" id="wfb_custom_logo" name="wfb_custom_logo" class="media" value="<?php $this->op('wfb_custom_logo'); ?>" />
|
11 |
<a class="media-upload" href="JavaScript:void(0);" rel="wfb_custom_logo"><?php _e('Select File', 'wp-total-hacks'); ?></a>
|
includes/form/footer.php
CHANGED
@@ -11,26 +11,26 @@
|
|
11 |
<script type="text/javascript">
|
12 |
window.scrollTo(0,0);
|
13 |
var send = window.send_to_editor;
|
14 |
-
var
|
15 |
jQuery('#tabid').val(location.hash.substring(1, location.hash.length));
|
16 |
|
17 |
// setup tab menu
|
18 |
-
jQuery('#tabs .tab').each(function(){
|
19 |
var id = jQuery(this).attr("id");
|
20 |
var txt = jQuery(jQuery('h3', this).get(0)).text();
|
21 |
var li = jQuery('<li><a href="#'+id+'"><span>'+txt+'</span></a></li>');
|
22 |
jQuery('#menu').append(li);
|
23 |
});
|
24 |
jQuery(function(){
|
25 |
-
jQuery("#tabs").tabs({fx:{opacity:'toggle', duration:'fast'}});
|
26 |
-
jQuery("#tabs h3").css('display', 'none');
|
27 |
});
|
28 |
jQuery("#menu a").click(function(){
|
29 |
var href = jQuery(this).attr('href');
|
30 |
href = href.substring(1, href.length);
|
31 |
jQuery('#tabid').val(href);
|
32 |
});
|
33 |
-
jQuery('#tabs').css('display', 'block');
|
34 |
|
35 |
// setup media uploader
|
36 |
jQuery('a.media-upload').each(function(){
|
@@ -48,7 +48,7 @@
|
|
48 |
});
|
49 |
|
50 |
// setup visual editor
|
51 |
-
jQuery('#tabs a.thickbox').each(function(){
|
52 |
jQuery(this).click(function(){
|
53 |
window.send_to_editor = send;
|
54 |
});
|
11 |
<script type="text/javascript">
|
12 |
window.scrollTo(0,0);
|
13 |
var send = window.send_to_editor;
|
14 |
+
var hacks = new totalhacks();
|
15 |
jQuery('#tabid').val(location.hash.substring(1, location.hash.length));
|
16 |
|
17 |
// setup tab menu
|
18 |
+
jQuery('#total-hacks-tabs .total-hacks-tab').each(function(){
|
19 |
var id = jQuery(this).attr("id");
|
20 |
var txt = jQuery(jQuery('h3', this).get(0)).text();
|
21 |
var li = jQuery('<li><a href="#'+id+'"><span>'+txt+'</span></a></li>');
|
22 |
jQuery('#menu').append(li);
|
23 |
});
|
24 |
jQuery(function(){
|
25 |
+
jQuery("#total-hacks-tabs").tabs({fx:{opacity:'toggle', duration:'fast'}});
|
26 |
+
jQuery("#total-hacks-tabs h3").css('display', 'none');
|
27 |
});
|
28 |
jQuery("#menu a").click(function(){
|
29 |
var href = jQuery(this).attr('href');
|
30 |
href = href.substring(1, href.length);
|
31 |
jQuery('#tabid').val(href);
|
32 |
});
|
33 |
+
jQuery('#total-hacks-tabs').css('display', 'block');
|
34 |
|
35 |
// setup media uploader
|
36 |
jQuery('a.media-upload').each(function(){
|
48 |
});
|
49 |
|
50 |
// setup visual editor
|
51 |
+
jQuery('#total-hacks-tabs a.thickbox').each(function(){
|
52 |
jQuery(this).click(function(){
|
53 |
window.send_to_editor = send;
|
54 |
});
|
includes/form/other.php
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<div id="dashboard" class="tab">
|
2 |
<h3><?php _e('Other', 'wp-total-hacks'); ?></h3>
|
3 |
|
4 |
<div class="block">
|
1 |
+
<div id="total-hacks-dashboard" class="total-hacks-tab">
|
2 |
<h3><?php _e('Other', 'wp-total-hacks'); ?></h3>
|
3 |
|
4 |
<div class="block">
|
includes/form/post.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
|
2 |
-
<div id="post" class="tab">
|
3 |
<h3><?php _e('Posts & Pages', 'wp-total-hacks'); ?></h3>
|
4 |
|
5 |
<div class="block">
|
1 |
|
2 |
+
<div id="total-hacks-post" class="total-hacks-tab">
|
3 |
<h3><?php _e('Posts & Pages', 'wp-total-hacks'); ?></h3>
|
4 |
|
5 |
<div class="block">
|
includes/form/sidebar.php
CHANGED
@@ -19,6 +19,6 @@
|
|
19 |
<div class="bside">
|
20 |
<h3><?php _e('Contact', 'wp-total-hacks'); ?></h3>
|
21 |
<ul>
|
22 |
-
<li><a href="http://twitter.com/#!/
|
23 |
</ul>
|
24 |
</div>
|
19 |
<div class="bside">
|
20 |
<h3><?php _e('Contact', 'wp-total-hacks'); ?></h3>
|
21 |
<ul>
|
22 |
+
<li><a href="http://twitter.com/#!/wpist_me">Takayuki Miyauchi</a></li>
|
23 |
</ul>
|
24 |
</div>
|
includes/form/site.php
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
-
<div id="site" class="tab">
|
2 |
<h3><?php _e('Site Settings', 'wp-total-hacks'); ?></h3>
|
3 |
|
4 |
<div class="block">
|
5 |
<h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Add a favicon', 'wp-total-hacks'); ?></h4>
|
6 |
<div class="block_content">
|
7 |
-
<p><?php _e('Please upload .ico image.', 'wp-total-hacks');
|
8 |
<input type="text" id="wfb_favicon" name="wfb_favicon" class="media" value="<?php $this->op('wfb_favicon'); ?>" />
|
9 |
-
<a class="media-upload" href="JavaScript:void(0);" rel="wfb_favicon"><?php _e('Select File', 'wp-total-hacks'); ?></a>
|
|
|
10 |
</div>
|
11 |
</div>
|
12 |
|
1 |
+
<div id="total-hacks-site" class="total-hacks-tab">
|
2 |
<h3><?php _e('Site Settings', 'wp-total-hacks'); ?></h3>
|
3 |
|
4 |
<div class="block">
|
5 |
<h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Add a favicon', 'wp-total-hacks'); ?></h4>
|
6 |
<div class="block_content">
|
7 |
+
<p><?php _e('Please upload .ico image.', 'wp-total-hacks'); ?><br />
|
8 |
<input type="text" id="wfb_favicon" name="wfb_favicon" class="media" value="<?php $this->op('wfb_favicon'); ?>" />
|
9 |
+
<a class="media-upload" href="JavaScript:void(0);" rel="wfb_favicon"><?php _e('Select File', 'wp-total-hacks'); ?></a></p>
|
10 |
+
<p><?php $this->sel('wfb_admin_favicon'); ?> <?php _e('Use this favicon with administration screens.', 'wp-total-hacks'); ?></p>
|
11 |
</div>
|
12 |
</div>
|
13 |
|
js/{wfb-upload.js → wp-total-hacks-upload.js}
RENAMED
File without changes
|
js/{wp-biz.js → wp-total-hacks.js}
RENAMED
@@ -1,6 +1,6 @@
|
|
1 |
-
function
|
2 |
var self = this;
|
3 |
-
jQuery('#tabs h4').each(function(){
|
4 |
jQuery(this).bind('click', self, self.click);
|
5 |
var p = jQuery(jQuery(this).parent().get(0));
|
6 |
if (self.getStatus(p)) {
|
@@ -10,7 +10,7 @@ function wpbiz() {
|
|
10 |
});
|
11 |
}
|
12 |
|
13 |
-
|
14 |
{
|
15 |
var p = jQuery(this).parent().get(0);
|
16 |
var content = jQuery('.block_content', p).get(0);
|
@@ -27,7 +27,7 @@ wpbiz.prototype.click = function(e)
|
|
27 |
}
|
28 |
}
|
29 |
|
30 |
-
|
31 |
{
|
32 |
jQuery('#poststuff').attr("id", "");
|
33 |
jQuery('#postdivrich').attr("id", "");
|
@@ -36,7 +36,7 @@ wpbiz.prototype.reset = function()
|
|
36 |
jQuery('h4').attr('class', '');
|
37 |
}
|
38 |
|
39 |
-
|
40 |
{
|
41 |
var flag = false;
|
42 |
jQuery('input[type="checkbox"]', o).each(function(){
|
1 |
+
function totalhacks() {
|
2 |
var self = this;
|
3 |
+
jQuery('#total-hacks-tabs h4').each(function(){
|
4 |
jQuery(this).bind('click', self, self.click);
|
5 |
var p = jQuery(jQuery(this).parent().get(0));
|
6 |
if (self.getStatus(p)) {
|
10 |
});
|
11 |
}
|
12 |
|
13 |
+
totalhacks.prototype.click = function(e)
|
14 |
{
|
15 |
var p = jQuery(this).parent().get(0);
|
16 |
var content = jQuery('.block_content', p).get(0);
|
27 |
}
|
28 |
}
|
29 |
|
30 |
+
totalhacks.prototype.reset = function()
|
31 |
{
|
32 |
jQuery('#poststuff').attr("id", "");
|
33 |
jQuery('#postdivrich').attr("id", "");
|
36 |
jQuery('h4').attr('class', '');
|
37 |
}
|
38 |
|
39 |
+
totalhacks.prototype.getStatus = function(o)
|
40 |
{
|
41 |
var flag = false;
|
42 |
jQuery('input[type="checkbox"]', o).each(function(){
|
languages/wp-total-hacks-be_BY.mo
CHANGED
Binary file
|
languages/wp-total-hacks-be_BY.po
CHANGED
@@ -51,8 +51,8 @@ msgid "Change admin header logo"
|
|
51 |
msgstr "Змяніць лагатып у загалоўку админинтерфейса"
|
52 |
|
53 |
#: ../includes/form/appearance.php:8
|
54 |
-
msgid "Upload
|
55 |
-
msgstr "Загрузіць малюнак (
|
56 |
|
57 |
#: ../includes/form/appearance.php:16
|
58 |
msgid "Change admin footer text"
|
51 |
msgstr "Змяніць лагатып у загалоўку админинтерфейса"
|
52 |
|
53 |
#: ../includes/form/appearance.php:8
|
54 |
+
msgid "Upload %s x %s pixel image for admin header logo."
|
55 |
+
msgstr "Загрузіць малюнак (%s x %spx) для лагатыпа ў загалоўку админинтерфейса."
|
56 |
|
57 |
#: ../includes/form/appearance.php:16
|
58 |
msgid "Change admin footer text"
|
languages/wp-total-hacks-de_DE.mo
CHANGED
Binary file
|
languages/wp-total-hacks-de_DE.po
CHANGED
@@ -48,8 +48,8 @@ msgid "Change admin header logo"
|
|
48 |
msgstr "Admin-Kopfzeilenlogo ändern"
|
49 |
|
50 |
#: ../includes/form/appearance.php:8
|
51 |
-
msgid "Upload
|
52 |
-
msgstr "Lade ein Kopfzeilenlogo hoch (Bilddatei,
|
53 |
|
54 |
#: ../includes/form/appearance.php:16
|
55 |
msgid "Change admin footer text"
|
48 |
msgstr "Admin-Kopfzeilenlogo ändern"
|
49 |
|
50 |
#: ../includes/form/appearance.php:8
|
51 |
+
msgid "Upload %s x %s pixel image for admin header logo."
|
52 |
+
msgstr "Lade ein Kopfzeilenlogo hoch (Bilddatei, %s*%s Pixel)."
|
53 |
|
54 |
#: ../includes/form/appearance.php:16
|
55 |
msgid "Change admin footer text"
|
languages/wp-total-hacks-it_IT.mo
CHANGED
Binary file
|
languages/wp-total-hacks-it_IT.po
CHANGED
@@ -47,8 +47,8 @@ msgid "Change admin header logo"
|
|
47 |
msgstr "Cambia logo in testata amministrazione"
|
48 |
|
49 |
#: ../includes/form/appearance.php:8
|
50 |
-
msgid "Upload
|
51 |
-
msgstr "Carica immagine
|
52 |
|
53 |
#: ../includes/form/appearance.php:16
|
54 |
msgid "Change admin footer text"
|
47 |
msgstr "Cambia logo in testata amministrazione"
|
48 |
|
49 |
#: ../includes/form/appearance.php:8
|
50 |
+
msgid "Upload %s x %s pixel image for admin header logo."
|
51 |
+
msgstr "Carica immagine %s x %s pixel per logo amministrazione"
|
52 |
|
53 |
#: ../includes/form/appearance.php:16
|
54 |
msgid "Change admin footer text"
|
languages/wp-total-hacks-ja.mo
CHANGED
Binary file
|
languages/wp-total-hacks-ja.po
CHANGED
@@ -8,7 +8,7 @@ msgid ""
|
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: PACKAGE VERSION\n"
|
10 |
"Report-Msgid-Bugs-To: \n"
|
11 |
-
"POT-Creation-Date: 2011-
|
12 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -17,25 +17,25 @@ msgstr ""
|
|
17 |
"Content-Type: text/plain; charset=utf-8\n"
|
18 |
"Content-Transfer-Encoding: 8bit\n"
|
19 |
|
20 |
-
#: ../includes/admin.php:
|
21 |
#: ../includes/form/appearance.php:35 ../includes/form/site.php:9
|
22 |
-
#: ../includes/form/site.php:
|
23 |
msgid "Select File"
|
24 |
msgstr "ファイルを選択"
|
25 |
|
26 |
-
#: ../includes/admin.php:
|
27 |
msgid "Saved."
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: ../includes/admin.php:
|
31 |
msgid "Save Changes"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: ../includes/admin.php:
|
35 |
msgid "Deactivate"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: ../includes/admin.php:
|
39 |
msgid "Activate"
|
40 |
msgstr ""
|
41 |
|
@@ -48,8 +48,9 @@ msgid "Change admin header logo"
|
|
48 |
msgstr "管理画面のヘッダーのロゴを変更"
|
49 |
|
50 |
#: ../includes/form/appearance.php:8
|
51 |
-
|
52 |
-
|
|
|
53 |
|
54 |
#: ../includes/form/appearance.php:16
|
55 |
msgid "Change admin footer text"
|
@@ -227,19 +228,23 @@ msgstr "Faviconを追加"
|
|
227 |
msgid "Please upload .ico image."
|
228 |
msgstr ".ico 画像をアップロードしてください。"
|
229 |
|
230 |
-
#: ../includes/form/site.php:
|
|
|
|
|
|
|
|
|
231 |
msgid "Add a apple-touch-icon"
|
232 |
msgstr "apple-touch-icon を追加"
|
233 |
|
234 |
-
#: ../includes/form/site.php:
|
235 |
msgid "Please upload .png image."
|
236 |
msgstr ".png 画像をアップロードしてください。"
|
237 |
|
238 |
-
#: ../includes/form/site.php:
|
239 |
msgid "Remove \"wlwmanifest\" and \"xmlrpc\" from meta."
|
240 |
msgstr "\"wlwmanifest\" と \"xmlrpc\" の自動削除"
|
241 |
|
242 |
-
#: ../includes/form/site.php:
|
243 |
#, php-format
|
244 |
msgid ""
|
245 |
"If you don't use \"<a href=\"%s\">Remote Publishing</a>\", remove "
|
@@ -248,11 +253,11 @@ msgstr ""
|
|
248 |
"もし、\"<a href=\"%s\">リモート投稿</a>\" を使用しないなら、不必要なタグを "
|
249 |
"head から取り除きます。"
|
250 |
|
251 |
-
#: ../includes/form/site.php:
|
252 |
msgid "Remove adjacent posts rel links from head on Pages"
|
253 |
msgstr "前後の投稿へのリンクをページで無効化"
|
254 |
|
255 |
-
#: ../includes/form/site.php:
|
256 |
msgid ""
|
257 |
"Remove adjacent posts rel links from head on Pages.<br /><span class=\"ex"
|
258 |
"\">e.g. <link rel=\"next\" ...> <link rel=\"prev\" ...></span>"
|
@@ -260,11 +265,11 @@ msgstr ""
|
|
260 |
"前後の投稿へのリンクをページで無効にする。<br /><span class=\"ex\">e.g. <"
|
261 |
"link rel=\"next\" ...> <link rel=\"prev\" ...></span>"
|
262 |
|
263 |
-
#: ../includes/form/site.php:
|
264 |
msgid "Remove version number from head"
|
265 |
msgstr "バージョン情報を head から削除"
|
266 |
|
267 |
-
#: ../includes/form/site.php:
|
268 |
msgid ""
|
269 |
"Remove generator tag from head. <span class=\"ex\">e.g. <meta name="
|
270 |
"\"generator\" content=\"WordPress x.x.x\" /></span>"
|
@@ -272,39 +277,39 @@ msgstr ""
|
|
272 |
"generator タグを head から削除します。<span class=\"ex\">e.g. <meta name="
|
273 |
"\"generator\" content=\"WordPress x.x.x\" /></span>"
|
274 |
|
275 |
-
#: ../includes/form/site.php:
|
276 |
msgid "Remove #more anchor"
|
277 |
msgstr "#more アンカーの削除"
|
278 |
|
279 |
-
#: ../includes/form/site.php:
|
280 |
msgid "Remove #more-xxx anchor from more links."
|
281 |
msgstr "more リンクから、#more-xxx アンカーを削除します。"
|
282 |
|
283 |
-
#: ../includes/form/site.php:
|
284 |
msgid "Remove \"[...]\" from excerpt"
|
285 |
msgstr "抜粋から、[...] を削除"
|
286 |
|
287 |
-
#: ../includes/form/site.php:
|
288 |
msgid "Remove \"[...]\" from output of the_excerpt()."
|
289 |
msgstr "the_excerpt() の出力結果から、[...] を削除します。"
|
290 |
|
291 |
-
#: ../includes/form/site.php:
|
292 |
msgid "Install Google Analytics"
|
293 |
msgstr "Google Analytics をインストール"
|
294 |
|
295 |
-
#: ../includes/form/site.php:
|
296 |
msgid "Add Google analytics code."
|
297 |
msgstr "Google Analytics コードを入力してください。"
|
298 |
|
299 |
-
#: ../includes/form/site.php:
|
300 |
msgid "Exclude user logged in."
|
301 |
msgstr "ログインユーザーには無効にする。"
|
302 |
|
303 |
-
#: ../includes/form/site.php:
|
304 |
msgid "Webmaster Tools Verification"
|
305 |
msgstr "ウェブマスターツールの認証"
|
306 |
|
307 |
-
#: ../includes/form/site.php:
|
308 |
msgid ""
|
309 |
"Enter your meta key \"content\" value to verify your blog with <a href="
|
310 |
"\"https://www.google.com/webmasters/tools/\">Google Webmaster Tools</a>, <a "
|
@@ -316,10 +321,10 @@ msgstr ""
|
|
316 |
"siteexplorer.search.yahoo.com/\">Yahoo! Site Explorer</a>, and <a href="
|
317 |
"\"http://www.bing.com/webmaster\">Bing Webmaster Center</a>."
|
318 |
|
319 |
-
#: ../wp-total-hacks.php:
|
320 |
msgid "Settings"
|
321 |
msgstr "設定"
|
322 |
|
323 |
-
#: ../wp-total-hacks.php:
|
324 |
msgid "Donate"
|
325 |
msgstr "寄付"
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: PACKAGE VERSION\n"
|
10 |
"Report-Msgid-Bugs-To: \n"
|
11 |
+
"POT-Creation-Date: 2011-11-17 21:17+0900\n"
|
12 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
17 |
"Content-Type: text/plain; charset=utf-8\n"
|
18 |
"Content-Transfer-Encoding: 8bit\n"
|
19 |
|
20 |
+
#: ../includes/admin.php:223 ../includes/form/appearance.php:11
|
21 |
#: ../includes/form/appearance.php:35 ../includes/form/site.php:9
|
22 |
+
#: ../includes/form/site.php:19
|
23 |
msgid "Select File"
|
24 |
msgstr "ファイルを選択"
|
25 |
|
26 |
+
#: ../includes/admin.php:356
|
27 |
msgid "Saved."
|
28 |
msgstr ""
|
29 |
|
30 |
+
#: ../includes/admin.php:363
|
31 |
msgid "Save Changes"
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: ../includes/admin.php:408
|
35 |
msgid "Deactivate"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: ../includes/admin.php:410 ../includes/admin.php:412
|
39 |
msgid "Activate"
|
40 |
msgstr ""
|
41 |
|
48 |
msgstr "管理画面のヘッダーのロゴを変更"
|
49 |
|
50 |
#: ../includes/form/appearance.php:8
|
51 |
+
#, php-format
|
52 |
+
msgid "Upload %s x %s pixel image for admin header logo."
|
53 |
+
msgstr "%s x %s ピクセルの画像をアップロードしてください。"
|
54 |
|
55 |
#: ../includes/form/appearance.php:16
|
56 |
msgid "Change admin footer text"
|
228 |
msgid "Please upload .ico image."
|
229 |
msgstr ".ico 画像をアップロードしてください。"
|
230 |
|
231 |
+
#: ../includes/form/site.php:10
|
232 |
+
msgid "Use this favicon with administration screens."
|
233 |
+
msgstr "faviconを管理画面でも使用する。"
|
234 |
+
|
235 |
+
#: ../includes/form/site.php:15
|
236 |
msgid "Add a apple-touch-icon"
|
237 |
msgstr "apple-touch-icon を追加"
|
238 |
|
239 |
+
#: ../includes/form/site.php:17
|
240 |
msgid "Please upload .png image."
|
241 |
msgstr ".png 画像をアップロードしてください。"
|
242 |
|
243 |
+
#: ../includes/form/site.php:24
|
244 |
msgid "Remove \"wlwmanifest\" and \"xmlrpc\" from meta."
|
245 |
msgstr "\"wlwmanifest\" と \"xmlrpc\" の自動削除"
|
246 |
|
247 |
+
#: ../includes/form/site.php:26
|
248 |
#, php-format
|
249 |
msgid ""
|
250 |
"If you don't use \"<a href=\"%s\">Remote Publishing</a>\", remove "
|
253 |
"もし、\"<a href=\"%s\">リモート投稿</a>\" を使用しないなら、不必要なタグを "
|
254 |
"head から取り除きます。"
|
255 |
|
256 |
+
#: ../includes/form/site.php:32
|
257 |
msgid "Remove adjacent posts rel links from head on Pages"
|
258 |
msgstr "前後の投稿へのリンクをページで無効化"
|
259 |
|
260 |
+
#: ../includes/form/site.php:34
|
261 |
msgid ""
|
262 |
"Remove adjacent posts rel links from head on Pages.<br /><span class=\"ex"
|
263 |
"\">e.g. <link rel=\"next\" ...> <link rel=\"prev\" ...></span>"
|
265 |
"前後の投稿へのリンクをページで無効にする。<br /><span class=\"ex\">e.g. <"
|
266 |
"link rel=\"next\" ...> <link rel=\"prev\" ...></span>"
|
267 |
|
268 |
+
#: ../includes/form/site.php:40
|
269 |
msgid "Remove version number from head"
|
270 |
msgstr "バージョン情報を head から削除"
|
271 |
|
272 |
+
#: ../includes/form/site.php:42
|
273 |
msgid ""
|
274 |
"Remove generator tag from head. <span class=\"ex\">e.g. <meta name="
|
275 |
"\"generator\" content=\"WordPress x.x.x\" /></span>"
|
277 |
"generator タグを head から削除します。<span class=\"ex\">e.g. <meta name="
|
278 |
"\"generator\" content=\"WordPress x.x.x\" /></span>"
|
279 |
|
280 |
+
#: ../includes/form/site.php:48
|
281 |
msgid "Remove #more anchor"
|
282 |
msgstr "#more アンカーの削除"
|
283 |
|
284 |
+
#: ../includes/form/site.php:50
|
285 |
msgid "Remove #more-xxx anchor from more links."
|
286 |
msgstr "more リンクから、#more-xxx アンカーを削除します。"
|
287 |
|
288 |
+
#: ../includes/form/site.php:56
|
289 |
msgid "Remove \"[...]\" from excerpt"
|
290 |
msgstr "抜粋から、[...] を削除"
|
291 |
|
292 |
+
#: ../includes/form/site.php:58
|
293 |
msgid "Remove \"[...]\" from output of the_excerpt()."
|
294 |
msgstr "the_excerpt() の出力結果から、[...] を削除します。"
|
295 |
|
296 |
+
#: ../includes/form/site.php:64
|
297 |
msgid "Install Google Analytics"
|
298 |
msgstr "Google Analytics をインストール"
|
299 |
|
300 |
+
#: ../includes/form/site.php:66
|
301 |
msgid "Add Google analytics code."
|
302 |
msgstr "Google Analytics コードを入力してください。"
|
303 |
|
304 |
+
#: ../includes/form/site.php:73
|
305 |
msgid "Exclude user logged in."
|
306 |
msgstr "ログインユーザーには無効にする。"
|
307 |
|
308 |
+
#: ../includes/form/site.php:78
|
309 |
msgid "Webmaster Tools Verification"
|
310 |
msgstr "ウェブマスターツールの認証"
|
311 |
|
312 |
+
#: ../includes/form/site.php:80
|
313 |
msgid ""
|
314 |
"Enter your meta key \"content\" value to verify your blog with <a href="
|
315 |
"\"https://www.google.com/webmasters/tools/\">Google Webmaster Tools</a>, <a "
|
321 |
"siteexplorer.search.yahoo.com/\">Yahoo! Site Explorer</a>, and <a href="
|
322 |
"\"http://www.bing.com/webmaster\">Bing Webmaster Center</a>."
|
323 |
|
324 |
+
#: ../wp-total-hacks.php:333
|
325 |
msgid "Settings"
|
326 |
msgstr "設定"
|
327 |
|
328 |
+
#: ../wp-total-hacks.php:336
|
329 |
msgid "Donate"
|
330 |
msgstr "寄付"
|
languages/wp-total-hacks-nl_NL.mo
CHANGED
Binary file
|
languages/wp-total-hacks-nl_NL.po
CHANGED
@@ -59,8 +59,8 @@ msgstr "Wijzig admin header logo"
|
|
59 |
|
60 |
# @ wp-total-hacks
|
61 |
#: ../includes/form/appearance.php:8
|
62 |
-
msgid "Upload
|
63 |
-
msgstr "Upload een afbeelding voor de admin header (
|
64 |
|
65 |
# @ wp-total-hacks
|
66 |
#: ../includes/form/appearance.php:16
|
59 |
|
60 |
# @ wp-total-hacks
|
61 |
#: ../includes/form/appearance.php:8
|
62 |
+
msgid "Upload %s x %s pixel image for admin header logo."
|
63 |
+
msgstr "Upload een afbeelding voor de admin header (%s x %s pixel)"
|
64 |
|
65 |
# @ wp-total-hacks
|
66 |
#: ../includes/form/appearance.php:16
|
languages/wp-total-hacks-ru_RU.mo
CHANGED
Binary file
|
languages/wp-total-hacks-ru_RU.po
CHANGED
@@ -49,9 +49,9 @@ msgid "Change admin header logo"
|
|
49 |
msgstr "Изменить логотип в заголовке админинтерфейса"
|
50 |
|
51 |
#: ../includes/form/appearance.php:8
|
52 |
-
msgid "Upload
|
53 |
msgstr ""
|
54 |
-
"Загрузить изображение (
|
55 |
|
56 |
#: ../includes/form/appearance.php:16
|
57 |
msgid "Change admin footer text"
|
49 |
msgstr "Изменить логотип в заголовке админинтерфейса"
|
50 |
|
51 |
#: ../includes/form/appearance.php:8
|
52 |
+
msgid "Upload %s x %s pixel image for admin header logo."
|
53 |
msgstr ""
|
54 |
+
"Загрузить изображение (%s x %spx) для логотипа в заголовке админинтерфейса."
|
55 |
|
56 |
#: ../includes/form/appearance.php:16
|
57 |
msgid "Change admin footer text"
|
languages/wp-total-hacks-tr_TR.mo
CHANGED
Binary file
|
languages/wp-total-hacks-tr_TR.po
CHANGED
@@ -53,8 +53,8 @@ msgid "Change admin header logo"
|
|
53 |
msgstr "Yönetim Alanı Logosunu Değiştir"
|
54 |
|
55 |
#: ../includes/form/appearance.php:8
|
56 |
-
msgid "Upload
|
57 |
-
msgstr "Yönetim alanı logosu için
|
58 |
|
59 |
#: ../includes/form/appearance.php:16
|
60 |
msgid "Change admin footer text"
|
53 |
msgstr "Yönetim Alanı Logosunu Değiştir"
|
54 |
|
55 |
#: ../includes/form/appearance.php:8
|
56 |
+
msgid "Upload %s x %s pixel image for admin header logo."
|
57 |
+
msgstr "Yönetim alanı logosu için %s x %s piksel bir resim yükleyin"
|
58 |
|
59 |
#: ../includes/form/appearance.php:16
|
60 |
msgid "Change admin footer text"
|
languages/wp-total-hacks-zh_CN.mo
CHANGED
Binary file
|
languages/wp-total-hacks-zh_CN.po
CHANGED
@@ -60,8 +60,8 @@ msgid "Change admin header logo"
|
|
60 |
msgstr "修改后台头部 logo"
|
61 |
|
62 |
#: includes/form/appearance.php:8
|
63 |
-
msgid "Upload
|
64 |
-
msgstr "上传
|
65 |
|
66 |
#: includes/form/appearance.php:16
|
67 |
msgid "Change admin footer text"
|
60 |
msgstr "修改后台头部 logo"
|
61 |
|
62 |
#: includes/form/appearance.php:8
|
63 |
+
msgid "Upload %s x %s pixel image for admin header logo."
|
64 |
+
msgstr "上传 %s x %s 像素的图片作为后台头部的 logo。"
|
65 |
|
66 |
#: includes/form/appearance.php:16
|
67 |
msgid "Change admin footer text"
|
languages/wp-total-hacks.pot
CHANGED
@@ -8,7 +8,7 @@ msgid ""
|
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: PACKAGE VERSION\n"
|
10 |
"Report-Msgid-Bugs-To: \n"
|
11 |
-
"POT-Creation-Date: 2011-
|
12 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -17,25 +17,25 @@ msgstr ""
|
|
17 |
"Content-Type: text/plain; charset=CHARSET\n"
|
18 |
"Content-Transfer-Encoding: 8bit\n"
|
19 |
|
20 |
-
#: ../includes/admin.php:
|
21 |
#: ../includes/form/appearance.php:35 ../includes/form/site.php:9
|
22 |
-
#: ../includes/form/site.php:
|
23 |
msgid "Select File"
|
24 |
msgstr ""
|
25 |
|
26 |
-
#: ../includes/admin.php:
|
27 |
msgid "Saved."
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: ../includes/admin.php:
|
31 |
msgid "Save Changes"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: ../includes/admin.php:
|
35 |
msgid "Deactivate"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: ../includes/admin.php:
|
39 |
msgid "Activate"
|
40 |
msgstr ""
|
41 |
|
@@ -48,7 +48,8 @@ msgid "Change admin header logo"
|
|
48 |
msgstr ""
|
49 |
|
50 |
#: ../includes/form/appearance.php:8
|
51 |
-
|
|
|
52 |
msgstr ""
|
53 |
|
54 |
#: ../includes/form/appearance.php:16
|
@@ -224,78 +225,82 @@ msgstr ""
|
|
224 |
msgid "Please upload .ico image."
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: ../includes/form/site.php:
|
|
|
|
|
|
|
|
|
228 |
msgid "Add a apple-touch-icon"
|
229 |
msgstr ""
|
230 |
|
231 |
-
#: ../includes/form/site.php:
|
232 |
msgid "Please upload .png image."
|
233 |
msgstr ""
|
234 |
|
235 |
-
#: ../includes/form/site.php:
|
236 |
msgid "Remove \"wlwmanifest\" and \"xmlrpc\" from meta."
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: ../includes/form/site.php:
|
240 |
#, php-format
|
241 |
msgid ""
|
242 |
"If you don't use \"<a href=\"%s\">Remote Publishing</a>\", remove "
|
243 |
"unnecessary tags from head."
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: ../includes/form/site.php:
|
247 |
msgid "Remove adjacent posts rel links from head on Pages"
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: ../includes/form/site.php:
|
251 |
msgid ""
|
252 |
"Remove adjacent posts rel links from head on Pages.<br /><span class=\"ex"
|
253 |
"\">e.g. <link rel=\"next\" ...> <link rel=\"prev\" ...></span>"
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: ../includes/form/site.php:
|
257 |
msgid "Remove version number from head"
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: ../includes/form/site.php:
|
261 |
msgid ""
|
262 |
"Remove generator tag from head. <span class=\"ex\">e.g. <meta name="
|
263 |
"\"generator\" content=\"WordPress x.x.x\" /></span>"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: ../includes/form/site.php:
|
267 |
msgid "Remove #more anchor"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: ../includes/form/site.php:
|
271 |
msgid "Remove #more-xxx anchor from more links."
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: ../includes/form/site.php:
|
275 |
msgid "Remove \"[...]\" from excerpt"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: ../includes/form/site.php:
|
279 |
msgid "Remove \"[...]\" from output of the_excerpt()."
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: ../includes/form/site.php:
|
283 |
msgid "Install Google Analytics"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: ../includes/form/site.php:
|
287 |
msgid "Add Google analytics code."
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: ../includes/form/site.php:
|
291 |
msgid "Exclude user logged in."
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: ../includes/form/site.php:
|
295 |
msgid "Webmaster Tools Verification"
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: ../includes/form/site.php:
|
299 |
msgid ""
|
300 |
"Enter your meta key \"content\" value to verify your blog with <a href="
|
301 |
"\"https://www.google.com/webmasters/tools/\">Google Webmaster Tools</a>, <a "
|
@@ -303,10 +308,10 @@ msgid ""
|
|
303 |
"and <a href=\"http://www.bing.com/webmaster\">Bing Webmaster Center</a>."
|
304 |
msgstr ""
|
305 |
|
306 |
-
#: ../wp-total-hacks.php:
|
307 |
msgid "Settings"
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: ../wp-total-hacks.php:
|
311 |
msgid "Donate"
|
312 |
msgstr ""
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: PACKAGE VERSION\n"
|
10 |
"Report-Msgid-Bugs-To: \n"
|
11 |
+
"POT-Creation-Date: 2011-11-17 21:17+0900\n"
|
12 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
17 |
"Content-Type: text/plain; charset=CHARSET\n"
|
18 |
"Content-Transfer-Encoding: 8bit\n"
|
19 |
|
20 |
+
#: ../includes/admin.php:223 ../includes/form/appearance.php:11
|
21 |
#: ../includes/form/appearance.php:35 ../includes/form/site.php:9
|
22 |
+
#: ../includes/form/site.php:19
|
23 |
msgid "Select File"
|
24 |
msgstr ""
|
25 |
|
26 |
+
#: ../includes/admin.php:356
|
27 |
msgid "Saved."
|
28 |
msgstr ""
|
29 |
|
30 |
+
#: ../includes/admin.php:363
|
31 |
msgid "Save Changes"
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: ../includes/admin.php:408
|
35 |
msgid "Deactivate"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: ../includes/admin.php:410 ../includes/admin.php:412
|
39 |
msgid "Activate"
|
40 |
msgstr ""
|
41 |
|
48 |
msgstr ""
|
49 |
|
50 |
#: ../includes/form/appearance.php:8
|
51 |
+
#, php-format
|
52 |
+
msgid "Upload %s x %s pixel image for admin header logo."
|
53 |
msgstr ""
|
54 |
|
55 |
#: ../includes/form/appearance.php:16
|
225 |
msgid "Please upload .ico image."
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: ../includes/form/site.php:10
|
229 |
+
msgid "Use this favicon with administration screens."
|
230 |
+
msgstr ""
|
231 |
+
|
232 |
+
#: ../includes/form/site.php:15
|
233 |
msgid "Add a apple-touch-icon"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: ../includes/form/site.php:17
|
237 |
msgid "Please upload .png image."
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: ../includes/form/site.php:24
|
241 |
msgid "Remove \"wlwmanifest\" and \"xmlrpc\" from meta."
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: ../includes/form/site.php:26
|
245 |
#, php-format
|
246 |
msgid ""
|
247 |
"If you don't use \"<a href=\"%s\">Remote Publishing</a>\", remove "
|
248 |
"unnecessary tags from head."
|
249 |
msgstr ""
|
250 |
|
251 |
+
#: ../includes/form/site.php:32
|
252 |
msgid "Remove adjacent posts rel links from head on Pages"
|
253 |
msgstr ""
|
254 |
|
255 |
+
#: ../includes/form/site.php:34
|
256 |
msgid ""
|
257 |
"Remove adjacent posts rel links from head on Pages.<br /><span class=\"ex"
|
258 |
"\">e.g. <link rel=\"next\" ...> <link rel=\"prev\" ...></span>"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: ../includes/form/site.php:40
|
262 |
msgid "Remove version number from head"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: ../includes/form/site.php:42
|
266 |
msgid ""
|
267 |
"Remove generator tag from head. <span class=\"ex\">e.g. <meta name="
|
268 |
"\"generator\" content=\"WordPress x.x.x\" /></span>"
|
269 |
msgstr ""
|
270 |
|
271 |
+
#: ../includes/form/site.php:48
|
272 |
msgid "Remove #more anchor"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: ../includes/form/site.php:50
|
276 |
msgid "Remove #more-xxx anchor from more links."
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: ../includes/form/site.php:56
|
280 |
msgid "Remove \"[...]\" from excerpt"
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: ../includes/form/site.php:58
|
284 |
msgid "Remove \"[...]\" from output of the_excerpt()."
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: ../includes/form/site.php:64
|
288 |
msgid "Install Google Analytics"
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: ../includes/form/site.php:66
|
292 |
msgid "Add Google analytics code."
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: ../includes/form/site.php:73
|
296 |
msgid "Exclude user logged in."
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: ../includes/form/site.php:78
|
300 |
msgid "Webmaster Tools Verification"
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: ../includes/form/site.php:80
|
304 |
msgid ""
|
305 |
"Enter your meta key \"content\" value to verify your blog with <a href="
|
306 |
"\"https://www.google.com/webmasters/tools/\">Google Webmaster Tools</a>, <a "
|
308 |
"and <a href=\"http://www.bing.com/webmaster\">Bing Webmaster Center</a>."
|
309 |
msgstr ""
|
310 |
|
311 |
+
#: ../wp-total-hacks.php:333
|
312 |
msgid "Settings"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: ../wp-total-hacks.php:336
|
316 |
msgid "Donate"
|
317 |
msgstr ""
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== WP Total Hacks ===
|
2 |
Contributors: miyauchi
|
3 |
-
Donate link: http://
|
4 |
Tags: head, post, page, functions.php, admin, logo, auto save, revision, meta box, dashboard
|
5 |
-
Requires at least: 3.
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 0.
|
8 |
|
9 |
WP Total Hacks can customize more than 20 settings on your WordPress Site.
|
10 |
PHP5 is required!
|
@@ -37,9 +37,14 @@ PHP5 is required!
|
|
37 |
* Stop sending pings from your own site to your own site when you write posts.
|
38 |
* And other!
|
39 |
|
|
|
|
|
|
|
|
|
|
|
40 |
= Translators =
|
41 |
|
42 |
-
* Japanese(ja) - [Takayuki Miyauchi](http://
|
43 |
* Italian(it_IT) - [Andrea Bersi](http://www.andreabersi.com/)
|
44 |
* Russian(ru_RU) - [LiVsI](http://lezhnevs.ru/)
|
45 |
* Turkish(tr_TR) - [Serkan Algur](http://www.kaisercrazy.com/)
|
@@ -52,14 +57,16 @@ You can send your own language pack to me.
|
|
52 |
|
53 |
Please contact to me.
|
54 |
|
|
|
|
|
55 |
* @miya0001 on twitter.
|
56 |
-
* http://www.facebook.com/firegoby
|
57 |
* https://github.com/miya0001/wp-total-hacks
|
58 |
|
59 |
= Contributors =
|
60 |
|
61 |
* [Takayuki Miyauchi](http://firegoby.theta.ne.jp/)
|
62 |
* [Felix Kern](http://twitter.com/#!/kernfel)
|
|
|
63 |
|
64 |
|
65 |
== Installation ==
|
@@ -79,6 +86,12 @@ Please contact to me.
|
|
79 |
|
80 |
== Changelog ==
|
81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
= 0.5.1 =
|
83 |
* Chinese support
|
84 |
|
1 |
=== WP Total Hacks ===
|
2 |
Contributors: miyauchi
|
3 |
+
Donate link: http://wpist.me/
|
4 |
Tags: head, post, page, functions.php, admin, logo, auto save, revision, meta box, dashboard
|
5 |
+
Requires at least: 3.2
|
6 |
+
Tested up to: 3.3
|
7 |
+
Stable tag: 0.6.0
|
8 |
|
9 |
WP Total Hacks can customize more than 20 settings on your WordPress Site.
|
10 |
PHP5 is required!
|
37 |
* Stop sending pings from your own site to your own site when you write posts.
|
38 |
* And other!
|
39 |
|
40 |
+
= Support =
|
41 |
+
|
42 |
+
* English - http://wpist.me/wp/wp-total-hacks/
|
43 |
+
* Japanese - http://firegoby.theta.ne.jp/wp/wp-total-hacks
|
44 |
+
|
45 |
= Translators =
|
46 |
|
47 |
+
* Japanese(ja) - [Takayuki Miyauchi](http://wpist.me/)
|
48 |
* Italian(it_IT) - [Andrea Bersi](http://www.andreabersi.com/)
|
49 |
* Russian(ru_RU) - [LiVsI](http://lezhnevs.ru/)
|
50 |
* Turkish(tr_TR) - [Serkan Algur](http://www.kaisercrazy.com/)
|
57 |
|
58 |
Please contact to me.
|
59 |
|
60 |
+
* http://wpist.me/ (en)
|
61 |
+
* http://firegoby.theta.ne.jp/ (ja)
|
62 |
* @miya0001 on twitter.
|
|
|
63 |
* https://github.com/miya0001/wp-total-hacks
|
64 |
|
65 |
= Contributors =
|
66 |
|
67 |
* [Takayuki Miyauchi](http://firegoby.theta.ne.jp/)
|
68 |
* [Felix Kern](http://twitter.com/#!/kernfel)
|
69 |
+
* [Mako](http://profiles.wordpress.org/users/mako09)
|
70 |
|
71 |
|
72 |
== Installation ==
|
86 |
|
87 |
== Changelog ==
|
88 |
|
89 |
+
= 0.6.0 =
|
90 |
+
* http://wpist.me/2011/11/17/wp-total-hacks-0-6-0/
|
91 |
+
|
92 |
+
= 0.5.2 =
|
93 |
+
* Belarusian support
|
94 |
+
|
95 |
= 0.5.1 =
|
96 |
* Chinese support
|
97 |
|
wp-total-hacks.php
CHANGED
@@ -2,11 +2,11 @@
|
|
2 |
/*
|
3 |
Plugin Name: WP Total Hacks
|
4 |
Author: Takayuki Miyauchi
|
5 |
-
Plugin URI: http://
|
6 |
Description: WP Total Hacks can customize your WordPress.
|
7 |
Author: Takayuki Miyauchi
|
8 |
-
Version: 0.
|
9 |
-
Author URI: http://
|
10 |
Domain Path: /languages
|
11 |
Text Domain: wp-total-hacks
|
12 |
*/
|
@@ -16,11 +16,48 @@ new TotalHacks();
|
|
16 |
|
17 |
class TotalHacks {
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
public function __construct()
|
20 |
{
|
21 |
if (is_admin()) {
|
22 |
require_once(dirname(__FILE__).'/includes/admin.php');
|
23 |
-
new TotalHacksAdmin(
|
|
|
|
|
|
|
24 |
}
|
25 |
if (strlen($this->op('wfb_revision'))) {
|
26 |
if (!defined('WP_POST_REVISIONS')) {
|
@@ -209,6 +246,10 @@ public function wp_head()
|
|
209 |
|
210 |
public function admin_head()
|
211 |
{
|
|
|
|
|
|
|
|
|
212 |
if (!$this->op("wfb_custom_logo")) {
|
213 |
return;
|
214 |
}
|
2 |
/*
|
3 |
Plugin Name: WP Total Hacks
|
4 |
Author: Takayuki Miyauchi
|
5 |
+
Plugin URI: http://wpist.me/wp/wp-total-hacks/
|
6 |
Description: WP Total Hacks can customize your WordPress.
|
7 |
Author: Takayuki Miyauchi
|
8 |
+
Version: 0.6.0
|
9 |
+
Author URI: http://wpist.me/
|
10 |
Domain Path: /languages
|
11 |
Text Domain: wp-total-hacks
|
12 |
*/
|
16 |
|
17 |
class TotalHacks {
|
18 |
|
19 |
+
private $option_params = array(
|
20 |
+
'wfb_google_analytics' => 'text',
|
21 |
+
'wfb_favicon' => 'url',
|
22 |
+
'wfb_admin_favicon' => 'bool',
|
23 |
+
'wfb_apple_icon' => 'url',
|
24 |
+
'wfb_hide_version' => 'bool',
|
25 |
+
'wfb_google' => 'text',
|
26 |
+
'wfb_yahoo' => 'text',
|
27 |
+
'wfb_bing' => 'text',
|
28 |
+
'wfb_hide_custom_fields' => 'bool',
|
29 |
+
'wfb_revision' => 'int',
|
30 |
+
'wfb_autosave' => 'bool',
|
31 |
+
'wfb_selfping' => 'bool',
|
32 |
+
'wfb_widget' => 'array',
|
33 |
+
'wfb_custom_logo' => 'url',
|
34 |
+
'wfb_admin_footer_text' => 'html',
|
35 |
+
'wfb_login_logo' => 'url',
|
36 |
+
'wfb_login_url' => 'url',
|
37 |
+
'wfb_login_title' => 'text',
|
38 |
+
'wfb_webmaster' => 'bool',
|
39 |
+
'wfb_remove_xmlrpc' => 'bool',
|
40 |
+
'wfb_exclude_loggedin' => 'bool',
|
41 |
+
'wfb_adjacent_posts_rel_links' => 'bool',
|
42 |
+
'wfb_remove_more' => 'bool',
|
43 |
+
'wfb_pageexcerpt' => 'bool',
|
44 |
+
'wfb_postmetas' => 'array',
|
45 |
+
'wfb_pagemetas' => 'array',
|
46 |
+
'wfb_emailaddress' => 'email',
|
47 |
+
'wfb_sendername' => 'text',
|
48 |
+
'wfb_contact_methods' => 'array',
|
49 |
+
'wfb_remove_excerpt' => 'bool',
|
50 |
+
'wfb_update_notification' => 'bool',
|
51 |
+
);
|
52 |
+
|
53 |
public function __construct()
|
54 |
{
|
55 |
if (is_admin()) {
|
56 |
require_once(dirname(__FILE__).'/includes/admin.php');
|
57 |
+
new TotalHacksAdmin(
|
58 |
+
WP_PLUGIN_URL.'/'.dirname(plugin_basename(__FILE__)),
|
59 |
+
$this->option_params
|
60 |
+
);
|
61 |
}
|
62 |
if (strlen($this->op('wfb_revision'))) {
|
63 |
if (!defined('WP_POST_REVISIONS')) {
|
246 |
|
247 |
public function admin_head()
|
248 |
{
|
249 |
+
if ($this->op('wfb_favicon') && $this->op('wfb_admin_favicon')) {
|
250 |
+
$link = '<link rel="Shortcut Icon" type="image/x-icon" href="%s" />'."\n";
|
251 |
+
printf($link, esc_url($this->op("wfb_favicon")));
|
252 |
+
}
|
253 |
if (!$this->op("wfb_custom_logo")) {
|
254 |
return;
|
255 |
}
|