[%- USE Whostmgr; USE NVData; USE JSON; USE CPScalar; IF data.type == "queue"; origin = '/scripts11/fetch_mail_queue'; ELSE; origin = '/scripts11/emailstats_search'; END; # Fetch the NVDATA for this user SET nvdata = NVData.get_page_nvdata(); #This way, undefined/'' values will default to "on". SET show_extended_headers = nvdata.show_extended_headers == 1; SET show_control_data = nvdata.show_control_data == 1; -%] [% WRAPPER 'master_templates/master.tmpl' theme="yui" breadcrumburl = origin; -%] [%- IF data.type == "queue" && ! data.found_exim -%]
[%- data.control_data FILTER html -%]
[%-
data.body FILTER html;
-%][% html_safe_msgid = data.msgid FILTER html %] [% locale.maketext("The system failed to locate the message with Message [asis,ID] “[_1]” in the queue. The system may have delivered the message during the request process.", html_safe_msgid) %]
[% locale.maketext('Return to Mail Queue.') %] [% ELSE %][% html_safe_msgid = data.msgid FILTER html %] [% IF data.permitted %] [% IF data.statusmsg %] [% locale.maketext("The system failed to locate the message with Message [asis,ID] “[_1]”. The system may have deleted the message: [_2]", html_safe_msgid, data.statusmsg.html()) %] [% ELSE %] [% locale.maketext("The system failed to locate the message with Message [asis,ID] “[_1]”. The system may have deleted the message.", html_safe_msgid) %] [% END %] [% ELSE %] [% locale.maketext("The system has not delivered a message with Message [asis,ID] “[_1]” to an account that you control.", html_safe_msgid) %] [% END %]
[% locale.maketext('Return to Mail Delivery Reports.') %] [% END -%] [% END #wrapper -%]