Issue-4845: Merged in branch 'gsoc11_benj' for the enhanced mobile theme.
[atutor.git] / docs / content.php
index 5f4b365..68b1840 100644 (file)
@@ -135,14 +135,14 @@ while ($content_forum_row = mysql_fetch_assoc($content_forum_rs)){
        $content_forum_ids[] = $content_forum_row;
 }
 
-// use any styles that were part of the imported document
+// use any styles that were part of the imported document, except on the mobile theme. 
 // $_custom_css = $_base_href.'headstuff.php?cid='.$cid.SEP.'path='.urlEncode($_base_href.$course_base_href.$content_base_href);
-
+if (is_mobile_device == false) {
 if ($content_row['use_customized_head'] && strlen($content_row['head']) > 0)
 {
        $_custom_head .= $content_row['head'];
 }
-
+}
 global $_custom_head;
 $_custom_head .= '
        <script language="javascript" type="text/javascript">