DTD switching. html5.js, respond.min.js added.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8753 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2011-08-11 06:33:05 +00:00
parent c4a64631b1
commit e4085a87ee
2 changed files with 8 additions and 2 deletions

View file

@ -48,7 +48,7 @@
<!--@end--> <!--@end-->
<!--@end--> <!--@end-->
<script type="text/javascript" src="../js/html5.js" cond="$db_info->use_html5=='Y'"></script> <script type="text/javascript" src="../js/html5.js" cond="$db_info->use_html5=='Y'"></script>
<!--[if lt IE 9]><script type="text/javascript" src="../js/respond.min.js"></script><![endif]-->
<!--@if($rss_url)--> <!--@if($rss_url)-->
<link rel="alternate" type="application/rss+xml" title="RSS" href="{$rss_url}" /> <link rel="alternate" type="application/rss+xml" title="RSS" href="{$rss_url}" />
<link rel="alternate" type="application/atom+xml" title="Atom" href="{$atom_url}" /> <link rel="alternate" type="application/atom+xml" title="Atom" href="{$atom_url}" />
@ -83,7 +83,7 @@
{Context::getHtmlFooter()} {Context::getHtmlFooter()}
<div id="waitingforserverresponse"></div> <div id="nowInProgress"></div>
{@ $js_body_files = Context::getJsFile('body') } {@ $js_body_files = Context::getJsFile('body') }
<!--@foreach($js_body_files as $key => $js_file)--> <!--@foreach($js_body_files as $key => $js_file)-->

View file

@ -1,4 +1,8 @@
<!--@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"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--@end-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="{Context::getLangType()}" xml:lang="{Context::getLangType()}"> <html xmlns="http://www.w3.org/1999/xhtml" lang="{Context::getLangType()}" xml:lang="{Context::getLangType()}">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
@ -32,6 +36,8 @@
<link rel="alternate" type="application/rss+xml" title="Site RSS" href="{$general_rss_url}" /> <link rel="alternate" type="application/rss+xml" title="Site RSS" href="{$general_rss_url}" />
<link rel="alternate" type="application/atom+xml" title="Site Atom" href="{$general_atom_url}" /> <link rel="alternate" type="application/atom+xml" title="Site Atom" href="{$general_atom_url}" />
<!--@end--> <!--@end-->
<script type="text/javascript" src="../js/html5.js" cond="$db_info->use_html5=='Y'"></script>
<!--[if lt IE 9]><script type="text/javascript" src="../js/respond.min.js"></script><![endif]-->
{@ $ssl_actions = Context::getSSLActions() } {@ $ssl_actions = Context::getSSLActions() }
<script type="text/javascript">//<![CDATA[ <script type="text/javascript">//<![CDATA[
var current_url = "{$current_url}"; var current_url = "{$current_url}";