displayMessage(GET_WERNIS_ERROR_MESSAGE());
}
} else {
- // Prepare data for template output
- $content = array(
- '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
- loadTemplate('admin_config_wernis', false, $content);
+ loadTemplate('admin_config_wernis');
}
// [EOF]