1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00
This commit is contained in:
Tim Düsterhus 2013-04-26 16:09:26 +02:00
parent 38bc3cf163
commit 32e979c7c5
6 changed files with 12 additions and 5 deletions

BIN
file/images/chatLogo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

View File

@ -9,7 +9,7 @@
<item name="chat.acp.room.topic"><![CDATA[Thema]]></item>
<item name="chat.acp.room.noneAvailable"><![CDATA[Es wurden noch keine Chaträume angelegt.]]></item>
<item name="chat.acp.room.delete.sure"><![CDATA[Möchten Sie den Raum „{$chatRoom->title|language}“ wirklich löschen?]]></item>
<item name="chat.acp.room.delete.sure"><![CDATA[Möchten Sie den Raum „{$chatRoom}“ wirklich löschen?]]></item>
</category>
<category name="chat.acp.menu">

View File

@ -5,7 +5,7 @@
<packagedescription><![CDATA[Chat for WoltLab Community Framework™.]]></packagedescription>
<packagedescription language="de"><![CDATA[Chat für WoltLab Community Framework™.]]></packagedescription>
<isapplication>1</isapplication>
<version>3.0.0 Alpha 20</version><!-- Codename: Codenames are overrated -->
<version>3.0.0 Alpha 21</version><!-- Codename: Codenames are overrated -->
<date>2011-11-26</date>
</packageinformation>

View File

@ -49,9 +49,9 @@
$('#timsChatCopyright').click(function (event) {
event.preventDefault();
if (!$.wcfIsset('timsChatCopyrightDialog')) $('<fieldset id="timsChatCopyrightDialog"></fieldset>').appendTo('body');
if (!$.wcfIsset('timsChatCopyrightDialog')) $('<div id="timsChatCopyrightDialog"></div>').appendTo('body');
$('#timsChatCopyrightDialog').load('{link application="chat" controller="Copyright"}{/link}').wcfDialog({
title: 'Tims Chat{if SHOW_VERSION_NUMBER} {PACKAGE_VERSION}{/if}'
title: '<img width="246" height="90" alt="" src="{$__wcf->getPath("chat")|encodeJS}images/chatLogo.png"> {if SHOW_VERSION_NUMBER} {PACKAGE_VERSION}{/if}'
});
});

View File

@ -18,7 +18,7 @@
<h2><strong>{#$users|count} Users</strong></h2>
</hgroup>
<ul class="dataList">
{implode from=$room->getUsers() item='user'}<li><a href="{link controller='User' object=$user}{/link}" class="userLink" data-user-id="{$user->userID}">{$user}</a></li>{/implode}
{foreach from=$room->getUsers() item='user'}<li><a href="{link controller='User' object=$user}{/link}" class="userLink" data-user-id="{$user->userID}">{$user}</a></li>{/foreach}
</ul>
</div>
</div>

View File

@ -7,5 +7,12 @@
<eventname>copyright</eventname>
<templatecode><![CDATA[{include file='__copyright' application='chat'}]]></templatecode>
</templatelistener>
<templatelistener name="headerLogo">
<environment>user</environment>
<templatename>header</templatename>
<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>
</templatelistener>
</import>
</data>