svn: /web/php/trunk/include/ header.inc
| From: | Adam Harvey | Date: | Wed, 12 Jan 2011 08:26:35 +0000 |
| Subject: | svn: /web/php/trunk/include/ header.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-10393@lists.php.net to get a copy of this message | ||
aharvey Wed, 12 Jan 2011 08:26:35 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=307407
Log:
Move the HTML5 shim into an IE conditional comment.
Changed paths:
U web/php/trunk/include/header.inc
Modified: web/php/trunk/include/header.inc
===================================================================
--- web/php/trunk/include/header.inc 2011-01-12 08:24:39 UTC (rev 307406)
+++ web/php/trunk/include/header.inc 2011-01-12 08:26:35 UTC (rev 307407)
@@ -46,6 +46,10 @@
<!--[if lte IE 7]>
<link rel="stylesheet" type="text/css" href="<?php echo
$STATIC_ROOT ?>styles/workarounds.ie7.css<?php echo $v?>" media="screen"
/>
<![endif]-->
+
+ <!--[if IE]>
+ <script type="text/javascript" src="<?php echo $STATIC_ROOT
?>js/ext/html5.js<?php echo $v?>"></script>
+ <![endif]-->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.7/jquery-ui.min.js"></script>
@@ -55,7 +59,6 @@
document.write('<script type="text/javascript" src="<?php echo
$STATIC_ROOT ?>js/ext/jquery-ui-1.8.7.min.js"><' + '/script>');
}
</script>
- <script type="text/javascript" src="<?php echo $STATIC_ROOT
?>js/ext/html5.js<?php echo $v?>"></script>
<script type="text/javascript" src="<?php echo $STATIC_ROOT
?>js/common.js<?php echo $v?>"></script>
<?php if (!empty($_SERVER["BASE_HREF"])): ?>
<base href="<?php echo $_SERVER["BASE_HREF"] ?>" />