]> wagnertech.de Git - kivitendo-erp.git/blobdiff - bin/mozilla/menuXML.pl
Beim Erstellen des XUL/XML-MenĂ¼s die HTTP-Antwort von $form->create_http_response...
[kivitendo-erp.git] / bin / mozilla / menuXML.pl
index 3aa32f2f823d90d1efd047eb416fff213658041b..f36cb4b1ca87fb59b3b989c8da3acca488ea0251 100644 (file)
@@ -46,7 +46,8 @@ use Encode;
 # end of main
 
 sub display {
-  print "Content-type: text/xml; charset=iso-8859-1\n\n";
+  print $form->create_http_response('content_type' => 'text/xml',
+                                    'charset'      => 'iso-8859-1');
   print qq|<?xml version="1.0" encoding="iso-8859-1"?>\n|;
   print qq|<?xml-stylesheet href="xslt/xulmenu.xsl" type="text/xsl"?>\n|;
   print qq|<!DOCTYPE doc [