Remove IP address truncation in usersOnlineList.tpl
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 16 Jul 2019 09:58:06 +0000 (11:58 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 16 Jul 2019 09:58:06 +0000 (11:58 +0200)
This partly backports the changes in #2768. See the previous discussion
here: https://github.com/WoltLab/WCF/pull/2768#discussion_r230306321
and the bug report here: https://community.woltlab.com/thread/277584-ipv6-wird-in-benutzer-online-anzeige-gek%C3%BCrzt/

com.woltlab.wcf/templates/usersOnlineList.tpl

index fb8118d3996b4f2de839d46e09b6e36eb73b1efb..e31b97940c83ab2ecfa8786446fdbcc76c0aad07 100644 (file)
@@ -94,7 +94,7 @@
                {if $__wcf->session->getPermission('admin.user.canViewIpAddress')}
                        <dl class="plain inlineDataList small">
                                <dt>{lang}wcf.user.usersOnline.ipAddress{/lang}</dt>
-                               <dd title="{$user->getFormattedIPAddress()}">{$user->getFormattedIPAddress()|truncate:30}</dd>
+                               <dd title="{$user->getFormattedIPAddress()}">{$user->getFormattedIPAddress()}</dd>
                                
                                {if !$user->spiderID}
                                        <dt>{lang}wcf.user.usersOnline.userAgent{/lang}</dt>