Advertisement
Guest User

Untitled

a guest
May 9th, 2019
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.62 KB | None | 0 0
  1. {**
  2. * 2007-2019 PrestaShop
  3. *
  4. * NOTICE OF LICENSE
  5. *
  6. * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
  7. * that is bundled with this package in the file LICENSE.txt.
  8. * It is also available through the world-wide-web at this URL:
  9. * https://opensource.org/licenses/AFL-3.0
  10. * If you did not receive a copy of the license and are unable to
  11. * obtain it through the world-wide-web, please send an email
  12. * to license@prestashop.com so we can send you a copy immediately.
  13. *
  14. * DISCLAIMER
  15. *
  16. * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
  17. * versions in the future. If you wish to customize PrestaShop for your
  18. * needs please refer to http://www.prestashop.com for more information.
  19. *
  20. * @author PrestaShop SA <contact@prestashop.com>
  21. * @copyright 2007-2019 PrestaShop SA
  22. * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
  23. * International Registered Trademark & Property of PrestaShop SA
  24. *}
  25. <nav class="pagination">
  26. <div class="col-md-4 pagination-left">
  27. {block name='pagination_summary'}
  28. {l s='Showing %from%-%to% of %total% item(s)' d='Shop.Theme.Catalog' sprintf=['%from%' => $pagination.items_shown_from ,'%to%' => $pagination.items_shown_to, '%total%' => $pagination.total_items]}
  29. {/block}
  30. </div>
  31.  
  32. <div class="col-md-6 pr-0 pagination-right">
  33. {block name='pagination_page_list'}
  34. {if $pagination.should_be_displayed}
  35. <ul class="page-list clearfix text-sm-center">
  36. {foreach from=$pagination.pages item="page"}
  37.  
  38. <li {if $page.current} class="current" {/if}>
  39. {if $page.type === 'spacer'}
  40. <span class="spacer">&hellip;</span>
  41. {else}
  42. <a
  43. rel="{if $page.type === 'previous'}prev{elseif $page.type === 'next'}next{else}nofollow{/if}"
  44. href="{$page.url}"
  45. class="{if $page.type === 'previous'}previous {elseif $page.type === 'next'}next {/if}{['disabled' => !$page.clickable, 'js-search-link' => true]|classnames}"
  46. >
  47. {if $page.type === 'previous'}
  48. <i class="material-icons">&#xE314;</i>{l s='Previous' d='Shop.Theme.Actions'}
  49. {elseif $page.type === 'next'}
  50. <i class="material-icons">&#xE315;</i>{l s='Next' d='Shop.Theme.Actions'}
  51. {else}
  52. {$page.page}
  53. {/if}
  54. </a>
  55. {/if}
  56. </li>
  57. {/foreach}
  58. </ul>
  59. {/if}
  60. {/block}
  61. </div>
  62.  
  63. </nav>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement