Index: sections.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/sections/sections.module,v
retrieving revision 1.11
diff -u -F^f -r1.11 sections.module
--- sections.module	5 Feb 2006 17:40:28 -0000	1.11
+++ sections.module	18 Feb 2006 14:43:19 -0000
@@ -54,8 +54,8 @@ function sections_list() {
         l(t('delete'),'admin/settings/sections/delete/'.$section->sid));
   }
 
-  $output = theme('table', $header, $rows);
-  return $output;}
+  return theme('table', $header, $rows);
+}
 
 function sections_settings_form($edit = NULL, $section = NULL) {
   if ($section) {
@@ -133,7 +133,7 @@ function sections_settings_form($edit = 
     $form['submit'] = array('#type' => 'submit', '#value' => t('Add section'));
   }
 
-  print theme('page', drupal_get_form('section_settings', $form));
+  return drupal_get_form('section_settings', $form);
 }
 
 
@@ -178,7 +178,7 @@ function _sections_delete($section) {
       break;
   }
 
-  print theme('page', $output);
+  return $output;
 }
 
 /**
