my ( $template, $borrowernumber, $cookie ) = get_template_and_user (
{
- template_name => "opac-downloadshelf.tmpl",
+ template_name => "opac-downloadshelf.tt",
query => $query,
type => "opac",
authnotrequired => 1,
if ($shelfid && $format) {
- my @shelf = GetShelf($shelfid);
my ($items, $totitems) = GetShelfContents($shelfid);
my $marcflavour = C4::Context->preference('marcflavour');
my $output;
print $output;
} else {
- $template->param(csv_profiles => GetCsvProfilesLoop());
+ $template->param(csv_profiles => GetCsvProfilesLoop('marc'));
$template->param(shelfid => $shelfid);
output_html_with_http_headers $query, $cookie, $template->output;
}
} else {
$template->param(invalidlist => 1);
output_html_with_http_headers $query, $cookie, $template->output;
-}
\ No newline at end of file
+}