From 7a6f73f49d0cdbb544ca1a8af36ed3502487456c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 26 Apr 2009 19:44:40 +0000 Subject: - Patch #330748 by stBorchert: remove from theme_pager*. --- modules/taxonomy/taxonomy.admin.inc | 2 +- modules/taxonomy/taxonomy.pages.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/taxonomy') diff --git a/modules/taxonomy/taxonomy.admin.inc b/modules/taxonomy/taxonomy.admin.inc index bdddea75d..5c5c4adb7 100644 --- a/modules/taxonomy/taxonomy.admin.inc +++ b/modules/taxonomy/taxonomy.admin.inc @@ -620,7 +620,7 @@ function theme_taxonomy_overview_terms($form) { $header = array(t('Name'), t('Operations')); $output = theme('table', $header, $rows, array('id' => 'taxonomy')); $output .= drupal_render_children($form); - $output .= theme('pager', NULL, $page_increment); + $output .= theme('pager', NULL); return $output; } diff --git a/modules/taxonomy/taxonomy.pages.inc b/modules/taxonomy/taxonomy.pages.inc index 57f1c6e74..65c81cbb1 100644 --- a/modules/taxonomy/taxonomy.pages.inc +++ b/modules/taxonomy/taxonomy.pages.inc @@ -67,7 +67,7 @@ function taxonomy_term_page($terms, $depth = 0, $op = 'page') { $nodes = node_load_multiple($nids); $build += node_build_multiple($nodes); $build['pager'] = array( - '#markup' => theme('pager', NULL, variable_get('default_nodes_main', 10)), + '#markup' => theme('pager', NULL), '#weight' => 5, ); } -- cgit v1.2.3