Fixed small issues
authorMarcel Werk <burntime@woltlab.com>
Wed, 25 Sep 2013 23:02:36 +0000 (01:02 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 25 Sep 2013 23:02:36 +0000 (01:02 +0200)
com.woltlab.wcf/templates/usersOnlineInfoBox.tpl
com.woltlab.wcf/templates/usersOnlineList.tpl
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml

index 820926d11ff37220ba2ad695aec15df81b653ad4..d873bd33091f85324b1e2a92f34c8af2d16a2911 100644 (file)
@@ -6,7 +6,7 @@
                <div>
                        <div class="containerHeadline">
                                <h3><a href="{link controller='UsersOnlineList'}{/link}">{lang}wcf.user.usersOnline{/lang}</a> <span class="badge">{#$usersOnlineList->stats[total]}</span></h3>
-                               <p>{lang}wcf.user.usersOnline.detail{/lang}{if $usersOnlineShowRecord} - {lang}wcf.user.usersOnline.record{/lang}{/if}</p>
+                               <p>{lang}wcf.user.usersOnline.detail{/lang}{if $usersOnlineShowRecord && USERS_ONLINE_RECORD} - {lang}wcf.user.usersOnline.record{/lang}{/if}</p>
                        </div>
                        
                        <ul class="dataList">
index 188e62f02205995ab234231859c93ce664c45aad..27e2255f86f0ce2aed7d27cc7101177e6375ffb1 100644 (file)
@@ -67,7 +67,7 @@
                <legend>{lang}wcf.user.usersOnline{/lang}</legend>
                
                <p><small>{lang usersOnlineList=$objects}wcf.user.usersOnline.detail{/lang}</small></p>
-               <p><small>{lang}wcf.user.usersOnline.record{/lang}</small></p>
+               {if USERS_ONLINE_RECORD}<p><small>{lang}wcf.user.usersOnline.record{/lang}</small></p>{/if}
                
                {if USERS_ONLINE_ENABLE_LEGEND && $objects->getUsersOnlineMarkings()|count}
                        <div class="marginTopSmall">
index ec03c0c428e23a0bda77ec079e5a30440e1d0649..402011c13ea7b7b092575c3f60643b5bfff85a25 100644 (file)
@@ -2221,7 +2221,7 @@ Sollten Sie sich nicht auf der Website: {@PAGE_TITLE|language} angemeldet haben,
                <item name="wcf.user.usersOnline.lastActivity"><![CDATA[Letzte Aktivität]]></item>
                <item name="wcf.user.usersOnline.location.unknown"><![CDATA[Unbekannter Ort]]></item>
                <item name="wcf.user.usersOnline.robots"><![CDATA[Suchmaschinen-Roboter]]></item>
-               <item name="wcf.user.usersOnline.record"><![CDATA[{if USERS_ONLINE_RECORD > 0}Rekord: {#USERS_ONLINE_RECORD} Benutzer ({@USERS_ONLINE_RECORD_TIME|time}){/if}]]></item>
+               <item name="wcf.user.usersOnline.record"><![CDATA[Rekord: {#USERS_ONLINE_RECORD} Benutzer ({@USERS_ONLINE_RECORD_TIME|time})]]></item>
        </category>
        
        <category name="wcf.user.recentActivity">
index e99fdaa2ce8144081c45518ec1a95b104c7e057f..f05c57dcb0773b81877dd4fedabbe5c6f05b0a9c 100644 (file)
@@ -2218,7 +2218,7 @@ You can safely ignore this email if you did not register with the website: {@PAG
                <item name="wcf.user.usersOnline.lastActivity"><![CDATA[Last Activity]]></item>
                <item name="wcf.user.usersOnline.location.unknown"><![CDATA[Unknown location]]></item>
                <item name="wcf.user.usersOnline.robots"><![CDATA[Search Engine Robots]]></item>
-               <item name="wcf.user.usersOnline.record"><![CDATA[{if USERS_ONLINE_RECORD > 0}Record: {#USERS_ONLINE_RECORD} User{if USERS_ONLINE_RECORD != 1}s{/if} ({@USERS_ONLINE_RECORD_TIME|time}){/if}]]></item>
+               <item name="wcf.user.usersOnline.record"><![CDATA[Record: {#USERS_ONLINE_RECORD} User{if USERS_ONLINE_RECORD != 1}s{/if} ({@USERS_ONLINE_RECORD_TIME|time})]]></item>
        </category>
        
        <category name="wcf.user.recentActivity">