[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/plugins/akismet/views/ -> start.php (source)

   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>


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref