X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_sponsor.php;h=5940adbe8e4b0d4b26463929ccfb692074fd3dab;hb=ea6cf3578750b2697b45cab74725396962b56ceb;hp=ba30ff1007453704eed3d861cc46479e11eeab81;hpb=ca378407a00fb80cafe270a4a4424f1e5636e08b;p=mailer.git diff --git a/inc/modules/admin/what-config_sponsor.php b/inc/modules/admin/what-config_sponsor.php index ba30ff1007..5940adbe8e 100644 --- a/inc/modules/admin/what-config_sponsor.php +++ b/inc/modules/admin/what-config_sponsor.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,26 +38,18 @@ // Some security stuff... if ((!defined('__SECURITY')) || (!isAdmin())) { die(); -} +} // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); if (isFormSent()) { - // Allow only direct points (non-floating) - setPostRequestElement('sponsor_min_points', bigintval(postRequestElement('sponsor_min_points'))); - setPostRequestElement('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] ?>