[%
#----------------------------------------------------------------------
# Arguments received by this template:
# This list may not be exhaustive, and other parameters may be added or available.
#
# app_name - What application is loading this interface (cpaneld, whostmgrd, webmaild)
# http_status_code - HTTP Status code
# page_to_show - Page to display
[%
SET app_images = {
'whostmgrd' => 'whm-logo_white.svg',
'webmaild' => 'webmail-logo.svg',
'cpaneld' => 'cpanel-logo.svg',
};
SET app_image = app_images.$app_name || app_images.cpaneld;
SET app_image = MagicRevision(get_theme_url("images/$app_image"));
%]
[% IF page_to_show != "access_denied" %]
<p class="logo"><img class="main-logo" src="[% app_image %]" alt="logo"></p>
[% END %]
<div class="error_notice">
<div id="error-wrapper">
<div id="error_msg_contents">
<h2>[% locale.maketext('HTTP error [_1]',http_status_code) %]</h2>
[% content %]
</div>
</div>
</div>