]> git.mxchange.org Git - mailer.git/commitdiff
is not needed in member-only templates
authorRoland Häder <roland@mxchange.org>
Sun, 20 Jun 2010 23:44:10 +0000 (23:44 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 20 Jun 2010 23:44:10 +0000 (23:44 +0000)
inc/modules/member/what-points.php
templates/de/html/member/member_mydata_edit.tpl
templates/de/html/member/member_mydata_overview.tpl
templates/de/html/member/member_points_bonus_rows.tpl

index a55da246a53ee8c6f1f48e1df01ebaa01345fe7e..38065edd7bf3815c9847cfdaca24c3b4a8e0c9ef 100644 (file)
@@ -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;
 
index c0d5213e403616fe213488977abcded49fe56b07..849ad87694290a56dbecdc0b7a2c98610c5cdbb9 100644 (file)
        <tr>
                <td align="right">{--SURNAME--}, {--FAMILY--}:</td>
                <td>
-                       <input type="text" name="surname" class="member_normal" size="15" maxlength="255" value="{%user,surname=$userid%}" />
-                       <input type="text" name="family" class="member_normal" size="15" maxlength="255" value="{%user,family=$userid%}" />
+                       <input type="text" name="surname" class="member_normal" size="15" maxlength="255" value="{%user,surname%}" />
+                       <input type="text" name="family" class="member_normal" size="15" maxlength="255" value="{%user,family%}" />
                </td>
        </tr>
        <tr>
                <td align="right">{--STREET_NR--}:</td>
                <td>
-                       <input type="text" name="street_nr" class="member_normal" size="25" maxlength="255" value="{%user,street_nr=$userid%}" />
+                       <input type="text" name="street_nr" class="member_normal" size="25" maxlength="255" value="{%user,street_nr%}" />
                </td>
        </tr>
        <tr>
                <td align="right">{--COUNTRY--}, {--ZIP--}, {--CITY--}:</td>
                <td>
-                       {%user,country,determineCountry=$userid%}
-                       <input type="text" name="zip" class="member_normal" size="5" maxlength="10" value="{%user,zip,bigintval=$userid%}" />
-                       <input type="text" name="city" class="member_normal" size="20" maxlength="255" value="{%city,city=$userid%}" />
+                       {%user,country,determineCountry%}
+                       <input type="text" name="zip" class="member_normal" size="5" maxlength="10" value="{%user,zip,bigintval%}" />
+                       <input type="text" name="city" class="member_normal" size="20" maxlength="255" value="{%city,city%}" />
                </td>
        </tr>
        <tr>
index 746ab69e237c0e540dbe6725ebaff950e34940c7..abb8ea0cb70de94f1e82a34b32323b06ae2fee23 100644 (file)
        </tr>
        <tr>
                <td align="right">{--GENDER--}:</td>
-               <td><strong>{%user,gender,translateGender=$userid%}</strong></td>
+               <td><strong>{%user,gender,translateGender%}</strong></td>
        </tr>
        <tr>
                <td align="right">{--SURNAME--}:</td>
-               <td><strong>{%user,surname=$userid%}</strong></td>
+               <td><strong>{%user,surname%}</strong></td>
        </tr>
        <tr>
                <td align="right">{--FAMILY--}:</td>
-               <td><strong>{%user,family=$userid%}</strong></td>
+               <td><strong>{%user,family%}</strong></td>
        </tr>
        <tr>
                <td align="right">{--STREET_NR--}:</td>
-               <td><strong>{%user,street_nr=$userid%}</strong></td>
+               <td><strong>{%user,street_nr%}</strong></td>
        </tr>
        <tr>
                <td align="right">{--COUNTRY--}:</td>
-               <td><strong>{%user,country,determineCountry=$userid%}</strong></td>
+               <td><strong>{%user,country,determineCountry%}</strong></td>
        </tr>
        <tr>
                <td align="right">{--ZIP--}:</td>
-               <td><strong>{%user,zip,bigintval=$userid%}</strong></td>
+               <td><strong>{%user,zip,bigintval%}</strong></td>
        </tr>
        <tr>
                <td align="right">{--CITY--}:</td>
-               <td><strong>{%city,city=$userid%}</strong></td>
+               <td><strong>{%city,city%}</strong></td>
        </tr>
        <tr>
                <td align="right">{--EMAIL--}:</td>
index c6ba4a0d0edc0f4200993a31fb4e26c9023b892b..7f13874f0870ceac50e49882d4077a90a0579112 100644 (file)
 </tr>
 <tr>
        <td class="member_data">{--BONUS_LOGIN_TOTAL--}</td>
-       <td class="member_data">{%user,login_bonus,translateComma=$userid%} {?POINTS?}</td>
+       <td class="member_data">{%user,login_bonus,translateComma%} {?POINTS?}</td>
        <td class="member_data"></td>
 </tr>
 <tr>
        <td class="member_data">{--BONUS_TURBO_TOTAL--}</td>
-       <td class="member_data">{%user,turbo_bonus,translateComma=$userid%} {?POINTS?}</td>
+       <td class="member_data">{%user,turbo_bonus,translateComma%} {?POINTS?}</td>
        <td class="member_data">-</td>
 </tr>
 <tr>
        <td class="member_data">{--BONUS_REF_TOTAL--}</td>
-       <td class="member_data">{%user,bonus_ref,translateComma=$userid%} {?POINTS?}</td>
+       <td class="member_data">{%user,bonus_ref,translateComma%} {?POINTS?}</td>
        <td class="member_data">-</td>
 </tr>
 <tr>
        <td class="member_data">{--BONUS_ORDER_TOTAL--}</td>
-       <td class="member_data">{%user,bonus_order,translateComma=$userid%} {?POINTS?}</td>
+       <td class="member_data">{%user,bonus_order,translateComma%} {?POINTS?}</td>
        <td class="member_data">-</td>
 </tr>
 <tr>
        <td class="member_data bottom">{--BONUS_STATS_TOTAL--}</td>
-       <td class="member_data bottom">{%user,bonus_stats,translateComma=$userid%} {?POINTS?}</td>
+       <td class="member_data bottom">{%user,bonus_stats,translateComma%} {?POINTS?}</td>
        <td class="member_data bottom">-</td>
 </tr>
 <tr>