registerCssFile('@web/css/admin-system.css', ['depends' => [BootstrapAsset::class]]); $this->title = '系统设置'; ?>

title) ?>


'; echo ''; if ($attribute == 'registrationEnabled' || $attribute == 'enableIpinfo' || $attribute == 'clarityEnabled' || $attribute == 'gaEnabled') { echo ''; } elseif ($attribute == 'verifyProvider') { echo ''; } else { echo ''; } echo ''; echo ''; } ?>

' . $siteConfig->attributeLabels()[$attribute] . '

' . $form->field($siteConfig, $attribute)->checkbox(['class' => 'form-check-input'], false)->label(false) . '' . $form->field($siteConfig, $attribute)->dropDownList(['None' => 'None', 'reCAPTCHA' => 'reCAPTCHA', 'hCaptcha' => 'hCaptcha', 'Turnstile' => 'Turnstile'], ['class' => 'form-select form-select-sm', 'style' => 'width:25em'])->label(false) . '' . $form->field($siteConfig, $attribute)->textInput(['class' => 'form-control form-control-sm', 'style' => 'width:25em'])->label(false) . '
'btn btn-success']) ?>
registerJsFile('@web/js/admin-system.js', ['depends' => [JqueryAsset::class], 'position' => View::POS_END]); $this->registerJs(' $(function () { $("[data-bs-toggle=\'popover\']").popover(); }); '); ?>