mirror of
https://github.com/Karaka-Management/oms-Help.git
synced 2026-01-28 20:38:40 +00:00
remove pagination, show all modules on one page
This commit is contained in:
parent
6738d232f9
commit
6182896310
|
|
@ -20,8 +20,10 @@ use phpOMS\Uri\UriFactory;
|
|||
*/
|
||||
$modules = $this->getData('modules');
|
||||
|
||||
/*
|
||||
$previous = empty($modules) ? '{/prefix}help/module/list' : '{/prefix}help/module/list?{?}&id=' . \reset($modules)->getId() . '&ptype=p';
|
||||
$next = empty($modules) ? '{/prefix}help/module/list' : '{/prefix}help/module/list?{?}&id=' . \end($modules)->getId() . '&ptype=n';
|
||||
*/
|
||||
?>
|
||||
|
||||
<div class="row">
|
||||
|
|
@ -66,10 +68,6 @@ $next = empty($modules) ? '{/prefix}help/module/list' : '{/prefix}help/modul
|
|||
<tr><td class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
<div class="portlet-foot">
|
||||
<a class="button" href="<?= UriFactory::build($previous); ?>"><?= $this->getHtml('Previous', '0', '0'); ?></a>
|
||||
<a class="button" href="<?= UriFactory::build($next); ?>"><?= $this->getHtml('Next', '0', '0'); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user