Tweaking paginator comments.
This commit is contained in:
parent
bcd590560f
commit
7ca6909fa9
|
@ -223,7 +223,6 @@ public function slider($adjacent = 3)
|
||||||
{
|
{
|
||||||
return $this->range(1, $window + 2).' '.$this->ending();
|
return $this->range(1, $window + 2).' '.$this->ending();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Example: 1 2 ... 32 33 34 35 [36] 37
|
// Example: 1 2 ... 32 33 34 35 [36] 37
|
||||||
elseif ($this->page >= $this->last - $window)
|
elseif ($this->page >= $this->last - $window)
|
||||||
{
|
{
|
||||||
|
@ -367,9 +366,6 @@ protected function range($start, $end)
|
||||||
*/
|
*/
|
||||||
protected function link($page, $text, $class)
|
protected function link($page, $text, $class)
|
||||||
{
|
{
|
||||||
// First we need to construct the link's query string. This consists
|
|
||||||
// of the page number and any developer specified items that should
|
|
||||||
// be appended to the query string.
|
|
||||||
$query = '?page='.$page.$this->appendage($this->appends);
|
$query = '?page='.$page.$this->appendage($this->appends);
|
||||||
|
|
||||||
return HTML::link(URI::current().$query, $text, compact('class'), Request::secure());
|
return HTML::link(URI::current().$query, $text, compact('class'), Request::secure());
|
||||||
|
|
Loading…
Reference in New Issue