- // 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
-