X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_imprint.php;h=1779042b54d34396f22e0b21d7f41e96e911cf2a;hb=4f7df133f736da124e6f7bd02008b9093f736451;hp=3957a3ed865141e976d99dc457da05f0e69c3c60;hpb=64c8349613addc3da2242c5cd6b99d64e3fb5f8e;p=mailer.git diff --git a/inc/modules/admin/what-config_imprint.php b/inc/modules/admin/what-config_imprint.php index 3957a3ed86..1779042b54 100644 --- a/inc/modules/admin/what-config_imprint.php +++ b/inc/modules/admin/what-config_imprint.php @@ -1,7 +1,7 @@ 0) { + // Are there entries? + if (!SQL_HASZERONUMS($result)) { // Load all entries - $OUT = ''; $SW = 2; + $OUT = ''; while ($content = SQL_FETCHARRAY($result)) { - // Add more data - $content['sw'] = $SW; - // Load row template - $OUT .= loadTemplate('admin_list_imprint_row', true, $content); - - // Switch color - $SW = 3 - $SW; + $OUT .= loadTemplate('admin_list_imprint_row', TRUE, $content); } // END - while // Transfer all rows to $content $content = $OUT; } else { - // None found! - $content = loadTemplate('admin_list_imprint_row_none', true); + // None found + $content = loadTemplate('admin_list_imprint_row_none', TRUE); } // Load template - loadTemplate('admin_list_imprint', false, $content); + loadTemplate('admin_list_imprint', FALSE, $content); } // [EOF]