[%# Variables passed in: current_version - The Major.Minor version of this server report_start_date - The Start date of this report in YYYY-MM-DD Format report_end_date - The End date of this report in YYYY-MM-DD Format top_pages - Array of Hashrefs containing two keys: * page: (string) the name of the page with the offending api1 call * count: (integer) the number of times we recorded calls from this page For more information about how to customize notification templates, read our documentation at https://go.cpanel.net/notificationtemplates -%] [%- PROCESS "include/colors.tmpl"; PROCESS "include/styles.tmpl"; WRAPPER 'wrapper/main.html.tmpl'; -%]

[% CPANEL.locale.maketext("You are receiving this notification because one of your accounts uses a custom [asis,cPanel] integration or plugin that relies on the [asis,cPanel API 1] system. We deprecated [asis,cPanel API 1] in 2012 and started removing these functions from the product in [asis,cPanel amp() WHM] version 88. This server is currently on [asis,cPanel amp() WHM] version “[_1]”.", NOTICE.current_version.replace('^11.', '')) %]

[% IF NOTICE.report_start_date > 1 && NOTICE.report_start_date != NOTICE.report_end_date %] [%# On the first report this is 0 and makes the date sentence make no sense %] [% CPANEL.locale.maketext("The list below includes the top five interfaces that made [asis,cPanel API 1] calls from [datetime,_1,date_format_medium] to [datetime,_2,date_format_medium].", NOTICE.report_start_date, NOTICE.report_end_date) %] [% ELSE %] [% CPANEL.locale.maketext("The list below includes the top five interfaces that made [asis,cPanel API 1] calls on [datetime,_1,date_format_medium].", NOTICE.report_end_date) %] [% END %]

[% FOREACH row IN NOTICE.top_pages %] [% END %]
[% CPANEL.locale.maketext("Page") %] [% CPANEL.locale.maketext("Count") %]
[% row.page.html() %] [% row.count.html() %]

[% CPANEL.locale.maketext("To continue using these integrations and plugins, you must replace any [asis,cPanel API 1] functions with functions from a supported API, such as [asis,UAPI] or [asis,cPanel API 2].") %]

[% CPANEL.locale.maketext("For more information, visit the following:") %]

[% END %]