From 6a509c92aff482375e132c863eb0d623fe8e78fd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 13 Sep 2010 20:51:41 +0000 Subject: [PATCH] Fixes prefix for member language strings, minor improvements --- inc/functions.php | 3 +++ templates/de/html/member/member_reflink_nickname.tpl | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5