SM2Gen/Targets/Mailstats/_mst_CONFIG.html.ep

195 lines
7.0 KiB
Plaintext

%#
%# Generated by SM2Gen version:0.9(20Jan2025) Chameleon version:4.5.4 On Python:3.12.3 at 2025-04-04 13:12:40
%#
<div id="Mailstats-CONFIG" class="partial Mailstats-CONFIG">
<script>
window.onload = function() {
SelectInput();
};
</script>
% if (config->{debug} == 1) {
<pre>
%= dumper $mst_data
</pre>
% }
% my $btn = l('mst_APPLY');
%= form_for "mailstatsu" => (method => 'POST') => begin
% param 'trt' => $mst_data->{trt} unless param 'trt';
%= hidden_field 'trt' => $mst_data->{trt}
%# Inputs etc in here.
<p><span class=label>
%=l('mst_Specify_if_you_would_like')
</span><span class=data>
% my @TextorHTML_options = [['HTML' => 'HTML'], ['Text' => 'Text'], ['Both' => 'Both'], ['Neither' => 'Neither']];
% param 'TextorHTML' => $mst_data->{TextorHTML} unless param 'TextorHTML';
%= select_field 'TextorHTML' => @TextorHTML_options, class => 'input', id => 'TextorHTML_select'
<br></span> </p>
<div class=emailwanted>
<h2 class='subh'><%=l('mst_Email_details')%></h2>
<p><span class=label>
%=l('mst_Email_for_stats')
</span><span class=data>
% param 'Email' => $mst_data->{Email} unless param 'Email';
%=email_field 'Email', class => 'emai3'
</span></p>
<p><span class=label>
%=l('mst_Hostname_for_email_server')
</span><span class=data>
% param 'EmailHost' => $mst_data->{EmailHost} unless param 'EmailHost';
%= text_field 'EmailHost', size => '50', class => 'textinput EmailHost' , pattern=>'.*' , placeholder=>'EmailHost', title =>'Pattern regex mismatch'
<br></span></p>
<p><span class='label'>
%=l('mst_Port_number_for_email_server')
</span><span class=data>
% param 'EmailPort' => $mst_data->{EmailPort} unless param 'EmailPort';
%=number_field 'EmailPort', class => 'numb6'
</span></p>
<p><span class=label>
%=l('mst_User_name_for_email_sending')
</span><span class=data>
% param 'EmailUser' => $mst_data->{EmailUser} unless param 'EmailUser';
%= text_field 'EmailUser', size => '50', class => 'textinput EmailUser' , pattern=>'.*' , placeholder=>'EmailUser', title =>'Pattern regex mismatch'
<br></span></p>
<p><span class='label'>
%=l('mst_User_Password_for_email_sending')
</span><span class=data>
% param 'EmailPassword' => $mst_data->{EmailPassword} unless param 'EmailPassword';
%=password_field 'EmailPassword', class => 'pass8 sme-password', autocomplete => 'off'
</span></p>
</div>
<p><span class=label>
%=l('mst_Would_you_like_to_save')
</span><span class=data>
% my @DBSave_options = [['yes' => 'yes'], ['no' => 'no']];
% param 'DBSave' => $mst_data->{DBSave} unless param 'DBSave';
%= select_field 'DBSave' => @DBSave_options, class => 'input', id => 'DBSave_select'
<br></span> </p>
<div class=dbwanted>
<h2 class='subh2'><%=l('mst_Details_for_connection_to_database')%></h2>
<p><span class=label>
%=l('mst_Hostname_for_DB_server')
</span><span class=data>
% param 'DBHost' => $mst_data->{DBHost} unless param 'DBHost';
%= text_field 'DBHost', size => '50', class => 'textinput DBHost' , pattern=>'.*' , placeholder=>'DBHost', title =>'Pattern regex mismatch'
<br></span></p>
<p><span class='label'>
%=l('mst_Port_number_for_DB_server')
</span><span class=data>
% param 'DBPort' => $mst_data->{DBPort} unless param 'DBPort';
%=number_field 'DBPort', class => 'numb11'
</span></p>
<p><span class=label>
%=l('mst_User_name_for_DB_sending')
</span><span class=data>
% param 'DBUser' => $mst_data->{DBUser} unless param 'DBUser';
%= text_field 'DBUser', size => '50', class => 'textinput DBUser' , pattern=>'.*' , placeholder=>'DBUser', title =>'Pattern regex mismatch'
<br></span></p>
<p><span class='label'>
%=l('mst_User_Password_for_DB_sending')
</span><span class=data>
% param 'DBPassword' => $mst_data->{DBPassword} unless param 'DBPassword';
%=password_field 'DBPassword', class => 'pass13 sme-password', autocomplete => 'off'
</span></p>
</div>
<h2 class='subh3'><%=l('mst_Email_filtering_/_exclusion')%></h2>
<p><span class=label>
%=l('mst_Select_the_countries_you_would')
</span><span class=data>
% my @CountrySelect_options = [['$c->get_CountryCodes()' => '$c->get_CountryCodes()']];
% param 'CountrySelect' => $mst_data->{CountrySelect} unless param 'CountrySelect';
%= select_field 'CountrySelect' => @CountrySelect_options, class => 'input', id => 'CountrySelect_select'
<br></span> </p>
<p><span class=label>
%=l('mst_Accumlated_country_codes_(editable)')
</span><span class=data>
% param 'AccumCountryCodes' => $mst_data->{AccumCountryCodes} unless param 'AccumCountryCodes';
%= text_field 'AccumCountryCodes', size => '50', class => 'textinput AccumCountryCodes' , pattern=>'.*' , placeholder=>'AccumCountryCodes', title =>'Pattern regex mismatch'
<br></span></p>
<p><span class=label>
%=l('mst_Enable_RHSBL_checking')
</span><span class=data>
% my @EnableRHSBL_options = [['yes' => 'yes'], ['no' => 'no']];
% param 'EnableRHSBL' => $mst_data->{EnableRHSBL} unless param 'EnableRHSBL';
%= select_field 'EnableRHSBL' => @EnableRHSBL_options, class => 'input', id => 'EnableRHSBL_select'
<br></span> </p>
<p><span class=label>
%=l('mst_Enable_DNSBL_checking')
</span><span class=data>
% my @EnableDNSBL_options = [['yes' => 'yes'], ['no' => 'no']];
% param 'EnableDNSBL' => $mst_data->{EnableDNSBL} unless param 'EnableDNSBL';
%= select_field 'EnableDNSBL' => @EnableDNSBL_options, class => 'input', id => 'EnableDNSBL_select'
<br></span> </p>
<p><span class=label>
%=l('mst_RBL_Servers_to_use')
</span><span class=data>
% param 'RBLLIST' => $mst_data->{RBLLIST} unless param 'RBLLIST';
%= text_field 'RBLLIST', size => '50', class => 'textinput RBLLIST' , pattern=>'.*' , placeholder=>'RBLLIST', title =>'Pattern regex mismatch'
<br></span></p>
<p><span class=label>
%=l('mst_SBL_Servers_to_use')
</span><span class=data>
% param 'SBLLIST' => $mst_data->{SBLLIST} unless param 'SBLLIST';
%= text_field 'SBLLIST', size => '50', class => 'textinput SBLLIST' , pattern=>'.*' , placeholder=>'SBLLIST', title =>'Pattern regex mismatch'
<br></span></p>
<p><span class=label>
%=l('mst_UBL_Servers_to_use')
</span><span class=data>
% param 'UBLLIST' => $mst_data->{UBLLIST} unless param 'UBLLIST';
%= text_field 'UBLLIST', size => '50', class => 'textinput UBLLIST' , pattern=>'.*' , placeholder=>'UBLLIST', title =>'Pattern regex mismatch'
<br></span></p>
<h2 class='subh4'><%=l('mst_Spamassassin_parameters_for_rejecting_email')%></h2>
<p><span class='label'>
%=l('mst_Score_over_which_email_will')
</span><span class=data>
% param 'RejectLevel' => $mst_data->{RejectLevel} unless param 'RejectLevel';
%=number_field 'RejectLevel', class => 'numb21'
</span></p>
<p><span class='label'>
%=l('mst_Score_over_which_email_will')
</span><span class=data>
% param 'TagLevel' => $mst_data->{TagLevel} unless param 'TagLevel';
%=number_field 'TagLevel', class => 'numb22'
</span></p>
%# Probably finally by a submit.
%end
</div>