File "tab-recaptcha.php"
Full Path: /home/londdqdw/public_html/06/wp-content/plugins/wordpress-popup/views/admin/settings/tab-recaptcha.php
File size: 1.61 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* Recaptcha tab.
*
* @package Hustle
* @since 4.0.4
*/
?>
<div id="recaptcha-box" class="sui-box hustle-settings-tab-recaptcha" data-tab="recaptcha" <?php echo 'recaptcha' !== $section ? 'style="display: none;"' : ''; ?>>
<div class="sui-box-header">
<h2 class="sui-box-title"><?php esc_html_e( 'reCAPTCHA', 'hustle' ); ?></h2>
</div>
<div class="sui-box-body">
<div class="sui-box-settings-row">
<div class="sui-box-settings-col-1">
<span class="sui-settings-label"><?php esc_html_e( 'Configure', 'hustle' ); ?></span>
<span class="sui-description"><?php esc_html_e( 'You need to enter your API keys here to use reCAPTCHA field in your opt-in forms.', 'hustle' ); ?></span>
</div>
<div class="sui-box-settings-col-2">
<div id="hustle-recaptcha-script-container"></div>
<form id="hustle-settings-recaptcha-form">
<?php
// SETTINGS: API Keys.
$this->render(
'admin/settings/recaptcha/api-keys',
array( 'settings' => $settings )
);
?>
<?php
// SETTINGS: Language.
$this->render(
'admin/settings/recaptcha/language',
array( 'settings' => $settings )
);
?>
</form>
</div>
</div>
</div>
<div class="sui-box-footer">
<div class="sui-actions-right">
<button
class="sui-button sui-button-blue hustle-settings-save"
data-form-id="hustle-settings-recaptcha-form"
data-target="recaptcha"
>
<span class="sui-loading-text"><?php esc_html_e( 'Save Settings', 'hustle' ); ?></span>
<span class="sui-icon-loader sui-loading" aria-hidden="true"></span>
</button>
</div>
</div>
</div>