use C4::Auth;
use CGI;
use C4::Context;
+use C4::Output;
=head1
"f14" => $f14,
"f15$f15" => 1
);
- print $input->header( -type => 'utf-8', -cookie => $cookie ), $template->output;
+ output_html_with_http_headers $input, $cookie, $template->output;
}
1;
use CGI;
use InstallAuth;
+ use C4::Output;
my $query = new CGI;
flagsrequired => {borrow => 1},
});
- print $query->header(
- -type => 'utf-8',
- -cookie => $cookie
- ), $template->output;
-
+ output_html_with_http_headers $query, $cookie, $template->output;
=head1 DESCRIPTION
phone => $data->{'phone'},
email => $data->{'email'},
);
- print $input->header( -type => 'utf-8', -cookie => $cookie),$template->output;
+ output_html_with_http_headers $input, $cookie, $template->output;
}
$template->param('ITEMNUMBER' => 1);
}
$template->param('ERROR' => $error);
- print $input->header(
- -type => 'utf-8',
- -cookie => $cookie
- ),$template->output;
+ output_html_with_http_headers $input, $cookie, $template->output;
}
else {
print $input->redirect("/cgi-bin/koha/members/boraccount.pl?borrowernumber=$borrowernumber");
debug => 1,
});
-$template->param( adultborrower => 1 ) if ( $data->{'category_type'} eq 'A' );
-my ($picture, $dberror) = GetPatronImage($data->{'cardnumber'});
-$template->param( picture => 1 ) if $picture;
+ $template->param( adultborrower => 1 ) if ( $data->{'category_type'} eq 'A' );
+ my ($picture, $dberror) = GetPatronImage($data->{'cardnumber'});
+ $template->param( picture => 1 ) if $picture;
$template->param(
borrowernumber => $borrowernumber,
phone => $data->{'phone'},
email => $data->{'email'},
);
- print $input->header(
- -type => 'utf-8',
- -cookie => $cookie
- ),$template->output;
+ output_html_with_http_headers $input, $cookie, $template->output;
}