improving opac default CSS to have a npl/ccfls like theme (look at http://o15.bureau...
[koha_fer] / opac / opac-main.pl
index 6c1b59f..f9714a3 100755 (executable)
@@ -21,7 +21,7 @@ use strict;
 require Exporter;
 use CGI;
 use C4::Auth;    # get_template_and_user
-use C4::Interface::CGI::Output;
+use C4::Output;
 use C4::BookShelves;
 use C4::Languages;           # getTranslatedLanguages
 use C4::Branch;         # GetBranches
@@ -62,13 +62,13 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
 
 if($limit) {
     my $recentacquiloop = GetRecentAcqui($limit);
-    warn Data::Dumper::Dumper($recentacquiloop);
+    warn Data::Dumper::Dumper($recentacquiloop);
     $template->param(
         recentacquiloop => $recentacquiloop,
     );
 }
 
-my $borrower = GetMember( '', $borrowernumber );
+my $borrower = GetMember( $borrowernumber,'borrowernumber' );
 my @languages;
 my $counter = 0;
 my $langavail = getTranslatedLanguages('opac');
@@ -104,9 +104,5 @@ $template->param(
 $template->param(
     'Disable_Dictionary' => C4::Context->preference("Disable_Dictionary") )
   if ( C4::Context->preference("Disable_Dictionary") );
-$template->param(
-    'OpacAuthorities' => 1 );
-$template->param(
-    'OpacCloud' => 1 );
 
 output_html_with_http_headers $input, $cookie, $template->output;