From fb8025056c39148dc784d529374e3e48ebebb454 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 6 Oct 2010 13:38:40 +0000 Subject: - Patch #932098 by sun: various bogus theme variables. --- includes/locale.inc | 2 +- includes/pager.inc | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'includes') diff --git a/includes/locale.inc b/includes/locale.inc index 4b2f00556..a1cbed4d5 100644 --- a/includes/locale.inc +++ b/includes/locale.inc @@ -1615,7 +1615,7 @@ function _locale_translate_seek() { } $output .= theme('table', array('header' => $header, 'rows' => $rows, 'empty' => t('No strings available.'))); - $output .= theme('pager', array('tags' => NULL)); + $output .= theme('pager'); return $output; } diff --git a/includes/pager.inc b/includes/pager.inc index df68cd47c..49c758ab1 100644 --- a/includes/pager.inc +++ b/includes/pager.inc @@ -420,7 +420,10 @@ function theme_pager($variables) { 'data' => $li_last, ); } - return '

' . t('Pages') . '

' . theme('item_list', array('items' => $items, 'title' => NULL, 'type' => 'ul', 'attributes' => array('class' => array('pager')))); + return '

' . t('Pages') . '

' . theme('item_list', array( + 'items' => $items, + 'attributes' => array('class' => array('pager')), + )); } } -- cgit v1.2.3