[% USE Uapi; USE JSON; SET CPANEL.CPVAR.dprefix = "../../"; SET has_feature = CPANEL.feature('greylist'); SET domains = Uapi.execute_or_die('cPGreyList', 'list_domains', { 'api.sort_column' => 'domain', 'api.paginate_start' => 1, 'api.paginate_size' => 20, 'api.normalize' => 1, }); SET enabled = execute('cPGreyList', 'has_greylisting_enabled', {}).data.enabled; %] [% WRAPPER '_assets/master.html.tt' app_key = 'greylisting' include_legacy_stylesheets = 0 include_legacy_scripts = 0 include_cjt = 0 use_master_bootstrap = 0 page_stylesheets = [ 'mail/greylisting/index.css' ] -%] [% IF has_feature -%]