From: Matthias Schmidt Date: Thu, 14 Aug 2014 19:08:24 +0000 (+0200) Subject: Add missing templateNameApplication in frontend X-Git-Tag: 2.1.0_Alpha_1~450 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=57379ae6840c27632ac01adb534e98fe65f1a918;p=GitHub%2FWoltLab%2FWCF.git Add missing templateNameApplication in frontend --- diff --git a/wcfsetup/install/files/lib/system/exception/NamedUserException.class.php b/wcfsetup/install/files/lib/system/exception/NamedUserException.class.php index 5156654e54..d2d8bbe5eb 100644 --- a/wcfsetup/install/files/lib/system/exception/NamedUserException.class.php +++ b/wcfsetup/install/files/lib/system/exception/NamedUserException.class.php @@ -28,7 +28,8 @@ class NamedUserException extends UserException { 'line' => $this->getLine(), 'message' => $this->getMessage(), 'stacktrace' => $this->getTraceAsString(), - 'templateName' => 'userException' + 'templateName' => 'userException', + 'templateNameApplication' => 'wcf' )); WCF::getTPL()->display('userException'); } diff --git a/wcfsetup/install/files/lib/system/exception/PermissionDeniedException.class.php b/wcfsetup/install/files/lib/system/exception/PermissionDeniedException.class.php index 935fd6df00..8136ce2576 100644 --- a/wcfsetup/install/files/lib/system/exception/PermissionDeniedException.class.php +++ b/wcfsetup/install/files/lib/system/exception/PermissionDeniedException.class.php @@ -32,7 +32,8 @@ class PermissionDeniedException extends UserException { 'file' => $this->getFile(), 'line' => $this->getLine(), 'stacktrace' => $this->getTraceAsString(), - 'templateName' => 'permissionDenied' + 'templateName' => 'permissionDenied', + 'templateNameApplication' => 'wcf' )); WCF::getTPL()->display('permissionDenied'); } diff --git a/wcfsetup/install/files/lib/util/HeaderUtil.class.php b/wcfsetup/install/files/lib/util/HeaderUtil.class.php index 7b9530fd34..404fe5d753 100644 --- a/wcfsetup/install/files/lib/util/HeaderUtil.class.php +++ b/wcfsetup/install/files/lib/util/HeaderUtil.class.php @@ -158,6 +158,7 @@ final class HeaderUtil { 'message' => $message, 'wait' => $delay, 'templateName' => 'redirect', + 'templateNameApplication' => 'wcf', 'status' => $status )); WCF::getTPL()->display('redirect');