]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_imprint.php
Moved language strings, more EL in templates
[mailer.git] / inc / modules / admin / what-config_imprint.php
index 3957a3ed865141e976d99dc457da05f0e69c3c60..95e5eaed593464fb322a8e00dbc71f5ce7265573 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 10/25/2009 *
- * ================                             Last change: 10/25/2009 *
+ * Mailer v0.2.1-FINAL                                Start: 10/25/2009 *
+ * ===================                          Last change: 10/25/2009 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-config_imprint.php                          *
@@ -18,6 +18,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -52,18 +53,12 @@ if (isFormSent()) {
        $result = SQL_QUERY('SELECT `imprint_key`,`imprint_value` FROM `{?_MYSQL_PREFIX?}_imprint_data` ORDER BY `imprint_id` ASC', __FILE__, __LINE__);
 
        // Do we have entries?
-       if (SQL_NUMROWS($result) > 0) {
+       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;
                } // END - while
 
                // Transfer all rows to $content