X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_wernis.php;h=b26d5e94c6ba240138bf4624696f7923a99d3d18;hp=7650ae1bad076f26bad92b0ef7176ed5efd9582c;hb=19b197c32c96ce8eea26561fb7b40e87c57716ae;hpb=33a744d80e9c5ec1c13e8f643143146166975e9b diff --git a/inc/modules/admin/what-config_wernis.php b/inc/modules/admin/what-config_wernis.php index 7650ae1bad..b26d5e94c6 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'], - 'api_url' => $CONFIG['wernis_api_url'] + '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] ?>