Fixed invalid style attributes
authorMarcel Werk <burntime@woltlab.com>
Fri, 9 Dec 2016 00:02:03 +0000 (01:02 +0100)
committerMarcel Werk <burntime@woltlab.com>
Fri, 9 Dec 2016 00:02:03 +0000 (01:02 +0100)
com.woltlab.wcf/templates/pageHeaderLogo.tpl

index ed859070095d08a7576bb50b254572983257deb4..79d5a4f1318d8bbbd45715684103ddaded8c670f 100644 (file)
@@ -2,7 +2,7 @@
        {if MODULE_WCF_AD && $__disableAds|empty}{@$__wcf->getAdHandler()->getAds('com.woltlab.wcf.logo')}{/if}
        
        <a href="{link}{/link}">
-               <img src="{$__wcf->getStyleHandler()->getStyle()->getPageLogo()}" alt="" class="pageHeaderLogoLarge" style="width: {@$__wcf->getStyleHandler()->getStyle()->getVariable('pageLogoWidth')}px; height: {@$__wcf->getStyleHandler()->getStyle()->getVariable('pageLogoHeight')}px">
+               <img src="{$__wcf->getStyleHandler()->getStyle()->getPageLogo()}" alt="" class="pageHeaderLogoLarge" style="{if $__wcf->getStyleHandler()->getStyle()->getVariable('pageLogoWidth')}width: {@$__wcf->getStyleHandler()->getStyle()->getVariable('pageLogoWidth')}px;{/if}{if $__wcf->getStyleHandler()->getStyle()->getVariable('pageLogoHeight')}height: {@$__wcf->getStyleHandler()->getStyle()->getVariable('pageLogoHeight')}px{/if}">
                <img src="{$__wcf->getStyleHandler()->getStyle()->getPageLogoMobile()}" alt="" class="pageHeaderLogoSmall">
                
                {event name='headerLogo'}