From: Marcel Werk Date: Wed, 18 May 2016 08:56:55 +0000 (+0200) Subject: Added 'most online users' to statistics box X-Git-Tag: 3.0.0_Beta_1~1713 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9ebb96d816e680a03cc044956cd7d4b1291011e5;p=GitHub%2FWoltLab%2FWCF.git Added 'most online users' to statistics box --- diff --git a/com.woltlab.wcf/templates/boxStatistics.tpl b/com.woltlab.wcf/templates/boxStatistics.tpl index ff89e6c6c9..449883cbde 100644 --- a/com.woltlab.wcf/templates/boxStatistics.tpl +++ b/com.woltlab.wcf/templates/boxStatistics.tpl @@ -1,8 +1,13 @@
+ {event name='stats'} +
{lang}wcf.user.members{/lang}
{#$statistics[members]}
- {event name='stats'} + {if USERS_ONLINE_RECORD} +
{lang}wcf.user.mostOnlineUsers{/lang}
+
{#USERS_ONLINE_RECORD}
+ {/if} {if $statistics[newestMember]}
{lang}wcf.user.newestMember{/lang}
diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index afd1f68f36..ce18780a53 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -2887,6 +2887,7 @@ Wenn Sie Probleme mit der Aktivierung haben, wenden Sie sich bitte an den Admini activityPoints} Punkt{if $boxUser->activityPoints != 1}e{/if}]]> likesReceived} Like{if $boxUser->likesReceived != 1}s{/if}]]> registrationDate|time}]]> + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 3e1fcecd2d..a3aa20d73a 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -2920,6 +2920,7 @@ If you cannot activate your email address or have any troubles following the ins activityPoints} Point{if $boxUser->activityPoints != 1}s{/if}]]> likesReceived} Like{if $boxUser->likesReceived != 1}s{/if}]]> registrationDate|time}]]> +