// Add description as navigation point
ADD_DESCR('admin', __FILE__);
-if (IS_FORM_SENT()) {
+if (isFormSent()) {
// First merge temporarily the new API data into the current config
mergeConfig(REQUEST_POST_ARRAY());
// Prepare payout Y/N selection
if (getConfig('wernis_payout_active') == 'Y') {
// Payout allowed
- define('__CFG_WERNIS_PAYOUT_ACTIVE_Y', ' chkecked="checked"');
+ define('__CFG_WERNIS_PAYOUT_ACTIVE_Y', ' checked="checked"');
define('__CFG_WERNIS_PAYOUT_ACTIVE_N', '');
} else {
// Payout disabled
define('__CFG_WERNIS_PAYOUT_ACTIVE_Y', '');
- define('__CFG_WERNIS_PAYOUT_ACTIVE_N', ' chkecked="checked"');
+ define('__CFG_WERNIS_PAYOUT_ACTIVE_N', ' checked="checked"');
}
// Prepare withdraw Y/N selection
if (getConfig('wernis_withdraw_active') == 'Y') {
// Payout allowed
- define('__CFG_WERNIS_WITHDRAW_ACTIVE_Y', ' chkecked="checked"');
+ define('__CFG_WERNIS_WITHDRAW_ACTIVE_Y', ' checked="checked"');
define('__CFG_WERNIS_WITHDRAW_ACTIVE_N', '');
} else {
// Payout disabled
define('__CFG_WERNIS_WITHDRAW_ACTIVE_Y', '');
- define('__CFG_WERNIS_WITHDRAW_ACTIVE_N', ' chkecked="checked"');
+ define('__CFG_WERNIS_WITHDRAW_ACTIVE_N', ' checked="checked"');
}
// Load template