From 2d46b42cd60c5a6810207b2c962e98b965b0e1bb Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Fri, 3 Aug 2007 17:28:27 -0500 Subject: [PATCH] Perltidy mainpage.pl --- mainpage.pl | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/mainpage.pl b/mainpage.pl index 057cc7b874..cdd6a9ab44 100755 --- a/mainpage.pl +++ b/mainpage.pl @@ -29,8 +29,10 @@ my $query = new CGI; my $authtypes = getauthtypes; my @authtypesloop; -foreach my $thisauthtype ( sort { $authtypes->{$a} <=> $authtypes->{$b} } - keys %$authtypes ) +foreach my $thisauthtype ( + sort { $authtypes->{$a} <=> $authtypes->{$b} } + keys %$authtypes + ) { my %row = ( value => $thisauthtype, @@ -46,9 +48,9 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( type => "intranet", authnotrequired => 0, flagsrequired => { - catalogue => 1, - circulate => 1, - borrowers => 1, + catalogue => 1, + circulate => 1, + borrowers => 1, }, } ); @@ -60,7 +62,7 @@ $template->param( authtypesloop => \@authtypesloop ); -my $all_koha_news = &GetNewsToDisplay("koha"); +my $all_koha_news = &GetNewsToDisplay("koha"); my $koha_news_count = scalar @$all_koha_news; $template->param( -- 2.39.2