X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_proxy.php;h=be45921667f2c20f0f856eba33531609a538c314;hb=f64d7201f0d4bf966d55bcdc85ce206d124dfe14;hp=d22306dbd528f1656cf24c0f000e7af8ba2081f6;hpb=e2148142f8b1a8f40fd6e7ca32185569c5a9083e;p=mailer.git diff --git a/inc/modules/admin/what-config_proxy.php b/inc/modules/admin/what-config_proxy.php index d22306dbd5..be45921667 100644 --- a/inc/modules/admin/what-config_proxy.php +++ b/inc/modules/admin/what-config_proxy.php @@ -14,10 +14,9 @@ * $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 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -39,10 +38,10 @@ // Some security stuff... if ((!defined('__SECURITY')) || (!isAdmin())) { die(); -} +} // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); if (isFormSent()) { // Test proxy settings @@ -51,19 +50,11 @@ if (isFormSent()) { adminSaveSettingsFromPostData(); } else { // Invalid! - loadTemplate('admin_settings_saved', false, getMessage('ADMIN_PROXY_SETTINGS_INVALID')); + displayMessage('{--ADMIN_PROXY_SETTINGS_INVALID--}'); } } else { - // Prepare content - $content = array( - 'proxy_host' => getConfig('proxy_host'), - 'proxy_port' => getConfig('proxy_port'), - 'proxy_username' => getConfig('proxy_username'), - 'proxy_password' => getConfig('proxy_password'), - ); - // Load template - loadTemplate('admin_config_proxy', false, $content); + loadTemplate('admin_config_proxy'); } // [EOF]