X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_user.php;h=29b349fb81f248b00b582c41b6909b3cabe8d7b1;hb=2f8a3c36ac4051c0f87a6eb50828f339f49fad3f;hp=e6af8d7975fe6bbd7b1d7f9557f9df4b8adb6a33;hpb=e8ca54fe91872ab95a6ffdc4f1268bf18889021d;p=mailer.git diff --git a/inc/modules/admin/what-config_user.php b/inc/modules/admin/what-config_user.php index e6af8d7975..29b349fb81 100644 --- a/inc/modules/admin/what-config_user.php +++ b/inc/modules/admin/what-config_user.php @@ -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 - 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,12 +43,15 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { // Add description as navigation point addYouAreHereLink('admin', __FILE__); -if (isFormSent()) { +if (isFormSent('save_config')) { // Save settings adminSaveSettingsFromPostData(); } else { + // Prepare gender selection box + $content['tester_user_gender_selection'] = generateGenderSelectionBox(getTesterUserGender(), 'tester_user_gender'); + // Load form template - loadTemplate('admin_config_user'); + loadTemplate('admin_config_user', FALSE, $content); } // [EOF]