- // Prepare content
- $content = array(
- 'refback_enabled_n' => '',
- 'refback_enabled_y' => ''
- );
-
- // Translate Y/N switches
- if (isRefbackEnabled()) {
- // Enabled
- $content['refback_enabled_y'] = ' checked="checked"';
- } else {
- // Disabled
- $content['refback_enabled_n'] = ' checked="checked"';
- }
-