Remove IE6 support
This commit is contained in:
parent
794980e4bf
commit
6cbb49ba03
@ -83,15 +83,6 @@ class Application_Controller_Plugin_Theme extends Zend_Controller_Plugin_Abstrac
|
||||
$UserLogin = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Detect IE
|
||||
*/
|
||||
$isIE6 = false;
|
||||
if ( $device->getFeature('browser_name')=='Internet Explorer'
|
||||
&& $device->getFeature('browser_version')=='6.0' ) {
|
||||
$isIE6 = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* ===> Standard Styles
|
||||
*/
|
||||
@ -103,16 +94,8 @@ class Application_Controller_Plugin_Theme extends Zend_Controller_Plugin_Abstrac
|
||||
$view->headLink()->appendStylesheet($paramsTheme->pathStyle.'/main.css', 'all');
|
||||
}
|
||||
|
||||
if ($isIE6) {
|
||||
//Old CSS for IE6
|
||||
$view->headLink()
|
||||
->appendStylesheet($paramsTheme->pathStyle.'/ie6.css', 'all')
|
||||
->appendStylesheet('/libs/ui-1.9.2/themes/smoothness/jquery-ui.css', 'all');
|
||||
} else {
|
||||
$view->headLink()
|
||||
->appendStylesheet('/libs/ui-1.10.4/themes/smoothness/jquery-ui.min.css', 'all');
|
||||
}
|
||||
$view->headLink()
|
||||
$view->headLink()
|
||||
->appendStylesheet('/libs/ui-1.10.4/themes/smoothness/jquery-ui.min.css', 'all')
|
||||
->appendStylesheet('/libs/qtip/jquery.qtip.min.css', 'all')
|
||||
->appendStylesheet('/libs/font-awesome-4.5.0/css/font-awesome.min.css', 'all');
|
||||
|
||||
@ -124,24 +107,18 @@ class Application_Controller_Plugin_Theme extends Zend_Controller_Plugin_Abstrac
|
||||
->appendFile('/libs/html5shiv.min.js', 'text/javascript', array('conditional' => 'lt IE 9'))
|
||||
->appendFile('/libs/respond.min.js', 'text/javascript', array('conditional' => 'lt IE 9'))
|
||||
->appendFile('/libs/jquery/jquery-1.12.3.min.js', 'text/javascript')
|
||||
->appendFile('/libs/jquery/jquery.placeholder.js', 'text/javascript')
|
||||
->appendFile('/libs/jquery.placeholder.min.js', 'text/javascript', array('conditional' => 'lt IE 9'))
|
||||
->appendFile('/libs/bootstrap-3.3.7/js/bootstrap.min.js', 'text/javascript');
|
||||
} else {
|
||||
$view->headScript()
|
||||
->appendFile('/libs/jquery/jquery-1.12.3.min.js', 'text/javascript');
|
||||
}
|
||||
|
||||
if ($isIE6) {
|
||||
//Old JQuery version for IE6
|
||||
$view->headScript()
|
||||
->appendFile('/libs/jquery/jquery.bgiframe.js', 'text/javascript')
|
||||
->appendFile('/libs/ui-1.9.2/jquery-ui.min.js', 'text/javascript')
|
||||
->appendFile('/libs/ui-1.9.2/jquery-ui-i18n.min.js', 'text/javascript');
|
||||
} else {
|
||||
$view->headScript()
|
||||
->appendFile('/libs/ui-1.10.4/jquery-ui.min.js', 'text/javascript')
|
||||
->appendFile('/libs/ui-1.10.4/jquery-ui-i18n.min.js', 'text/javascript');
|
||||
}
|
||||
|
||||
$view->headScript()
|
||||
->appendFile('/libs/ui-1.10.4/jquery-ui.min.js', 'text/javascript')
|
||||
->appendFile('/libs/ui-1.10.4/jquery-ui-i18n.min.js', 'text/javascript');
|
||||
|
||||
|
||||
if ( ! $UserLogin ) {
|
||||
$view->headScript()
|
||||
|
Loading…
Reference in New Issue
Block a user