activate.php
1 year ago
compatible-plugins.php
1 year ago
config.php
1 year ago
connect-jp.php
1 year ago
enter.php
2 years ago
get.php
1 year ago
logo.php
2 years ago
notice.php
1 year ago
predefined.php
1 year ago
setup.php
1 year ago
start.php
1 year ago
stats.php
1 year ago
title.php
6 years ago
start.php
29 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 | <?php Akismet::view( 'logo' ); ?> |
| 11 | </div> |
| 12 | </div> |
| 13 | <div class="akismet-lower"> |
| 14 | <?php Akismet_Admin::display_status(); ?> |
| 15 | <div class="akismet-boxes"> |
| 16 | <?php |
| 17 | |
| 18 | if ( Akismet::predefined_api_key() ) { |
| 19 | Akismet::view( 'predefined' ); |
| 20 | } elseif ( $akismet_user && in_array( $akismet_user->status, array( 'active', 'active-dunning', 'no-sub', 'missing', 'cancelled', 'suspended' ) ) ) { |
| 21 | Akismet::view( 'connect-jp', compact( 'akismet_user' ) ); |
| 22 | } else { |
| 23 | Akismet::view( 'activate' ); |
| 24 | } |
| 25 | |
| 26 | ?> |
| 27 | </div> |
| 28 | </div> |
| 29 | </div> |