summaryrefslogtreecommitdiffstats
path: root/wp-content/plugins/akismet/views/start.php
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
commita415c29efee45520ae252d2aa28f1083a521cd7b (patch)
treef4ade4b6668ecc0765de7e1424f7c1427ad433ff /wp-content/plugins/akismet/views/start.php
parentInitial commit. (diff)
downloadwordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.tar.xz
wordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.zip
Adding upstream version 6.4.3+dfsg1.upstream/6.4.3+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-content/plugins/akismet/views/start.php')
-rw-r--r--wp-content/plugins/akismet/views/start.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/wp-content/plugins/akismet/views/start.php b/wp-content/plugins/akismet/views/start.php
new file mode 100644
index 0000000..3e17eb2
--- /dev/null
+++ b/wp-content/plugins/akismet/views/start.php
@@ -0,0 +1,29 @@
+<?php
+
+//phpcs:disable VariableAnalysis
+// There are "undefined" variables here because they're defined in the code that includes this file as a template.
+
+?>
+<div id="akismet-plugin-container">
+ <div class="akismet-masthead">
+ <div class="akismet-masthead__inside-container">
+ <?php Akismet::view( 'logo' ); ?>
+ </div>
+ </div>
+ <div class="akismet-lower">
+ <?php Akismet_Admin::display_status();?>
+ <div class="akismet-boxes">
+ <?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' );
+ }
+
+ ?>
+ </div>
+ </div>
+</div> \ No newline at end of file