summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@plantard.controlezvous.ca>2009-02-01 20:05:13 +0000
committerSarven Capadisli <csarven@plantard.controlezvous.ca>2009-02-01 20:05:13 +0000
commitd309fd27c5ed073d6031184c1c4a9c0d76224e40 (patch)
treeaa9149d0ce191e390961adb8be99eb039d34d158
parent88eb8c924ce35124560df71a58b8353309f2d25c (diff)
Rearraned stylesheet order for IE and fixed path to files for base IE stylesheets
-rw-r--r--lib/action.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/action.php b/lib/action.php
index 4d4c3d4c9..dcf98f669 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -162,15 +162,15 @@ class Action extends HTMLOutputter // lawsuit
'media' => 'screen, projection, tv'));
$this->comment('[if IE]><link rel="stylesheet" type="text/css" '.
'href="'.theme_path('css/ie.css', 'base').'?version='.LACONICA_VERSION.'" /><![endif]');
- $this->comment('[if IE]><link rel="stylesheet" type="text/css" '.
- 'href="'.theme_path('css/ie.css', null).'?version='.LACONICA_VERSION.'" /><![endif]');
foreach (array(6,7) as $ver) {
- if (file_exists(theme_file('ie'.$ver.'.css'))) {
+ if (file_exists(theme_file('css/ie'.$ver.'.css', 'base'))) {
// Yes, IE people should be put in jail.
$this->comment('[if lte IE '.$ver.']><link rel="stylesheet" type="text/css" '.
'href="'.theme_path('css/ie'.$ver.'.css', 'base').'?version='.LACONICA_VERSION.'" /><![endif]');
}
}
+ $this->comment('[if IE]><link rel="stylesheet" type="text/css" '.
+ 'href="'.theme_path('css/ie.css', null).'?version='.LACONICA_VERSION.'" /><![endif]');
}
/**