X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_wernis.php;h=95b848394f753b7e7c5d64f80ae5e517592a3c04;hb=095f5ab59b539834d2c67e5d409d01820e10d8be;hp=51f3f158006be7c720109620d365db4cc2b6f772;hpb=64c8349613addc3da2242c5cd6b99d64e3fb5f8e;p=mailer.git diff --git a/inc/modules/admin/what-config_wernis.php b/inc/modules/admin/what-config_wernis.php index 51f3f15800..95b848394f 100644 --- a/inc/modules/admin/what-config_wernis.php +++ b/inc/modules/admin/what-config_wernis.php @@ -1,7 +1,7 @@ translateComma(getConfig('wernis_payout_factor')), - 'withdraw_factor' => translateComma(getConfig('wernis_withdraw_factor')), - 'payout_fee_percent' => translateComma(getConfig('wernis_payout_fee_percent')), - 'withdraw_fee_percent' => translateComma(getConfig('wernis_withdraw_fee_percent')), - 'wernis_payout_active_y' => '', - 'wernis_payout_active_n' => '', - 'wernis_withdraw_active_y' => '', - 'wernis_withdraw_active_n' => '', - ); - - // Prepare payout Y/N selection - foreach (array('wernis_payout_active', 'wernis_withdraw_active') as $entry) { - $content[$entry . '_' . strtolower(getConfig($entry))] = ' checked="checked"'; - } // END - foreach - +} else { // Load template - loadTemplate('admin_config_wernis', false, $content); + loadTemplate('admin_config_wernis'); } // [EOF]