diff --git a/feeds.pages.inc b/feeds.pages.inc index db0b7c5abc74de4475351b623721b72b90b7794e..8baac4ed9c18192444dca0b4b8d3c861230ec81d 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 3792ccf4dd83a43ec0359700f4dc6db13449826b..c7e773a8d8fa06dc9cae8f3d87fb4134933788ed 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(