activate.php
6 years ago
config.php
7 years ago
connect-jp.php
6 years ago
enter.php
4 years ago
get.php
7 years ago
notice.php
4 years ago
predefined.php
6 years ago
setup.php
6 years ago
start.php
6 years ago
stats.php
5 years ago
title.php
6 years ago
start.php
31 lines
| 1 | <?php |
| 2 | |
| 3 | //phpcs:disable VariableAnalysis |
| 4 | // There are "undefined" variables here because they're defined in the code that includes this file as a template. |
| 5 | |
| 6 | ?> |
| 7 | <div id="akismet-plugin-container"> |
| 8 | <div class="akismet-masthead"> |
| 9 | <div class="akismet-masthead__inside-container"> |
| 10 | <div class="akismet-masthead__logo-container"> |
| 11 | <img class="akismet-masthead__logo" src="<?php echo esc_url( plugins_url( '../_inc/img/logo-full-2x.png', __FILE__ ) ); ?>" alt="Akismet" /> |
| 12 | </div> |
| 13 | </div> |
| 14 | </div> |
| 15 | <div class="akismet-lower"> |
| 16 | <?php Akismet_Admin::display_status();?> |
| 17 | <div class="akismet-boxes"> |
| 18 | <?php |
| 19 | |
| 20 | if ( Akismet::predefined_api_key() ) { |
| 21 | Akismet::view( 'predefined' ); |
| 22 | } elseif ( $akismet_user && in_array( $akismet_user->status, array( 'active', 'active-dunning', 'no-sub', 'missing', 'cancelled', 'suspended' ) ) ) { |
| 23 | Akismet::view( 'connect-jp', compact( 'akismet_user' ) ); |
| 24 | } else { |
| 25 | Akismet::view( 'activate' ); |
| 26 | } |
| 27 | |
| 28 | ?> |
| 29 | </div> |
| 30 | </div> |
| 31 | </div> |