X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_wernis.php;h=7d5a3ece21568cf7795fa176cf85e81c800ad938;hb=8d0ed5ed9a9ca0e07b9582f2311b44bdcc5a95ea;hp=ea86768545a0c198b50d8ab36e779058078e88a4;hpb=d0ab0382dd73638f0bc13a1a3d6f117ec11a203e;p=mailer.git diff --git a/inc/modules/admin/what-config_wernis.php b/inc/modules/admin/what-config_wernis.php index ea86768545..7d5a3ece21 100644 --- a/inc/modules/admin/what-config_wernis.php +++ b/inc/modules/admin/what-config_wernis.php @@ -1,7 +1,7 @@ $CONFIG['wernis_min_amount'], - 'api_id' => $CONFIG['wernis_api_id'], - 'api_md5' => $CONFIG['wernis_api_md5'] + '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 + // Load template - LOAD_TEMPLATE("admin_config_wernis", false, $content); + loadTemplate('admin_config_wernis', false, $content); } -// +// [EOF] ?>