X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_birthday.php;h=d42f8d90882e4e584efb44d85ec7e6663131097a;hp=e8ea8486ca4ae0aca7a898b27cc895307f48e396;hb=63f159414369b5ea19a8ca75d8cd8033c45d8341;hpb=e8ca54fe91872ab95a6ffdc4f1268bf18889021d diff --git a/inc/modules/admin/what-config_birthday.php b/inc/modules/admin/what-config_birthday.php index e8ea8486ca..d42f8d9088 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, 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 * @@ -47,18 +47,8 @@ if (isFormSent()) { // Save configuration adminSaveSettingsFromPostData(); } else { - // Init all other templates - foreach (array('active_y','active_n','mode_direct','mode_ref') as $entry) { - $content[$entry] = ''; - } // END - foreach - - // Set current selections - foreach (array('active','mode') as $entry) { - $content[$entry . '_' . strtolower(getConfig('birthday_' . $entry))] = ' checked="checked"'; - } // END - foreach - // Display form - loadTemplate('admin_config_birthday', false, $content); + loadTemplate('admin_config_birthday'); } // [EOF]