From 3c0aa23a47aa3b10cdd296d1b0baa28708dc2080 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 20 Jun 2010 23:44:10 +0000 Subject: [PATCH] is not needed in member-only templates --- inc/modules/member/what-points.php | 2 +- templates/de/html/member/member_mydata_edit.tpl | 12 ++++++------ .../de/html/member/member_mydata_overview.tpl | 14 +++++++------- .../de/html/member/member_points_bonus_rows.tpl | 10 +++++----- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/inc/modules/member/what-points.php b/inc/modules/member/what-points.php index a55da246a5..38065edd7b 100644 --- a/inc/modules/member/what-points.php +++ b/inc/modules/member/what-points.php @@ -152,7 +152,7 @@ if (isExtensionInstalledAndNewer('user', '0.1.2')) { if ($totalLocked == '0') $totalLocked = '0.00000'; // Remember several values in constants -$content['sum'] = ($totalPoints - getUserData('used_points'), false); +$content['sum'] = ($totalPoints - getUserData('used_points')); $content['tref'] = $totalReferals; $content['tlock'] = $totalLocked; diff --git a/templates/de/html/member/member_mydata_edit.tpl b/templates/de/html/member/member_mydata_edit.tpl index c0d5213e40..849ad87694 100644 --- a/templates/de/html/member/member_mydata_edit.tpl +++ b/templates/de/html/member/member_mydata_edit.tpl @@ -19,22 +19,22 @@ {--SURNAME--}, {--FAMILY--}: - - + + {--STREET_NR--}: - + {--COUNTRY--}, {--ZIP--}, {--CITY--}: - {%user,country,determineCountry=$userid%} - - + {%user,country,determineCountry%} + + diff --git a/templates/de/html/member/member_mydata_overview.tpl b/templates/de/html/member/member_mydata_overview.tpl index 746ab69e23..abb8ea0cb7 100644 --- a/templates/de/html/member/member_mydata_overview.tpl +++ b/templates/de/html/member/member_mydata_overview.tpl @@ -11,31 +11,31 @@ {--GENDER--}: - {%user,gender,translateGender=$userid%} + {%user,gender,translateGender%} {--SURNAME--}: - {%user,surname=$userid%} + {%user,surname%} {--FAMILY--}: - {%user,family=$userid%} + {%user,family%} {--STREET_NR--}: - {%user,street_nr=$userid%} + {%user,street_nr%} {--COUNTRY--}: - {%user,country,determineCountry=$userid%} + {%user,country,determineCountry%} {--ZIP--}: - {%user,zip,bigintval=$userid%} + {%user,zip,bigintval%} {--CITY--}: - {%city,city=$userid%} + {%city,city%} {--EMAIL--}: diff --git a/templates/de/html/member/member_points_bonus_rows.tpl b/templates/de/html/member/member_points_bonus_rows.tpl index c6ba4a0d0e..7f13874f08 100644 --- a/templates/de/html/member/member_points_bonus_rows.tpl +++ b/templates/de/html/member/member_points_bonus_rows.tpl @@ -10,27 +10,27 @@ {--BONUS_LOGIN_TOTAL--} - {%user,login_bonus,translateComma=$userid%} {?POINTS?} + {%user,login_bonus,translateComma%} {?POINTS?} {--BONUS_TURBO_TOTAL--} - {%user,turbo_bonus,translateComma=$userid%} {?POINTS?} + {%user,turbo_bonus,translateComma%} {?POINTS?} - {--BONUS_REF_TOTAL--} - {%user,bonus_ref,translateComma=$userid%} {?POINTS?} + {%user,bonus_ref,translateComma%} {?POINTS?} - {--BONUS_ORDER_TOTAL--} - {%user,bonus_order,translateComma=$userid%} {?POINTS?} + {%user,bonus_order,translateComma%} {?POINTS?} - {--BONUS_STATS_TOTAL--} - {%user,bonus_stats,translateComma=$userid%} {?POINTS?} + {%user,bonus_stats,translateComma%} {?POINTS?} - -- 2.39.5