|
@@ 789-793 (lines=5) @@
|
| 786 |
|
// Previous |
| 787 |
|
$li = new XMLElement('li'); |
| 788 |
|
|
| 789 |
|
if ($current_page > 1) { |
| 790 |
|
$li->appendChild(Widget::Anchor(__('← Previous'), Administration::instance()->getCurrentPageURL(). '?pg=' . ($current_page - 1).($filter_querystring ? "&" . $filter_querystring : ''))); |
| 791 |
|
} else { |
| 792 |
|
$li->setValue(__('← Previous')); |
| 793 |
|
} |
| 794 |
|
|
| 795 |
|
$ul->appendChild($li); |
| 796 |
|
|
|
@@ 821-825 (lines=5) @@
|
| 818 |
|
// Next |
| 819 |
|
$li = new XMLElement('li'); |
| 820 |
|
|
| 821 |
|
if ($current_page < $entries['total-pages']) { |
| 822 |
|
$li->appendChild(Widget::Anchor(__('Next →'), Administration::instance()->getCurrentPageURL(). '?pg=' . ($current_page + 1).($filter_querystring ? "&" . $filter_querystring : ''))); |
| 823 |
|
} else { |
| 824 |
|
$li->setValue(__('Next →')); |
| 825 |
|
} |
| 826 |
|
|
| 827 |
|
$ul->appendChild($li); |
| 828 |
|
|
|
@@ 832-836 (lines=5) @@
|
| 829 |
|
// Last |
| 830 |
|
$li = new XMLElement('li'); |
| 831 |
|
|
| 832 |
|
if ($current_page < $entries['total-pages']) { |
| 833 |
|
$li->appendChild(Widget::Anchor(__('Last'), Administration::instance()->getCurrentPageURL(). '?pg=' . $entries['total-pages'].($filter_querystring ? "&" . $filter_querystring : ''))); |
| 834 |
|
} else { |
| 835 |
|
$li->setValue(__('Last')); |
| 836 |
|
} |
| 837 |
|
|
| 838 |
|
$ul->appendChild($li); |
| 839 |
|
|