-# open template
-my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
- {
- template_name => "opac-MARCdetail.tt",
- query => $query,
- type => "opac",
- authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
- debug => 1,
- }
-);
-
-my ($bt_tag,$bt_subtag) = GetMarcFromKohaField('biblio.title',$framework);
-$template->param(
- bibliotitle => $biblio->title,
-) if $tagslib->{$bt_tag}->{$bt_subtag}->{hidden} <= 0 && # <=0 OPAC visible.
- $tagslib->{$bt_tag}->{$bt_subtag}->{hidden} > -8; # except -8;
-