X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_validator.php;h=b239445ad923033c30cb02f157d12fdef5fd3bf7;hb=4264b4f73e06a6b957330a9972efe600a8ff4ab5;hp=19c59dc909944e6cba256a798a40c87ecbf55411;hpb=48b01b793f8953018586b10eeb3d7b0a762af765;p=mailer.git diff --git a/inc/modules/admin/what-config_validator.php b/inc/modules/admin/what-config_validator.php index 19c59dc909..b239445ad9 100644 --- a/inc/modules/admin/what-config_validator.php +++ b/inc/modules/admin/what-config_validator.php @@ -10,16 +10,14 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Konfiguration der Erweiterung ext-validator * * -------------------------------------------------------------------- * - * $Revision:: 1047 $ * - * $Date:: 2009-06-08 19:32:34 +0200 (Mon, 08 Jun 2009) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: quix0r $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * + * $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 * @@ -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]