From: Roland Häder Date: Mon, 13 Sep 2010 20:51:41 +0000 (+0000) Subject: Fixes prefix for member language strings, minor improvements X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6a509c92aff482375e132c863eb0d623fe8e78fd;p=mailer.git Fixes prefix for member language strings, minor improvements --- diff --git a/inc/functions.php b/inc/functions.php index b52d70e743..0622a21253 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -456,6 +456,9 @@ function translateUserStatus ($status) { // "Translates" 'visible' and 'locked' to a CSS class function translateMenuVisibleLocked ($content, $prefix = '') { + // Default is 'menu_unknown' + $content['visible_css'] = $prefix . 'menu_unknown'; + // Translate 'visible' and keep an eye on the prefix switch ($content['visible']) { // Should be visible diff --git a/templates/de/html/member/member_reflink_nickname.tpl b/templates/de/html/member/member_reflink_nickname.tpl index c276f77c13..e2f780314a 100644 --- a/templates/de/html/member/member_reflink_nickname.tpl +++ b/templates/de/html/member/member_reflink_nickname.tpl @@ -1,5 +1,5 @@
- {--NICKNAME_YOUR_REFERAL_LINK--}: + {--MEMBER_NICKNAME_YOUR_REFERAL_LINK--}:
{?URL?}/ref.php?refid=$content