Index: location.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/location/location.inc,v
retrieving revision 1.64
diff -u -r1.64 location.inc
--- location.inc	24 Jan 2008 23:58:23 -0000	1.64
+++ location.inc	25 Jan 2008 13:16:52 -0000
@@ -334,8 +334,6 @@
     }
   }
 
-  $form['#theme'] = 'location_form';
-
   return $form;
 }
 
Index: location.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/location/location.module,v
retrieving revision 1.110
diff -u -r1.110 location.module
--- location.module	25 Jan 2008 03:44:03 -0000	1.110
+++ location.module	25 Jan 2008 11:11:59 -0000
@@ -834,6 +834,7 @@
   }
 
   if ($location_form_count == 1) {
+    $form['locations'][0]['#type'] = '';
     $form['locations'][0]['#title'] = t('Location');
   }
 
Index: location.theme
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/location/location.theme,v
retrieving revision 1.5
diff -u -r1.5 location.theme
--- location.theme	24 Jan 2008 09:10:21 -0000	1.5
+++ location.theme	25 Jan 2008 13:16:56 -0000
@@ -247,31 +247,6 @@
   return $output;
 }
 
-function theme_location_form(&$form) {
-  foreach (element_children($form) as $field_name) {
-    $row = array();
-    if ($form[$field_name]['#type'] == 'markup') {
-      $row[] = array('data' => $form[$field_name]['#value'], 'colspan' => 2);
-    }
-    elseif ($form[$field_name]['#type'] != 'hidden') {
-      $required = !empty($form[$field_name]['#required']) ? '<span class="form-required" title="'. t('This field is required.') .'">*</span>' : '';
-      $row[] = array('align' => 'right', 'data' => '<div class="form-item"><label'. ($form[$field_name]['#id'] ? ' for="'. $form[$field_name]['#id'] .'" ' : '') .'>'. filter_xss_admin($form[$field_name]['#title']) .": $required</label></div>");
-      unset($form[$field_name]['#title']);
-      $description = $form[$field_name]['#description'];
-      $row[] = array('align' => 'left', 'data' => drupal_render($form[$field_name]));
-      $rows[] = array(
-        'data' => $row,
-        'class' => 'odd'
-      );
-    }
-  }
-  
-  $output = theme('table', NULL, $rows);
-  $output .= drupal_render($form);
-  
-  return $output;
-}
-
 function theme_location_proximity_form(&$form) {
   $row = array();
 

