#19653080 New Feature : You can use HTML5 DTD as a document type.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8279 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-04-07 06:32:55 +00:00
parent 52f37ded17
commit 283f1e6334
13 changed files with 49 additions and 5 deletions

View file

@ -1,4 +1,9 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
{@ $db_info = Context::getDBInfo() }
<!--@if($db_info->use_html5=='Y')-->
<!DOCTYPE html>
<!--@else-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" cond="$use_html5!='Y'">
<!--@end-->
<html lang="{Context::getLangType()}" xml:lang="{Context::getLangType()}" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />