]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-stats.php
New wrapper functions introduced, TODOs.txt updated
[mailer.git] / inc / modules / member / what-stats.php
index 2153250a164115ca30bf44e8d6ba79eb4de7c8dc..3411c12dff23b800d53172b8564e1a601f59cdec 100644 (file)
@@ -76,7 +76,7 @@ if (!SQL_HASZERONUMS($result)) {
        $main_content['pool'] = loadTemplate('member_pool_table', true, $OUT);
 } else {
        // No mails in pool!
-       $main_content['pool'] = loadTemplate('admin_settings_saved', true, '{--MEMBER_NO_MAILS_IN_POOL--}');
+       $main_content['pool'] = displayMessage('{--MEMBER_NO_MAILS_IN_POOL--}', true);
 }
 
 // Free result
@@ -110,7 +110,7 @@ if (!SQL_HASZERONUMS($result)) {
        $main_content['stats'] = loadTemplate('member_stats_table', true, $OUT);
 } else {
        // No mail orders fond
-       $main_content['stats'] = loadTemplate('admin_settings_saved', true, '{--MEMBER_NO_MAILS_IN_STATS--}');
+       $main_content['stats'] = displayMessage('{--MEMBER_NO_MAILS_IN_STATS--}', true);
 }
 
 // Free result