X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_wernis.php;h=7d5a3ece21568cf7795fa176cf85e81c800ad938;hb=5c4d360166de238420eec3e5f4e694befb09ab5d;hp=9f1fa093f5a5c6ccc5d0d5f840229abc0c7fde43;hpb=0bb1c94c93ee12d0d934a29c29ff8ce6253412cc;p=mailer.git diff --git a/inc/modules/admin/what-config_wernis.php b/inc/modules/admin/what-config_wernis.php index 9f1fa093f5..7d5a3ece21 100644 --- a/inc/modules/admin/what-config_wernis.php +++ b/inc/modules/admin/what-config_wernis.php @@ -1,7 +1,7 @@ bigintval($_CONFIG['wernis_min_payout']), - 'min_withdraw' => bigintval($_CONFIG['wernis_min_withdraw']), - 'api_id' => bigintval($_CONFIG['wernis_api_id']), - 'api_md5' => $_CONFIG['wernis_api_md5'], - 'api_url' => $_CONFIG['wernis_api_url'], - 'refid' => bigintval($_CONFIG['wernis_refid']) + '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] ?>