kollapsminoriteten/wp-content/plugins/akismet/views/start.php

29 lines
816 B
PHP
Raw Normal View History

2019-11-02 10:43:11 +01:00
<?php
//phpcs:disable VariableAnalysis
// There are "undefined" variables here because they're defined in the code that includes this file as a template.
?>
2019-11-02 10:38:58 +01:00
<div id="akismet-plugin-container">
<div class="akismet-masthead">
<div class="akismet-masthead__inside-container">
2023-09-26 10:24:36 +02:00
<?php Akismet::view( 'logo' ); ?>
2019-11-02 10:38:58 +01:00
</div>
</div>
<div class="akismet-lower">
2019-11-02 10:43:11 +01:00
<?php Akismet_Admin::display_status();?>
2019-11-02 10:38:58 +01:00
<div class="akismet-boxes">
2019-11-02 10:43:11 +01:00
<?php
if ( Akismet::predefined_api_key() ) {
Akismet::view( 'predefined' );
} elseif ( $akismet_user && in_array( $akismet_user->status, array( 'active', 'active-dunning', 'no-sub', 'missing', 'cancelled', 'suspended' ) ) ) {
Akismet::view( 'connect-jp', compact( 'akismet_user' ) );
} else {
Akismet::view( 'activate' );
}
?>
2019-11-02 10:38:58 +01:00
</div>
</div>
</div>