X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-doubler.php;h=d152d2a10f97e57ccfbcf649115c371d2bfe02d1;hb=0ddf8f6c578aa2c1ff1db9fb8eb0b93a1e247b73;hp=01b6209015992840020203805253e8553cf1bd26;hpb=09f5758c42a33a56bdd461c946ffe759a59c54aa;p=mailer.git diff --git a/inc/modules/guest/what-doubler.php b/inc/modules/guest/what-doubler.php index 01b6209015..d152d2a10f 100644 --- a/inc/modules/guest/what-doubler.php +++ b/inc/modules/guest/what-doubler.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 * @@ -50,31 +48,12 @@ if ((!isExtensionActive('doubler')) && (!isAdmin())) { return; } // END - if -// Percent values etc. -$content['charge'] = translateComma(getConfig('doubler_charge') * 100); -$content['ref'] = translateComma(getConfig('doubler_ref') * 100); -$content['total'] = translateComma(getConfig('doubler_points')); -$content['min'] = translateComma(getConfig('doubler_min')); -$content['max'] = translateComma(getConfig('doubler_max')); - -// Transfer referal id -$content['refid'] = determineReferalId(); - // Which mail-send-mode did the admin setup? -$content['payout_time'] = getMessage('DOUBLER_PAYOUT_TIME_' . getConfig('doubler_send_mode')); +$content['payout_time'] = '{--DOUBLER_PAYOUT_TIME_{?doubler_send_mode?}--}'; // Generate table with already payed out doubles $content['payout_history'] = generateDoublerTable(0, 'Y', 'N', 'DESC'); -// Generate table with next-to-run payouts -$content['next_table'] = generateDoublerTable(); - -// Generate timemark -$content['timeout_mark'] = createFancyTime(getConfig('doubler_timeout')); - -// Points left to double -$content['left'] = translateComma(DOUBLER_GET_TOTAL_POINTS_LEFT()); - // Load template loadTemplate('guest_doubler', false, $content);