summaryrefslogtreecommitdiff
blob: 0a79ca971e64d647ef32d8351cee9c21ccef6e9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<div class="akismet-enter-api-key-box centered">
	<a href="#"><?php esc_html_e( 'Manually enter an API key' ); ?></a>
	<div class="enter-api-key">
		<form action="<?php echo esc_url( Akismet_Admin::get_page_url() ); ?>" method="post">
			<?php wp_nonce_field( Akismet_Admin::NONCE ) ?>
			<input type="hidden" name="action" value="enter-key">
			<p style="width: 100%; display: flex; flex-wrap: nowrap; box-sizing: border-box;">
				<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;">
				<input type="submit" name="submit" id="submit" class="akismet-button" value="<?php esc_attr_e( 'Connect with API key', 'akismet' );?>">
			</p>
		</form>
	</div>
</div>