X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_validator.php;h=b239445ad923033c30cb02f157d12fdef5fd3bf7;hb=7b50f1945e168fcd2daa82898c3bb71d59bc653a;hp=39f7e55c384bfdfa2e36c0cb653e7a2329298ebf;hpb=9aac7d01362ca5336f0fb1129164c4139339f9c6;p=mailer.git diff --git a/inc/modules/admin/what-config_validator.php b/inc/modules/admin/what-config_validator.php index 39f7e55c38..b239445ad9 100644 --- a/inc/modules/admin/what-config_validator.php +++ b/inc/modules/admin/what-config_validator.php @@ -14,12 +14,10 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * 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 * @@ -39,29 +37,18 @@ // Some security stuff... if ((!defined('__SECURITY')) || (!isAdmin())) { - die(); + exit(); } // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); if (isFormSent()) { // Save data adminSaveSettingsFromPostData(); } else { - // Prepare content (default) - $content['enable_validator_yes'] = ' checked="checked"'; - $content['enable_validator_no'] = ''; - - // Is the configuration is "N"? - if (getConfig('enable_validator') == 'N') { - // Set them again - $content['enable_validator_yes'] = ''; - $content['enable_validator_no'] = ' checked="checked"'; - } // END - if - // Load template - loadTemplate('admin_config_validator', false, $content); + loadTemplate('admin_config_validator'); } // [EOF]