From: Marcel Werk Date: Wed, 20 Apr 2016 15:25:14 +0000 (+0200) Subject: Small template code optimization X-Git-Tag: 3.0.0_Beta_1~1844 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a404e76e87f651ce59cb3aac2268edb6f55d81e5;p=GitHub%2FWoltLab%2FWCF.git Small template code optimization --- diff --git a/com.woltlab.wcf/templates/cms.tpl b/com.woltlab.wcf/templates/cms.tpl index 9361492c88..bac53b2029 100644 --- a/com.woltlab.wcf/templates/cms.tpl +++ b/com.woltlab.wcf/templates/cms.tpl @@ -1,7 +1,7 @@ {include file='documentHeader'} - {if !$page->isLandingPage}{$content[title]} - {/if}{PAGE_TITLE|language} + {if !$__wcf->isLandingPage()}{$content[title]} - {/if}{PAGE_TITLE|language} {include file='headInclude'} @@ -12,7 +12,7 @@ {include file='header'} -{if $page->isLandingPage} +{if $__wcf->isLandingPage()}

{PAGE_TITLE|language}