]> git.mxchange.org Git - mailer.git/commitdiff
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 b5b6d7ecf392b72b3ae22eb6c0648b641e6e9158..964cd0cd4b0ac152fd9fdacd7b0e03c6fb60dae4 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 14643adb8ee3ffe4a6cbd7afb3c05bef288015f5..f6f34ebec6154171f8b5c2426827fbefb463424a 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 0effbec237d500ac81f8d075d5c4ce302a4b05f1..8783448eb4f6fb090cba6329a9d67ea629539723 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>