1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2025-01-09 00:20:08 +00:00

Check if user can view IP addresses of users

This commit is contained in:
max-m 2013-01-27 21:00:21 +01:00
parent e07be6695e
commit bdf58c2e29

View File

@ -101,7 +101,7 @@ Hinweis: Setzen Sie diese Einstellung nur, wenn Sie wissen, was sie bewirkt. Die
<category name="chat.message"> <category name="chat.message">
<!-- 1 = TYPE_JOIN --> <!-- 1 = TYPE_JOIN -->
<item name="chat.message.1"><![CDATA[hat den Chat betreten.{if true} ({$ipAddress}){/if}]]></item><!-- todo: check rights --> <item name="chat.message.1"><![CDATA[hat den Chat betreten.{if $__wcf->session->getPermission('admin.user.canViewIpAddress')} ({$ipAddress}){/if}]]></item>
<!-- 2 = TYPE_LEAVE --> <!-- 2 = TYPE_LEAVE -->
<item name="chat.message.2"><![CDATA[hat den Chat verlassen.]]></item> <item name="chat.message.2"><![CDATA[hat den Chat verlassen.]]></item>
<!-- 3 = TYPE_AWAY --> <!-- 3 = TYPE_AWAY -->