fixed bug #472353 - Doc can't be opened in IE5/Mac (because of an invalid DTD)

This commit is contained in:
Loïc Chapeaux
2001-10-18 17:49:28 +00:00
parent 4bd01bd6ae
commit c07a87d4b6
5 changed files with 15 additions and 5 deletions

View File

@@ -36,7 +36,9 @@ header('Content-Type: text/html; charset=' . $charset);
set_font_sizes();
echo '<?xml version="1.0" encoding="' . strtoupper($charset) . '"?>' . "\n";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $available_languages[$lang][2]; ?>" lang="<?php echo $available_languages[$lang][2]; ?>">
<head>