From ca4162c85c859b4c521235516036ca3d836833d2 Mon Sep 17 00:00:00 2001
From: Alex Barth <alex_b@53995.no-reply.drupal.org>
Date: Fri, 17 Sep 2010 01:01:17 +0000
Subject: [PATCH] Convert use of theme('table').

---
 feeds.pages.inc             | 2 +-
 feeds_ui/feeds_ui.admin.inc | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/feeds.pages.inc b/feeds.pages.inc
index db0b7c5a..8baac4ed 100644
--- a/feeds.pages.inc
+++ b/feeds.pages.inc
@@ -37,7 +37,7 @@ function feeds_page() {
     t('Import'),
     t('Description'),
   );
-  return theme('table', $header, $rows);
+  return theme('table', array('header' => $header, 'rows' => $rows));
 }
 
 /**
diff --git a/feeds_ui/feeds_ui.admin.inc b/feeds_ui/feeds_ui.admin.inc
index 3792ccf4..c7e773a8 100644
--- a/feeds_ui/feeds_ui.admin.inc
+++ b/feeds_ui/feeds_ui.admin.inc
@@ -796,7 +796,7 @@ function theme_feeds_ui_mapping_form($form) {
     drupal_render($form['add']),
   );
   $output = '<div class="help feeds-admin-ui""'. drupal_render($form['help']) .'</div>';
-  $output .= theme('table', $header, $rows);
+  $output .= theme('table', array('header' => $header, 'rows' => $rows));
 
   // Build the help table that explains available sources.
   $legend = '';
@@ -809,7 +809,7 @@ function theme_feeds_ui_mapping_form($form) {
   }
   if (count($rows)) {
     $legend .= '<h4>'. t('Sources') .'</h4>';
-    $legend .= theme('table', array(t('Name'), t('Description')), $rows);
+    $legend .= theme('table', array('header' => array(t('Name'), t('Description')), 'rows' => $rows));
   }
 
   // Build the help table that explains available targets.
@@ -821,7 +821,7 @@ function theme_feeds_ui_mapping_form($form) {
     );
   }
   $legend .= '<h4>'. t('Targets') .'</h4>';
-  $legend .= theme('table', array(t('Name'), t('Description')), $rows);
+  $legend .= theme('table', array('header' => array(t('Name'), t('Description')), 'rows' => $rows));
 
   // Stick tables into collapsible fieldset.
   $form['legendset']['legend'] = array(
-- 
GitLab