Version Description
- Technical and visual support for WordPress 3.5
- Modification of the file structure: from
xyz.dev.css
toxyz.min.css
- Retina screenshot
Download this release
Release Info
Developer | sergej.mueller |
Plugin | Antispam Bee |
Version | 2.4.4 |
Comparing to | |
See all releases |
Code changes from version 2.4.3 to 2.4.4
- antispam_bee.php +19 -19
- css/dashboard.css +4 -1
- css/dashboard.dev.css +0 -4
- css/dashboard.min.css +1 -0
- css/style.css +0 -1
- css/{style.dev.css → styles.css} +16 -2
- css/styles.min.css +1 -0
- inc/gui.class.php +12 -10
- js/dashboard.dev.js +0 -62
- js/dashboard.js +62 -3
- js/dashboard.min.js +3 -0
- js/script.js +0 -2
- js/{script.dev.js → scripts.js} +6 -2
- js/scripts.min.js +2 -0
- lang/antispam_bee-de_DE.mo +0 -0
- lang/antispam_bee-de_DE.po +3 -0
- lang/antispam_bee-nl_NL.mo +0 -0
- lang/antispam_bee-nl_NL.po +190 -0
- readme.txt +12 -3
- screenshot-1.png +0 -0
antispam_bee.php
CHANGED
@@ -5,9 +5,9 @@ Text Domain: antispam_bee
|
|
5 |
Domain Path: /lang
|
6 |
Description: Easy and extremely productive spam-fighting plugin with many sophisticated solutions. Includes protection again trackback spam.
|
7 |
Author: Sergej Müller
|
8 |
-
Author URI: http://
|
9 |
Plugin URI: http://antispambee.com
|
10 |
-
Version: 2.4.
|
11 |
*/
|
12 |
|
13 |
|
@@ -433,25 +433,25 @@ class Antispam_Bee {
|
|
433 |
* Meta-Links des Plugins
|
434 |
*
|
435 |
* @since 0.1
|
436 |
-
* @change 2.4.
|
437 |
*
|
438 |
-
* @param array $
|
439 |
-
* @param string $
|
440 |
-
* @return array $data
|
441 |
*/
|
442 |
|
443 |
-
public static function init_row_meta($
|
444 |
{
|
445 |
/* Rechte */
|
446 |
-
if ( $
|
447 |
-
return $
|
448 |
}
|
449 |
|
450 |
return array_merge(
|
451 |
-
$
|
452 |
array(
|
453 |
-
'<a href="
|
454 |
-
'<a href="https://
|
455 |
)
|
456 |
);
|
457 |
}
|
@@ -509,7 +509,7 @@ class Antispam_Bee {
|
|
509 |
* Registrierung von Ressourcen (CSS & JS)
|
510 |
*
|
511 |
* @since 1.6
|
512 |
-
* @change 2.4
|
513 |
*/
|
514 |
|
515 |
public static function init_plugin_sources()
|
@@ -520,7 +520,7 @@ class Antispam_Bee {
|
|
520 |
/* JS einbinden */
|
521 |
wp_register_script(
|
522 |
'ab_script',
|
523 |
-
plugins_url('js/
|
524 |
array('jquery', 'jquery-ui-core', 'jquery-ui-tabs'),
|
525 |
$plugin['Version']
|
526 |
);
|
@@ -528,7 +528,7 @@ class Antispam_Bee {
|
|
528 |
/* CSS einbinden */
|
529 |
wp_register_style(
|
530 |
'ab_style',
|
531 |
-
plugins_url('css/
|
532 |
array(),
|
533 |
$plugin['Version']
|
534 |
);
|
@@ -705,7 +705,7 @@ class Antispam_Bee {
|
|
705 |
* Ausgabe der Dashboard-CSS
|
706 |
*
|
707 |
* @since 1.9
|
708 |
-
* @change 2.4
|
709 |
*/
|
710 |
|
711 |
public static function add_dashboard_style()
|
@@ -716,7 +716,7 @@ class Antispam_Bee {
|
|
716 |
/* CSS registrieren */
|
717 |
wp_register_style(
|
718 |
'ab_chart',
|
719 |
-
plugins_url('css/dashboard.css', __FILE__),
|
720 |
array(),
|
721 |
$plugin['Version']
|
722 |
);
|
@@ -730,7 +730,7 @@ class Antispam_Bee {
|
|
730 |
* Ausgabe der Dashboard-JS
|
731 |
*
|
732 |
* @since 1.9
|
733 |
-
* @change 2.4
|
734 |
*/
|
735 |
|
736 |
public static function add_dashboard_script()
|
@@ -779,7 +779,7 @@ class Antispam_Bee {
|
|
779 |
/* JS einbinden */
|
780 |
wp_register_script(
|
781 |
'ab_chart',
|
782 |
-
plugins_url('js/dashboard.js', __FILE__),
|
783 |
array('jquery'),
|
784 |
$plugin['Version']
|
785 |
);
|
5 |
Domain Path: /lang
|
6 |
Description: Easy and extremely productive spam-fighting plugin with many sophisticated solutions. Includes protection again trackback spam.
|
7 |
Author: Sergej Müller
|
8 |
+
Author URI: http://wpcoder.de
|
9 |
Plugin URI: http://antispambee.com
|
10 |
+
Version: 2.4.4
|
11 |
*/
|
12 |
|
13 |
|
433 |
* Meta-Links des Plugins
|
434 |
*
|
435 |
* @since 0.1
|
436 |
+
* @change 2.4.4
|
437 |
*
|
438 |
+
* @param array $input Bereits vorhandene Links
|
439 |
+
* @param string $file Aktuelle Seite
|
440 |
+
* @return array $data Modifizierte Links
|
441 |
*/
|
442 |
|
443 |
+
public static function init_row_meta($input, $file)
|
444 |
{
|
445 |
/* Rechte */
|
446 |
+
if ( $file != self::$base ) {
|
447 |
+
return $input;
|
448 |
}
|
449 |
|
450 |
return array_merge(
|
451 |
+
$input,
|
452 |
array(
|
453 |
+
'<a href="https://flattr.com/donation/give/to/sergej.mueller" target="_blank">Flattr</a>',
|
454 |
+
'<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5RDDW9FEHGLG6" target="_blank">PayPal</a>'
|
455 |
)
|
456 |
);
|
457 |
}
|
509 |
* Registrierung von Ressourcen (CSS & JS)
|
510 |
*
|
511 |
* @since 1.6
|
512 |
+
* @change 2.4.4
|
513 |
*/
|
514 |
|
515 |
public static function init_plugin_sources()
|
520 |
/* JS einbinden */
|
521 |
wp_register_script(
|
522 |
'ab_script',
|
523 |
+
plugins_url('js/scripts.min.js', __FILE__),
|
524 |
array('jquery', 'jquery-ui-core', 'jquery-ui-tabs'),
|
525 |
$plugin['Version']
|
526 |
);
|
528 |
/* CSS einbinden */
|
529 |
wp_register_style(
|
530 |
'ab_style',
|
531 |
+
plugins_url('css/styles.min.css', __FILE__),
|
532 |
array(),
|
533 |
$plugin['Version']
|
534 |
);
|
705 |
* Ausgabe der Dashboard-CSS
|
706 |
*
|
707 |
* @since 1.9
|
708 |
+
* @change 2.4.4
|
709 |
*/
|
710 |
|
711 |
public static function add_dashboard_style()
|
716 |
/* CSS registrieren */
|
717 |
wp_register_style(
|
718 |
'ab_chart',
|
719 |
+
plugins_url('css/dashboard.min.css', __FILE__),
|
720 |
array(),
|
721 |
$plugin['Version']
|
722 |
);
|
730 |
* Ausgabe der Dashboard-JS
|
731 |
*
|
732 |
* @since 1.9
|
733 |
+
* @change 2.4.4
|
734 |
*/
|
735 |
|
736 |
public static function add_dashboard_script()
|
779 |
/* JS einbinden */
|
780 |
wp_register_script(
|
781 |
'ab_chart',
|
782 |
+
plugins_url('js/dashboard.min.js', __FILE__),
|
783 |
array('jquery'),
|
784 |
$plugin['Version']
|
785 |
);
|
css/dashboard.css
CHANGED
@@ -1 +1,4 @@
|
|
1 |
-
#ab_chart{
|
|
|
|
|
|
1 |
+
#ab_chart {
|
2 |
+
color: #aaa;
|
3 |
+
height: 120px;
|
4 |
+
}
|
css/dashboard.dev.css
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
#ab_chart {
|
2 |
-
color: #aaa;
|
3 |
-
height: 120px;
|
4 |
-
}
|
|
|
|
|
|
|
|
css/dashboard.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
#ab_chart{color:#aaa;height:120px;}
|
css/style.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
#icon-ab{top:-8px;left:0;width:32px;height:32px;position:absolute;background:url('../img/icon@2x.png');background-size:100%;}#ab_main{position:relative;}#ab_main .table{width:460px;height:1%;margin:20px 0 0 -10px;}#ab_main .hr{width:283px;margin:10px 0 10px 10px;border-top:1px dotted #dfdfdf;}#ab_main .related tr{display:none;}#ab_main .related tr:first-child{display:table-row;}#ab_main .form-table{margin:0;}#ab_main .form-table th{width:250px;padding-top:8px;vertical-align:middle;}#ab_main .form-table label{text-shadow:none;}#ab_main .form-table small{color:#aaa;}#ab_main .form-table .maxi-text,#ab_main .form-table .maxi-select{width:160px;}#ab_main .form-table .mini-select option{padding-right:6px;}#ab_main select[multiple]{height:60px;}#ab_main .submit{width:431px;height:1%;margin:20px 0 0;padding:15px 0 0;overflow:hidden;border-top:1px solid #bebebe;}#ab_main .submit .help{float:left;color:#bebebe;font-size:11px;line-height:23px;}#ab_main .submit .button-primary{float:right;}#ab_main .nav-tab-wrapper{height:35px;margin:13px 0 0;padding:0 0 0 44px;border-bottom:1px solid #ccc;}#ab_main .nav-tab-wrapper li{float:left;margin:0;padding:0;}#ab_main .nav-tab-wrapper h2{padding:0;}#ab_main .nav-tab-wrapper a{color:#AAA;height:24px;}#ab_main .ui-tabs-selected a{color:#464646;border-color:#ccc;border-bottom:1px solid #fff;}.ui-tabs .ui-tabs-hide{display:none;}#message{display:none;}#setting-error-settings_updated{top:0;right:0;margin:0;padding:1px 10px 0;position:absolute;animation:blink 1s cubic-bezier(1,0,0,1) 2;-moz-animation:blink 1s cubic-bezier(1,0,0,1) 2;-webkit-animation:blink 1s cubic-bezier(1,0,0,1) 2;}#setting-error-settings_updated p{padding:0;}@keyframes blink{from{opacity:1;}to{opacity:0;}}@-moz-keyframes blink{from{opacity:1;}to{opacity:0;}}@-webkit-keyframes blink{from{opacity:1;}to{opacity:0;}}
|
|
css/{style.dev.css → styles.css}
RENAMED
@@ -60,7 +60,7 @@
|
|
60 |
}
|
61 |
|
62 |
#ab_main select[multiple] {
|
63 |
-
height:
|
64 |
}
|
65 |
|
66 |
#ab_main .submit {
|
@@ -71,12 +71,25 @@
|
|
71 |
overflow: hidden;
|
72 |
border-top: 1px solid #bebebe;
|
73 |
}
|
74 |
-
#ab_main .submit .
|
75 |
float: left;
|
|
|
|
|
|
|
76 |
color: #bebebe;
|
|
|
77 |
font-size: 11px;
|
78 |
line-height: 23px;
|
79 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
#ab_main .submit .button-primary {
|
81 |
float: right;
|
82 |
}
|
@@ -104,6 +117,7 @@
|
|
104 |
color: #AAA;
|
105 |
height: 24px;
|
106 |
}
|
|
|
107 |
#ab_main .ui-tabs-selected a {
|
108 |
color: #464646;
|
109 |
border-color: #ccc;
|
60 |
}
|
61 |
|
62 |
#ab_main select[multiple] {
|
63 |
+
height: 110px;
|
64 |
}
|
65 |
|
66 |
#ab_main .submit {
|
71 |
overflow: hidden;
|
72 |
border-top: 1px solid #bebebe;
|
73 |
}
|
74 |
+
#ab_main .submit .meta {
|
75 |
float: left;
|
76 |
+
margin: 0;
|
77 |
+
}
|
78 |
+
#ab_main .submit .meta a {
|
79 |
color: #bebebe;
|
80 |
+
display: inline-block;
|
81 |
font-size: 11px;
|
82 |
line-height: 23px;
|
83 |
}
|
84 |
+
#ab_main .submit .meta a:before {
|
85 |
+
margin: 0 4px;
|
86 |
+
content: '|';
|
87 |
+
display: inline-block;
|
88 |
+
}
|
89 |
+
#ab_main .submit .meta a:first-child:before {
|
90 |
+
margin: 0;
|
91 |
+
content: '';
|
92 |
+
}
|
93 |
#ab_main .submit .button-primary {
|
94 |
float: right;
|
95 |
}
|
117 |
color: #AAA;
|
118 |
height: 24px;
|
119 |
}
|
120 |
+
#ab_main .ui-tabs-active a,
|
121 |
#ab_main .ui-tabs-selected a {
|
122 |
color: #464646;
|
123 |
border-color: #ccc;
|
css/styles.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
#icon-ab{top:-8px;left:0;width:32px;height:32px;position:absolute;background:url('../img/icon@2x.png');background-size:100%;}#ab_main{position:relative;}#ab_main .table{width:460px;height:1%;margin:20px 0 0 -10px;}#ab_main .hr{width:283px;margin:10px 0 10px 10px;border-top:1px dotted #dfdfdf;}#ab_main .related tr{display:none;}#ab_main .related tr:first-child{display:table-row;}#ab_main .form-table{margin:0;}#ab_main .form-table th{width:250px;padding-top:8px;vertical-align:middle;}#ab_main .form-table label{text-shadow:none;}#ab_main .form-table small{color:#aaa;}#ab_main .form-table .maxi-text,#ab_main .form-table .maxi-select{width:160px;}#ab_main .form-table .mini-select option{padding-right:6px;}#ab_main select[multiple]{height:110px;}#ab_main .submit{width:431px;height:1%;margin:20px 0 0;padding:15px 0 0;overflow:hidden;border-top:1px solid #bebebe;}#ab_main .submit .meta{float:left;margin:0;}#ab_main .submit .meta a{color:#bebebe;display:inline-block;font-size:11px;line-height:23px;}#ab_main .submit .meta a:before{margin:0 4px;content:'|';display:inline-block;}#ab_main .submit .meta a:first-child:before{margin:0;content:'';}#ab_main .submit .button-primary{float:right;}#ab_main .nav-tab-wrapper{height:35px;margin:13px 0 0;padding:0 0 0 44px;border-bottom:1px solid #ccc;}#ab_main .nav-tab-wrapper li{float:left;margin:0;padding:0;}#ab_main .nav-tab-wrapper h2{padding:0;}#ab_main .nav-tab-wrapper a{color:#AAA;height:24px;}#ab_main .ui-tabs-active a,#ab_main .ui-tabs-selected a{color:#464646;border-color:#ccc;border-bottom:1px solid #fff;}.ui-tabs .ui-tabs-hide{display:none;}#message{display:none;}#setting-error-settings_updated{top:0;right:0;margin:0;padding:1px 10px 0;position:absolute;animation:blink 1s cubic-bezier(1,0,0,1) 2;-moz-animation:blink 1s cubic-bezier(1,0,0,1) 2;-webkit-animation:blink 1s cubic-bezier(1,0,0,1) 2;}#setting-error-settings_updated p{padding:0;}@keyframes blink{from{opacity:1;}to{opacity:0;}}@-moz-keyframes blink{from{opacity:1;}to{opacity:0;}}@-webkit-keyframes blink{from{opacity:1;}to{opacity:0;}}
|
inc/gui.class.php
CHANGED
@@ -160,7 +160,7 @@ class Antispam_Bee_GUI extends Antispam_Bee {
|
|
160 |
* Anzeige der GUI
|
161 |
*
|
162 |
* @since 0.1
|
163 |
-
* @change 2.4.
|
164 |
*/
|
165 |
|
166 |
function options_page() { ?>
|
@@ -176,7 +176,7 @@ class Antispam_Bee_GUI extends Antispam_Bee {
|
|
176 |
<?php screen_icon('ab') ?>
|
177 |
|
178 |
<ul class="nav-tab-wrapper">
|
179 |
-
<li
|
180 |
<h2><a href="#ab-tab-general" class="nav-tab"><?php esc_html_e('General', self::$short) ?></a></h2>
|
181 |
</li>
|
182 |
<li>
|
@@ -429,7 +429,7 @@ class Antispam_Bee_GUI extends Antispam_Bee {
|
|
429 |
<?php esc_html_e('Limit on', self::$short) ?> <select name="ab_ignore_type" class="mini-select"><?php foreach(array(1 => 'Comments', 2 => 'Pings') as $key => $value) {
|
430 |
echo '<option value="' .esc_attr($key). '" ';
|
431 |
selected($options['ignore_type'], $key);
|
432 |
-
echo '>' .esc_html__($value). '</option>';
|
433 |
} ?>
|
434 |
</select>
|
435 |
</th>
|
@@ -457,14 +457,16 @@ class Antispam_Bee_GUI extends Antispam_Bee {
|
|
457 |
</div>
|
458 |
|
459 |
|
460 |
-
<
|
461 |
-
|
462 |
-
|
463 |
-
Dokumentation
|
464 |
-
|
465 |
-
|
|
|
|
|
466 |
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
|
467 |
-
</
|
468 |
</form>
|
469 |
</div>
|
470 |
<?php }
|
160 |
* Anzeige der GUI
|
161 |
*
|
162 |
* @since 0.1
|
163 |
+
* @change 2.4.5
|
164 |
*/
|
165 |
|
166 |
function options_page() { ?>
|
176 |
<?php screen_icon('ab') ?>
|
177 |
|
178 |
<ul class="nav-tab-wrapper">
|
179 |
+
<li>
|
180 |
<h2><a href="#ab-tab-general" class="nav-tab"><?php esc_html_e('General', self::$short) ?></a></h2>
|
181 |
</li>
|
182 |
<li>
|
429 |
<?php esc_html_e('Limit on', self::$short) ?> <select name="ab_ignore_type" class="mini-select"><?php foreach(array(1 => 'Comments', 2 => 'Pings') as $key => $value) {
|
430 |
echo '<option value="' .esc_attr($key). '" ';
|
431 |
selected($options['ignore_type'], $key);
|
432 |
+
echo '>' .esc_html__($value, self::$short). '</option>';
|
433 |
} ?>
|
434 |
</select>
|
435 |
</th>
|
457 |
</div>
|
458 |
|
459 |
|
460 |
+
<div class="submit">
|
461 |
+
<p class="meta">
|
462 |
+
<?php if ( get_locale() == 'de_DE' ) { ?>
|
463 |
+
<a href="http://playground.ebiene.de/antispam-bee-wordpress-plugin/" target="_blank">Dokumentation</a>
|
464 |
+
<?php } ?>
|
465 |
+
<a href="https://flattr.com/donation/give/to/sergej.mueller" target="_blank">Flattr</a><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5RDDW9FEHGLG6" target="_blank">PayPal</a>
|
466 |
+
</p>
|
467 |
+
|
468 |
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
|
469 |
+
</div>
|
470 |
</form>
|
471 |
</div>
|
472 |
<?php }
|
js/dashboard.dev.js
DELETED
@@ -1,62 +0,0 @@
|
|
1 |
-
google.load("visualization", "1", {packages:["corechart"]});
|
2 |
-
google.setOnLoadCallback(drawChart);
|
3 |
-
|
4 |
-
function drawChart() {
|
5 |
-
/* Init */
|
6 |
-
var id,
|
7 |
-
rows = [],
|
8 |
-
output = document.getElementById('ab_chart'),
|
9 |
-
data = new google.visualization.DataTable();
|
10 |
-
|
11 |
-
/* Leer? */
|
12 |
-
if ( !output || !antispambee.created.length ) {
|
13 |
-
return;
|
14 |
-
}
|
15 |
-
|
16 |
-
/* Extrahieren */
|
17 |
-
var created = antispambee.created.split(','),
|
18 |
-
count = antispambee.count.split(',');
|
19 |
-
|
20 |
-
/* Loopen */
|
21 |
-
for (id in created) {
|
22 |
-
rows[id] = [created[id], parseInt(count[id], 10)];
|
23 |
-
}
|
24 |
-
|
25 |
-
data.addColumn('string', 'Date');
|
26 |
-
data.addColumn('number', 'Spam');
|
27 |
-
data.addRows(rows);
|
28 |
-
|
29 |
-
var chart = new google.visualization.AreaChart(output);
|
30 |
-
chart.draw(
|
31 |
-
data,
|
32 |
-
{
|
33 |
-
width: parseInt(jQuery('#ab_chart').parent().width(), 10),
|
34 |
-
height: 120,
|
35 |
-
legend: 'none',
|
36 |
-
pointSize: 6,
|
37 |
-
lineWidth: 3,
|
38 |
-
gridlineColor: '#ececec',
|
39 |
-
colors:['#3399CC'],
|
40 |
-
reverseCategories: true,
|
41 |
-
backgroundColor: 'transparent',
|
42 |
-
vAxis: {
|
43 |
-
baselineColor: 'transparent',
|
44 |
-
textPosition: 'in',
|
45 |
-
textStyle: {
|
46 |
-
color: '#8F8F8F',
|
47 |
-
fontSize: 10
|
48 |
-
}
|
49 |
-
},
|
50 |
-
hAxis: {
|
51 |
-
textStyle: {
|
52 |
-
color: '#3399CC',
|
53 |
-
fontSize: 10
|
54 |
-
}
|
55 |
-
},
|
56 |
-
chartArea: {
|
57 |
-
width: "100%",
|
58 |
-
height: "100%"
|
59 |
-
}
|
60 |
-
}
|
61 |
-
);
|
62 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/dashboard.js
CHANGED
@@ -1,3 +1,62 @@
|
|
1 |
-
google.load("visualization","1",{packages:["corechart"]});
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
google.load("visualization", "1", {packages:["corechart"]});
|
2 |
+
google.setOnLoadCallback(drawChart);
|
3 |
+
|
4 |
+
function drawChart() {
|
5 |
+
/* Init */
|
6 |
+
var id,
|
7 |
+
rows = [],
|
8 |
+
output = document.getElementById('ab_chart'),
|
9 |
+
data = new google.visualization.DataTable();
|
10 |
+
|
11 |
+
/* Leer? */
|
12 |
+
if ( !output || !antispambee.created.length ) {
|
13 |
+
return;
|
14 |
+
}
|
15 |
+
|
16 |
+
/* Extrahieren */
|
17 |
+
var created = antispambee.created.split(','),
|
18 |
+
count = antispambee.count.split(',');
|
19 |
+
|
20 |
+
/* Loopen */
|
21 |
+
for (id in created) {
|
22 |
+
rows[id] = [created[id], parseInt(count[id], 10)];
|
23 |
+
}
|
24 |
+
|
25 |
+
data.addColumn('string', 'Date');
|
26 |
+
data.addColumn('number', 'Spam');
|
27 |
+
data.addRows(rows);
|
28 |
+
|
29 |
+
var chart = new google.visualization.AreaChart(output);
|
30 |
+
chart.draw(
|
31 |
+
data,
|
32 |
+
{
|
33 |
+
width: parseInt(jQuery('#ab_chart').parent().width(), 10),
|
34 |
+
height: 120,
|
35 |
+
legend: 'none',
|
36 |
+
pointSize: 6,
|
37 |
+
lineWidth: 3,
|
38 |
+
gridlineColor: '#ececec',
|
39 |
+
colors:['#3399CC'],
|
40 |
+
reverseCategories: true,
|
41 |
+
backgroundColor: 'transparent',
|
42 |
+
vAxis: {
|
43 |
+
baselineColor: 'transparent',
|
44 |
+
textPosition: 'in',
|
45 |
+
textStyle: {
|
46 |
+
color: '#8F8F8F',
|
47 |
+
fontSize: 10
|
48 |
+
}
|
49 |
+
},
|
50 |
+
hAxis: {
|
51 |
+
textStyle: {
|
52 |
+
color: '#3399CC',
|
53 |
+
fontSize: 10
|
54 |
+
}
|
55 |
+
},
|
56 |
+
chartArea: {
|
57 |
+
width: "100%",
|
58 |
+
height: "100%"
|
59 |
+
}
|
60 |
+
}
|
61 |
+
);
|
62 |
+
}
|
js/dashboard.min.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
google.load("visualization","1",{packages:["corechart"]});google.setOnLoadCallback(drawChart);
|
2 |
+
function drawChart(){var a,c=[],d=document.getElementById("ab_chart"),b=new google.visualization.DataTable;if(d&&antispambee.created.length){var e=antispambee.created.split(","),f=antispambee.count.split(",");for(a in e)c[a]=[e[a],parseInt(f[a],10)];b.addColumn("string","Date");b.addColumn("number","Spam");b.addRows(c);(new google.visualization.AreaChart(d)).draw(b,{width:parseInt(jQuery("#ab_chart").parent().width(),10),height:120,legend:"none",pointSize:6,lineWidth:3,gridlineColor:"#ececec",colors:["#3399CC"],
|
3 |
+
reverseCategories:!0,backgroundColor:"transparent",vAxis:{baselineColor:"transparent",textPosition:"in",textStyle:{color:"#8F8F8F",fontSize:10}},hAxis:{textStyle:{color:"#3399CC",fontSize:10}},chartArea:{width:"100%",height:"100%"}})}};
|
js/script.js
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function(a){function c(){a("#ab_main").tabs({select:function(d,b){a("#ab_tab_index").val(b.index)},selected:parseInt(a("#ab_tab_index").val())})}a.fn.abManageOptions=function(){var a=this,b=a.parents("tr").nextAll("tr");b.toggle(0,function(){b.children().find(":input").attr("disabled",!a.attr("checked"))})};a("#ab_main .related tr:first-child :checkbox").click(function(){a(this).abManageOptions()}).filter(":checked").abManageOptions();void 0===jQuery.ui||void 0===jQuery.ui.tabs?
|
2 |
-
a.getScript("http://code.jquery.com/ui/1.8.18/jquery-ui.min.js",c):c();"function"===typeof a.fn.delay&&a("#setting-error-settings_updated").delay(5E3).fadeOut()});
|
|
|
|
js/{script.dev.js → scripts.js}
RENAMED
@@ -13,6 +13,7 @@ jQuery(document).ready(
|
|
13 |
);
|
14 |
}
|
15 |
|
|
|
16 |
/* Tabs steuern */
|
17 |
function abInitTabs() {
|
18 |
$('#ab_main').tabs(
|
@@ -20,11 +21,12 @@ jQuery(document).ready(
|
|
20 |
'select': function(event, ui) {
|
21 |
$('#ab_tab_index').val(ui.index);
|
22 |
},
|
23 |
-
'selected':
|
24 |
}
|
25 |
);
|
26 |
}
|
27 |
|
|
|
28 |
/* Event abwickeln */
|
29 |
$('#ab_main .related tr:first-child :checkbox').click(
|
30 |
function() {
|
@@ -32,16 +34,18 @@ jQuery(document).ready(
|
|
32 |
}
|
33 |
).filter(':checked').abManageOptions();
|
34 |
|
|
|
35 |
/* jQuery UI geladen? */
|
36 |
if ( jQuery.ui === undefined || jQuery.ui.tabs === undefined ) {
|
37 |
$.getScript(
|
38 |
-
'http://code.jquery.com/ui/1.
|
39 |
abInitTabs
|
40 |
);
|
41 |
} else {
|
42 |
abInitTabs();
|
43 |
}
|
44 |
|
|
|
45 |
/* Alert ausblenden */
|
46 |
if ( typeof $.fn.delay === 'function' ) {
|
47 |
$('#setting-error-settings_updated').delay(5000).fadeOut();
|
13 |
);
|
14 |
}
|
15 |
|
16 |
+
|
17 |
/* Tabs steuern */
|
18 |
function abInitTabs() {
|
19 |
$('#ab_main').tabs(
|
21 |
'select': function(event, ui) {
|
22 |
$('#ab_tab_index').val(ui.index);
|
23 |
},
|
24 |
+
'selected': $('#ab_tab_index').val()
|
25 |
}
|
26 |
);
|
27 |
}
|
28 |
|
29 |
+
|
30 |
/* Event abwickeln */
|
31 |
$('#ab_main .related tr:first-child :checkbox').click(
|
32 |
function() {
|
34 |
}
|
35 |
).filter(':checked').abManageOptions();
|
36 |
|
37 |
+
|
38 |
/* jQuery UI geladen? */
|
39 |
if ( jQuery.ui === undefined || jQuery.ui.tabs === undefined ) {
|
40 |
$.getScript(
|
41 |
+
'http://code.jquery.com/ui/1.9.1/jquery-ui.min.js',
|
42 |
abInitTabs
|
43 |
);
|
44 |
} else {
|
45 |
abInitTabs();
|
46 |
}
|
47 |
|
48 |
+
|
49 |
/* Alert ausblenden */
|
50 |
if ( typeof $.fn.delay === 'function' ) {
|
51 |
$('#setting-error-settings_updated').delay(5000).fadeOut();
|
js/scripts.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
jQuery(document).ready(function(a){function c(){a("#ab_main").tabs({select:function(d,b){a("#ab_tab_index").val(b.index)},selected:a("#ab_tab_index").val()})}a.fn.abManageOptions=function(){var a=this,b=a.parents("tr").nextAll("tr");b.toggle(0,function(){b.children().find(":input").attr("disabled",!a.attr("checked"))})};a("#ab_main .related tr:first-child :checkbox").click(function(){a(this).abManageOptions()}).filter(":checked").abManageOptions();void 0===jQuery.ui||void 0===jQuery.ui.tabs?a.getScript("http://code.jquery.com/ui/1.9.1/jquery-ui.min.js",
|
2 |
+
c):c();"function"===typeof a.fn.delay&&a("#setting-error-settings_updated").delay(5E3).fadeOut()});
|
lang/antispam_bee-de_DE.mo
CHANGED
Binary file
|
lang/antispam_bee-de_DE.po
CHANGED
@@ -186,3 +186,6 @@ msgstr "Kommentarformular auf Archivseiten"
|
|
186 |
msgid "Antispam Bee requires WordPress 3.3 and PHP 5.1.2"
|
187 |
msgstr "Antispam Bee setzt WordPress 3.3 und PHP 5.1.2 voraus"
|
188 |
|
|
|
|
|
|
186 |
msgid "Antispam Bee requires WordPress 3.3 and PHP 5.1.2"
|
187 |
msgstr "Antispam Bee setzt WordPress 3.3 und PHP 5.1.2 voraus"
|
188 |
|
189 |
+
msgid "Comments"
|
190 |
+
msgstr "Kommentare"
|
191 |
+
|
lang/antispam_bee-nl_NL.mo
ADDED
Binary file
|
lang/antispam_bee-nl_NL.po
ADDED
@@ -0,0 +1,190 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Antispam Bee\n"
|
4 |
+
"POT-Creation-Date: \n"
|
5 |
+
"PO-Revision-Date: \n"
|
6 |
+
"Last-Translator: Presis <contact@presis.nl>\n"
|
7 |
+
"Language-Team: Sergej Müller\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
12 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
13 |
+
"X-Poedit-Basepath: .\n"
|
14 |
+
"Language: de_DE\n"
|
15 |
+
"X-Generator: Poedit 1.5.4\n"
|
16 |
+
"X-Poedit-SearchPath-0: .\n"
|
17 |
+
|
18 |
+
msgid "No data available."
|
19 |
+
msgstr "Geen gegevens beschikbaar."
|
20 |
+
|
21 |
+
msgid "New spam comment on your post"
|
22 |
+
msgstr "Nieuwe spamreactie op jouw bericht"
|
23 |
+
|
24 |
+
msgid "Advanced"
|
25 |
+
msgstr "Geavanceerd"
|
26 |
+
|
27 |
+
msgid "Filter"
|
28 |
+
msgstr "Filter"
|
29 |
+
|
30 |
+
msgid "General"
|
31 |
+
msgstr "Algemeen"
|
32 |
+
|
33 |
+
msgid "Comment"
|
34 |
+
msgstr "Reactie"
|
35 |
+
|
36 |
+
msgid "Type"
|
37 |
+
msgstr "Soort"
|
38 |
+
|
39 |
+
msgid "Spam Reason"
|
40 |
+
msgstr "Spam reden"
|
41 |
+
|
42 |
+
msgid "Empty Data"
|
43 |
+
msgstr "Lege data"
|
44 |
+
|
45 |
+
msgid "CSS Hack"
|
46 |
+
msgstr "CSS Hack"
|
47 |
+
|
48 |
+
msgid "Server IP"
|
49 |
+
msgstr "Server IP"
|
50 |
+
|
51 |
+
msgid "Spam IP"
|
52 |
+
msgstr "Spam IP"
|
53 |
+
|
54 |
+
msgid "Comment Language"
|
55 |
+
msgstr "Reactie taal"
|
56 |
+
|
57 |
+
msgid "Country Check"
|
58 |
+
msgstr "Land Controle"
|
59 |
+
|
60 |
+
msgid "Honey Pot"
|
61 |
+
msgstr "Honey Pot"
|
62 |
+
|
63 |
+
msgid "as"
|
64 |
+
msgstr "als"
|
65 |
+
|
66 |
+
msgid "iso codes"
|
67 |
+
msgstr "ISO Codes"
|
68 |
+
|
69 |
+
msgid "Approve it"
|
70 |
+
msgstr "Toestaan"
|
71 |
+
|
72 |
+
msgid "Delete it"
|
73 |
+
msgstr "Verwijderen"
|
74 |
+
|
75 |
+
msgid "Trash it"
|
76 |
+
msgstr "Naar prullenbak"
|
77 |
+
|
78 |
+
msgid "Spam list"
|
79 |
+
msgstr "Spamlijst"
|
80 |
+
|
81 |
+
msgid "Notify message by Antispam Bee"
|
82 |
+
msgstr "Notificatie van Antispam Bee"
|
83 |
+
|
84 |
+
msgid "Content removed by Antispam Bee"
|
85 |
+
msgstr "Inhoud verwijderd door Antispam Bee"
|
86 |
+
|
87 |
+
msgid "Last check"
|
88 |
+
msgstr "Laatste controle"
|
89 |
+
|
90 |
+
msgid "Blocked"
|
91 |
+
msgstr "Geblokkeerd"
|
92 |
+
|
93 |
+
msgid "Today"
|
94 |
+
msgstr "Vandaag"
|
95 |
+
|
96 |
+
msgid ""
|
97 |
+
"Easy and extremely productive spam-fighting plugin with many sophisticated "
|
98 |
+
"solutions. Includes protection again trackback spam."
|
99 |
+
msgstr ""
|
100 |
+
"Eenvoudig en extreme effectieve anti-spam plugin met vele geavanceerde "
|
101 |
+
"oplossingen. Inclusief bescherming tegen trackback spam."
|
102 |
+
|
103 |
+
msgid "http://antispambee.com"
|
104 |
+
msgstr "http://antispambee.de"
|
105 |
+
|
106 |
+
# Spam detection
|
107 |
+
msgid "Mark as Spam, do not delete"
|
108 |
+
msgstr "Markeer als spam, verwijder niet"
|
109 |
+
|
110 |
+
msgid "Limit on"
|
111 |
+
msgstr "Limiet op"
|
112 |
+
|
113 |
+
msgid "Spam will be automatically deleted after %s days"
|
114 |
+
msgstr "Spam wordt automatisch verwijderd na %s dagen"
|
115 |
+
|
116 |
+
msgid "Notification by email"
|
117 |
+
msgstr "Bericht via e-mail"
|
118 |
+
|
119 |
+
msgid "Delete comments by spam reasons"
|
120 |
+
msgstr "Verwijder reactie aan de hand van spam reden"
|
121 |
+
|
122 |
+
msgid "Multiple choice or deselection by pressing Ctrl/CMD"
|
123 |
+
msgstr "Selecteer / deselecteer meerdere opties door Ctrl/CMD in te drukken"
|
124 |
+
|
125 |
+
msgid "Hide the "MARKED AS SPAM" note"
|
126 |
+
msgstr "Verberg de "GEMARKEERD ALS SPAM" opmerking"
|
127 |
+
|
128 |
+
msgid "Comment marked as spam"
|
129 |
+
msgstr "Reactie aangemerkt als spam"
|
130 |
+
|
131 |
+
# Block countries
|
132 |
+
msgid "Block comments and pings from specific countries"
|
133 |
+
msgstr "Blokkeer reacties en pings vanuit specifieke landen"
|
134 |
+
|
135 |
+
msgid "Blacklist"
|
136 |
+
msgstr "Zwartelijst"
|
137 |
+
|
138 |
+
msgid "Whitelist"
|
139 |
+
msgstr "Wittelijst"
|
140 |
+
|
141 |
+
msgid "Search comment spammers in the Project Honey Pot"
|
142 |
+
msgstr "Zoek reactie spammers in Project Honey Pot"
|
143 |
+
|
144 |
+
msgid "English"
|
145 |
+
msgstr "Engels"
|
146 |
+
|
147 |
+
msgid "German"
|
148 |
+
msgstr "Duits"
|
149 |
+
|
150 |
+
msgid "French"
|
151 |
+
msgstr "Frans"
|
152 |
+
|
153 |
+
msgid "Italian"
|
154 |
+
msgstr "Italiaans"
|
155 |
+
|
156 |
+
msgid "Spanish"
|
157 |
+
msgstr "Spaans"
|
158 |
+
|
159 |
+
# Translate API
|
160 |
+
msgid "Allow comments only in certain language"
|
161 |
+
msgstr "Sta alleen reacties toe in een bepaalde taal"
|
162 |
+
|
163 |
+
msgid "Language"
|
164 |
+
msgstr "Taal"
|
165 |
+
|
166 |
+
# Extended
|
167 |
+
msgid "Stricter inspection for comments and pings"
|
168 |
+
msgstr "Strikte inspectie voor reacties en pings"
|
169 |
+
|
170 |
+
msgid "Consider comments which are already marked as spam"
|
171 |
+
msgstr "Overweeg opmerkingen die reeds zijn gemarkeerd als spam"
|
172 |
+
|
173 |
+
msgid "Do not check if the comment author has already approved"
|
174 |
+
msgstr "Niet controleren als de auteur van de reactie reeds is toegestaan"
|
175 |
+
|
176 |
+
# Misc
|
177 |
+
msgid "Spam counter on the dashboard"
|
178 |
+
msgstr "Spam teller op het dashboard"
|
179 |
+
|
180 |
+
msgid "Statistics on the dashboard"
|
181 |
+
msgstr "Statistieken op het dashboard"
|
182 |
+
|
183 |
+
msgid "Do not check trackbacks / pingbacks"
|
184 |
+
msgstr "Trackbacks / pingbacks niet controleren"
|
185 |
+
|
186 |
+
msgid "Comment form used outside of posts"
|
187 |
+
msgstr "Reactieformulier wordt gebruikt buiten berichten"
|
188 |
+
|
189 |
+
msgid "Antispam Bee requires WordPress 3.3 and PHP 5.1.2"
|
190 |
+
msgstr "Antispam Bee vereist WordPress 3.3 en PHP 5.1.2"
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: sergej.mueller
|
|
3 |
Tags: antispam, spam, comments, trackback
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5RDDW9FEHGLG6
|
5 |
Requires at least: 3.3
|
6 |
-
Tested up to: 3.
|
7 |
Stable tag: trunk
|
8 |
|
9 |
|
@@ -35,7 +35,7 @@ Antispam Bee is simple to use, has many options and filters. Does not store data
|
|
35 |
* Quick & Dirty: activate, set settings, done!
|
36 |
* Optional strict check for incomming comments
|
37 |
* Block comments and pings from specific countries
|
38 |
-
* WordPress 3.
|
39 |
* Consider comments which are already marked as spam
|
40 |
|
41 |
= Counter =
|
@@ -46,18 +46,27 @@ Antispam Bee is simple to use, has many options and filters. Does not store data
|
|
46 |
* PHP 5.1.2
|
47 |
* WordPress 3.3
|
48 |
|
|
|
|
|
|
|
|
|
|
|
49 |
= Documentation =
|
50 |
* [Antispam Bee: Antispam für WordPress](http://playground.ebiene.de/antispam-bee-wordpress-plugin/ "Antispam für WordPress") (DE)
|
51 |
|
52 |
= Author =
|
53 |
* [Google+](https://plus.google.com/110569673423509816572 "Google+")
|
54 |
* [Plugins](http://wpcoder.de "Plugins")
|
55 |
-
* [Portfolio](http://ebiene.de "Portfolio")
|
56 |
|
57 |
|
58 |
|
59 |
== Changelog ==
|
60 |
|
|
|
|
|
|
|
|
|
|
|
61 |
= 2.4.3 =
|
62 |
* Check for basic requirements
|
63 |
* Remove the sidebar plugin icon
|
3 |
Tags: antispam, spam, comments, trackback
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5RDDW9FEHGLG6
|
5 |
Requires at least: 3.3
|
6 |
+
Tested up to: 3.5
|
7 |
Stable tag: trunk
|
8 |
|
9 |
|
35 |
* Quick & Dirty: activate, set settings, done!
|
36 |
* Optional strict check for incomming comments
|
37 |
* Block comments and pings from specific countries
|
38 |
+
* WordPress 3.5 ready: Design as well as technical
|
39 |
* Consider comments which are already marked as spam
|
40 |
|
41 |
= Counter =
|
46 |
* PHP 5.1.2
|
47 |
* WordPress 3.3
|
48 |
|
49 |
+
= Not compatible with =
|
50 |
+
* Disqus
|
51 |
+
* Jetpack Comments
|
52 |
+
* All-in-One Event Calendar
|
53 |
+
|
54 |
= Documentation =
|
55 |
* [Antispam Bee: Antispam für WordPress](http://playground.ebiene.de/antispam-bee-wordpress-plugin/ "Antispam für WordPress") (DE)
|
56 |
|
57 |
= Author =
|
58 |
* [Google+](https://plus.google.com/110569673423509816572 "Google+")
|
59 |
* [Plugins](http://wpcoder.de "Plugins")
|
|
|
60 |
|
61 |
|
62 |
|
63 |
== Changelog ==
|
64 |
|
65 |
+
= 2.4.4 =
|
66 |
+
* Technical and visual support for WordPress 3.5
|
67 |
+
* Modification of the file structure: from `xyz.dev.css` to `xyz.min.css`
|
68 |
+
* Retina screenshot
|
69 |
+
|
70 |
= 2.4.3 =
|
71 |
* Check for basic requirements
|
72 |
* Remove the sidebar plugin icon
|
screenshot-1.png
CHANGED
Binary file
|