From 66d7e5c417453029616399f70aabadd1ca1d3537 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 27 Aug 2014 20:05:41 +0200 Subject: [PATCH] Unified tooltips in user sidebar --- com.woltlab.wcf/templates/messageSidebar.tpl | 4 ++-- com.woltlab.wcf/templates/userInformationStatistics.tpl | 2 +- com.woltlab.wcf/templates/userSidebar.tpl | 4 ++-- wcfsetup/install/lang/de.xml | 4 ++-- wcfsetup/install/lang/en.xml | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/com.woltlab.wcf/templates/messageSidebar.tpl b/com.woltlab.wcf/templates/messageSidebar.tpl index ba5237073e..be785a106c 100644 --- a/com.woltlab.wcf/templates/messageSidebar.tpl +++ b/com.woltlab.wcf/templates/messageSidebar.tpl @@ -71,12 +71,12 @@
{content} {if MODULE_LIKE && MESSAGE_SIDEBAR_ENABLE_LIKES_RECEIVED && $userProfile->likesReceived} -
{lang}wcf.like.likesReceived{/lang}
+
{lang}wcf.like.likesReceived{/lang}
{#$userProfile->likesReceived}
{/if} {if MESSAGE_SIDEBAR_ENABLE_ACTIVITY_POINTS && $userProfile->activityPoints} -
{lang}wcf.user.activityPoint{/lang}
+
{lang}wcf.user.activityPoint{/lang}
{#$userProfile->activityPoints}
{/if} {event name='userCredits'} diff --git a/com.woltlab.wcf/templates/userInformationStatistics.tpl b/com.woltlab.wcf/templates/userInformationStatistics.tpl index 1437fdd0b3..833dfeb20b 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 111690c518..995c653e05 100644 --- a/com.woltlab.wcf/templates/userSidebar.tpl +++ b/com.woltlab.wcf/templates/userSidebar.tpl @@ -19,12 +19,12 @@ {event name='statistics'} {if MODULE_LIKE && $user->likesReceived} -
{lang}wcf.like.likesReceived{/lang}
+
{lang}wcf.like.likesReceived{/lang}
{#$user->likesReceived}
{/if} {if $user->activityPoints} -
{if $user->activityPoints}{lang}wcf.user.activityPoint{/lang}{else}{lang}wcf.user.activityPoint{/lang}{/if}
+
{if $user->activityPoints}{lang}wcf.user.activityPoint{/lang}{else}{lang}wcf.user.activityPoint{/lang}{/if}
{#$user->activityPoints}
{/if} diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index ac3b4fd44f..6dba37f689 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -2154,7 +2154,7 @@ Fehler sind beispielsweise: - + username}“ anzeigen]]> 1} und {/if}{@$users.slice(-1)[0]}{else}{@$users.join(", ")} und {if $others == 1}einem{else}{#$others}{/if} weiteren{/if} gefällt das.{/literal}]]> @@ -2682,7 +2682,7 @@ Wenn Sie Probleme mit der Aktivierung haben, wenden Sie sich bitte an den Admini user->signature} Ihre derzeitige Signatur gesperrt und{/if} Ihnen die weitere Nutzungsberechtigung der Signatur-Funktion {if !$__wcf->user->disableSignatureReason}entzogen.{else} aus folgenden Gründen entzogen: {$__wcf->user->disableSignatureReason}{/if}]]> - + username}“ anzeigen]]> diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 86d3fa79e5..b41b8251cf 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -2152,7 +2152,7 @@ Errors are: - + username}”]]> 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}]]> @@ -2570,7 +2570,7 @@ If you cannot activate your email address or have any troubles following the ins user->disableSignatureReason}: {$__wcf->user->disableSignatureReason}{else}.{/if}]]> - + username}”]]> -- 2.20.1