X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_imprint.php;h=2558197013489fd1f56eb3ee906832a373397453;hb=2df9f7a53f8b1dd5164f87824a324ccb3b6634cb;hp=47ea2b39ebef4523b7d6ed32a1558f4b33388038;hpb=cf3765c38cf0a76f396aca291f71858936e92956;p=mailer.git diff --git a/inc/modules/admin/what-config_imprint.php b/inc/modules/admin/what-config_imprint.php index 47ea2b39eb..2558197013 100644 --- a/inc/modules/admin/what-config_imprint.php +++ b/inc/modules/admin/what-config_imprint.php @@ -14,12 +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 * - * Copyright (c) 2009, 2010 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2012 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 * @@ -43,17 +41,23 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { } // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); // Form sent? if (isFormSent()) { // Handle form ... } else { // Query for all imprint data rows - $result = SQL_QUERY('SELECT `imprint_key`,`imprint_value` FROM `{?_MYSQL_PREFIX?}_imprint_data` ORDER BY `imprint_id` ASC', __FILE__, __LINE__); + $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) { + // Are there entries? + if (!SQL_HASZERONUMS($result)) { // Load all entries $OUT = ''; while ($content = SQL_FETCHARRAY($result)) { @@ -64,7 +68,7 @@ if (isFormSent()) { // Transfer all rows to $content $content = $OUT; } else { - // None found! + // None found $content = loadTemplate('admin_list_imprint_row_none', true); }