Revision 624

Date:
2016/11/17 19:52:37
Author:
ahitrov
Revision Log:
Pagers and totals for _sorted sections

Files:

Legend:

 
Added
 
Removed
 
Modified
  • utf8/core/comps/contenido/sections.html

     
    69 69 в разделе\
    70 70 % }
    71 71 % if (!$owner->no_count && $total > 0) {
    72 (всего: <% $total %>, показано с <% $first + 1 %> по <% ($first + $n > $total) ? $total : $first + $n %>)
    72 (всего: <% $total %>, показано с <% $first + 1 %> по <% $sorted ? $total : ($first + $n > $total) ? $total : $first + $n %>)
    73 73 % } elsif ( $owner->no_count ) {
    74 74 (<span style="color:yellow">без пересчета</span>, показано с <% $first + 1 %> по <% $first + scalar @documents %>)
    75 75 % }
     
    133 133 <div style="height:5px"><spacer type="block" height="5"></div>
    134 134 % if ( $owner->no_count ) {
    135 135 <& /inc/pages_nocount.msn, p=>$p, n=>$n, found=> scalar @documents, href=>'sections.html', params=>\%ARGS, size => 15 &>
    136 % } elsif ( $sorted ) {
    136 137 % } else {
    137 138 <& /inc/pages_.msn, p=>$p, n=>$n, total=>$total, href=>'sections.html', params=>\%ARGS, &>
    138 139 % }
     
    143 144 <div style="font-size:12px; font-family:Arial;">
    144 145 % if ( $owner->no_count ) {
    145 146 <& /inc/pages_nocount.msn, p=>$p, n=>$n, found=> scalar @documents, href=>'sections.html', params=>\%ARGS, size => 15 &>
    147 % } elsif ( $sorted ) {
    146 148 % } else {
    147 149 <& /inc/pages_.msn, p=>$p, n=>$n, total=>$total, href=>'sections.html', params=>\%ARGS, &>
    148 150 % }