1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Show logo in ACP

This commit is contained in:
Tim Düsterhus 2013-04-29 20:03:54 +02:00
parent 037e35ba0d
commit 727c45d063

View File

@ -12,7 +12,14 @@
<environment>user</environment> <environment>user</environment>
<templatename>header</templatename> <templatename>header</templatename>
<eventname>headerLogo</eventname> <eventname>headerLogo</eventname>
<templatecode><![CDATA[{if $__chat->isActiveApplication()}{if !$__wcf->getStyleHandler()->getStyle()->getPageLogo()}<img src="{@$__wcf->getPath('chat')}images/chatLogo.png" width="246" height="90" alt="" />{/if}{/if}]]></templatecode> <templatecode><![CDATA[{if $__chat->isActiveApplication()}{if !$__wcf->getStyleHandler()->getStyle()->getPageLogo()}<img src="{$__wcf->getPath('chat')}images/chatLogo.png" style="width: 246px; height: 90px;" alt="" />{/if}{/if}]]></templatecode>
</templatelistener>
<templatelistener name="headerLogo">
<environment>admin</environment>
<templatename>header</templatename>
<eventname>headerLogo</eventname>
<templatecode><![CDATA[{if $__chat->isActiveApplication()}<img src="{$__wcf->getPath('chat')}images/chatLogo.png" style="width: 246px; height: 90px;" alt="" />{/if}]]></templatecode>
</templatelistener> </templatelistener>
</import> </import>
</data> </data>