|
|
@ -40,19 +40,20 @@ class legacy_browser extends rcube_plugin
|
|
|
|
$skin = $this->skin();
|
|
|
|
$skin = $this->skin();
|
|
|
|
|
|
|
|
|
|
|
|
if ($skin == 'classic') {
|
|
|
|
if ($skin == 'classic') {
|
|
|
|
|
|
|
|
$minified = file_exists(INSTALL_PATH . '/plugins/legacy_browser/skins/classic/iehacks.min.css') ? '.min' : '';
|
|
|
|
$rcube->output->add_header(
|
|
|
|
$rcube->output->add_header(
|
|
|
|
'<link rel="stylesheet" type="text/css" href="plugins/legacy_browser/classic/iehacks.css" />'
|
|
|
|
'<link rel="stylesheet" type="text/css" href="plugins/legacy_browser/skins/classic/iehacks' . $minified . '.css" />'
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if ($skin == 'larry') {
|
|
|
|
else if ($skin == 'larry') {
|
|
|
|
|
|
|
|
$minified = file_exists(INSTALL_PATH . '/plugins/legacy_browser/skins/larry/iehacks.min.css') ? '.min' : '';
|
|
|
|
|
|
|
|
$rcube->output->add_header(
|
|
|
|
|
|
|
|
'<link rel="stylesheet" type="text/css" href="plugins/legacy_browser/skins/larry/iehacks' . $minified . '.css" />'
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
if ($rcube->output->browser->ver < 8) {
|
|
|
|
if ($rcube->output->browser->ver < 8) {
|
|
|
|
$rcube->output->add_header(
|
|
|
|
$rcube->output->add_header(
|
|
|
|
'<link rel="stylesheet" type="text/css" href="plugins/legacy_browser/larry/ie7hacks.css" />'
|
|
|
|
'<link rel="stylesheet" type="text/css" href="plugins/legacy_browser/skins/larry/ie7hacks' . $minified . '.css" />'
|
|
|
|
);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else {
|
|
|
|
|
|
|
|
$rcube->output->add_header(
|
|
|
|
|
|
|
|
'<link rel="stylesheet" type="text/css" href="plugins/legacy_browser/larry/iehacks.css" />'
|
|
|
|
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|