summaryrefslogtreecommitdiff
path: root/includes/pager.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-08-10 20:50:14 +0000
committerDries Buytaert <dries@buytaert.net>2005-08-10 20:50:14 +0000
commit9dec4430b298208b98da487e4f5555c8c2651b9c (patch)
tree9c80a4f0ae8332158907830d0132f0fe6c628b8e /includes/pager.inc
parent63a10fdce860801d8e3276a0a229b678c2d01050 (diff)
downloadbrdo-9dec4430b298208b98da487e4f5555c8c2651b9c.tar.gz
brdo-9dec4430b298208b98da487e4f5555c8c2651b9c.tar.bz2
- Patch #27980 by Neil Drumm: removed unused function.
Diffstat (limited to 'includes/pager.inc')
-rw-r--r--includes/pager.inc29
1 files changed, 0 insertions, 29 deletions
diff --git a/includes/pager.inc b/includes/pager.inc
index dce0465a3..6f1dbdf14 100644
--- a/includes/pager.inc
+++ b/includes/pager.inc
@@ -266,35 +266,6 @@ function theme_pager_last($text, $limit, $element = 0, $attributes = array()) {
}
/**
- * Format a summary of the current pager position, such as "6 through 10 of 52".
- *
- * @param $limit
- * The number of query results to display per page.
- * @param $element
- * An optional integer to distinguish between multiple pagers on one page.
- * @param $format
- * A printf-style format string for customizing the pager text.
- * @return
- * An HTML string that generates this piece of the query pager.
- *
- * @ingroup themeable
- */
-function theme_pager_detail($limit, $element = 0, $format = '%d through %d of %d.') {
- global $pager_page_array, $pager_total, $pager_total_items;
-
- $output = '<div class="pager-detail">';
- if ($pager_total[$element] > 1) {
- $output .= sprintf($format,
- $pager_page_array[$element] * $limit + 1,
- min($pager_total_items[$element], ($pager_page_array[$element] + 1) * $limit),
- $pager_total_items[$element]);
- }
- $output .= '</div>';
-
- return $output;
-}
-
-/**
* Format a list of nearby pages with additional query results.
*
* @param $limit