- // Prepare data for the template
- // - Charge rate
- $content['charge'] = translateComma((getConfig('doubler_charge') * 100), false);
- // - Referal rate
- $content['referal'] = translateComma((getConfig('doubler_ref') * 100), false);
- // - Minimum points to double
- $content['minimum'] = translateComma(getConfig('doubler_min'), false);
- // - Maximum points to double
- $content['maximum'] = translateComma(getConfig('doubler_max'), false);
- // - Points left on users account after doubling
- $content['left'] = translateComma(getConfig('doubler_left'), false);
-
- // Init all Y/N selections
- foreach (array('jackpot','own','sent_all') as $entry) {
- $content[$entry . '_y'] = '';
- $content[$entry . '_n'] = '';
- $content[$entry . '_' . strtolower(getConfig('doubler_' . $entry))] = ' checked="checked"';
- } // END - foreach
-