Skip to content

Commit

Permalink
Perltidy mainpage.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Cormack committed Aug 3, 2007
1 parent ff16357 commit 2d46b42
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions mainpage.pl
Expand Up @@ -29,8 +29,10 @@
my $authtypes = getauthtypes; my $authtypes = getauthtypes;
my @authtypesloop; my @authtypesloop;


foreach my $thisauthtype ( sort { $authtypes->{$a} <=> $authtypes->{$b} } foreach my $thisauthtype (
keys %$authtypes ) sort { $authtypes->{$a} <=> $authtypes->{$b} }
keys %$authtypes
)
{ {
my %row = ( my %row = (
value => $thisauthtype, value => $thisauthtype,
Expand All @@ -46,9 +48,9 @@
type => "intranet", type => "intranet",
authnotrequired => 0, authnotrequired => 0,
flagsrequired => { flagsrequired => {
catalogue => 1, catalogue => 1,
circulate => 1, circulate => 1,
borrowers => 1, borrowers => 1,
}, },
} }
); );
Expand All @@ -60,7 +62,7 @@
authtypesloop => \@authtypesloop authtypesloop => \@authtypesloop
); );


my $all_koha_news = &GetNewsToDisplay("koha"); my $all_koha_news = &GetNewsToDisplay("koha");
my $koha_news_count = scalar @$all_koha_news; my $koha_news_count = scalar @$all_koha_news;


$template->param( $template->param(
Expand Down

0 comments on commit 2d46b42

Please sign in to comment.