Index: filter.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/filter.module,v
retrieving revision 1.88
diff -u -r1.88 filter.module
--- filter.module	30 Nov 2005 20:16:47 -0000	1.88
+++ filter.module	1 Dec 2005 21:14:34 -0000
@@ -762,7 +762,7 @@
     $form['format'] = array('#type' => 'fieldset', '#title' => t('Input format'), '#collapsible' => TRUE, '#collapsed' => TRUE, '#weight' => -16);
     // Multiple formats available: display radio buttons with tips.
     foreach ($formats as $format) {
-      $form['format'][$format->format] = array('#type' => 'filter_format', '#title' => $format->name, '#default_value' => $value, '#return_value' => $format->format, '#parents' => array('format'), '#description' => theme('filter_tips', _filter_tips($format->format, false)), '#validate' => 'filter_form_validate');
+      $form['format'][$format->format] = array('#type' => 'radio', '#title' => $format->name, '#default_value' => $value, '#return_value' => $format->format, '#parents' => array('format'), '#description' => theme('filter_tips', _filter_tips($format->format, false)), '#validate' => 'filter_form_validate');
     }
     return $form;
   }
@@ -776,19 +776,6 @@
   }
 }
 
-function filter_elements() {
-  $type['filter_format'] = array('#input' => TRUE);
-  return $type;
-}
-
-function theme_filter_format($element) {
-  $output .= '<div>';
-  $output .= '<label class="option"><input type="radio" class="form-radio" name="' . $element['#name'] . '" value="'. $element['#return_value'] .'"'. (($element['#default_value'] == $element['#return_value']) ? ' checked="checked"' : '') .' /> '. $element['#title'] .'</label>';
-  $output .= $element['#description'];
-  $output .= '</div>';
-  return $output;
-}
-
 function filter_form_validate($element) {
   static $validated;
   if ($validated) {
