%# %# Generated by SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.12.3 at 2024-10-18 19:00:38 %#

%= l('lets_Hello_PARAMS');

% my $btn = l('lets_APPLY'); %= form_for "Letsencryptd" => (method => 'POST') => begin % param 'trt' => $lets_data->{trt} unless param 'trt'; %= hidden_field 'trt' => $lets_data->{trt} %# Inputs etc in here.

<%=l('lets_Configuration_for_Letsencrypt')%>

<%=l('lets_Manage_letsencrypt-config_settings:')%>

%=l('lets_CONFIG_LETSENCRYPT')

%=l('lets_SERVICE_STATUS') % my @status_options = [{'Value': 'disabled', 'Text': 'Disabled'}, {'Value': 'enabled', 'Text': 'Enabled'}, {'Value': 'test', 'Text': 'TEST'}]; % param 'status' => $lets_data->{status} unless param 'status'; %= select_field 'status' => @status_options, class => 'input'

%=l('lets_HOOKSCRIPT_STATUS') % my @hookScript_options = [{'Value': 'disabled', 'Text': 'Disabled'}, {'Value': 'enabled', 'Text': 'Enabled'}]; % param 'hookScript' => $lets_data->{hookScript} unless param 'hookScript'; %= select_field 'hookScript' => @hookScript_options, class => 'input'

%=l('lets_HOSTOVERRIDE_STATUS') % my @hostOverride_options = [{'Value': 'disabled', 'Text': 'Disabled'}, {'Value': 'yes', 'Text': 'Yes'}]; % param 'hostOverride' => $lets_data->{hostOverride} unless param 'hostOverride'; %= select_field 'hostOverride' => @hostOverride_options, class => 'input'

%=l('lets_ACCEPT_TERMS_STATUS') % my @ACCEPT_TERMS_options = [{'Value': 'disabled', 'Text': 'Disabled'}, {'Value': 'yes', 'Text': 'Yes'}]; % param 'ACCEPT_TERMS' => $lets_data->{ACCEPT_TERMS} unless param 'ACCEPT_TERMS'; %= select_field 'ACCEPT_TERMS' => @ACCEPT_TERMS_options, class => 'input'

%=l('lets_API_STATUS') % my @API_options = [{'Value': '2', 'Text': '2'}]; % param 'API' => $lets_data->{API} unless param 'API'; %= select_field 'API' => @API_options, class => 'input'

%=l('lets_KEYSIZE_STATUS') % my @keysize_options = [{'Value': '2048', 'Text': '2048'}, {'Value': '3072', 'Text': '3072'}, {'Value': '4096', 'Text': '4096'}]; % param 'keysize' => $lets_data->{keysize} unless param 'keysize'; %= select_field 'keysize' => @keysize_options, class => 'input'

%=l('lets_CONFIGUREMODE_STATUS') % my @configure_options = [{'Value': 'all', 'Text': 'ALL'}, {'Value': 'domains', 'Text': 'Domains'}, {'Value': 'hosts', 'Text': 'HOSTS'}, {'Value': 'none', 'Text': 'NONE'}]; % param 'configure' => $lets_data->{configure} unless param 'configure'; %= select_field 'configure' => @configure_options, class => 'input'

%=l('lets_EMAIL') % param 'email' => $lets_data->{email} unless param 'email'; %= text_field 'email', size => '50', class => 'textinput email' , pattern=>'.*' , placeholder=>'email'

%= submit_button l('lets_Save'), class => 'action subm9' %# Probably finally by a submit. %end