From 7086111ad4dd997e12a3220e1ee60c9b9bcf0bb8 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 7 Jan 2020 13:06:14 +0100 Subject: Added wordpress --- .../wp-content/plugins/akismet/views/activate.php | 8 + .../wp-content/plugins/akismet/views/config.php | 242 +++++++++++++++++++++ .../plugins/akismet/views/connect-jp.php | 72 ++++++ .../wp-content/plugins/akismet/views/enter.php | 13 ++ .../wp-content/plugins/akismet/views/get.php | 12 + .../wp-content/plugins/akismet/views/notice.php | 147 +++++++++++++ .../plugins/akismet/views/predefined.php | 11 + .../wp-content/plugins/akismet/views/setup.php | 5 + .../wp-content/plugins/akismet/views/start.php | 31 +++ .../wp-content/plugins/akismet/views/stats.php | 11 + .../wp-content/plugins/akismet/views/title.php | 3 + 11 files changed, 555 insertions(+) create mode 100644 srcs/wordpress/wp-content/plugins/akismet/views/activate.php create mode 100644 srcs/wordpress/wp-content/plugins/akismet/views/config.php create mode 100644 srcs/wordpress/wp-content/plugins/akismet/views/connect-jp.php create mode 100644 srcs/wordpress/wp-content/plugins/akismet/views/enter.php create mode 100644 srcs/wordpress/wp-content/plugins/akismet/views/get.php create mode 100644 srcs/wordpress/wp-content/plugins/akismet/views/notice.php create mode 100644 srcs/wordpress/wp-content/plugins/akismet/views/predefined.php create mode 100644 srcs/wordpress/wp-content/plugins/akismet/views/setup.php create mode 100644 srcs/wordpress/wp-content/plugins/akismet/views/start.php create mode 100644 srcs/wordpress/wp-content/plugins/akismet/views/stats.php create mode 100644 srcs/wordpress/wp-content/plugins/akismet/views/title.php (limited to 'srcs/wordpress/wp-content/plugins/akismet/views') diff --git a/srcs/wordpress/wp-content/plugins/akismet/views/activate.php b/srcs/wordpress/wp-content/plugins/akismet/views/activate.php new file mode 100644 index 0000000..7be1309 --- /dev/null +++ b/srcs/wordpress/wp-content/plugins/akismet/views/activate.php @@ -0,0 +1,8 @@ +
+ + +
+
+
+ +
\ No newline at end of file diff --git a/srcs/wordpress/wp-content/plugins/akismet/views/config.php b/srcs/wordpress/wp-content/plugins/akismet/views/config.php new file mode 100644 index 0000000..6bbcd6d --- /dev/null +++ b/srcs/wordpress/wp-content/plugins/akismet/views/config.php @@ -0,0 +1,242 @@ +
+
+
+
+ +
+
+
+
+ + + + + + + + + spam > 0 ) : ?> +
+
+
+ +
+
+ + + +
+
+ +
+ +
    +
  • +

    + spam );?> + spam, 'akismet' ) ); ?> +
  • +
  • +

    + spam );?> + spam, 'akismet' ) ); ?> +
  • +
  • +

    + accuracy ); ?>% + missed_spam, 'akismet' ), number_format( $stat_totals['all']->missed_spam ) ); ?> + | + false_positives, 'akismet' ), number_format( $stat_totals['all']->false_positives ) ); ?> +
  • +
+
+
+ + + +
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

+ +

+
+

+ +

+
+
+

+

+
+ + spam folder older than 1 day is deleted automatically.', + 'Spam in the spam folder older than %2$d days is deleted automatically.', + $delete_interval, + 'akismet' + ), + admin_url( 'edit-comments.php?comment_status=spam' ), + $delete_interval + ); + + ?> +
+
+

+

+
+ +
+
+ +
+ +
+ + +
+ + +
+
+
+
+
+
+ + +
+
+
+ +
+
+ +
+ + + + + + + + + + + next_billing_date ) : ?> + + + + + + +
+ +

account_name ); ?>

+
+ +

status ) : + esc_html_e( 'Cancelled', 'akismet' ); + elseif ( 'suspended' == $akismet_user->status ) : + esc_html_e( 'Suspended', 'akismet' ); + elseif ( 'missing' == $akismet_user->status ) : + esc_html_e( 'Missing', 'akismet' ); + elseif ( 'no-sub' == $akismet_user->status ) : + esc_html_e( 'No Subscription Found', 'akismet' ); + else : + esc_html_e( 'Active', 'akismet' ); + endif; ?>

