From d0878968e78a3aa519cd5cc86839e47e08e0d923 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 25 Aug 2014 19:43:56 +0200 Subject: [PATCH] Added link to "likes" tab --- com.woltlab.wcf/templates/messageSidebar.tpl | 2 +- com.woltlab.wcf/templates/userInformationStatistics.tpl | 2 +- com.woltlab.wcf/templates/userSidebar.tpl | 2 +- wcfsetup/install/lang/de.xml | 1 + wcfsetup/install/lang/en.xml | 1 + 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/com.woltlab.wcf/templates/messageSidebar.tpl b/com.woltlab.wcf/templates/messageSidebar.tpl index 5bd409de14..ba5237073e 100644 --- a/com.woltlab.wcf/templates/messageSidebar.tpl +++ b/com.woltlab.wcf/templates/messageSidebar.tpl @@ -71,7 +71,7 @@
{content} {if MODULE_LIKE && MESSAGE_SIDEBAR_ENABLE_LIKES_RECEIVED && $userProfile->likesReceived} -
{lang}wcf.like.likesReceived{/lang}
+
{lang}wcf.like.likesReceived{/lang}
{#$userProfile->likesReceived}
{/if} diff --git a/com.woltlab.wcf/templates/userInformationStatistics.tpl b/com.woltlab.wcf/templates/userInformationStatistics.tpl index 7a22954328..1437fdd0b3 100644 --- a/com.woltlab.wcf/templates/userInformationStatistics.tpl +++ b/com.woltlab.wcf/templates/userInformationStatistics.tpl @@ -2,7 +2,7 @@ {event name='statistics'} {if MODULE_LIKE && $user->likesReceived} -
{lang}wcf.like.likesReceived{/lang}
+
{lang}wcf.like.likesReceived{/lang}
{#$user->likesReceived}
{/if} diff --git a/com.woltlab.wcf/templates/userSidebar.tpl b/com.woltlab.wcf/templates/userSidebar.tpl index c5d01c3b02..111690c518 100644 --- a/com.woltlab.wcf/templates/userSidebar.tpl +++ b/com.woltlab.wcf/templates/userSidebar.tpl @@ -19,7 +19,7 @@ {event name='statistics'} {if MODULE_LIKE && $user->likesReceived} -
{lang}wcf.like.likesReceived{/lang}
+
{lang}wcf.like.likesReceived{/lang}
{#$user->likesReceived}
{/if} diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index 0ecff6ca53..ac3b4fd44f 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -2154,6 +2154,7 @@ Fehler sind beispielsweise: + 1} und {/if}{@$users.slice(-1)[0]}{else}{@$users.join(", ")} und {if $others == 1}einem{else}{#$others}{/if} weiteren{/if} gefällt das.{/literal}]]> diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 95e91ebfdf..9d12a3067c 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -2152,6 +2152,7 @@ Errors are: + 1} and {/if}{@$users.slice(-1)[0]}{else}{@$users.join(", ")} and {if $others == 1}one{else}{#$others}{/if} other{if $others > 1}s{/if}{/if} like{if $users.length == 1}s{/if} this.{/literal}]]> -- 2.20.1