PHP Classes

File: modules/system/views/pagination/simple-default.blade.php

Recommend this page to a friend!
  Packages of Luke Towers   Winter   modules/system/views/pagination/simple-default.blade.php   Download  
File: modules/system/views/pagination/simple-default.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Winter
Content management system that uses MVC
Author: By
Last change:
Date: 7 months ago
Size: 787 bytes
 

Contents

Class file image Download
@if ($paginator->hasPages())
    <ul class="pagination">
        {{-- Previous Page Link --}}
        @if ($paginator->onFirstPage())
            <li class="disabled"><span>{!! Lang::get('system::lang.pagination.previous') !!}</span></li>
        @else
            <li><a href="{{ $paginator->previousPageUrl() }}"
                   rel="prev">{!! Lang::get('system::lang.pagination.previous') !!}</a></li>
        @endif

        {{-- Next Page Link --}}
        @if ($paginator->hasMorePages())
            <li><a href="{{ $paginator->nextPageUrl() }}" rel="next">{!! Lang::get('system::lang.pagination.next') !!}</a>
            </li>
        @else
            <li class="disabled"><span>{!! Lang::get('system::lang.pagination.next') !!}</span></li>
        @endif
    </ul>
@endif