+
+ +

next_billing_date ); ?>

+
+
+
+ ( $akismet_user->account_type == 'free-api-key' && $akismet_user->status == 'active' ? __( 'Upgrade' , 'akismet') : __( 'Change' , 'akismet') ), 'redirect' => 'upgrade' ) ); ?> +
+
+
+
+
+ + +
+
diff --git a/srcs/wordpress/wp-content/plugins/akismet/views/connect-jp.php b/srcs/wordpress/wp-content/plugins/akismet/views/connect-jp.php new file mode 100644 index 0000000..5b33999 --- /dev/null +++ b/srcs/wordpress/wp-content/plugins/akismet/views/connect-jp.php @@ -0,0 +1,72 @@ + +
+ +
+

status, array( 'no-sub', 'missing' ) ) ) {?> +

+
+ + + + + +
+ user_email, null, null, null, array( 'class' => 'akismet-jetpack-gravatar' ) ); ?> +

' . esc_html( $akismet_user->user_login ) . '' ); ?>
user_email ); ?>

+ status == 'cancelled' ) { ?> +

+
+ + + + + +
+ user_email, null, null, null, array( 'class' => 'akismet-jetpack-gravatar' ) ); ?> +

user_email ) ); ?>
user_email ); ?>

+ status == 'suspended' ) { ?> +
+

+
+

+ user_email ) ); ?> + +

+ +

+
+ + + + +
+ user_email, null, null, null, array( 'class' => 'akismet-jetpack-gravatar' ) ); ?> +

' . esc_html( $akismet_user->user_login ) . '' ); ?>
user_email ); ?>

+ +
+
+ +
+
+ + +
+
+
+
+ +
\ No newline at end of file diff --git a/srcs/wordpress/wp-content/plugins/akismet/views/enter.php b/srcs/wordpress/wp-content/plugins/akismet/views/enter.php new file mode 100644 index 0000000..0a79ca9 --- /dev/null +++ b/srcs/wordpress/wp-content/plugins/akismet/views/enter.php @@ -0,0 +1,13 @@ +
+ +
+
+ + +

+ + +

+
+
+
\ No newline at end of file diff --git a/srcs/wordpress/wp-content/plugins/akismet/views/get.php b/srcs/wordpress/wp-content/plugins/akismet/views/get.php new file mode 100644 index 0000000..b1abe0e --- /dev/null +++ b/srcs/wordpress/wp-content/plugins/akismet/views/get.php @@ -0,0 +1,12 @@ + +
+ + + + +
\ No newline at end of file diff --git a/srcs/wordpress/wp-content/plugins/akismet/views/notice.php b/srcs/wordpress/wp-content/plugins/akismet/views/notice.php new file mode 100644 index 0000000..fa098b8 --- /dev/null +++ b/srcs/wordpress/wp-content/plugins/akismet/views/notice.php @@ -0,0 +1,147 @@ + + +
+
+
+
A
+
+
+ +
+
+
Almost done - configure Akismet and say goodbye to spam', 'akismet');?>
+
+
+
+ +
+

+

+ +

+ +
+ +
+

+

+

https://akismet.com/errors/' . $code . '' ); + + ?> +

+
+ +
+

+

+ +

+
+ +
+

+

gethostbynamel function. Akismet cannot work correctly until this is fixed. Please contact your web host or firewall administrator and give them this information about Akismet’s system requirements.', 'akismet'), 'https://blog.akismet.com/akismet-hosting-faq/'); ?>

+
+ +
+

+

our guide about firewalls.', 'akismet'), 'https://blog.akismet.com/akismet-hosting-faq/'); ?>

+
+ +
+

+

update your payment details.', 'akismet'), 'https://akismet.com/account/'); ?>

+
+ +
+

+

Akismet account page to reactivate your subscription.', 'akismet'), 'https://akismet.com/account/'); ?>

+
+ +
+

+

Akismet support for assistance.', 'akismet'), 'https://akismet.com/contact/'); ?>

+
+ +
+

+

contributing a token amount.', 'akismet'), 'https://akismet.com/account/upgrade/'); ?>

+
+ +
+

+

Akismet support for assistance.', 'akismet'), 'https://akismet.com/contact/'); ?>

+
+ +
+

+

+ sign into your account and choose one.', 'akismet'), 'https://akismet.com/account/upgrade/' ); ?> +

