From: Marcel Werk Date: Thu, 7 Jan 2016 18:31:22 +0000 (+0100) Subject: Style overhaul (WIP) X-Git-Tag: 3.0.0_Beta_1~2030^2~171 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=487db634a17368ab7f3597016d806cf50eb6dd65;p=GitHub%2FWoltLab%2FWCF.git Style overhaul (WIP) --- diff --git a/com.woltlab.wcf/templates/cms.tpl b/com.woltlab.wcf/templates/cms.tpl index d92be9d231..6535d44282 100644 --- a/com.woltlab.wcf/templates/cms.tpl +++ b/com.woltlab.wcf/templates/cms.tpl @@ -13,20 +13,22 @@ {include file='header'} {if $page->isLandingPage} -
-

{PAGE_TITLE|language}

+
+

{PAGE_TITLE|language}

{hascontent}

{content}{PAGE_DESCRIPTION|language}{/content}

{/hascontent}
{else} -
-

{$content[title]}

-
+ {if $content[title]} +
+

{$content[title]}

+
+ {/if} {/if} {include file='userNotice'} -
- {hascontent} +{hascontent} +
- {/hascontent} -
+
+{/hascontent} -
- {@$content[content]} -
+{if $content[content]} +
+ {@$content[content]} +
+{/if} -
- {hascontent} +{hascontent} +
- {/hascontent} -
+
+{/hascontent} {include file='footer'} diff --git a/com.woltlab.wcf/templates/messageSidebar.tpl b/com.woltlab.wcf/templates/messageSidebar.tpl index f459fedb17..dabd84ca40 100644 --- a/com.woltlab.wcf/templates/messageSidebar.tpl +++ b/com.woltlab.wcf/templates/messageSidebar.tpl @@ -13,8 +13,7 @@ {capture assign='__userAvatar'}{@$userProfile->getAvatar()->getImageTag(128)}{/capture} {@' - {* @TODO *} - {*if MESSAGE_SIDEBAR_ENABLE_ONLINE_STATUS && $userProfile->isOnline()}{lang}wcf.user.online{/lang}{/if*} + {if MESSAGE_SIDEBAR_ENABLE_ONLINE_STATUS && $userProfile->isOnline()}{lang}wcf.user.online{/lang}{/if} {/if} {/if} diff --git a/com.woltlab.wcf/templates/pageFooterCopyright.tpl b/com.woltlab.wcf/templates/pageFooterCopyright.tpl index b79336e5c9..2ab68fa1db 100644 --- a/com.woltlab.wcf/templates/pageFooterCopyright.tpl +++ b/com.woltlab.wcf/templates/pageFooterCopyright.tpl @@ -1 +1,3 @@ {event name='copyright'} + +{if $__wcf->isActiveApplication()}{/if} diff --git a/com.woltlab.wcf/templates/pageHeaderSearch.tpl b/com.woltlab.wcf/templates/pageHeaderSearch.tpl index 2fc10fb1ce..d9d212502e 100644 --- a/com.woltlab.wcf/templates/pageHeaderSearch.tpl +++ b/com.woltlab.wcf/templates/pageHeaderSearch.tpl @@ -5,21 +5,27 @@ {event name='settings'} -