From cbf6de5f795fbd47808717f8336380f1c9147d99 Mon Sep 17 00:00:00 2001 From: Luzifr Date: Tue, 6 Mar 2012 18:56:00 +0100 Subject: [PATCH] Introducing the new global classes (names may still change!) --- com.woltlab.wcf/template/permissionDenied.tpl | 1 + com.woltlab.wcf/template/redirect.tpl | 1 + wcfsetup/install/files/acp/templates/benchmark.tpl | 2 +- wcfsetup/install/files/acp/templates/masterPassword.tpl | 2 +- wcfsetup/install/files/acp/templates/masterPasswordInit.tpl | 2 +- 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/com.woltlab.wcf/template/permissionDenied.tpl b/com.woltlab.wcf/template/permissionDenied.tpl index fdf6aa9486..9ca3e87379 100644 --- a/com.woltlab.wcf/template/permissionDenied.tpl +++ b/com.woltlab.wcf/template/permissionDenied.tpl @@ -1,4 +1,5 @@ {include file="documentHeader"} + {lang}wcf.global.error.permissionDenied.title{/lang} - {lang}{PAGE_TITLE}{/lang} {include file='headInclude' sandbox=false} diff --git a/com.woltlab.wcf/template/redirect.tpl b/com.woltlab.wcf/template/redirect.tpl index 1131f3ed30..76cddd562d 100644 --- a/com.woltlab.wcf/template/redirect.tpl +++ b/com.woltlab.wcf/template/redirect.tpl @@ -1,4 +1,5 @@ {include file="documentHeader"} + {lang}wcf.global.redirect.title{/lang} - {lang}{PAGE_TITLE}{/lang} {include file='headInclude' sandbox=false} diff --git a/wcfsetup/install/files/acp/templates/benchmark.tpl b/wcfsetup/install/files/acp/templates/benchmark.tpl index 046494099d..e7ee9fc38a 100644 --- a/wcfsetup/install/files/acp/templates/benchmark.tpl +++ b/wcfsetup/install/files/acp/templates/benchmark.tpl @@ -1,4 +1,4 @@ -

Execution time: {@$__wcf->getBenchmark()->getExecutionTime()}s ({#($__wcf->getBenchmark()->getExecutionTime()-$__wcf->getBenchmark()->getQueryExecutionTime())/$__wcf->getBenchmark()->getExecutionTime()*100}% PHP, {#$__wcf->getBenchmark()->getQueryExecutionTime()/$__wcf->getBenchmark()->getExecutionTime()*100}% SQL) | SQL queries: {#$__wcf->getBenchmark()->getQueryCount()} | Memory-Usage: {$__wcf->getBenchmark()->getMemoryUsage()}

+

Execution time: {@$__wcf->getBenchmark()->getExecutionTime()}s ({#($__wcf->getBenchmark()->getExecutionTime()-$__wcf->getBenchmark()->getQueryExecutionTime())/$__wcf->getBenchmark()->getExecutionTime()*100}% PHP, {#$__wcf->getBenchmark()->getQueryExecutionTime()/$__wcf->getBenchmark()->getExecutionTime()*100}% SQL) | SQL queries: {#$__wcf->getBenchmark()->getQueryCount()} | Memory-Usage: {$__wcf->getBenchmark()->getMemoryUsage()}

{if ENABLE_DEBUG_MODE}