+ contact our support team with any questions.', 'akismet' ), 'https://akismet.com/contact/' ); ?> +

+
+get_var( "SELECT comment_ID FROM {$wpdb->comments} WHERE comment_approved = '0' LIMIT 1" ); + + if ( $at_least_one_comment_in_moderation) { + $check_pending_link = 'edit-comments.php?akismet_recheck=' . wp_create_nonce( 'akismet_recheck' ); + } + + ?> +
+

+ +

check pending comments?', 'akismet' ), esc_url( $check_pending_link ) ); ?>

+ +
+ +
+

+
+ +
+

+
+ +
+

+

our guide about firewalls and check your server configuration.', 'akismet'), 'https://blog.akismet.com/akismet-hosting-faq/'); ?>

+
+ +
+ +

+

+ purchase additional Pro subscriptions or upgrade to an Enterprise subscription that allows the use of Akismet on unlimited sites.', 'akismet' ), 'https://docs.akismet.com/billing/add-more-sites/' ); ?> +

+ contact our support team with any questions.', 'akismet' ), 'https://akismet.com/contact/'); ?> +

+ +

+

+ upgrade to an Enterprise subscription, which covers an unlimited number of sites.', 'akismet'), 'https://akismet.com/account/upgrade/' ); ?> +

+ contact our support team with any questions.', 'akismet' ), 'https://akismet.com/contact/'); ?> +

+ +
+ +
+

+

+

enable or disable this feature. More information.', 'akismet' ), admin_url( apply_filters( 'akismet_comment_form_privacy_notice_url_display', 'options-general.php?page=akismet-key-config&akismet_comment_form_privacy_notice=display' ) ), admin_url( apply_filters( 'akismet_comment_form_privacy_notice_url_hide', 'options-general.php?page=akismet-key-config&akismet_comment_form_privacy_notice=hide' ) ), 'https://akismet.com/privacy/' ); ?>

+
+ \ No newline at end of file diff --git a/srcs/wordpress/wp-content/plugins/akismet/views/predefined.php b/srcs/wordpress/wp-content/plugins/akismet/views/predefined.php new file mode 100644 index 0000000..d978aaf --- /dev/null +++ b/srcs/wordpress/wp-content/plugins/akismet/views/predefined.php @@ -0,0 +1,11 @@ +
+

+

+ wp-config.php' ); + + ?> +

+
\ No newline at end of file diff --git a/srcs/wordpress/wp-content/plugins/akismet/views/setup.php b/srcs/wordpress/wp-content/plugins/akismet/views/setup.php new file mode 100644 index 0000000..d21c89a --- /dev/null +++ b/srcs/wordpress/wp-content/plugins/akismet/views/setup.php @@ -0,0 +1,5 @@ +

+
+ __( 'Set up your Akismet account' , 'akismet' ), 'classes' => array( 'akismet-button', 'akismet-is-primary' ) ) ); ?> +
+

\ No newline at end of file diff --git a/srcs/wordpress/wp-content/plugins/akismet/views/start.php b/srcs/wordpress/wp-content/plugins/akismet/views/start.php new file mode 100644 index 0000000..aaff5d6 --- /dev/null +++ b/srcs/wordpress/wp-content/plugins/akismet/views/start.php @@ -0,0 +1,31 @@ + +
+
+
+
+ +
+
+
+
+ +
+ status, array( 'active', 'active-dunning', 'no-sub', 'missing', 'cancelled', 'suspended' ) ) ) { + Akismet::view( 'connect-jp', compact( 'akismet_user' ) ); + } else { + Akismet::view( 'activate' ); + } + + ?> +
+
+
\ No newline at end of file diff --git a/srcs/wordpress/wp-content/plugins/akismet/views/stats.php b/srcs/wordpress/wp-content/plugins/akismet/views/stats.php new file mode 100644 index 0000000..2302c11 --- /dev/null +++ b/srcs/wordpress/wp-content/plugins/akismet/views/stats.php @@ -0,0 +1,11 @@ +
+
+
+ +
+ +
+
+
+ +
\ No newline at end of file diff --git a/srcs/wordpress/wp-content/plugins/akismet/views/title.php b/srcs/wordpress/wp-content/plugins/akismet/views/title.php new file mode 100644 index 0000000..b5abb41 --- /dev/null +++ b/srcs/wordpress/wp-content/plugins/akismet/views/title.php @@ -0,0 +1,3 @@ +
+

+
\ No newline at end of file -- cgit