diff --git a/application/language/en/pagination.php b/application/language/en/pagination.php index a9d34b24..8c0b694f 100644 --- a/application/language/en/pagination.php +++ b/application/language/en/pagination.php @@ -11,15 +11,9 @@ | 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 diff --git a/laravel/paginator.php b/laravel/paginator.php index 53c258f4..cc252306 100644 --- a/laravel/paginator.php +++ b/laravel/paginator.php @@ -170,14 +170,14 @@ public function links($adjacent = 3) // window of pages based on the current page. if ($this->last < 7 + ($adjacent * 2)) { - $numbers = $this->range(1, $this->last); + $links = $this->range(1, $this->last); } else { - $numbers = $this->slider($adjacent); + $links = $this->slider($adjacent); } - $content = $this->previous().' '.$numbers.' '.$this->next(); + $content = $this->previous().' '.$links.' '.$this->next(); return ''; }