Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
8fe441a1
Commit
8fe441a1
authored
Jul 31, 2014
by
catch
Browse files
Issue
#2227907
by mgifford: Revise rel attributes in pager links.
parent
fc5e111a
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/includes/pager.inc
View file @
8fe441a1
...
...
@@ -235,7 +235,6 @@ function template_preprocess_pager(&$variables) {
'query'
=>
pager_query_add_page
(
$parameters
,
$element
,
0
),
'attributes'
=>
array
(
'title'
=>
t
(
'Go to first page'
),
'rel'
=>
'first'
,
),
// Below is ignored by default, supplied to support hook_link_alter
// implementations.
...
...
@@ -293,7 +292,6 @@ function template_preprocess_pager(&$variables) {
'query'
=>
pager_query_add_page
(
$parameters
,
$element
,
$pager_total
[
$element
]
-
1
),
'attributes'
=>
array
(
'title'
=>
t
(
'Go to last page'
),
'rel'
=>
'last'
,
),
// Below is ignored by default, supplied to support hook_link_alter
// implementations.
...
...
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