=head1 DESCRIPTION
-This script needs a biblionumber in bib parameter (bibnumber from koha style DB. Automaticaly maps to marc biblionumber).
-It shows the biblio in a (nice) MARC format depending on MARC parameters tables.
-The template is in <templates_dir>/catalogue/MARCdetail.tmpl. this template must be divided in 11 "tabs".
-The 10 firsts presents the biblio, the 11th one presents the items attached to the biblio
+This script needs a biblionumber in bib parameter (bibnumber
+from koha style DB. Automaticaly maps to marc biblionumber).
+
+It shows the biblio in a (nice) MARC format depending on MARC
+parameters tables.
+
+The template is in <templates_dir>/catalogue/MARCdetail.tmpl.
+this template must be divided into 11 "tabs".
+
+The first 10 tabs present the biblio, the 11th one presents
+the items attached to the biblio
=head1 FUNCTIONS
item_header_loop => \@header_value_loop,
biblionumber => $biblionumber,
bibid => $bibid);
-print $query->header(-cookie => $cookie),$template->output;
+print $query->header(
+ -type => guesstype($template->output),
+ -cookie => $cookie
+),$template->output;
use C4::Auth;
use C4::Context;
use C4::Output;
+use C4::Charset;
use C4::Search;
use HTML::Template;
$template->param(bookfund => \@loop_data);
} #---- END $OP eq DEFAULT
-print $input->header(-cookie => $cookie), $template->output;
+print $input->header(
+ -type => guesstype($template->output),
+ -cookie => $cookie
+), $template->output;
use C4::Auth;
use C4::Context;
use C4::Output;
+use C4::Charset;
use C4::Search;
use HTML::Template;
$template->param(budget => \@loop_data);
} #---- END $OP eq DEFAULT
-print $input->header(-cookie => $cookie), $template->output;
+print $input->header(
+ -type => guesstype($template->output),
+ -cookie => $cookie
+), $template->output;
use C4::Auth;
use C4::Context;
use C4::Output;
+use C4::Charset;
use C4::Search;
use HTML::Template;
use C4::Context;
}
} #---- END $OP eq DEFAULT
-print $input->header(-cookie => $cookie), $template->output;
+print $input->header(
+ -type => guesstype($template->output),
+ -cookie => $cookie
+), $template->output;
use strict;
use C4::Auth;
use C4::Output;
+use C4::Charset;
use CGI;
use C4::Search;
use HTML::Template;
bornum => $bornum,
limit => $limit,
loop_reading => \@loop_reading);
-print $input->header(-cookie => $cookie),$template->output;
+print $input->header(
+ -type => guesstype($template->output),
+ -cookie => $cookie
+),$template->output;