diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php index c12dc346af35ab8094a9f5c6f1d8e1ec1b4f8603..336df27ef1c93e00dd0978dae3ffa9893f066bda 100644 --- a/core/templates/layout.base.php +++ b/core/templates/layout.base.php @@ -1,5 +1,10 @@ <!DOCTYPE html> -<html class="ng-csp"> +<!--[if lt IE 7]><html class="ng-csp ie ie6 lte9 lte8 lte7"><![endif]--> +<!--[if IE 7]><html class="ng-csp ie ie7 lte9 lte8 lte7"><![endif]--> +<!--[if IE 8]><html class="ng-csp ie ie8 lte9 lte8"><![endif]--> +<!--[if IE 9]><html class="ng-csp ie ie9 lte9"><![endif]--> +<!--[if gt IE 9]><html class="ng-csp ie"><![endif]--> +<!--[if !IE]><!--><html class="ng-csp"><!--<![endif]--> <head> <title>ownCloud</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php index 03d58c9eae136178d412a79e4fedf3a2f3ab6788..04161925436ec4720ff9f474042dd246bb65b619 100644 --- a/core/templates/layout.guest.php +++ b/core/templates/layout.guest.php @@ -1,5 +1,10 @@ <!DOCTYPE html> -<html class="ng-csp"> +<!--[if lt IE 7]><html class="ng-csp ie ie6 lte9 lte8 lte7"><![endif]--> +<!--[if IE 7]><html class="ng-csp ie ie7 lte9 lte8 lte7"><![endif]--> +<!--[if IE 8]><html class="ng-csp ie ie8 lte9 lte8"><![endif]--> +<!--[if IE 9]><html class="ng-csp ie ie9 lte9"><![endif]--> +<!--[if gt IE 9]><html class="ng-csp ie"><![endif]--> +<!--[if !IE]><!--><html class="ng-csp"><!--<![endif]--> <head> <title>ownCloud</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index c823ee6b3ac44c426a078386fb127362d4c57215..982efb412b6e1ca61e920eb6ac66b6252fe7abfa 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -1,5 +1,10 @@ <!DOCTYPE html> -<html class="ng-csp"> +<!--[if lt IE 7]><html class="ng-csp ie ie6 lte9 lte8 lte7"><![endif]--> +<!--[if IE 7]><html class="ng-csp ie ie7 lte9 lte8 lte7"><![endif]--> +<!--[if IE 8]><html class="ng-csp ie ie8 lte9 lte8"><![endif]--> +<!--[if IE 9]><html class="ng-csp ie ie9 lte9"><![endif]--> +<!--[if gt IE 9]><html class="ng-csp ie"><![endif]--> +<!--[if !IE]><!--><html class="ng-csp"><!--<![endif]--> <head> <title><?php p(!empty($_['application'])?$_['application'].' | ':'') ?>ownCloud <?php p(trim($_['user_displayname']) != '' ?' ('.$_['user_displayname'].') ':'') ?></title>