From: Roland Häder Date: Tue, 3 Nov 2009 23:02:12 +0000 (+0000) Subject: Fixes for missing user data in referal list X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a7bd70212a1db7a61e0b1b695de9d7068b502c31;p=mailer.git Fixes for missing user data in referal list --- diff --git a/.gitattributes b/.gitattributes index b5b6d7ecf3..964cd0cd4b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/inc/language/refback_de.php b/inc/language/refback_de.php index 14643adb8e..f6f34ebec6 100644 --- a/inc/language/refback_de.php +++ b/inc/language/refback_de.php @@ -46,6 +46,8 @@ if (!defined('__SECURITY')) { addMessages(array( 'ADMIN_LIST_USER_NOREFS_1' => "Das Mitglied ", 'ADMIN_LIST_USER_NOREFS_2' => " hat in dieser Referal-Ebene keine Refs.", + 'ADMIN_LIST_USER_NODATA_1' => "Das Mitglied ", + 'ADMIN_LIST_USER_NODATA_2' => " wurde bereits gelöscht.", 'ADMIN_CONFIG_REFBACK_TITLE' => "Refback-Einstellungen", 'ADMIN_CONFIG_REFBACK_ENABLED' => "Refback eingeschaltet? (Wenn nein, ist nur die Referal-Übersicht funktionell.)", 'ADMIN_CONFIG_REFBACK_MIN_PERCENTS' => "Minimum erlaubte Refback-Prozente:
(0% ist immer erlaubt!)", diff --git a/inc/modules/admin/what-list_refs.php b/inc/modules/admin/what-list_refs.php index 0effbec237..8783448eb4 100644 --- a/inc/modules/admin/what-list_refs.php +++ b/inc/modules/admin/what-list_refs.php @@ -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 index 0000000000..6772d42bda --- /dev/null +++ b/templates/de/html/admin/admin_list_refs_nodata.tpl @@ -0,0 +1,5 @@ + + + {--ADMIN_LIST_USER_NODATA_1--}$content[refid]{--ADMIN_LIST_USER_NODATA_2--} + +