From 9ebb96d816e680a03cc044956cd7d4b1291011e5 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 18 May 2016 10:56:55 +0200 Subject: [PATCH] Added 'most online users' to statistics box --- com.woltlab.wcf/templates/boxStatistics.tpl | 7 ++++++- wcfsetup/install/lang/de.xml | 1 + wcfsetup/install/lang/en.xml | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) 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}]]> + -- 2.20.1