header syntax bugfix. sorry about that.

This commit is contained in:
Kenneth Reitz
2010-07-07 22:00:02 -04:00
parent aa381b8ad7
commit af1fbc3c20
+4 -4
View File
@@ -17,8 +17,8 @@
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/jquery.browser.addEnvClass.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/jquery.hilightnav.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/init.js"></script>
<?php if (ereg('iPhone',$_SERVER['HTTP_USER_AGENT']) || ereg('iPod',$_SERVER['HTTP_USER_AGENT']) || ereg('iPad',$_SERVER['HTTP_USER_AGENT'])): ?>
<?php if (ereg('iPhone', $_SERVER['HTTP_USER_AGENT']) || ereg('iPod', $_SERVER['HTTP_USER_AGENT']) || ereg('iPad',$_SERVER['HTTP_USER_AGENT'])): ?>
<meta name="viewport" content="initial-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes" />
@@ -26,12 +26,12 @@
<meta name="apple-touch-fullscreen" content="yes" />
<link rel="apple-touch-icon" href="<?php bloginfo('template_url'); ?>/img/apple-touch-icon.png" />
<?php if ereg('iPad',$_SERVER['HTTP_USER_AGENT']): ?>
<?php if (ereg('iPad', $_SERVER['HTTP_USER_AGENT'])): ?>
<link type="text/css" rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/ipad.css" />
<?php else: ?>
<link type="text/css" rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/iphone.css" />
<?php endif; ?>
<?php elseif (): ?>
<?php else: ?>
<meta name="viewport" content="width=960" />