From a404e76e87f651ce59cb3aac2268edb6f55d81e5 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 20 Apr 2016 17:25:14 +0200 Subject: [PATCH] Small template code optimization --- com.woltlab.wcf/templates/cms.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}

-- 2.20.1