rt 4.2.13 ticket#13852
[freeside.git] / rt / share / html / Elements / CollectionListPaging
index 8e6aebd..b091170 100644 (file)
@@ -2,7 +2,7 @@
 %#
 %# COPYRIGHT:
 %#
-%# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2016 Best Practical Solutions, LLC
 %#                                          <sales@bestpractical.com>
 %#
 %# (Except where explicitly superseded by other copyright notices)
@@ -64,15 +64,15 @@ if ($Pages == 1) {
 else{
 $m->out(loc('Page') . ' ');
 my $prev = $m->interp->apply_escapes($m->comp(
-                   '/Elements/QueryString',
-                   %$URLParams,
-                   Page    => ( $CurrentPage - 1 )
-                  ), 'h');
+                    '/Elements/QueryString',
+                    %$URLParams,
+                    Page    => ( $CurrentPage - 1 )
+                   ), 'h');
 my $next = $m->interp->apply_escapes($m->comp(
-                   '/Elements/QueryString',
-                   %$URLParams,
-                   Page    => ( $CurrentPage + 1 )
-                  ), 'h');
+                    '/Elements/QueryString',
+                    %$URLParams,
+                    Page    => ( $CurrentPage + 1 )
+                   ), 'h');
 my %show;
 $show{1} = 1;
 $show{$_} = 1 for (($CurrentPage - 2)..($CurrentPage + 2));
@@ -84,7 +84,7 @@ for my $number ( 1 .. $Pages ) {
         $dots = undef;
         my $qs =
           $m->interp->apply_escapes($m->comp( '/Elements/QueryString', %$URLParams, Page => $number ), 'h');
-       $m->out(qq{<span class="pagenum">});
+        $m->out(qq{<span class="pagenum">});
         if ( $number == $CurrentPage ) {
             $m->out(qq{<span class="currentpage">$number</span> });
         }
@@ -96,7 +96,7 @@ for my $number ( 1 .. $Pages ) {
         $dots = 1;
         $m->out(qq{<span class="dots">...</span>});
     }
-       $m->out(qq{</span>});
+    $m->out(qq{</span>});
 }
 
 if ($CurrentPage > 1) {