Skip to content

Commit ce3d076

Browse files
author
fantu
committed
small xhtml fix
1 parent 986f1c4 commit ce3d076

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

interface/lib/app.inc.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,13 @@ public function error($msg, $next_link = '', $stop = true, $priority = 1)
114114
//$this->uses("error");
115115
//$this->error->message($msg, $priority);
116116
if($stop == true){
117-
$msg = '<html>
117+
$msg = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
118+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
119+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
118120
<head>
119121
<title>Error</title>
120-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
121-
<link href="../themes/default/style.css" rel="stylesheet" type="text/css">
122+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
123+
<link href="../themes/default/style.css" rel="stylesheet" type="text/css" />
122124
</head>
123125
<body>
124126
<br /><br /><br />

0 commit comments

Comments
 (0)