Fixed problems with non-US date such as 28/10/1983.
[koha.git] / admin-home.pl
index 779883a..82410b4 100755 (executable)
@@ -4,7 +4,7 @@ use strict;
 use CGI;
 use C4::Auth;
 use C4::Output;
-use C4::Charset;
+use C4::Interface::CGI::Output;
 use C4::Database;
 use HTML::Template;
 
@@ -17,9 +17,5 @@ my ($template, $loggedinuser, $cookie)
                             flagsrequired => {parameters => 1},
                             debug => 1,
                             });
-$template->param(loggeninuser => $loggedinuser);
 
-print $query->header(
-    -type => guesstype($template->output),
-    -cookie => $cookie
-),$template->output;
+output_html_with_http_headers $query, $cookie, $template->output;