(no commit message)
authoralison benjamin <radiocontrolled@gmail.com>
Sat, 9 Jul 2011 16:08:02 +0000 (16:08 -0000)
committeralison benjamin <radiocontrolled@gmail.com>
Sat, 9 Jul 2011 16:08:02 +0000 (16:08 -0000)
docs/themes/mobile/include/header.tmpl.php

index b6d906c..fc05281 100644 (file)
@@ -114,7 +114,6 @@ setTimeout(function() { window.scrollTo(0, 1) }, 100);
        <!-- mobile FSS -->
        <link rel="stylesheet" href="<?php echo $this->base_path; ?>jscripts/infusion/framework/fss/css/fss-mobile-layout.css" type="text/css"/>
        <link rel="stylesheet" href="<?php echo $this->base_path; ?>jscripts/infusion/framework/fss/css/fss-mobile-theme-iphone.css" type="text/css"/>  
-       
 
 
 <?php if ($this->is_mobile_device == true): ?>
@@ -128,8 +127,12 @@ setTimeout(function() { window.scrollTo(0, 1) }, 100);
        <?php if ($this->mobile_device_type == BLACKBERRY_DEVICE): ?>
        <link rel="stylesheet" href="<?php echo $this->base_path.'themes/'.$this->theme; ?>/blackberry.css" type="text/css"/>
        <?php endif; ?>
+       <?php if ($this->mobile_device_type == IPAD_DEVICE): ?>
+       <link rel="stylesheet" href="<?php echo $this->base_path.'themes/'.$this->theme; ?>/iphone.css" type="text/css"/>
+       <?php endif; ?>
 <?php endif; ?>
 
+
        <!--[if IE]>
          <link rel="stylesheet" href="<?php echo $this->base_path.'themes/'.$this->theme; ?>/ie_styles.css" type="text/css" />
        <![endif]-->
@@ -143,9 +146,7 @@ setTimeout(function() { window.scrollTo(0, 1) }, 100);
        //-->
        </script>
        <script src="<?php echo $this->base_path; ?>jscripts/ATutor.js" type="text/javascript"></script>   
-<?php if (($wurflObj->getDeviceCapability("mobile_browser")=="Safari")): ?>    
 
-<?php endif; ?>
        
 <?php echo $this->rtl_css; ?>
 <?php if (isset($this->course_id) && $system_courses[$this->course_id]['rss']): ?>