-my $importid = $input->param('importid');
-my $view = $input->param('viewas') || 'marc';
-
-my ( $template, $loggedinuser, $cookie ) = get_template_and_user({
- template_name => "opac-showmarc.tmpl",
- query => $input,
- type => "opac",
- authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
- debug => 1,
-});