[%
USE Whostmgr;
USE JSON;
SET on_switch_text = "ON";
SET off_switch_text = "OFF";
IF (locale.get_language_tag() != "en");
# These characters should not be translated.
on_switch_text = "I";
off_switch_text = "O";
END;
WRAPPER 'master_templates/master.tmpl'
app_key = 'greylisting'
header = locale.maketext('[asis,Greylisting]'),
breadcrumburl = '/scripts7/greylist',
base = '/scripts7/greylist/',
stylesheets = [
Whostmgr.find_file_url('/templates/greylist/index.min.css'),
Whostmgr.find_file_url('/templates/greylist/angular-toggle-switch-bootstrap.min.css'),
Whostmgr.find_file_url('/templates/greylist/angular-toggle-switch.min.css')
],
warn_linked_nodes => 1,
theme='bootstrap',
CJT2_EXCLUSIVE = 1;
%]
[% locale.maketext("[asis,Greylisting] defends email users against spam. When enabled, the mail server will temporarily reject any email from a sender the server does not recognize. If the email is legitimate, the originating server will try again after a delay. After sufficient time has elapsed, the server will accept the email.") %]
[% on_switch_text %]
{{knobLabel}}
[% off_switch_text %]
[% locale.maketext('[asis,Greylisting] is [output,strong,Enabled]') %]
[% locale.maketext('[asis,Greylisting] is [output,strong,Disabled]') %]
[% PROCESS 'master_templates/cjt2_header_include.tt' %]
[% END %]