Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
9dec4430
Commit
9dec4430
authored
19 years ago
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#27980
by Neil Drumm: removed unused function.
parent
63a10fdc
No related branches found
No related tags found
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/pager.inc
+0
-29
0 additions, 29 deletions
includes/pager.inc
with
0 additions
and
29 deletions
includes/pager.inc
+
0
−
29
View file @
9dec4430
...
@@ -265,35 +265,6 @@ function theme_pager_last($text, $limit, $element = 0, $attributes = array()) {
...
@@ -265,35 +265,6 @@ function theme_pager_last($text, $limit, $element = 0, $attributes = array()) {
return
$output
;
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.
* Format a list of nearby pages with additional query results.
*
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment