mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-39968-master' of git://github.com/danpoltawski/moodle
This commit is contained in:
commit
796b57ea0b
@ -170,11 +170,7 @@ $THEME->javascripts_footer = array(
|
||||
'moodlebootstrap',
|
||||
);
|
||||
|
||||
$useragent = '';
|
||||
if (!empty($_SERVER['HTTP_USER_AGENT'])) {
|
||||
$useragent = $_SERVER['HTTP_USER_AGENT'];
|
||||
}
|
||||
if (strpos($useragent, 'MSIE 8') || strpos($useragent, 'MSIE 7')) {
|
||||
if (check_browser_version('MSIE') && !check_browser_version('MSIE', '9.0')) {
|
||||
$THEME->javascripts[] = 'html5shiv';
|
||||
}
|
||||
|
||||
|
@ -55,11 +55,3 @@ $THEME->plugins_exclude_sheets = array(
|
||||
|
||||
$THEME->rendererfactory = 'theme_overridden_renderer_factory';
|
||||
$THEME->csspostprocess = 'clean_process_css';
|
||||
|
||||
$useragent = '';
|
||||
if (!empty($_SERVER['HTTP_USER_AGENT'])) {
|
||||
$useragent = $_SERVER['HTTP_USER_AGENT'];
|
||||
}
|
||||
if (strpos($useragent, 'MSIE 8') || strpos($useragent, 'MSIE 7')) {
|
||||
$THEME->javascripts[] = 'html5shiv';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user