|
@@ 276-278 (lines=3) @@
|
| 273 |
|
} |
| 274 |
|
|
| 275 |
|
// Render the "First" link |
| 276 |
|
if ($this->cur_page > $this->num_links) { |
| 277 |
|
$output .= $this->first_tag_open . '<a href="' . $this->base_url . 'offset' . '/' . $this->suffix . '">' . $this->first_link . '</a>' . $this->first_tag_close; |
| 278 |
|
} |
| 279 |
|
|
| 280 |
|
// Render the "previous" link |
| 281 |
|
if ($this->cur_page != 1) { |
|
@@ 316-318 (lines=3) @@
|
| 313 |
|
if ($this->cur_page < $num_pages) { |
| 314 |
|
if (!$this->separate_controls) { |
| 315 |
|
$output .= $this->next_tag_open . '<a href="' . $this->base_url . ($this->cur_page * $this->per_page) . '/' . $this->suffix . '">' . $this->next_link . '</a>' . $this->next_tag_close; |
| 316 |
|
} else { |
| 317 |
|
$controls_output .= $this->next_tag_open . '<a href="' . $this->base_url . ($this->cur_page * $this->per_page) . '/' . $this->suffix . '">' . $this->next_link . '</a>' . $this->next_tag_close; |
| 318 |
|
} |
| 319 |
|
} else { |
| 320 |
|
if ($this->separate_controls) { |
| 321 |
|
$controls_output .= str_replace('>', ' class="disabled">', $this->next_tag_open) . '<span>' . $this->next_link . '</span>' . $this->next_tag_close; |