X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_wernis.php;h=7d5a3ece21568cf7795fa176cf85e81c800ad938;hb=2272afc569a7b308e6c34a2d28457495e6b2483b;hp=db31390b5cd75432aa09119ca9e5b2148e4e3fea;hpb=fe8e4c180ec67e320be98e1e8dc1f9ea612c3636;p=mailer.git diff --git a/inc/modules/admin/what-config_wernis.php b/inc/modules/admin/what-config_wernis.php index db31390b5c..7d5a3ece21 100644 --- a/inc/modules/admin/what-config_wernis.php +++ b/inc/modules/admin/what-config_wernis.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()) { // First merge temporarily the new API data into the current config @@ -52,18 +51,18 @@ if (isFormSent()) { if (WERNIS_TEST_API()) { // Revert german commata foreach (array('payout_factor', 'withdraw_factor', 'payout_fee_percent', 'withdraw_fee_percent') as $revert) { - setRequestPostElement('wernis_' . $revert, postRequestElement('wernis_' . $revert)); + setPostRequestParameter('wernis_' . $revert, postRequestParameter('wernis_' . $revert)); } // END - if // Hash the password and remove clear-text - setRequestPostElement('wernis_pass_md5', md5(postRequestElement('wernis_pass'))); - unsetPostRequestElement('wernis_pass'); + setPostRequestParameter('wernis_pass_md5', md5(postRequestParameter('wernis_pass'))); + unsetPostRequestParameter('wernis_pass'); // Save settings adminSaveSettingsFromPostData(); } else { // Failed to test the API! - loadTemplate('admin_settings_saved', false, GET_WERNIS_ERROR_MESSAGE()); + displayMessage(GET_WERNIS_ERROR_MESSAGE()); } } else { // Prepare data for template output