'config[rest_api]', 'value' => $this->config->get('rest_api', 0), ]); ?>
'acym__select', 'data-toggle-select' => '{"acym_ireCaptcha":".acym__config__captcha__recaptcha","acym_reCaptcha_v3":".acym__config__captcha__recaptcha, .acym__config__captcha__recaptcha_v3","acym_hcaptcha":".acym__config__captcha__hcaptcha" }', ]; // To disable Captcha dropdown if (!$data['level']) { $attribs['disabled'] = ''; } acym_select( $data['captchaOptions'], 'config[captcha]', $this->config->get('captcha', 'none'), $attribs, 'value', 'text', null, false, true ); ?>
config->get('email_checkdomain') == 0) { $score -= 10; $tooltip[] = acym_translation('ACYM_EMAIL_VERIFICATION_SCORE_DESC_DOMAIN_VERIFICATION'); } if (empty($this->config->get('require_confirmation', 1))) { $score -= 30; $tooltip[] = acym_translation('ACYM_EMAIL_VERIFICATION_SCORE_DESC_DOUBLE_OPT_IN'); } if ($this->config->get('email_spellcheck') == 0) { $score -= 10; $tooltip[] = acym_translation('ACYM_EMAIL_VERIFICATION_SCORE_DESC_TYPO'); } if (!acym_isAcyCheckerInstalled()) { $score -= 50; $tooltip[] = acym_translation('ACYM_EMAIL_VERIFICATION_SCORE_DESC_CHECKER'); } else { if ($this->config->get('email_verification') == 0) { $score -= 50; $tooltip[] = acym_translation('ACYM_EMAIL_VERIFICATION_SCORE_DESC_CHECKER'); } $oneEnabled = false; if ($this->config->get('email_verification', 0) != 0) { $verificationOptions = [ 'email_verification_non_existing', 'email_verification_disposable', 'email_verification_free', 'email_verification_role', 'email_verification_acceptall', ]; foreach ($verificationOptions as $verificationOption) { if ($this->config->get($verificationOption, 0) == 0) continue; $oneEnabled = true; break; } } if (!$oneEnabled) $tooltip[] = acym_translation('ACYM_YOU_SHOULD_ENABLE_CHECK'); } echo '('.esc_html(acym_translationSprintf('ACYM_EMAIL_VERIFICATION_SCORE', $score)).')'; if (!empty($tooltip)) { acym_info( [ 'textShownInTooltip' => implode('
', $tooltip), ] ); } ?>
'config[email_checkdomain]', 'value' => $this->config->get('email_checkdomain'), 'label' => acym_translation('ACYM_CHECK_DOMAIN_EXISTS'), 'labelClass' => 'xlarge-9 large-6 small-9', ]); ?>
'config[email_spellcheck]', 'value' => $this->config->get('email_spellcheck'), 'label' => acym_translation('ACYM_SPELLCHECK_SUGGESTIONS'), 'tip' => ['textShownInTooltip' => 'ACYM_SPELLCHECK_SUGGESTIONS_DESC'], 'labelClass' => 'xlarge-9 large-6 small-9', ]); ?>
'config[email_confirmation]', 'value' => $this->config->get('email_confirmation'), 'label' => acym_translation('ACYM_ENABLE_EMAIL_CONFIRMATION_FOR_SUBSCRIPTION_FORM'), 'tip' => ['textShownInTooltip' => 'ACYM_ENABLE_EMAIL_CONFIRMATION_FOR_SUBSCRIPTION_FORM_DESC'], 'labelClass' => 'xlarge-9 large-6 small-9', ]); ?>
'config[email_verification]', 'value' => $this->config->get('email_verification'), 'label' => acym_translation('ACYM_ACYCHECKER_CHECK_SUBSCRIPTION'), 'labelClass' => 'xlarge-9 large-6 small-9', 'toggle' => $data['acychecker_installed'] ? 'email_verification' : null, 'disabled' => !$data['acychecker_installed'], ]); ?>
['ACYM_ACYCHECKER_CHECK_SUBSCRIPTION_BLOCK_NON_EXISTING', ''], 'email_verification_disposable' => [ 'ACYM_ACYCHECKER_CHECK_SUBSCRIPTION_BLOCK_DISPOSABLE', 'ACYM_ACYCHECKER_CHECK_SUBSCRIPTION_BLOCK_DISPOSABLE_DESC', ], 'email_verification_free' => ['ACYM_ACYCHECKER_CHECK_SUBSCRIPTION_BLOCK_FREE', 'ACYM_ACYCHECKER_CHECK_SUBSCRIPTION_BLOCK_FREE_DESC'], 'email_verification_role' => ['ACYM_ACYCHECKER_CHECK_SUBSCRIPTION_BLOCK_ROLE', 'ACYM_ACYCHECKER_CHECK_SUBSCRIPTION_BLOCK_ROLE_DESC'], 'email_verification_acceptall' => [ 'ACYM_ACYCHECKER_CHECK_SUBSCRIPTION_BLOCK_ACCEPT_ALL', 'ACYM_ACYCHECKER_CHECK_SUBSCRIPTION_BLOCK_ACCEPT_ALL_DESC', ], ]; foreach ($verificationOptions as $option => $label) { echo '
'; $switchOptions = [ 'name' => 'config['.$option.']', 'value' => $this->config->get($option), 'label' => acym_translation($label[0]), 'labelClass' => 'small-9', 'disabled' => !$data['acychecker_installed'], ]; if (!empty($label[1])) { $switchOptions['tip'] = ['textShownInTooltip' => $label[1]]; } acym_switch($switchOptions); echo '
'; } ?>