|
@@ 811-815 (lines=5) @@
|
| 808 |
|
// Previous |
| 809 |
|
$li = new XMLElement('li'); |
| 810 |
|
|
| 811 |
|
if ($current_page > 1) { |
| 812 |
|
$li->appendChild(Widget::Anchor(__('← Previous'), Administration::instance()->getCurrentPageURL(). '?pg=' . ($current_page - 1).($filter_querystring ? "&" . $filter_querystring : ''))); |
| 813 |
|
} else { |
| 814 |
|
$li->setValue(__('← Previous')); |
| 815 |
|
} |
| 816 |
|
|
| 817 |
|
$ul->appendChild($li); |
| 818 |
|
|
|
@@ 843-847 (lines=5) @@
|
| 840 |
|
// Next |
| 841 |
|
$li = new XMLElement('li'); |
| 842 |
|
|
| 843 |
|
if ($current_page < $entries['total-pages']) { |
| 844 |
|
$li->appendChild(Widget::Anchor(__('Next →'), Administration::instance()->getCurrentPageURL(). '?pg=' . ($current_page + 1).($filter_querystring ? "&" . $filter_querystring : ''))); |
| 845 |
|
} else { |
| 846 |
|
$li->setValue(__('Next →')); |
| 847 |
|
} |
| 848 |
|
|
| 849 |
|
$ul->appendChild($li); |
| 850 |
|
|
|
@@ 854-858 (lines=5) @@
|
| 851 |
|
// Last |
| 852 |
|
$li = new XMLElement('li'); |
| 853 |
|
|
| 854 |
|
if ($current_page < $entries['total-pages']) { |
| 855 |
|
$li->appendChild(Widget::Anchor(__('Last'), Administration::instance()->getCurrentPageURL(). '?pg=' . $entries['total-pages'].($filter_querystring ? "&" . $filter_querystring : ''))); |
| 856 |
|
} else { |
| 857 |
|
$li->setValue(__('Last')); |
| 858 |
|
} |
| 859 |
|
|
| 860 |
|
$ul->appendChild($li); |
| 861 |
|
|