Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
UserAdminV2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
庄欣
UserAdminV2
Commits
8d8aa750
Commit
8d8aa750
authored
Nov 22, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unnecessary paginator language lines.
parent
927e675c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
10 deletions
+3
-10
application/language/en/pagination.php
+0
-7
laravel/paginator.php
+3
-3
No files found.
application/language/en/pagination.php
View file @
8d8aa750
...
...
@@ -11,15 +11,9 @@ return array(
| the pagination links. They may be easily changed by the developer to
| anything they wish.
|
| The "status" line has two place-holders, :current and :last, for which
| the current and last page numbers are substituted, respectively.
|
*/
'first'
=>
'First'
,
'previous'
=>
'« Previous'
,
'status'
=>
'Page :current of :last'
,
'next'
=>
'Next »'
,
'last'
=>
'Last'
,
);
\ No newline at end of file
laravel/paginator.php
View file @
8d8aa750
...
...
@@ -170,14 +170,14 @@ class Paginator {
// window of pages based on the current page.
if
(
$this
->
last
<
7
+
(
$adjacent
*
2
))
{
$
number
s
=
$this
->
range
(
1
,
$this
->
last
);
$
link
s
=
$this
->
range
(
1
,
$this
->
last
);
}
else
{
$
number
s
=
$this
->
slider
(
$adjacent
);
$
link
s
=
$this
->
slider
(
$adjacent
);
}
$content
=
$this
->
previous
()
.
' '
.
$
number
s
.
' '
.
$this
->
next
();
$content
=
$this
->
previous
()
.
' '
.
$
link
s
.
' '
.
$this
->
next
();
return
'<div class="pagination">'
.
$content
.
'</div>'
;
}
...
...
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