projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fdd7f9
)
Small template code optimization
author
Marcel Werk
<burntime@woltlab.com>
Wed, 20 Apr 2016 15:25:14 +0000
(17:25 +0200)
committer
Marcel Werk
<burntime@woltlab.com>
Wed, 20 Apr 2016 15:25:20 +0000
(17:25 +0200)
com.woltlab.wcf/templates/cms.tpl
patch
|
blob
|
blame
|
history
diff --git
a/com.woltlab.wcf/templates/cms.tpl
b/com.woltlab.wcf/templates/cms.tpl
index 9361492c88f522bbfbf284393acdaf521c95fb7c..bac53b2029784cd3878b6203d1367ffc4bf97a51 100644
(file)
--- a/
com.woltlab.wcf/templates/cms.tpl
+++ b/
com.woltlab.wcf/templates/cms.tpl
@@
-1,7
+1,7
@@
{include file='documentHeader'}
<head>
- <title>{if !$
page->isLandingPage
}{$content[title]} - {/if}{PAGE_TITLE|language}</title>
+ <title>{if !$
__wcf->isLandingPage()
}{$content[title]} - {/if}{PAGE_TITLE|language}</title>
{include file='headInclude'}
@@
-12,7
+12,7
@@
{include file='header'}
-{if $
page->isLandingPage
}
+{if $
__wcf->isLandingPage()
}
<header class="contentHeader">
<div class="contentHeaderTitle">
<h1 class="contentTitle">{PAGE_TITLE|language}</h1>