Звучит так, как будто вы были близко & mdash; функция заголовка радиовхода single - это theme_ radio (не theme_radio s , который существует, но отличается)
Для этого создайте функцию переопределения в template.php вашей темы на основе theme_radio , т.е.
<?php
function mytheme_radio($element) {
_form_set_class($element, array('form-radio'));
$output = '<input type="radio" ';
$output .= 'id="' . $element['#id'] . '" ';
$output .= 'name="' . $element['#name'] . '" ';
$output .= 'value="' . $element['#return_value'] . '" ';
$output .= (check_plain($element['#value']) == $element['#return_value']) ? ' checked="checked" ' : ' ';
$output .= drupal_attributes($element['#attributes']) . ' />';
if (!is_null($element['#title'])) {
$output = '<label class="option" for="' . $element['#id'] . '">' . $element['#title'] . '</label>' . $output;
}
unset($element['#title']);
return theme('form_element', $element, $output);
}
?>
(Это работает для любой функции темы, найденной в /include/form.inc; не забудьте назвать функцию переопределения после вашей темы.) Предполагается, что вы используете Drupal 6 на основе отправленной вами ссылки.