summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorVolker E <volker.e@temporaer.net>2015-03-17 23:16:42 +0100
committerVolker E <volker.e@temporaer.net>2015-03-17 23:16:42 +0100
commite8c99a60ec2019ab96c0011dd580a2fdffebf994 (patch)
tree5767a1076f0dc45163a94c65242de844f8535982 /core/templates
parentf3cd552797d16c407172e00aaa7edd3f3421c90e (diff)
downloadnextcloud-server-e8c99a60ec2019ab96c0011dd580a2fdffebf994.tar.gz
nextcloud-server-e8c99a60ec2019ab96c0011dd580a2fdffebf994.zip
addressing #14978 - remove html root classes targeting IE6/IE7
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.user.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 7ae4b2e3df7..d8d3ee92ef0 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -1,11 +1,7 @@
<!DOCTYPE html>
-<!--[if lt IE 7]><html class="ng-csp ie ie6 lte9 lte8 lte7" data-placeholder-focus="false" lang="<?php p($_['language']); ?>"><![endif]-->
-<!--[if IE 7]><html class="ng-csp ie ie7 lte9 lte8 lte7" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" ><![endif]-->
-<!--[if IE 8]><html class="ng-csp ie ie8 lte9 lte8" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" ><![endif]-->
+<!--[if lte IE 8]><html class="ng-csp ie ie8 lte9 lte8" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" ><![endif]-->
<!--[if IE 9]><html class="ng-csp ie ie9 lte9" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" ><![endif]-->
-<!--[if gt IE 9]><html class="ng-csp ie" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" ><![endif]-->
-<!--[if !IE]><!--><html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" ><!--<![endif]-->
-
+<!--[if (gt IE 9)|!(IE)]><!--><html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" ><!--<![endif]-->
<head data-user="<?php p($_['user_uid']); ?>" data-requesttoken="<?php p($_['requesttoken']); ?>">
<title>
<?php