'id' => $id,
);
- if (($_POST['cat'][$id] == "Y") || (($_CONFIG['register_default'] == "Y") && (empty($_POST['cat'][$id]))))
- {
- $content['def_y'] = " checked";
- }
- else
- {
- $content['def_n'] = " checked";
+ if (($_POST['cat'][$id] == "Y") || (($_CONFIG['register_default'] == "Y") && (empty($_POST['cat'][$id])))) {
+ $content['def_y'] = " checked=\"checked\"";
+ } else {
+ $content['def_n'] = " checked=\"checked\"";
}
// Load template and switch color