- // Prepare content
- $content = array();
-
- // Translate Y/N switches
- switch (getConfig('refback_enabled')) {
- case 'Y': // Refback enabled
- $content['refback_enabled_y'] = ' checked="checked"';
- $content['refback_enabled_n'] = '';
- break;
-
- case 'N': // Refback disabled
- $content['refback_enabled_y'] = '';
- $content['refback_enabled_n'] = ' checked="checked"';
- break;
- } // END - switch
-