From: Roland Häder Date: Fri, 16 Sep 2022 13:56:29 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c316a931b5672547c28a5349801c0658c9b1963b;p=mailer.git Continued: - changed to mask --- 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';