%# %# Generated by SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.12.3 at 2024-10-19 16:14:17 %#
%=l('CONFIG_LE')
%=l('SERVICE_STATUS')
%=l('_')
% my @status_options = [{'Value' => 'disabled', 'Text' => 'Disabled'}, {'Value' => 'enabled', 'Text' => 'Enabled'}, {'Value' => 'test', 'Text' => 'TEST'}];
% param 'status' => $_data->{status} unless param 'status';
%= select_field 'status' => @status_options, class => 'input'
%=l('HOOKSCRIPT_STATUS')
%=l('_')
% my @hookScript_options = [{'Value' => 'disabled', 'Text' => 'Disabled'}, {'Value' => 'enabled', 'Text' => 'Enabled'}];
% param 'hookScript' => $_data->{hookScript} unless param 'hookScript';
%= select_field 'hookScript' => @hookScript_options, class => 'input'
%=l('HOSTOVERRIDE_STATUS')
%=l('_')
% my @hostOverride_options = [{'Value' => 'disabled', 'Text' => 'Disabled'}, {'Value' => 'yes', 'Text' => 'Yes'}];
% param 'hostOverride' => $_data->{hostOverride} unless param 'hostOverride';
%= select_field 'hostOverride' => @hostOverride_options, class => 'input'
%=l('ACCEPT_TERMS_STATUS')
%=l('_')
% my @ACCEPT_TERMS_options = [{'Value' => 'disabled', 'Text' => 'Disabled'}, {'Value' => 'yes', 'Text' => 'Yes'}];
% param 'ACCEPT_TERMS' => $_data->{ACCEPT_TERMS} unless param 'ACCEPT_TERMS';
%= select_field 'ACCEPT_TERMS' => @ACCEPT_TERMS_options, class => 'input'
%=l('API_STATUS')
%=l('_')
% my @API_options = [{'Value' => '2', 'Text' => '2'}];
% param 'API' => $_data->{API} unless param 'API';
%= select_field 'API' => @API_options, class => 'input'
%=l('KEYSIZE_STATUS')
%=l('_')
% my @keysize_options = [{'Value' => '2048', 'Text' => '2048'}, {'Value' => '3072', 'Text' => '3072'}, {'Value' => '4096', 'Text' => '4096'}];
% param 'keysize' => $_data->{keysize} unless param 'keysize';
%= select_field 'keysize' => @keysize_options, class => 'input'
%=l('CONFIGUREMODE_STATUS')
%=l('_')
% my @configure_options = [{'Value' => 'all', 'Text' => 'ALL'}, {'Value' => 'domains', 'Text' => 'Domains'}, {'Value' => 'hosts', 'Text' => 'HOSTS'}, {'Value' => 'none', 'Text' => 'NONE'}];
% param 'configure' => $_data->{configure} unless param 'configure';
%= select_field 'configure' => @configure_options, class => 'input'
%=l('EMAIL')
%=l('_')
% param 'email' => $_data->{email} unless param 'email';
%= text_field 'email', size => '50', class => 'textinput email' , pattern=>'.*' , placeholder=>'email'