// Prepare data for the template
$content['points'] = TRANSLATE_COMMA($points);
- $content['min_points'] = TRANSLATE_COMMA($_CONFIG['wernis_min_payout']);
+ $content['min_points'] = TRANSLATE_COMMA($_CONFIG['wernis_min_withdraw']);
$content['wds66_id'] = "";
// Get WDS66 id
// Only numbers in amount!
LOAD_TEMPLATE("admin_settings_saved", false, WERNIS_MEMBER_INVALID_AMOUNT);
OUTPUT_HTML("<br />");
- } elseif ($_POST['amount'] < $_CONFIG['wernis_min_payout']) {
+ } elseif ($_POST['amount'] < $_CONFIG['wernis_min_widthdraw']) {
// Not enougth entered!
- LOAD_TEMPLATE("admin_settings_saved", false, sprintf(WERNIS_MEMBER_AMOUNT_SMALLER_MIN, bigintval($_CONFIG['wernis_min_payout'])));
+ LOAD_TEMPLATE("admin_settings_saved", false, sprintf(WERNIS_MEMBER_AMOUNT_SMALLER_MIN, bigintval($_CONFIG['wernis_min_withdraw'])));
OUTPUT_HTML("<br />");
} else {
// All is fine here so do the withdraw
-<FORM action="{!URL!}/modules.php?module=admin&what=config_wernis"
- method="POST">
-<TABLE border="0" cellspacing="0" cellpadding="0" width="580"
- class="admin_table dashed">
+<FORM action="{!URL!}/modules.php?module=admin&what=config_wernis" method="POST">
+<TABLE border="0" cellspacing="0" cellpadding="0" width="580" class="admin_table dashed">
<TR>
<TD colspan="3" align="center" class="admin_title bottom2" height="30">
<STRONG>{--WERNIS_ADMIN_CONFIG_TITLE--}</STRONG></TD>