From: Marcel Werk Date: Wed, 25 Sep 2013 19:43:23 +0000 (+0200) Subject: Small optimization X-Git-Tag: 2.0.0_Beta_10~25 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8bf410725aa3d98f1f69673d26d0fa1f31983bed;p=GitHub%2FWoltLab%2FWCF.git Small optimization --- diff --git a/com.woltlab.wcf/templates/usersOnlineList.tpl b/com.woltlab.wcf/templates/usersOnlineList.tpl index 4f850ea0d5..914e00edda 100644 --- a/com.woltlab.wcf/templates/usersOnlineList.tpl +++ b/com.woltlab.wcf/templates/usersOnlineList.tpl @@ -88,8 +88,11 @@
{lang}wcf.user.usersOnline.ipAddress{/lang}
{$user->getFormattedIPAddress()|truncate:30}
-
{lang}wcf.user.usersOnline.userAgent{/lang}
-
{$user->getBrowser()|truncate:30}
+ + {if !$user->spiderID} +
{lang}wcf.user.usersOnline.userAgent{/lang}
+
{$user->getBrowser()|truncate:30}
+ {/if}
{/if} {/capture}