Changeset 891805
- Timestamp:
- 04/12/2014 10:40:56 AM (12 years ago)
- File:
-
- 1 edited
-
akismet/trunk/views/start.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
akismet/trunk/views/start.php
r890710 r891805 34 34 </form> 35 35 </div> 36 <?php elseif ( $akismet_user->status == 'missing') : //no akismet account, ask do they want to use jetpack wpcom account to create one, then redirect to plans page?>36 <?php elseif ( in_array( $akismet_user->status, array( 'missing', 'no-sub' ) ) ) : //no akismet account, ask do they want to use jetpack wpcom account to create one, then redirect to plans page?> 37 37 <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> 38 38 <div class="activate-highlight activate-option"> … … 46 46 <input type="hidden" name="redirect" value="plugin-signup"/> 47 47 <input type="submit" class="button button-primary" value="<?php esc_attr_e( 'Register Akismet' , 'akismet'); ?>"/> 48 </form> 49 </div> 50 <div class="activate-highlight secondary activate-option"> 51 <div class="option-description"> 52 <strong><?php esc_html_e('Create a new API key with a different email address', 'akismet'); ?></strong> 53 <p><?php esc_html_e('Use this option if you want to setup a new Akismet account.', 'akismet'); ?></p> 54 </div> 55 <?php Akismet::view( 'get', array( 'text' => __( 'Register a different email address' , 'akismet'), 'classes' => array( 'right', 'button', 'button-secondary' ) ) ); ?> 56 </div> 57 <div class="activate-highlight secondary activate-option"> 58 <div class="option-description"> 59 <strong><?php esc_html_e('Manually enter an API key', 'akismet'); ?></strong> 60 <p><?php esc_html_e('If you have another API key you want to use.', 'akismet'); ?></p> 61 </div> 62 <form action="<?php echo esc_url( Akismet_Admin::get_page_url() ); ?>" method="post" id="akismet-enter-api-key" class="right"> 63 <input id="key" name="key" type="text" size="15" maxlength="12" value="" class="regular-text code"> 64 <input type="hidden" name="action" value="enter-key"> 65 <?php wp_nonce_field( Akismet_Admin::NONCE ) ?> 66 <input type="submit" name="submit" id="submit" class="button button-secondary" value="<?php esc_attr_e('Use this key', 'akismet');?>"> 67 </form> 68 </div> 69 <?php elseif ( $akismet_user->status == 'cancelled' ) : ?> 70 <p><?php esc_html_e('Akismet eliminates the comment and trackback spam you get on your site.', 'akismet'); ?></p> 71 <div class="activate-highlight activate-option"> 72 <div class="option-description" style="width:75%;"> 73 <strong class="small-heading"><?php esc_html_e('Connected via Jetpack', 'akismet'); ?></strong> 74 <?php printf( esc_html__( 'Your subscription for %s is cancelled' , 'akismet'), $akismet_user->user_email ); ?> 75 </div> 76 <form name="akismet_activate" id="akismet_activate" action="https://akismet.com/get/" method="post" class="right"> 77 <input type="hidden" name="passback_url" value="<?php echo esc_attr( Akismet_Admin::get_page_url() ); ?>"/> 78 <input type="hidden" name="redirect" value="upgrade"/> 79 <input type="submit" class="button button-primary" value="<?php esc_attr_e( 'Reactivate Akismet' , 'akismet'); ?>"/> 48 80 </form> 49 81 </div>
Note: See TracChangeset
for help on using the changeset viewer.