- // Prepare content
- $content = array(
- 'refback_min_perc' => getConfig(('refback_min_perc')),
- 'refback_max_perc' => getConfig(('refback_max_perc'))
- );
-
- // Add more content
- switch (getConfig('refback_enabled')) {
- case 'Y': // Refback enabled
- $content['refback_enabled_y'] = ' chkecked="checked"';
- $content['refback_enabled_n'] = '';
- break;
-
- case 'N': // Refback disabled
- $content['refback_enabled_y'] = '';
- $content['refback_enabled_n'] = ' chkecked="checked"';
- break;
- }
-