Fixes for missing user data in referal list
authorRoland Häder <roland@mxchange.org>
Tue, 3 Nov 2009 23:02:12 +0000 (23:02 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 3 Nov 2009 23:02:12 +0000 (23:02 +0000)
.gitattributes
inc/language/refback_de.php
inc/modules/admin/what-list_refs.php
templates/de/html/admin/admin_list_refs_nodata.tpl [new file with mode: 0644]

index b5b6d7e..964cd0c 100644 (file)
@@ -1080,6 +1080,7 @@ templates/de/html/admin/admin_list_rallyes_row2.tpl -text
 templates/de/html/admin/admin_list_refs.tpl -text
 templates/de/html/admin/admin_list_refs2.tpl -text
 templates/de/html/admin/admin_list_refs_level.tpl -text
+templates/de/html/admin/admin_list_refs_nodata.tpl -text
 templates/de/html/admin/admin_list_refs_norefs.tpl -text
 templates/de/html/admin/admin_list_refs_row.tpl -text
 templates/de/html/admin/admin_list_sponsor.tpl -text
index 14643ad..f6f34eb 100644 (file)
@@ -46,6 +46,8 @@ if (!defined('__SECURITY')) {
 addMessages(array(
        'ADMIN_LIST_USER_NOREFS_1' => "Das Mitglied <u>",
        'ADMIN_LIST_USER_NOREFS_2' => "</u> hat in dieser Referal-Ebene keine Refs.",
+       'ADMIN_LIST_USER_NODATA_1' => "Das Mitglied <u>",
+       'ADMIN_LIST_USER_NODATA_2' => "</u> wurde bereits gel&ouml;scht.",
        'ADMIN_CONFIG_REFBACK_TITLE' => "Refback-Einstellungen",
        'ADMIN_CONFIG_REFBACK_ENABLED' => "Refback eingeschaltet? (Wenn nein, ist nur die Referal-&Uuml;bersicht funktionell.)",
        'ADMIN_CONFIG_REFBACK_MIN_PERCENTS' => "Minimum erlaubte Refback-Prozente:<br /><span class=\"admin_note\">(0&#37; ist immer erlaubt!)</span>",
index 0effbec..8783448 100644 (file)
@@ -136,7 +136,7 @@ ORDER BY
                                                                $OUT_REFS .= loadTemplate('admin_list_refs_row', true, $content);
                                                        } else {
                                                                // No refs found
-                                                               $OUT_REFS = loadTemplate('admin_list_refs_nodata', true, $content['refid']);
+                                                               $OUT_REFS = loadTemplate('admin_list_refs_nodata', true, $content);
                                                        }
 
                                                        // Free result
diff --git a/templates/de/html/admin/admin_list_refs_nodata.tpl b/templates/de/html/admin/admin_list_refs_nodata.tpl
new file mode 100644 (file)
index 0000000..6772d42
--- /dev/null
@@ -0,0 +1,5 @@
+<tr>
+       <td colspan="6" class="admin_title bottom2" height="20">
+               <strong>{--ADMIN_LIST_USER_NODATA_1--}<u>$content[refid]</u>{--ADMIN_LIST_USER_NODATA_2--}</strong>
+       </td>
+</tr>