mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Show chat version on ACP index
This commit is contained in:
parent
e4452d1032
commit
f49384991a
@ -54,6 +54,10 @@
|
|||||||
<item name="wcf.dashboard.box.be.bastelstu.chat.onlineList"><![CDATA[Chat]]></item>
|
<item name="wcf.dashboard.box.be.bastelstu.chat.onlineList"><![CDATA[Chat]]></item>
|
||||||
</category>
|
</category>
|
||||||
|
|
||||||
|
<category name="wcf.acp.index">
|
||||||
|
<item name="wcf.acp.index.system.software.chatVersion"><![CDATA[Tims Chat-Version]]></item>
|
||||||
|
</category>
|
||||||
|
|
||||||
<category name="chat.error">
|
<category name="chat.error">
|
||||||
<item name="chat.error.notFound"><![CDATA[Der Befehl wurde nicht gefunden.]]></item>
|
<item name="chat.error.notFound"><![CDATA[Der Befehl wurde nicht gefunden.]]></item>
|
||||||
<item name="chat.error.userNotFound"><![CDATA[Der Benutzer „{$exception->getUsername()}“ wurde nicht gefunden.]]></item>
|
<item name="chat.error.userNotFound"><![CDATA[Der Benutzer „{$exception->getUsername()}“ wurde nicht gefunden.]]></item>
|
||||||
|
@ -21,5 +21,15 @@
|
|||||||
<eventname>headerLogo</eventname>
|
<eventname>headerLogo</eventname>
|
||||||
<templatecode><![CDATA[{if $__chat->isActiveApplication()}<img src="{$__wcf->getPath('chat')}images/chatLogo.png" style="width: 246px; height: 90px;" alt="" />{/if}]]></templatecode>
|
<templatecode><![CDATA[{if $__chat->isActiveApplication()}<img src="{$__wcf->getPath('chat')}images/chatLogo.png" style="width: 246px; height: 90px;" alt="" />{/if}]]></templatecode>
|
||||||
</templatelistener>
|
</templatelistener>
|
||||||
|
|
||||||
|
<templatelistener name="softwareVersions">
|
||||||
|
<environment>admin</environment>
|
||||||
|
<templatename>index</templatename>
|
||||||
|
<eventname>softwareVersions</eventname>
|
||||||
|
<templatecode><![CDATA[<dl>
|
||||||
|
<dt>{lang}wcf.acp.index.system.software.chatVersion{/lang}</dt>
|
||||||
|
<dd>{$__chat->getPackage()->packageVersion}</dd>
|
||||||
|
</dl>]]></templatecode>
|
||||||
|
</templatelistener>
|
||||||
</import>
|
</import>
|
||||||
</data>
|
</data>
|
Loading…
Reference in New Issue
Block a user