From c316a931b5672547c28a5349801c0658c9b1963b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 16 Sep 2022 15:56:29 +0200 Subject: [PATCH] Continued: - changed to mask --- inc/template-functions.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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'; -- 2.39.5