File manager - Edit - /usr/local/cpanel/etc/icontact_templates/APIToken/Created.html.tmpl
Back
[%# Variables passed in: token_name - the name of the API token that was created has_full_access - whether the token has full access privileges (1 or 0) create_time - the time the token was created (unix timestamp) origin - the system component from which the token creation request originated ip_address - the IP address from which the token creation request originated ip_address_is_public - whether the "ip_address" is public (i.e., not a loopback, private, etc.) reverse_dns_hostnames - arrayref of whatever a reverse DNS lookup returned, if successful country_name - the name of the country that GeoIP reports is where the IP address's computer is country_code - the two-letter country code of the "country_name" country_lookup_error - whatever error may have prevented getting a "country_name" 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' NOTICE.email_reason = CPANEL.locale.maketext('A new API token has been created.'); %] <p> [% CPANEL.locale.maketext('A new API token named “[_1]” has been created for your account.', NOTICE.token_name.html()) %] </p> [% IF NOTICE.has_full_access -%] <div style="background-color: #fff3cd; border: 1px solid #ffeaa7; border-radius: 4px; padding: 15px; margin: 15px 0;"> <p style="margin: 0; color: #856404; font-weight: bold;"> [% CPANEL.locale.maketext('SECURITY NOTICE: This token has FULL ACCESS privileges, allowing complete control over your account.') %] </p> </div> [% ELSE -%] <p> [% CPANEL.locale.maketext('This token has limited access privileges.') %] </p> [% END -%] <p> [% CPANEL.locale.maketext('Token creation details:') %] </p> <ul> <li>[% CPANEL.locale.maketext('Token Name: [_1]', NOTICE.token_name.html()) %]</li> <li>[% CPANEL.locale.maketext('Created: [_1]', CPANEL.locale.datetime(NOTICE.create_time, 'datetime_format_full')) %]</li> <li>[% CPANEL.locale.maketext('Access Level: [_1]', NOTICE.has_full_access ? CPANEL.locale.maketext('Full Access') : CPANEL.locale.maketext('Limited Access')) %]</li> <li>[% CPANEL.locale.maketext('Origin: [_1]', NOTICE.origin.html()) %]</li> </ul> <p> [% CPANEL.locale.maketext('If you created this token, you can disregard this email. If you did not create this token:') %] </p> <ol> <li>[% CPANEL.locale.maketext('Log in to your control panel immediately.') %]</li> <li>[% CPANEL.locale.maketext('Review and revoke any unauthorized API tokens.') %]</li> <li>[% CPANEL.locale.maketext('Change your account password.') %]</li> <li>[% CPANEL.locale.maketext('Contact your system administrator if you suspect unauthorized access.') %]</li> </ol> [% PROCESS "include/origin_info.html.tmpl" %] [% NOTICE.messages_about_disabled_settings.html() %] [% END %]
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings