View | Details | Raw Unified | Return to bug 7345
Collapse All | Expand All

(-)a/catalogue/export.pl (-1 / +2 lines)
Lines 27-32 if ($op eq "export") { Link Here
27
		if ($biblionumber){
27
		if ($biblionumber){
28
28
29
			my $marc = GetMarcBiblio($biblionumber, 1);
29
			my $marc = GetMarcBiblio($biblionumber, 1);
30
            my $error = '';
30
31
31
			if ($format =~ /endnote/) {
32
			if ($format =~ /endnote/) {
32
				$marc = marc2endnote($marc);
33
				$marc = marc2endnote($marc);
Lines 53-59 if ($op eq "export") { Link Here
53
			}
54
			}
54
            elsif ($format =~ /marcstd/) {
55
            elsif ($format =~ /marcstd/) {
55
                C4::Charset::SetUTF8Flag($marc,1);
56
                C4::Charset::SetUTF8Flag($marc,1);
56
                ($error,$marc) = marc2marc($marc, 'marcstd', C4::Context->preference('marcflavour'));
57
                ($error, $marc) = marc2marc($marc, 'marcstd', C4::Context->preference('marcflavour'));
57
            }
58
            }
58
			print $query->header(
59
			print $query->header(
59
				-type => 'application/octet-stream',
60
				-type => 'application/octet-stream',
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc (-2 / +2 lines)
Lines 122-128 function confirm_items_deletion() { Link Here
122
			{ text: _("Dublin Core (XML)"), url: "/cgi-bin/koha/catalogue/export.pl?format=dc&op=export&bib=[% biblionumber %]" },
122
			{ text: _("Dublin Core (XML)"), url: "/cgi-bin/koha/catalogue/export.pl?format=dc&op=export&bib=[% biblionumber %]" },
123
			{ text: _("MARCXML"), url: "/cgi-bin/koha/catalogue/export.pl?format=marcxml&op=export&bib=[% biblionumber %]" },
123
			{ text: _("MARCXML"), url: "/cgi-bin/koha/catalogue/export.pl?format=marcxml&op=export&bib=[% biblionumber %]" },
124
			{ text: _("MARC (non-Unicode/MARC-8)"), url: "/cgi-bin/koha/catalogue/export.pl?format=marc8&op=export&bib=[% biblionumber %]" },
124
			{ text: _("MARC (non-Unicode/MARC-8)"), url: "/cgi-bin/koha/catalogue/export.pl?format=marc8&op=export&bib=[% biblionumber %]" },
125
			{ text: _("MARC (Unicode/UTF-8)"), url: "/cgi-bin/koha/catalogue/export.pl?format=utf8&op=export&bib=[% biblionumber %]" }
125
            { text: _("MARC (Unicode/UTF-8)"), url: "/cgi-bin/koha/catalogue/export.pl?format=utf8&op=export&bib=[% biblionumber %]" },
126
            { text: _("MARC (Unicode/UTF-8, Standard)"), url: "/cgi-bin/koha/catalogue/export.pl?format=marcstd&op=export&bib=[% biblionumber %]" }
126
		];
127
		];
127
128
128
	    new YAHOO.widget.Button({
129
	    new YAHOO.widget.Button({
129
- 

Return to bug 7345