Add doctype header.
authorJan Schneider <jan@horde.org>
Tue, 24 Aug 2010 13:52:55 +0000 (15:52 +0200)
committerJan Schneider <jan@horde.org>
Tue, 24 Aug 2010 13:52:55 +0000 (15:52 +0200)
chora/templates/common-header.inc

index e235bbe..9540fd3 100644 (file)
@@ -3,6 +3,9 @@ if (isset($language)) {
     header('Content-type: text/html; charset=' . $GLOBALS['registry']->getCharset());
     header('Vary: Accept-Language');
 }
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<?php
 echo !empty($language) ? '<html lang="' . strtr($language, '_', '-') . '">' : '<html><head>';
 
 $page_title = $GLOBALS['registry']->get('name');