summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-10-06 13:38:40 +0000
committerDries Buytaert <dries@buytaert.net>2010-10-06 13:38:40 +0000
commitfb8025056c39148dc784d529374e3e48ebebb454 (patch)
tree3573d5155e371139efe153bf8ef397fa6994ec07 /includes
parent1680103636c556503187f980f1b5dd4a66a72853 (diff)
downloadbrdo-fb8025056c39148dc784d529374e3e48ebebb454.tar.gz
brdo-fb8025056c39148dc784d529374e3e48ebebb454.tar.bz2
- Patch #932098 by sun: various bogus theme variables.
Diffstat (limited to 'includes')
-rw-r--r--includes/locale.inc2
-rw-r--r--includes/pager.inc5
2 files changed, 5 insertions, 2 deletions
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 '<h2 class="element-invisible">' . t('Pages') . '</h2>' . theme('item_list', array('items' => $items, 'title' => NULL, 'type' => 'ul', 'attributes' => array('class' => array('pager'))));
+ return '<h2 class="element-invisible">' . t('Pages') . '</h2>' . theme('item_list', array(
+ 'items' => $items,
+ 'attributes' => array('class' => array('pager')),
+ ));
}
}