summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-29 20:12:27 -0700
committerBharat Mediratta <bharat@menalto.com>2009-06-29 20:12:27 -0700
commitf5f74e3638e31517e7513a3d9cbda48d9806a904 (patch)
treec8a929366dad3f620f788569556db368aafcab42
parentb579db51733135a49c3d936caa80b61eba7cfb87 (diff)
Remove fix-ie.css scripts from the combined bundle, since we only want
to load them conditionally.
-rw-r--r--themes/admin_default/views/admin.html.php7
-rw-r--r--themes/default/views/page.html.php3
2 files changed, 6 insertions, 4 deletions
diff --git a/themes/admin_default/views/admin.html.php b/themes/admin_default/views/admin.html.php
index 2a231057..fed1afe6 100644
--- a/themes/admin_default/views/admin.html.php
+++ b/themes/admin_default/views/admin.html.php
@@ -12,9 +12,10 @@
<?= $theme->css("lib/superfish/css/superfish.css") ?>
<?= $theme->css("themes/default/css/screen.css") ?>
<?= $theme->theme_css("css/screen.css") ?>
- <!--[if IE]>
- <?= $theme->theme_css("css/fix-ie.css") ?>
- <![endif]-->
+ <!--[if lt IE 8]>
+ <link rel="stylesheet" type="text/css" href="<?= $theme->theme_url("css/fix-ie.css") ?>"
+ media="screen,print,projection" />
+ <![endif]-->
<?= $theme->script("lib/jquery.js") ?>
<?= $theme->script("lib/jquery.form.js") ?>
diff --git a/themes/default/views/page.html.php b/themes/default/views/page.html.php
index 2e68f571..519a0c39 100644
--- a/themes/default/views/page.html.php
+++ b/themes/default/views/page.html.php
@@ -29,7 +29,8 @@
<?= $theme->css("lib/themeroller/ui.base.css") ?>
<?= $theme->theme_css("css/screen.css") ?>
<!--[if lt IE 8]>
- <?= $theme->theme_css("css/fix-ie.css") ?>
+ <link rel="stylesheet" type="text/css" href="<?= $theme->theme_url("css/fix-ie.css") ?>"
+ media="screen,print,projection" />
<![endif]-->
<? if ($theme->page_type == 'album'): ?>
<? if ($thumb_proportion != 1): ?>