[Cpan-forum-commit] rev 120 - trunk/lib/CPAN

svn at pti.co.il svn at pti.co.il
Tue Mar 22 10:57:22 IST 2005


Author: gabor
Date: 2005-03-22 10:57:22 +0200 (Tue, 22 Mar 2005)
New Revision: 120

Modified:
   trunk/lib/CPAN/Forum.pm
Log:
indentation

Modified: trunk/lib/CPAN/Forum.pm
===================================================================
--- trunk/lib/CPAN/Forum.pm	2005-02-23 08:20:46 UTC (rev 119)
+++ trunk/lib/CPAN/Forum.pm	2005-03-22 08:57:22 UTC (rev 120)
@@ -716,18 +716,18 @@
 
 	my $pager   = CPAN::Forum::Posts->mysearch($params);
 	my @results = $pager->search_where();
-    my $total   = $pager->total_entries;
+	my $total   = $pager->total_entries;
 	$self->log->debug("number of entries: total=$total");
 	my $data = $self->build_listing(\@results);
 
-    $t->param(messages       => $data);
-    $t->param(total          => $total);
-    $t->param(previous_page  => $pager->previous_page);
-    $t->param(next_page      => $pager->next_page);
-    $t->param(first_entry    => $pager->first);
-    $t->param(last_entry     => $pager->last);
-    $t->param(first_page     => 1)                      if $pager->current_page != 1;
-    $t->param(last_page      => $pager->last_page)      if $pager->current_page != $pager->last_page;
+	$t->param(messages       => $data);
+	$t->param(total          => $total);
+	$t->param(previous_page  => $pager->previous_page);
+	$t->param(next_page      => $pager->next_page);
+	$t->param(first_entry    => $pager->first);
+	$t->param(last_entry     => $pager->last);
+	$t->param(first_page     => 1)                      if $pager->current_page != 1;
+	$t->param(last_page      => $pager->last_page)      if $pager->current_page != $pager->last_page;
 	return $pager->total_entries;
 }
 



More information about the Cpan-forum-commit mailing list