Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

pagination.part.php 1.2KB

123456789101112131415161718192021222324252627282930313233
  1. <?php if(isset($this->view->totalPages) && (int)$this->view->totalPages > 0): ?>
  2. <hr>
  3. <div class="row">
  4. <div class="col-lg-6 col-xl-6">
  5. <p><small><?php echo vsprintf(_('Pag. %s of %s, %s total elements'), [$this->view->currentPage, $this->view->totalPages, $this->view->totalRows]); ?></small></p>
  6. </div>
  7. <div class="col-lg-6 col-xl-6 clearfix">
  8. <div class="float-right">
  9. <ul class="pagination pagination">
  10. <li class="page-item <?php echo !$this->view->hasPrevPage ? 'disabled' : ''; ?>">
  11. <a class="page-link" href="<?php echo $this->view->prevPageLink; ?>">
  12. <span aria-hidden="true">&laquo;</span>
  13. </a>
  14. </li>
  15. <?php /*foreach($this->view->pageNumbers as $item): ?>
  16. <li class="page-item <?php echo $item['active'] ? 'disabled' : ''; ?>">
  17. <a class="page-link" href="<?php echo $item['link']; ?>" tabindex="-1" data-element="pippo"><?php echo $item['label']; ?></a>
  18. </li>
  19. <?php endforeach;*/ ?>
  20. <li class="page-item <?php echo !$this->view->hasNextPage ? 'disabled' : ''; ?>">
  21. <a class="page-link" href="<?php echo $this->view->nextPageLink; ?>">
  22. <span aria-hidden="true">&raquo;</span>
  23. </a>
  24. </li>
  25. </ul>
  26. </div>
  27. </div>
  28. </div>
  29. <?php endif; ?>