]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_user.php
Continued:
[mailer.git] / inc / modules / admin / what-config_user.php
index 4c1c29719b0a7617ed83d071435a51c7b917906f..ea85a65978e3210f90347cec306042f8c4758307 100644 (file)
@@ -16,8 +16,8 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * 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 - 2016 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 *
@@ -41,14 +41,17 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 } // END - if
 
 // Add description as navigation point
-addMenuDescription('admin', __FILE__);
+addYouAreHereLink('admin', __FILE__);
 
-if (isFormSent()) {
+if (isFormSent('save_config')) {
        // Save settings
        adminSaveSettingsFromPostData();
 } else {
+       // Prepare sex selection box
+       $content['tester_user_sex_selection'] = generateSexSelectionBox(getTesterUserSex(), 'tester_user_sex');
+
        // Load form template
-       loadTemplate('admin_config_user');
+       loadTemplate('admin_config_user', FALSE, $content);
 }
 
 // [EOF]