projects
/
koha_fer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'biblibre/3.2_community' into to-push
[koha_fer]
/
mainpage.pl
diff --git
a/mainpage.pl
b/mainpage.pl
index
057cc7b
..
b5c0b1e
100755
(executable)
--- a/
mainpage.pl
+++ b/
mainpage.pl
@@
-17,8
+17,7
@@
#
use strict;
#
use strict;
-require Exporter;
-
+use warnings;
use CGI;
use C4::Output;
use C4::Auth;
use CGI;
use C4::Output;
use C4::Auth;
@@
-29,8
+28,10
@@
my $query = new CGI;
my $authtypes = getauthtypes;
my @authtypesloop;
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,
{
my %row = (
value => $thisauthtype,
@@
-46,9
+47,7
@@
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
type => "intranet",
authnotrequired => 0,
flagsrequired => {
type => "intranet",
authnotrequired => 0,
flagsrequired => {
- catalogue => 1,
- circulate => 1,
- borrowers => 1,
+ catalogue => 1,
},
}
);
},
}
);
@@
-60,7
+59,7
@@
$template->param(
authtypesloop => \@authtypesloop
);
authtypesloop => \@authtypesloop
);
-my $all_koha_news = &GetNewsToDisplay("koha");
+my $all_koha_news
= &GetNewsToDisplay("koha");
my $koha_news_count = scalar @$all_koha_news;
$template->param(
my $koha_news_count = scalar @$all_koha_news;
$template->param(