X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ftemplate-functions.php;h=a59a577af2786b2361170ace4cb6b787f43fcdb2;hb=c316a931b5672547c28a5349801c0658c9b1963b;hp=1cc687b0f606e33b07bd93d48cf2a9eeb5fbd99e;hpb=27e6b186e667c55eb097de7c4910aaa7f3465989;p=mailer.git diff --git a/inc/template-functions.php b/inc/template-functions.php index 1cc687b0f6..a59a577af2 100644 --- a/inc/template-functions.php +++ b/inc/template-functions.php @@ -381,16 +381,19 @@ function loadTemplate ($template, $return = FALSE, $content = [], $compileCode = } // END - if } elseif ((isAdmin()) || ((isInstalling()) && (!isInstalled()))) { // Only admins shall see this warning or when installation mode is active - $templateContent = '
+ $templateContent = sprintf('
{--TEMPLATE_404--}
- (' . $template . ') + (%s)
{--TEMPLATE_CONTENT--}: -
' . print_r($content, TRUE) . '
-
'; +
%s
+
', + $template, + print_r($content, TRUE) + ); } else { // No file! $GLOBALS['template_eval']['html'][$template] = '404';