CoreFiles by mySites.guru
start.php101 lines, 6,462 bytes, from wordpress-3.9-beta1.zip
Raw History Compare with 3.8-beta-1
md5
278e794dd9e84f09d4ae1a5fc8e83816
sha1
db9acf9e832604c383addbc00517ff241b47612a
sha256
945c93efca790b881d1ddaa1f9c7cce642f6d2dac12c6b26ad9fc0739bdb4ef9
<div class="no-key config-wrap"><?php 
	if ( $akismet_user ) :
		if ( $akismet_user->status == 'active' ) : // ask do they want to use akismet account found using jetpack wpcom connection ?>
<p><?php _e('Akismet eliminates the comment and trackback spam you get on your site. To setup Akismet, select one of the options below.'); ?></p>
<div class="activate-highlight activate-option">
	<div class="option-description">
		<strong class="small-heading"><?php _e('Connected via Jetpack'); ?></strong>
		<?php echo esc_attr( $akismet_user->user_email ); ?>
	</div>
	<form name="akismet_use_wpcom_key" action="<?php echo Akismet_Admin::get_configuration_page_url();?>" method="post" id="akismet-activate" class="right">
		<input type="hidden" name="key" value="<?php echo esc_attr( $akismet_user->api_key );?>"/>
		<input type="hidden" name="action" value="enter-key">
		<?php wp_nonce_field( Akismet_Admin::NONCE ) ?>
		<input type="submit" class="button button-primary" value="<?php echo esc_attr( sprintf( __( 'Use this Akismet account' ) ) ); ?>"/>
	</form>
</div>
<div class="activate-highlight secondary activate-option">
	<div class="option-description">
		<strong><?php _e('Create a new API key with a different email address'); ?></strong>
		<p><?php _e('Use this option if you want to setup a new Akismet account.'); ?></p>
	</div>
	<?php Akismet::view( 'get', array( 'text' => __( 'Register a different email address' ), 'classes' => array( 'right', 'button', 'button-secondary' ) ) ); ?>
</div>
<div class="activate-highlight secondary activate-option">
	<div class="option-description">
		<strong><?php _e('Manually enter an API key'); ?></strong>
		<p><?php _e('If you have another API key you want to use.'); ?></p>
	</div>
	<form action="<?php echo Akismet_Admin::get_configuration_page_url();?>" method="post" id="akismet-enter-api-key" class="right">
		<input id="key" name="key" type="text" size="15" maxlength="12" value="" class="regular-text code">
		<input type="hidden" name="action" value="enter-key">
		<?php wp_nonce_field( Akismet_Admin::NONCE ) ?>
		<input type="submit" name="submit" id="submit" class="button button-secondary" value="<?php _e('Use this key');?>">
	</form>
</div>
<?php elseif ( $akismet_user->status == 'no-account' ) : //no akismet account, ask do they want to use jetpack wpcom account to create one, then redirect to plans page?>
<p><?php _e('Akismet eliminates the comment and trackback spam you get on your site. Register your email address below to get started.'); ?></p>
<div class="activate-highlight activate-option">
	<div class="option-description">
		<strong class="small-heading"><?php _e('Connected via Jetpack'); ?></strong>
		<?php echo esc_attr( $akismet_user->user_email ); ?>
	</div>
	<form name="akismet_activate" id="akismet_activate" action="https://akismet.com/get/" method="post" class="right"> 
		<input type="hidden" name="passback_url" value="<?php echo esc_attr( Akismet_Admin::get_configuration_page_url() ); ?>"/>
		<input type="hidden" name="auto-connect" value="<?php echo $akismet_user->ID;?>"/>
		<input type="hidden" name="redirect" value="plugin-signup"/>
		<input type="submit" class="button button-primary" value="<?php echo esc_attr( sprintf( __( 'Register Akismet' ) ) ); ?>"/>
	</form>
</div>
<div class="activate-highlight secondary activate-option">
	<div class="option-description">
		<strong><?php _e('Create a new API key with a different email address'); ?></strong>
		<p><?php _e('Use this option if you want to setup a new Akismet account.'); ?></p>
	</div>
	<?php Akismet::view( 'get', array( 'text' => __( 'Register a different email address' ), 'classes' => array( 'right', 'button', 'button-secondary' ) ) ); ?>
</div>
<div class="activate-highlight secondary activate-option">
	<div class="option-description">
		<strong><?php _e('Manually enter an API key'); ?></strong>
		<p><?php _e('If you have another API key you want to use.'); ?></p>
	</div>
	<form action="<?php echo Akismet_Admin::get_configuration_page_url();?>" method="post" id="akismet-enter-api-key" class="right">
		<input id="key" name="key" type="text" size="15" maxlength="12" value="" class="regular-text code">
		<input type="hidden" name="action" value="enter-key">
		<?php wp_nonce_field( Akismet_Admin::NONCE ) ?>
		<input type="submit" name="submit" id="submit" class="button button-secondary" value="<?php _e('Use this key');?>">
	</form>
</div>
<?php elseif ( $akismet_user->status == 'suspended' ) : //has an akismet account but the key is suspended, need to upgrade their account to unsuspend key ?>
<p><?php _e('Akismet eliminates the comment and trackback spam you get on your site.'); ?></p>
<div class="activate-highlight centered activate-option">
	<strong class="small-heading"><?php echo esc_attr_e( 'Connected via Jetpack' ); ?></strong>
	<h3 class="alert-text" s><?php echo esc_attr( sprintf( __( 'Your subscription for %s is suspended' ), $akismet_user->user_email ) );?></h3>
	<p><?php _e('No worries! Get in touch and we\'ll help sort this out.'); ?></p>
	<a href="https://akismet.com/contact" class="button button-primary"><?php echo esc_attr_e( 'Contact Akismet support' ); ?></a>

</div><?php	
		endif;
	else :?>
<p><?php _e('Akismet eliminates the comment and trackback spam you get on your site. To setup Akismet, select one of the options below.'); ?></p>
<div class="activate-highlight activate-option">
	<div class="option-description">
		<strong><?php _e( 'New to Akismet?' );?></strong>
		<p><?php _e('Get started now to squash the comment and trackback spam you get.'); ?></p>
	</div>
	<?php Akismet::view( 'get', array( 'text' => __( 'Get an Akismet account' ), 'classes' => array( 'right', 'button', 'button-primary' ) ) ); ?>
</div>
<div class="activate-highlight secondary activate-option">
	<div class="option-description">
		<strong><?php _e('Manually enter an API key'); ?></strong>
		<p><?php _e('If you have another API key you want to use.'); ?></p>
	</div>
	<form action="<?php echo Akismet_Admin::get_configuration_page_url();?>" method="post" id="akismet-enter-api-key" class="right">
		<input id="key" name="key" type="text" size="15" maxlength="12" value="" class="regular-text code">
		<input type="hidden" name="action" value="enter-key">
		<?php wp_nonce_field( Akismet_Admin::NONCE ); ?>
		<input type="submit" name="submit" id="submit" class="button button-secondary" value="<?php _e('Use this key');?>">
	</form>
</div><?php
	endif;?>
</div>

No other release has this exact content. See every version of this file.