enter.php 803 B

12345678910111213
  1. <div class="akismet-enter-api-key-box centered">
  2. <a href="#"><?php esc_html_e( 'Manually enter an API key' ); ?></a>
  3. <div class="enter-api-key">
  4. <form action="<?php echo esc_url( Akismet_Admin::get_page_url() ); ?>" method="post">
  5. <?php wp_nonce_field( Akismet_Admin::NONCE ) ?>
  6. <input type="hidden" name="action" value="enter-key">
  7. <p style="width: 100%; display: flex; flex-wrap: nowrap; box-sizing: border-box;">
  8. <input id="key" name="key" type="text" size="15" value="" placeholder="<?php esc_attr_e( 'Enter your API key' , 'akismet' ); ?>" class="regular-text code" style="flex-grow: 1; margin-right: 1rem;">
  9. <input type="submit" name="submit" id="submit" class="akismet-button" value="<?php esc_attr_e( 'Connect with API key', 'akismet' );?>">
  10. </p>
  11. </form>
  12. </div>
  13. </div>