X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_imprint.php;h=132470cd8a1509a04bbcd666421e30eb83d120f8;hp=9040b39651f7cdf4d96d5498cb201421e26dc64a;hb=6f9f29d5caee60a2cceae33a7a53e1b4c7319a0c;hpb=e2148142f8b1a8f40fd6e7ca32185569c5a9083e diff --git a/inc/modules/admin/what-config_imprint.php b/inc/modules/admin/what-config_imprint.php index 9040b39651..132470cd8a 100644 --- a/inc/modules/admin/what-config_imprint.php +++ b/inc/modules/admin/what-config_imprint.php @@ -14,11 +14,10 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -42,7 +41,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { } // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); // Form sent? if (isFormSent()) { @@ -52,24 +51,18 @@ 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 $content = $OUT; } else { - // None found! + // None found $content = loadTemplate('admin_list_imprint_row_none', true); }