X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fadmin%2Fwhat-config_birthday.php;h=58db77920ad8d8405600125ddb6e2faa2d187c7a;hb=cd7d344ea7007cfa20413acd3e03e50f0ab86d86;hp=83c2c54b49181c2632c8208f760154ad4d2f2773;hpb=56931cd9321119dd37372bd16d6c552857e40066;p=mailer.git diff --git a/inc/modules/admin/what-config_birthday.php b/inc/modules/admin/what-config_birthday.php index 83c2c54b49..58db77920a 100644 --- a/inc/modules/admin/what-config_birthday.php +++ b/inc/modules/admin/what-config_birthday.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2013 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,22 +43,12 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { // Add description as navigation point addYouAreHereLink('admin', __FILE__); -if (isFormSent()) { +if (isFormSent('save_config')) { // Save configuration adminSaveSettingsFromPostData(); } else { - // Init all other template entries - foreach (array('active_y','active_n') as $entry) { - $content[$entry] = ''; - } // END - foreach - - // Set current selections - foreach (array('active') as $entry) { - $content['birthday_' . $entry . '_' . strtolower(getConfig('birthday_' . $entry))] = ' checked="checked"'; - } // END - foreach - // Display form - loadTemplate('admin_config_birthday', false, $content); + loadTemplate('admin_config_birthday'); } // [EOF]