X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=sidebyside;f=opac%2Fopac-reserve.pl;h=e725d306e7f58e8004ababd317fe389b9ce9fd0b;hb=17b38f15a7d3e5d11c09b7c8fd95101f6180a5cc;hp=4ff947881bf62a1295b315f10651341931304b6f;hpb=aa7ac570b2d551ce8c537f0bac31f803c379e6ce;p=koha.git diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl index 4ff947881b..e725d306e7 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -108,8 +108,7 @@ my $branch = $query->param('branch') || $borr->{'branchcode'} || C4::Context->us $template->param( branch => $branch ); # make branch selection options... -my $CGIbranchloop = GetBranchesLoop($branch); -$template->param( CGIbranch => $CGIbranchloop ); +my $branchloop = GetBranchesLoop($branch); # Is the person allowed to choose their branch my $OPACChooseBranch = (C4::Context->preference("OPACAllowUserToChooseBranch")) ? 1 : 0; @@ -358,7 +357,7 @@ foreach my $biblioNum (@biblionumbers) { my $record = GetMarcBiblio($biblioNum); # Init the bib item with the choices for branch pickup - my %biblioLoopIter = ( branchChoicesLoop => $CGIbranchloop ); + my %biblioLoopIter = ( branchloop => $branchloop ); # Get relevant biblio data. my $biblioData = $biblioDataHash{$biblioNum}; @@ -573,7 +572,5 @@ if ( ); } -$template->param( DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar() ); - output_html_with_http_headers $query, $cookie, $template->output;