Update paginate template
This commit is contained in:
parent
c1b2c206d2
commit
96eb8a7cff
9 changed files with 9 additions and 9 deletions
|
@ -139,7 +139,7 @@ class Func
|
|||
}
|
||||
|
||||
if ($cur > 0) {
|
||||
$pages[] = [__([$info, $cur, $all]), 'info', null];
|
||||
$pages[] = [[$info, $cur, $all], 'info', null];
|
||||
$cur = \min(\max(1, $cur), $all);
|
||||
|
||||
if ($cur > 1) {
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
@if ($cur[2])
|
||||
<a class="f-page active" href="{{ $cur[0] }}">{{ $cur[1] }}</a>
|
||||
@elseif ('info' === $cur[1])
|
||||
<span class="f-pinfo">{!! $cur[0] !!}</span>
|
||||
<span class="f-pinfo">{!! __($cur[0]) !!}</span>
|
||||
@elseif ('space' === $cur[1])
|
||||
<span class="f-page f-pspacer">{!! __('Spacer') !!}</span>
|
||||
@elseif ('prev' === $cur[1])
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
@if ($cur[2])
|
||||
<a class="f-page active" href="{{ $cur[0] }}">{{ $cur[1] }}</a>
|
||||
@elseif ('info' === $cur[1])
|
||||
<span class="f-pinfo">{!! $cur[0] !!}</span>
|
||||
<span class="f-pinfo">{!! __($cur[0]) !!}</span>
|
||||
@elseif ('space' === $cur[1])
|
||||
<span class="f-page f-pspacer">{!! __('Spacer') !!}</span>
|
||||
@elseif ('prev' === $cur[1])
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
@if ($cur[2])
|
||||
<a class="f-page active" href="{{ $cur[0] }}">{{ $cur[1] }}</a>
|
||||
@elseif ('info' === $cur[1])
|
||||
<span class="f-pinfo">{!! $cur[0] !!}</span>
|
||||
<span class="f-pinfo">{!! __($cur[0]) !!}</span>
|
||||
@elseif ('space' === $cur[1])
|
||||
<span class="f-page f-pspacer">{!! __('Spacer') !!}</span>
|
||||
@elseif ('prev' === $cur[1])
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
@if ($cur[2])
|
||||
<a class="f-page active" href="{{ $cur[0] }}">{{ $cur[1] }}</a>
|
||||
@elseif ('info' === $cur[1])
|
||||
<span class="f-pinfo">{!! $cur[0] !!}</span>
|
||||
<span class="f-pinfo">{!! __($cur[0]) !!}</span>
|
||||
@elseif ('space' === $cur[1])
|
||||
<span class="f-page f-pspacer">{!! __('Spacer') !!}</span>
|
||||
@elseif ('prev' === $cur[1])
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
@if ($cur[2])
|
||||
<a class="f-page active" href="{{ $cur[0] }}">{{ $cur[1] }}</a>
|
||||
@elseif ('info' === $cur[1])
|
||||
<span class="f-pinfo">{!! $cur[0] !!}</span>
|
||||
<span class="f-pinfo">{!! __($cur[0]) !!}</span>
|
||||
@elseif ('space' === $cur[1])
|
||||
<span class="f-page f-pspacer">{!! __('Spacer') !!}</span>
|
||||
@elseif ('prev' === $cur[1])
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
@if ($cur[2])
|
||||
<a class="f-page active" href="{{ $cur[0] }}">{{ $cur[1] }}</a>
|
||||
@elseif ('info' === $cur[1])
|
||||
<span class="f-pinfo">{!! $cur[0] !!}</span>
|
||||
<span class="f-pinfo">{!! __($cur[0]) !!}</span>
|
||||
@elseif ('space' === $cur[1])
|
||||
<span class="f-page f-pspacer">{!! __('Spacer') !!}</span>
|
||||
@elseif ('prev' === $cur[1])
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
@if ($cur[2])
|
||||
<a class="f-page active" href="{{ $cur[0] }}">{{ $cur[1] }}</a>
|
||||
@elseif ('info' === $cur[1])
|
||||
<span class="f-pinfo">{!! $cur[0] !!}</span>
|
||||
<span class="f-pinfo">{!! __($cur[0]) !!}</span>
|
||||
@elseif ('space' === $cur[1])
|
||||
<span class="f-page f-pspacer">{!! __('Spacer') !!}</span>
|
||||
@elseif ('prev' === $cur[1])
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
@if ($cur[2])
|
||||
<a class="f-page active" href="{{ $cur[0] }}">{{ $cur[1] }}</a>
|
||||
@elseif ('info' === $cur[1])
|
||||
<span class="f-pinfo">{!! $cur[0] !!}</span>
|
||||
<span class="f-pinfo">{!! __($cur[0]) !!}</span>
|
||||
@elseif ('space' === $cur[1])
|
||||
<span class="f-page f-pspacer">{!! __('Spacer') !!}</span>
|
||||
@elseif ('prev' === $cur[1])
|
||||
|
|
Loading…
Reference in a new issue