Added 'most online users' to statistics box
authorMarcel Werk <burntime@woltlab.com>
Wed, 18 May 2016 08:56:55 +0000 (10:56 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 18 May 2016 08:56:55 +0000 (10:56 +0200)
com.woltlab.wcf/templates/boxStatistics.tpl
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml

index ff89e6c6c9762515beed691237b31db841f3ddfd..449883cbdea928d4e456fc294eafa717fb1bc98e 100644 (file)
@@ -1,8 +1,13 @@
 <dl class="plain dataList">
+       {event name='stats'}
+       
        <dt>{lang}wcf.user.members{/lang}</dt>
        <dd>{#$statistics[members]}</dd>
        
-       {event name='stats'}
+       {if USERS_ONLINE_RECORD}
+               <dt>{lang}wcf.user.mostOnlineUsers{/lang}</dt>
+               <dd title="{@USERS_ONLINE_RECORD_TIME|plainTime}" class="jsTooltip">{#USERS_ONLINE_RECORD}</dd>
+       {/if}
        
        {if $statistics[newestMember]}
                <dt>{lang}wcf.user.newestMember{/lang}</dt>
index afd1f68f367959389842062e8112610f0597e84f..ce18780a537e1461a9b9c1638cb25f5208b648da 100644 (file)
@@ -2887,6 +2887,7 @@ Wenn Sie Probleme mit der Aktivierung haben, wenden Sie sich bitte an den Admini
                <item name="wcf.user.boxList.description.activityPoints"><![CDATA[{#$boxUser->activityPoints} Punkt{if $boxUser->activityPoints != 1}e{/if}]]></item>
                <item name="wcf.user.boxList.description.likesReceived"><![CDATA[{#$boxUser->likesReceived} Like{if $boxUser->likesReceived != 1}s{/if}]]></item>
                <item name="wcf.user.boxList.description.registrationDate"><![CDATA[{@$boxUser->registrationDate|time}]]></item>
+               <item name="wcf.user.mostOnlineUsers"><![CDATA[Meiste Benutzer online]]></item>
        </category>
        
        <category name="wcf.user.menu">
index 3e1fcecd2de4ae0bab6577caac926a9cb8a0edb8..a3aa20d73a42e15215e194bac7469798918cf76a 100644 (file)
@@ -2920,6 +2920,7 @@ If you cannot activate your email address or have any troubles following the ins
                <item name="wcf.user.boxList.description.activityPoints"><![CDATA[{#$boxUser->activityPoints} Point{if $boxUser->activityPoints != 1}s{/if}]]></item>
                <item name="wcf.user.boxList.description.likesReceived"><![CDATA[{#$boxUser->likesReceived} Like{if $boxUser->likesReceived != 1}s{/if}]]></item>
                <item name="wcf.user.boxList.description.registrationDate"><![CDATA[{@$boxUser->registrationDate|time}]]></item>
+               <item name="wcf.user.mostOnlineUsers"><![CDATA[Most Online Users]]></item>
        </category>
        
        <category name="wcf.user.menu">