]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-admins_contct.php
New wrapper functions introduced, TODOs.txt updated
[mailer.git] / inc / modules / admin / what-admins_contct.php
index 4a8cb1555f9d75ad9072024a0b5407ba456dda1d..b4783cadbf00ae1c3eee899955e13504af58fe71 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * 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 *
@@ -41,7 +41,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 } // END - if
 
 // Add description as navigation point
-addMenuDescription('admin', __FILE__);
+addYouAreHereLink('admin', __FILE__);
 
 if ((isFormSent()) && (isGetRequestParameterSet('admin'))) {
        // Send mail or message
@@ -59,7 +59,7 @@ if ((isFormSent()) && (isGetRequestParameterSet('admin'))) {
        }
 
        // Mail / message dropped
-       loadTemplate('admin_settings_saved', false, '{--ADMINS_ADMIN_CONTACTED--}');
+       displayMessage('{--ADMINS_ADMIN_CONTACTED--}');
 } elseif (isGetRequestParameterSet('admin')) {
        // Load contact form template
        $content['admin'] = getRequestParameter('admin');
@@ -76,7 +76,7 @@ if ((isFormSent()) && (isGetRequestParameterSet('admin'))) {
        loadTemplate('admin_admins_contct_form', false, $content);
 } else {
        // Please select an admin!
-       loadTemplate('admin_settings_saved', false, '{--ADMINS_SELECT_ADMIN--}');
+       displayMessage('{--ADMINS_SELECT_ADMIN--}');
 }
 
 // [EOF]