]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_networks.php
Extension ext-forced continued:
[mailer.git] / inc / modules / admin / what-config_networks.php
index bc7f9784a15e335a6a81d58990bb0b42b2b3e07f..ccf242dded72cd5d8b934dc88587bb05219b7447 100644 (file)
  * $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                    *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -43,7 +41,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 } // END - if
 
 // Add description as navigation point
-addMenuDescription('admin', __FILE__);
+addYouAreHereLink('admin', __FILE__);
 
 // By default we should display list/add new forms
 $GLOBALS['network_display'] = true;
@@ -71,7 +69,7 @@ ORDER BY
        d.`network_short_name` ASC", __FILE__, __LINE__);
 
 // Do we have entries?
-if (SQL_NUMROWS($result) > 0) {
+if (!SQL_HASZERONUMS($result)) {
        // We have some networks here
        $OUT = '';
        while ($content = SQL_FETCHARRAY($result)) {
@@ -89,7 +87,7 @@ if (SQL_NUMROWS($result) > 0) {
        loadTemplate('admin_list_network_config', false, $OUT);
 } else {
        // Please setup some networks first
-       loadTemplate('admin_settings_saved', false, '{--ADMIN_NETWORK_DATA_MISSING--}');
+       displayMessage('{--ADMIN_NETWORK_DATA_MISSING--}');
 }
 // Free result
 SQL_FREERESULT($result);