@@ -, +, @@ --- admin/import_export_authtype.pl | 6 +----- koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt | 11 +++++------ koha-tmpl/intranet-tmpl/prog/js/authtype.js | 8 ++++---- 3 files changed, 10 insertions(+), 15 deletions(-) --- a/admin/import_export_authtype.pl +++ a/admin/import_export_authtype.pl @@ -61,10 +61,6 @@ if ($action eq 'export' && $input->request_method() eq 'GET') { binmode(STDOUT,':encoding(UTF-8)'); print $input->header(-type => 'application/vnd.ms-excel', -attachment => 'export_' . $authtypecode . '.csv'); print $strXml; - } elsif ($format eq 'excel') { - # Excel-xml file - print $input->header(-type => 'application/excel', -attachment => 'export_' . $authtypecode . '.xml'); - print $strXml; } else { # ODS file my $strODS = ''; @@ -81,7 +77,7 @@ if ($action eq 'export' && $input->request_method() eq 'GET') { } my $filename = $input->param($fieldname); # upload the input file - if ($filename && $filename =~ /\.(csv|ods|xml)$/i) { + if ($filename && $filename =~ /\.(csv|ods)$/i) { my $extension = $1; my $uploadFd = $input->upload($fieldname); if ($uploadFd && !$input->cgi_error) { --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt @@ -157,10 +157,10 @@
  • MARC structure
  • Edit
  • [% IF authority_type.authtypecode %]
  • Delete
  • [% END %] - -
  • Export
  • - -
  • Import
  • + +
  • Export
  • + +
  • Import
  • @@ -177,7 +177,6 @@

    -

    @@ -196,7 +195,7 @@