mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-01-15 22:38:40 +00:00
fix next/previous link
This commit is contained in:
parent
508eb5d7b8
commit
5a5a89f4f6
|
|
@ -20,8 +20,8 @@ use phpOMS\Uri\UriFactory;
|
|||
*/
|
||||
$templates = $this->getData('reports');
|
||||
|
||||
$previous = empty($templates) ? '{/prefix}editor/list' : '{/prefix}editor/list?{?}&id=' . \reset($templates)->getId() . '&ptype=-';
|
||||
$next = empty($templates) ? '{/prefix}editor/list' : '{/prefix}editor/list?{?}&id=' . \end($templates)->getId() . '&ptype=+';
|
||||
$previous = empty($templates) ? '{/prefix}helper/list' : '{/prefix}helper/list?{?}&id=' . \reset($templates)->getId() . '&ptype=-';
|
||||
$next = empty($templates) ? '{/prefix}helper/list' : '{/prefix}helper/list?{?}&id=' . \end($templates)->getId() . '&ptype=+';
|
||||
|
||||
echo $this->getData('nav')->render(); ?>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user