Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
300
Merge Requests
300
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
9dec4430
Commit
9dec4430
authored
Aug 10, 2005
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#27980
by Neil Drumm: removed unused function.
parent
63a10fdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
29 deletions
+0
-29
includes/pager.inc
includes/pager.inc
+0
-29
No files found.
includes/pager.inc
View file @
9dec4430
...
...
@@ -265,35 +265,6 @@ function theme_pager_last($text, $limit, $element = 0, $attributes = array()) {
return
$output
;
}
/**
* 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.
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment