|
@@ 604-608 (lines=5) @@
|
| 601 |
|
// Previous |
| 602 |
|
$li = new XMLElement('li'); |
| 603 |
|
|
| 604 |
|
if ($current_page > 1) { |
| 605 |
|
$li->appendChild(Widget::Anchor(__('← Previous'), |
| 606 |
|
Administration::instance()->getCurrentPageURL() . '?pg=' . ($current_page - 1) . ($filter_querystring ? "&" . $filter_querystring : ''))); |
| 607 |
|
} else { |
| 608 |
|
$li->setValue(__('← Previous')); |
| 609 |
|
} |
| 610 |
|
|
| 611 |
|
$ul->appendChild($li); |
|
@@ 638-642 (lines=5) @@
|
| 635 |
|
// Next |
| 636 |
|
$li = new XMLElement('li'); |
| 637 |
|
|
| 638 |
|
if ($current_page < $entries['total-pages']) { |
| 639 |
|
$li->appendChild(Widget::Anchor(__('Next →'), |
| 640 |
|
Administration::instance()->getCurrentPageURL() . '?pg=' . ($current_page + 1) . ($filter_querystring ? "&" . $filter_querystring : ''))); |
| 641 |
|
} else { |
| 642 |
|
$li->setValue(__('Next →')); |
| 643 |
|
} |
| 644 |
|
|
| 645 |
|
$ul->appendChild($li); |
|
@@ 650-654 (lines=5) @@
|
| 647 |
|
// Last |
| 648 |
|
$li = new XMLElement('li'); |
| 649 |
|
|
| 650 |
|
if ($current_page < $entries['total-pages']) { |
| 651 |
|
$li->appendChild(Widget::Anchor(__('Last'), |
| 652 |
|
Administration::instance()->getCurrentPageURL() . '?pg=' . $entries['total-pages'] . ($filter_querystring ? "&" . $filter_querystring : ''))); |
| 653 |
|
} else { |
| 654 |
|
$li->setValue(__('Last')); |
| 655 |
|
} |
| 656 |
|
|
| 657 |
|
$ul->appendChild($li); |