diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/aggregator/aggregator.pages.inc | 2 | ||||
-rw-r--r-- | modules/blog/blog.pages.inc | 4 | ||||
-rw-r--r-- | modules/comment/comment.admin.inc | 2 | ||||
-rw-r--r-- | modules/comment/comment.module | 2 | ||||
-rw-r--r-- | modules/dblog/dblog.admin.inc | 4 | ||||
-rw-r--r-- | modules/forum/forum.module | 2 | ||||
-rw-r--r-- | modules/node/node.admin.inc | 2 | ||||
-rw-r--r-- | modules/node/node.module | 2 | ||||
-rw-r--r-- | modules/path/path.admin.inc | 2 | ||||
-rw-r--r-- | modules/poll/poll.pages.inc | 2 | ||||
-rw-r--r-- | modules/profile/profile.pages.inc | 4 | ||||
-rw-r--r-- | modules/search/search.pages.inc | 2 | ||||
-rw-r--r-- | modules/statistics/statistics.admin.inc | 8 | ||||
-rw-r--r-- | modules/statistics/statistics.pages.inc | 4 | ||||
-rw-r--r-- | modules/system/system.module | 2 | ||||
-rw-r--r-- | modules/taxonomy/taxonomy.admin.inc | 2 | ||||
-rw-r--r-- | modules/taxonomy/taxonomy.pages.inc | 2 | ||||
-rw-r--r-- | modules/tracker/tracker.pages.inc | 2 | ||||
-rw-r--r-- | modules/user/user.admin.inc | 2 |
19 files changed, 26 insertions, 26 deletions
diff --git a/modules/aggregator/aggregator.pages.inc b/modules/aggregator/aggregator.pages.inc index 79d80d041..16cd6cf70 100644 --- a/modules/aggregator/aggregator.pages.inc +++ b/modules/aggregator/aggregator.pages.inc @@ -261,7 +261,7 @@ function theme_aggregator_categorize_items($form) { * @see aggregator-wrapper.tpl.php */ function template_preprocess_aggregator_wrapper(&$variables) { - $variables['pager'] = theme('pager', NULL, 20, 0); + $variables['pager'] = theme('pager', NULL); } /** diff --git a/modules/blog/blog.pages.inc b/modules/blog/blog.pages.inc index 943e5491f..b6b0346f5 100644 --- a/modules/blog/blog.pages.inc +++ b/modules/blog/blog.pages.inc @@ -46,7 +46,7 @@ function blog_page_user($account) { $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, ); } @@ -95,7 +95,7 @@ function blog_page_last() { $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, ); } diff --git a/modules/comment/comment.admin.inc b/modules/comment/comment.admin.inc index a3cbe494d..15c426390 100644 --- a/modules/comment/comment.admin.inc +++ b/modules/comment/comment.admin.inc @@ -103,7 +103,7 @@ function comment_admin_overview($type = 'new', $arg) { ); $form['pager'] = array( - '#markup' => theme('pager', NULL, 50, 0) + '#markup' => theme('pager', NULL) ); return $form; diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 13e272ecd..74f6c21b2 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1194,7 +1194,7 @@ function comment_render($node, $cid = 0) { $comments .= '</div>'; } $output .= $comments; - $output .= theme('pager', NULL, $comments_per_page, 0); + $output .= theme('pager', NULL); } // If enabled, show new comment form if it's not already being displayed. diff --git a/modules/dblog/dblog.admin.inc b/modules/dblog/dblog.admin.inc index 764776d8e..c5a27f86d 100644 --- a/modules/dblog/dblog.admin.inc +++ b/modules/dblog/dblog.admin.inc @@ -103,7 +103,7 @@ function dblog_overview() { } $output .= theme('table', $header, $rows, array('id' => 'admin-dblog')); - $output .= theme('pager', NULL, 50, 0); + $output .= theme('pager', NULL); return $output; } @@ -145,7 +145,7 @@ function dblog_top($type) { } $output = theme('table', $header, $rows); - $output .= theme('pager', NULL, 30, 0); + $output .= theme('pager', NULL); return $output; } diff --git a/modules/forum/forum.module b/modules/forum/forum.module index aa9572824..268645cfc 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -909,7 +909,7 @@ function template_preprocess_forum_topic_list(&$variables) { $variables['topic_id'] = $variables['tid']; unset($variables['tid']); - $variables['pager'] = theme('pager', NULL, $variables['forum_per_page'], 0); + $variables['pager'] = theme('pager', NULL); } /** diff --git a/modules/node/node.admin.inc b/modules/node/node.admin.inc index 8e0c2519e..4ae6980fc 100644 --- a/modules/node/node.admin.inc +++ b/modules/node/node.admin.inc @@ -525,7 +525,7 @@ function node_admin_nodes() { '#type' => 'checkboxes', '#options' => $nodes, ); - $form['pager'] = array('#markup' => theme('pager', NULL, 50, 0)); + $form['pager'] = array('#markup' => theme('pager', NULL)); $form['#theme'] = 'node_admin_nodes'; return $form; } diff --git a/modules/node/node.module b/modules/node/node.module index 8bcafaeb2..8bd143d23 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -2080,7 +2080,7 @@ function node_page_default() { $feed_url = url('rss.xml', array('absolute' => TRUE)); drupal_add_feed($feed_url, variable_get('site_name', 'Drupal') . ' ' . t('RSS')); $build['pager'] = array( - '#markup' => theme('pager', NULL, variable_get('default_nodes_main', 10)), + '#markup' => theme('pager', NULL), '#weight' => 5, ); } diff --git a/modules/path/path.admin.inc b/modules/path/path.admin.inc index 20999cc92..cab9b5d1f 100644 --- a/modules/path/path.admin.inc +++ b/modules/path/path.admin.inc @@ -65,7 +65,7 @@ function path_admin_overview($keys = NULL) { } $output .= theme('table', $header, $rows); - $output .= theme('pager', NULL, 50, 0); + $output .= theme('pager', NULL); return $output; } diff --git a/modules/poll/poll.pages.inc b/modules/poll/poll.pages.inc index 4d15afe0f..f0776b4be 100644 --- a/modules/poll/poll.pages.inc +++ b/modules/poll/poll.pages.inc @@ -81,7 +81,7 @@ function poll_votes($node) { ); } $output .= theme('table', $header, $rows); - $output .= theme('pager', NULL, $votes_per_page, 0); + $output .= theme('pager', NULL); return $output; } diff --git a/modules/profile/profile.pages.inc b/modules/profile/profile.pages.inc index e1e01d9e0..788e2de61 100644 --- a/modules/profile/profile.pages.inc +++ b/modules/profile/profile.pages.inc @@ -66,7 +66,7 @@ function profile_browse() { $content .= theme('profile_listing', $account, $profile); } $output = theme('profile_wrapper', $content); - $output .= theme('pager', NULL, 20); + $output .= theme('pager', NULL); if ($field->type == 'selection' || $field->type == 'list' || $field->type == 'textfield') { $title = strtr(check_plain($field->page), array('%value' => theme('placeholder', $value))); @@ -98,7 +98,7 @@ function profile_browse() { $content .= theme('profile_listing', $account, $profile); } $output = theme('profile_wrapper', $content); - $output .= theme('pager', NULL, 20); + $output .= theme('pager', NULL); drupal_set_title(t('User list'), PASS_THROUGH); return $output; diff --git a/modules/search/search.pages.inc b/modules/search/search.pages.inc index 502612d38..f431994d8 100644 --- a/modules/search/search.pages.inc +++ b/modules/search/search.pages.inc @@ -78,7 +78,7 @@ function template_preprocess_search_results(&$variables) { foreach ($variables['results'] as $result) { $variables['search_results'] .= theme('search_result', $result, $variables['type']); } - $variables['pager'] = theme('pager', NULL, 10, 0); + $variables['pager'] = theme('pager', NULL); // Provide alternate search results template. $variables['template_files'][] = 'search-results-' . $variables['type']; } diff --git a/modules/statistics/statistics.admin.inc b/modules/statistics/statistics.admin.inc index cfe260a58..7f49deb12 100644 --- a/modules/statistics/statistics.admin.inc +++ b/modules/statistics/statistics.admin.inc @@ -40,7 +40,7 @@ function statistics_recent_hits() { } $output = theme('table', $header, $rows); - $output .= theme('pager', NULL, 30, 0); + $output .= theme('pager', NULL); return $output; } @@ -84,7 +84,7 @@ function statistics_top_pages() { drupal_set_title(t('Top pages in the past %interval', array('%interval' => format_interval(variable_get('statistics_flush_accesslog_timer', 259200)))), PASS_THROUGH); $output = theme('table', $header, $rows); - $output .= theme('pager', NULL, 30, 0); + $output .= theme('pager', NULL); return $output; } @@ -134,7 +134,7 @@ function statistics_top_visitors() { drupal_set_title(t('Top visitors in the past %interval', array('%interval' => format_interval(variable_get('statistics_flush_accesslog_timer', 259200)))), PASS_THROUGH); $output = theme('table', $header, $rows); - $output .= theme('pager', NULL, 30, 0); + $output .= theme('pager', NULL); return $output; } @@ -179,7 +179,7 @@ function statistics_top_referrers() { } $output = theme('table', $header, $rows); - $output .= theme('pager', NULL, 30, 0); + $output .= theme('pager', NULL); return $output; } diff --git a/modules/statistics/statistics.pages.inc b/modules/statistics/statistics.pages.inc index f416054fe..ce508cf61 100644 --- a/modules/statistics/statistics.pages.inc +++ b/modules/statistics/statistics.pages.inc @@ -44,7 +44,7 @@ function statistics_node_tracker() { drupal_set_title($node->title); $output = theme('table', $header, $rows); - $output .= theme('pager', NULL, 30, 0); + $output .= theme('pager', NULL); return $output; } else { @@ -81,7 +81,7 @@ function statistics_user_tracker() { drupal_set_title($account->name); $output = theme('table', $header, $rows); - $output .= theme('pager', NULL, 30, 0); + $output .= theme('pager', NULL); return $output; } else { diff --git a/modules/system/system.module b/modules/system/system.module index df27362ea..96897c6e2 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -1683,7 +1683,7 @@ function system_actions_manage() { } if ($row) { - $pager = theme('pager', NULL, 50, 0); + $pager = theme('pager', NULL); if (!empty($pager)) { $row[] = array(array('data' => $pager, 'colspan' => '3')); } 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, ); } diff --git a/modules/tracker/tracker.pages.inc b/modules/tracker/tracker.pages.inc index d28c2a95a..e99965927 100644 --- a/modules/tracker/tracker.pages.inc +++ b/modules/tracker/tracker.pages.inc @@ -82,7 +82,7 @@ function tracker_page($account = NULL, $set_title = FALSE) { $output = '<div id="tracker">'; $output .= theme('table', $header, $rows); - $output .= theme('pager', NULL, 25, 0); + $output .= theme('pager', NULL); $output .= '</div>'; return $output; diff --git a/modules/user/user.admin.inc b/modules/user/user.admin.inc index bb3980779..eb5e621f9 100644 --- a/modules/user/user.admin.inc +++ b/modules/user/user.admin.inc @@ -197,7 +197,7 @@ function user_admin_account() { '#type' => 'checkboxes', '#options' => $accounts ); - $form['pager'] = array('#markup' => theme('pager', NULL, 50, 0)); + $form['pager'] = array('#markup' => theme('pager', NULL)); return $form; } |