Commit 8d8aa750 authored by Taylor Otwell's avatar Taylor Otwell

remove unnecessary paginator language lines.

parent 927e675c
...@@ -11,15 +11,9 @@ return array( ...@@ -11,15 +11,9 @@ return array(
| the pagination links. They may be easily changed by the developer to | the pagination links. They may be easily changed by the developer to
| anything they wish. | 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', 'previous' => '« Previous',
'status' => 'Page :current of :last',
'next' => 'Next »', 'next' => 'Next »',
'last' => 'Last',
); );
\ No newline at end of file
...@@ -170,14 +170,14 @@ class Paginator { ...@@ -170,14 +170,14 @@ class Paginator {
// window of pages based on the current page. // window of pages based on the current page.
if ($this->last < 7 + ($adjacent * 2)) if ($this->last < 7 + ($adjacent * 2))
{ {
$numbers = $this->range(1, $this->last); $links = $this->range(1, $this->last);
} }
else else
{ {
$numbers = $this->slider($adjacent); $links = $this->slider($adjacent);
} }
$content = $this->previous().' '.$numbers.' '.$this->next(); $content = $this->previous().' '.$links.' '.$this->next();
return '<div class="pagination">'.$content.'</div>'; return '<div class="pagination">'.$content.'</div>';
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment