From 8bf410725aa3d98f1f69673d26d0fa1f31983bed Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 25 Sep 2013 21:43:23 +0200 Subject: [PATCH] Small optimization --- com.woltlab.wcf/templates/usersOnlineList.tpl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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} -- 2.20.1