Added a proper page logo for dev purposes
authorAlexander Ebert <ebert@woltlab.com>
Thu, 24 Dec 2015 15:33:10 +0000 (16:33 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 24 Dec 2015 15:33:10 +0000 (16:33 +0100)
com.woltlab.wcf/templates/pageHeaderLogo.tpl
wcfsetup/install/files/acp/templates/pageHeaderLogo.tpl
wcfsetup/install/files/acp/templates/pageHeaderUser.tpl
wcfsetup/install/files/images/default-logo-small.png [new file with mode: 0644]
wcfsetup/install/files/images/default-logo.png [new file with mode: 0644]

index da06290ab181125cc2c636e1a0e8bc4809bdc8af..0bf451bacc62ab133d7989493b5d28881a1733bf 100644 (file)
@@ -3,11 +3,11 @@
        
        <a href="{link}{/link}">
                {* @TODO *}
-               <img src="http://192.168.0.102/w/275/wcf/images/wbb.png" alt="" class="large">
-               <img src="http://192.168.0.102/w/275/wcf/images/wbb-small.png" alt="" class="small">
-               {if $__wcf->getStyleHandler()->getStyle()->getPageLogo()}
+               <img src="{@$__wcf->getPath()}images/default-logo.png" alt="" class="large">
+               <img src="{@$__wcf->getPath()}images/default-logo-small.png" alt="" class="small">
+               {*if $__wcf->getStyleHandler()->getStyle()->getPageLogo()}
                        <img src="{$__wcf->getStyleHandler()->getStyle()->getPageLogo()}" alt="">
-               {/if}
+               {/if*}
                {event name='headerLogo'}
        </a>
 </div>
\ No newline at end of file
index 7f6a517d759610e7ffd35b6af8b589b14e239532..678816e2c5c338e8b091786581ba40763435fbcf 100644 (file)
@@ -1,8 +1,8 @@
 <div id="logo" class="logo">
        <a href="{link}{/link}">
                {* @TODO *}
-               <img src="http://192.168.0.102/w/275/wcf/images/wbb.png" alt="" class="large">
-               <img src="http://192.168.0.102/w/275/wcf/images/wbb-small.png" alt="" class="small">
+               <img src="{@$__wcf->getPath()}images/default-logo.png" alt="" class="large">
+               <img src="{@$__wcf->getPath()}images/default-logo-small.png" alt="" class="small">
                
                {event name='headerLogo'}
        </a>
index 440de2555537118271e1fee3fa007fff77abb6c6..329db54f37ed00b29107f74ae84326526517f36c 100644 (file)
@@ -9,7 +9,7 @@
                        
                        <li><a href="{link controller='Settings'}{/link}" class="noJsOnly" style="display: none"><span class="icon icon16 fa-cogs"></span> <span>{lang}wcf.user.menu.settings{/lang}</span></a></li>
                        
-                       {if PACKAGE_ID > 1}
+                       {if PACKAGE_ID}
                                <li id="jumpToPage" class="dropdown">
                                        <a href="{link forceFrontend=true}{/link}" class="dropdownToggle" data-toggle="jumpToPage"><span class="icon icon16 fa-home"></span> <span>{lang}wcf.global.jumpToPage{/lang}</span></a>
                                        <ul class="dropdownMenu">
diff --git a/wcfsetup/install/files/images/default-logo-small.png b/wcfsetup/install/files/images/default-logo-small.png
new file mode 100644 (file)
index 0000000..0b7e77c
Binary files /dev/null and b/wcfsetup/install/files/images/default-logo-small.png differ
diff --git a/wcfsetup/install/files/images/default-logo.png b/wcfsetup/install/files/images/default-logo.png
new file mode 100644 (file)
index 0000000..aeb620f
Binary files /dev/null and b/wcfsetup/install/files/images/default-logo.png differ