PluginProbe ʕ •ᴥ•ʔ
Akismet Anti-spam: Spam Protection / 3.0.3
Akismet Anti-spam: Spam Protection v3.0.3
5.7 3.0.4 3.0.5 3.1 3.1.1 3.1.10 3.1.11 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2 3.3 3.3.1 3.3.2 3.3.3 3.3.4 4.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5 4.0.6 4.0.7 4.0.8 4.1 4.1.1 4.1.10 4.1.11 4.1.12 4.1.2 4.1.3 4.1.4 4.1.5 4.1.6 4.1.7 4.1.8 4.1.9 4.2 4.2.1 4.2.2 4.2.3 4.2.4 4.2.5 5.0 5.0.1 5.0.2 5.1 5.2 5.3 5.3.1 5.3.2 5.3.3 5.3.4 5.3.5 5.3.6 5.3.7 5.4 5.5 5.6 trunk 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 2.4.0 2.4.1 2.5.0 2.5.1 2.5.10 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.5.9 2.6.0 2.6.1 3.0.0 3.0.0-RC1 3.0.1 3.0.2 3.0.3
akismet / views / start.php
akismet / views Last commit date
config.php 12 years ago get.php 12 years ago notice.php 11 years ago start.php 12 years ago stats.php 12 years ago strict.php 12 years ago
start.php
95 lines
1 <div class="no-key config-wrap"><?php
2 if ( $akismet_user && in_array( $akismet_user->status, array( 'active', 'active-dunning', 'no-sub', 'missing', 'cancelled', 'suspended' ) ) ) :
3 if ( $akismet_user->status == 'missing' ) :?>
4 <p><?php esc_html_e('Akismet eliminates the comment and trackback spam you get on your site. Register your email address below to get started.', 'akismet'); ?></p>
5 <div class="activate-highlight activate-option">
6 <div class="option-description">
7 <strong class="small-heading"><?php esc_html_e('Connected via Jetpack', 'akismet'); ?></strong>
8 <?php echo esc_attr( $akismet_user->user_email ); ?>
9 </div>
10 <form name="akismet_activate" id="akismet_activate" action="https://akismet.com/get/" method="post" class="right" target="_blank">
11 <input type="hidden" name="passback_url" value="<?php echo esc_attr( Akismet_Admin::get_page_url() ); ?>"/>
12 <input type="hidden" name="auto-connect" value="<?php echo $akismet_user->ID;?>"/>
13 <input type="hidden" name="redirect" value="plugin-signup"/>
14 <input type="submit" class="button button-primary" value="<?php esc_attr_e( 'Register Akismet' , 'akismet'); ?>"/>
15 </form>
16 </div>
17 <?php elseif ( $akismet_user->status == 'cancelled' ) :?>
18 <p><?php esc_html_e('Akismet eliminates the comment and trackback spam you get on your site.', 'akismet'); ?></p>
19 <div class="activate-highlight activate-option">
20 <div class="option-description" style="width:75%;">
21 <strong class="small-heading"><?php esc_html_e('Connected via Jetpack', 'akismet'); ?></strong>
22 <?php printf( esc_html__( 'Your subscription for %s is cancelled' , 'akismet'), $akismet_user->user_email ); ?>
23 </div>
24 <form name="akismet_activate" id="akismet_activate" action="https://akismet.com/get/" method="post" class="right" target="_blank">
25 <input type="hidden" name="passback_url" value="<?php echo esc_attr( Akismet_Admin::get_page_url() ); ?>"/>
26 <input type="hidden" name="user_id" value="<?php echo $akismet_user->ID;?>"/>
27 <input type="hidden" name="redirect" value="upgrade"/>
28 <input type="submit" class="button button-primary" value="<?php esc_attr_e( 'Reactivate Akismet' , 'akismet'); ?>"/>
29 </form>
30 </div>
31 <?php elseif ( $akismet_user->status == 'suspended' ) : ?>
32 <p><?php esc_html_e('Akismet eliminates the comment and trackback spam you get on your site.', 'akismet'); ?></p>
33 <div class="activate-highlight centered activate-option">
34 <strong class="small-heading"><?php esc_html_e( 'Connected via Jetpack' , 'akismet'); ?></strong>
35 <h3 class="alert-text"><?php printf( esc_html__( 'Your subscription for %s is suspended' , 'akismet'), $akismet_user->user_email ); ?></h3>
36 <p><?php esc_html_e('No worries! Get in touch and we&#8217;ll help sort this out.', 'akismet'); ?></p>
37 <a href="https://akismet.com/contact" class="button button-primary"><?php esc_html_e( 'Contact Akismet support' , 'akismet'); ?></a>
38 </div>
39 <?php else : // ask do they want to use akismet account found using jetpack wpcom connection ?>
40 <p style="margin-right:10px"><?php esc_html_e('Akismet eliminates the comment and trackback spam you get on your site. To setup Akismet, select one of the options below.', 'akismet'); ?></p>
41 <div class="activate-highlight activate-option">
42 <div class="option-description">
43 <strong class="small-heading"><?php esc_html_e('Connected via Jetpack', 'akismet'); ?></strong>
44 <?php echo esc_attr( $akismet_user->user_email ); ?>
45 </div>
46 <form name="akismet_use_wpcom_key" action="<?php echo esc_url( Akismet_Admin::get_page_url() ); ?>" method="post" id="akismet-activate" class="right">
47 <input type="hidden" name="key" value="<?php echo esc_attr( $akismet_user->api_key );?>"/>
48 <input type="hidden" name="action" value="enter-key">
49 <?php wp_nonce_field( Akismet_Admin::NONCE ) ?>
50 <input type="submit" class="button button-primary" value="<?php esc_attr_e( 'Use this Akismet account' , 'akismet'); ?>"/>
51 </form>
52 </div>
53 <?php endif;?>
54 <div class="activate-highlight secondary activate-option">
55 <div class="option-description">
56 <strong><?php esc_html_e('Create a new API key with a different email address', 'akismet'); ?></strong>
57 <p><?php esc_html_e('Use this option if you want to setup a new Akismet account.', 'akismet'); ?></p>
58 </div>
59 <?php Akismet::view( 'get', array( 'text' => __( 'Register a different email address' , 'akismet'), 'classes' => array( 'right', 'button', 'button-secondary' ) ) ); ?>
60 </div>
61 <div class="activate-highlight secondary activate-option">
62 <div class="option-description">
63 <strong><?php esc_html_e('Manually enter an API key', 'akismet'); ?></strong>
64 <p><?php esc_html_e('If you already know your API key.', 'akismet'); ?></p>
65 </div>
66 <form action="<?php echo esc_url( Akismet_Admin::get_page_url() ); ?>" method="post" id="akismet-enter-api-key" class="right">
67 <input id="key" name="key" type="text" size="15" maxlength="12" value="" class="regular-text code">
68 <input type="hidden" name="action" value="enter-key">
69 <?php wp_nonce_field( Akismet_Admin::NONCE ) ?>
70 <input type="submit" name="submit" id="submit" class="button button-secondary" value="<?php esc_attr_e('Use this key', 'akismet');?>">
71 </form>
72 </div>
73 <?php else :?>
74 <p><?php esc_html_e('Akismet eliminates the comment and trackback spam you get on your site. To setup Akismet, select one of the options below.', 'akismet'); ?></p>
75 <div class="activate-highlight activate-option">
76 <div class="option-description">
77 <strong><?php esc_html_e( 'Activate Akismet' , 'akismet');?></strong>
78 <p><?php esc_html_e('Log in or create an account to get your API key.', 'akismet'); ?></p>
79 </div>
80 <?php Akismet::view( 'get', array( 'text' => __( 'Get your API key' , 'akismet'), 'classes' => array( 'right', 'button', 'button-primary' ) ) ); ?>
81 </div>
82 <div class="activate-highlight secondary activate-option">
83 <div class="option-description">
84 <strong><?php esc_html_e('Manually enter an API key', 'akismet'); ?></strong>
85 <p><?php esc_html_e('If you already know your API key.', 'akismet'); ?></p>
86 </div>
87 <form action="<?php echo esc_url( Akismet_Admin::get_page_url() ); ?>" method="post" id="akismet-enter-api-key" class="right">
88 <input id="key" name="key" type="text" size="15" maxlength="12" value="" class="regular-text code">
89 <input type="hidden" name="action" value="enter-key">
90 <?php wp_nonce_field( Akismet_Admin::NONCE ); ?>
91 <input type="submit" name="submit" id="submit" class="button button-secondary" value="<?php esc_attr_e('Use this key', 'akismet');?>">
92 </form>
93 </div><?php
94 endif;?>
95 </div>