Add in mailstats generated code amd add html object to html controls
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
%#
|
||||
%# Generated by SM2Gen version:0.9(20Jan2025) Chameleon version:4.5.4 On Python:3.12.3 at 2025-04-04 13:12:40
|
||||
%# Generated by SM2Gen version:0.9(20Jan2025) Chameleon version:4.5.4 On Python:3.12.3 at 2025-04-05 11:17:38
|
||||
%#
|
||||
<div id="Mailstats-CONFIG" class="partial Mailstats-CONFIG">
|
||||
<script>
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
|
||||
<p><span class=label>
|
||||
%=l('mst_Hostname_for_email_server')
|
||||
%=l('mst_Host_name_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'
|
||||
@@ -86,7 +86,7 @@
|
||||
<h2 class='subh2'><%=l('mst_Details_for_connection_to_database')%></h2>
|
||||
|
||||
<p><span class=label>
|
||||
%=l('mst_Hostname_for_DB_server')
|
||||
%=l('mst_Host_name_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'
|
||||
@@ -123,22 +123,22 @@
|
||||
<p><span class=label>
|
||||
%=l('mst_Select_the_countries_you_would')
|
||||
</span><span class=data>
|
||||
% my @CountrySelect_options = [['$c->get_CountryCodes()' => '$c->get_CountryCodes()']];
|
||||
% my @CountrySelect_options = $c->get_CountryCodes();
|
||||
% param 'CountrySelect' => $mst_data->{CountrySelect} unless param 'CountrySelect';
|
||||
%= select_field 'CountrySelect' => @CountrySelect_options, class => 'input', id => 'CountrySelect_select'
|
||||
%= select_field 'CountrySelect' => @CountrySelect_options, class => 'input', id => 'CountrySelect_select', multiple => 'multiple'
|
||||
<br></span> </p>
|
||||
|
||||
<p><span class=label>
|
||||
%=l('mst_Accumlated_country_codes_(editable)')
|
||||
%=l('mst_Accumulated_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'
|
||||
%= text_field 'AccumCountryCodes', size => '50', class => 'textinput AccumCountryCodes' , pattern=>'.*' , placeholder=>'AccumCountryCodes', title =>'Pattern regex mismatch', id => 'AccumCountryCodes_text'
|
||||
<br></span></p>
|
||||
|
||||
<p><span class=label>
|
||||
%=l('mst_Enable_RHSBL_checking')
|
||||
</span><span class=data>
|
||||
% my @EnableRHSBL_options = [['yes' => 'yes'], ['no' => 'no']];
|
||||
% my @EnableRHSBL_options = [['yes' => 'enabled'], ['no' => 'disabled']];
|
||||
% param 'EnableRHSBL' => $mst_data->{EnableRHSBL} unless param 'EnableRHSBL';
|
||||
%= select_field 'EnableRHSBL' => @EnableRHSBL_options, class => 'input', id => 'EnableRHSBL_select'
|
||||
<br></span> </p>
|
||||
@@ -146,36 +146,44 @@
|
||||
<p><span class=label>
|
||||
%=l('mst_Enable_DNSBL_checking')
|
||||
</span><span class=data>
|
||||
% my @EnableDNSBL_options = [['yes' => 'yes'], ['no' => 'no']];
|
||||
% my @EnableDNSBL_options = [['yes' => 'enabled'], ['no' => 'disabled']];
|
||||
% 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_Enable_URIBL_checking')
|
||||
</span><span class=data>
|
||||
% my @EnableURIBL_options = [['yes' => 'enabled'], ['no' => 'disabled']];
|
||||
% param 'EnableURIBL' => $mst_data->{EnableURIBL} unless param 'EnableURIBL';
|
||||
%= select_field 'EnableURIBL' => @EnableURIBL_options, class => 'input', id => 'EnableURIBL_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'
|
||||
% 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'
|
||||
% 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'
|
||||
% 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>
|
||||
<h2 class='subh4'><%=l('mst_Spamassassin_scores_-_tag_and')%></h2>
|
||||
|
||||
<p><span class='label'>
|
||||
%=l('mst_Score_over_which_email_will')
|
||||
%=l('mst_Score_to_fully_reject_emmail')
|
||||
</span><span class=data>
|
||||
% param 'RejectLevel' => $mst_data->{RejectLevel} unless param 'RejectLevel';
|
||||
%=number_field 'RejectLevel', class => 'numb21'
|
||||
@@ -183,13 +191,17 @@
|
||||
|
||||
|
||||
<p><span class='label'>
|
||||
%=l('mst_Score_over_which_email_will')
|
||||
%=l('mst_Score_for_tagging_as_spam,')
|
||||
</span><span class=data>
|
||||
% param 'TagLevel' => $mst_data->{TagLevel} unless param 'TagLevel';
|
||||
%=number_field 'TagLevel', class => 'numb22'
|
||||
</span></p>
|
||||
|
||||
|
||||
<span class='data'>
|
||||
%= submit_button l('mst_Save'), class => 'action subm23'
|
||||
</span>
|
||||
|
||||
%# Probably finally by a submit.
|
||||
%end
|
||||
</div>
|
Reference in New Issue
Block a user