option
*
*/
$class = $vars['class'];
if (!$class) $class = "input-radio";
foreach($vars['options'] as $label => $option) {
if (strtolower($option) != strtolower($vars['value'])) {
$selected = "";
} else {
$selected = "checked = \"checked\"";
}
$labelint = (int) $label;
if ("{$label}" == "{$labelint}") {
$label = $option;
}
if ($vars['disabled']) $disabled = ' disabled="yes" ';
echo "
";
}
?>