X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/6534db924d0c874b31306d827ffb011f66a6e591..aa1102e99b95c7ffc7bfb0078af520429595b702:/SL/Template.pm diff --git a/SL/Template.pm b/SL/Template.pm index 9e25f39ee..c7257e991 100644 --- a/SL/Template.pm +++ b/SL/Template.pm @@ -1307,16 +1307,17 @@ sub format_string { sub get_mime_type() { my ($self) = @_; - if ($self->{"form"}->{"format"} =~ /xml/i) { + if ($self->{"form"}->{"format"} =~ /elsterwinston/i) { return "application/xml "; + } elsif ($self->{"form"}->{"format"} =~ /elstertaxbird/i) { + return "application/x-taxbird"; } else { - return "text/xml"; + return "text"; } } sub uses_temp_file { -# my ($self) = @_; - # no tempfile needet for XML Output + # tempfile needet for XML Output return 1; }