- // Prepare content
- $content = array(
- 'refback_min_perc' => bigintval(getConfig('refback_min_perc')),
- 'refback_max_perc' => bigintval(getConfig('refback_max_perc'))
- );
-
- // Add more content
- 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;
- }
-