projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cefde76
)
Add doctype header.
author
Jan Schneider
<jan@horde.org>
Tue, 24 Aug 2010 13:52:55 +0000
(15:52 +0200)
committer
Jan Schneider
<jan@horde.org>
Tue, 24 Aug 2010 13:52:55 +0000
(15:52 +0200)
chora/templates/common-header.inc
patch
|
blob
|
history
diff --git
a/chora/templates/common-header.inc
b/chora/templates/common-header.inc
index
e235bbe
..
9540fd3
100644
(file)
--- a/
chora/templates/common-header.inc
+++ b/
chora/templates/common-header.inc
@@
-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');