#!/usr/bin/perl
# Copyright 2000-2002 Katipo Communications
+# Parts copyright 2010 BibLibre
#
# This file is part of Koha.
#
template_name => "opac-MARCdetail.tmpl",
query => $query,
type => "opac",
- authnotrequired => 1,
+ authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
debug => 1,
}
);
undef @subfields_data;
}
}
- $template->param( $tabloop . "XX" => \@loop_data );
+ $template->param( "tab" . $tabloop . "XX" => \@loop_data );
}