X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fmember%2Fwhat-wernis.php;h=108be32022b2b27605a2f4f40e9801dc7fdec047;hb=1c62a6c2a4ed2bb170e0f1888899625e67a27947;hp=8cf42616a4a6c35ebc5bb1c3a6c77107ce2be463;hpb=1fd39b2564946ce7f19776abab8d65a31928fba1;p=mailer.git diff --git a/inc/modules/member/what-wernis.php b/inc/modules/member/what-wernis.php index 8cf42616a4..108be32022 100644 --- a/inc/modules/member/what-wernis.php +++ b/inc/modules/member/what-wernis.php @@ -14,8 +14,6 @@ * $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, 2010 by Mailer Developer Team * @@ -66,7 +64,6 @@ $content = array(); $points = false; // Is the mode set (withdraw or payout) if ((!isGetRequestParameterSet('mode')) || (getRequestParameter('mode') == 'choose')) { // Let the user choose what he wants to do - $content['refid'] = getConfig(('wernis_refid')); $content['wernis_userid'] = '0'; // Is there an id? @@ -125,11 +122,7 @@ if ((!isGetRequestParameterSet('mode')) || (getRequestParameter('mode') == 'choo // Is this enougth for a payout? if ($points < getConfig('wernis_min_payout')) { // No, then abort here - loadTemplate('admin_settings_saved', false, sprintf( - getMessage('MEMBER_WERNIS_MIN_PAYOUT'), - translateComma(getConfig('wernis_min_payout')), - translateComma($points) - )); + loadTemplate('admin_settings_saved', false, '{%message,MEMBER_WERNIS_MIN_PAYOUT=' . $points . '%}'); return; } // END - if @@ -139,9 +132,6 @@ if ((!isGetRequestParameterSet('mode')) || (getRequestParameter('mode') == 'choo // Add points to content array $content['points'] = $points; - - // Get WDS66 username - $content['wernis_userid'] = getUserData('wernis_userid'); } elseif ((getRequestParameter('mode') == 'withdraw') && (getConfig('wernis_withdraw_active') == 'Y')) { // Prepare data for the template $content['points'] = getTotalPoints(getMemberId());