X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fadmin%2Fwhat-config_sponsor.php;h=feafa04655cb8845e607354ce94111fdca00ea62;hb=7618bd22d09e9bddab2ca39308f6523c06dd1521;hp=34d51ee41806fc59202451f1c394f449ab9083dc;hpb=8f63845c24854e5155c6624223c091d30399a96a;p=mailer.git diff --git a/inc/modules/admin/what-config_sponsor.php b/inc/modules/admin/what-config_sponsor.php index 34d51ee418..feafa04655 100644 --- a/inc/modules/admin/what-config_sponsor.php +++ b/inc/modules/admin/what-config_sponsor.php @@ -18,6 +18,7 @@ * 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 * * * * This program is free software; you can redistribute it and/or modify * @@ -39,26 +40,18 @@ // Some security stuff... if ((!defined('__SECURITY')) || (!isAdmin())) { die(); -} +} // END - if // Add description as navigation point addMenuDescription('admin', __FILE__); if (isFormSent()) { - // Allow only direct points (non-floating) - setRequestPostElement('sponsor_min_points', bigintval(postRequestElement('sponsor_min_points'))); - setRequestPostElement('sponsor_ref_points', bigintval(postRequestElement('sponsor_ref_points'))); - // Save settings adminSaveSettingsFromPostData(); } else { - // Remember config data in constants for the template - $content['min_points'] = getConfig('sponsor_min_points'); - $content['ref_points'] = getConfig('sponsor_ref_points'); - // Load template - loadTemplate('admin_config_sponsor', false, $content); + loadTemplate('admin_config_sponsor'); } -// +// [EOF] ?>