summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-03-03 13:57:20 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-03-03 13:57:20 +0100
commit9cb5bf0a28d17ca59da9100ba20fd4a26335c3a2 (patch)
treecd8906262d4ab672452b0c5f161aa177b3b8b2dd /core
parent844e18a8b11e9322162b59a9553d5212fa57e9f9 (diff)
downloadnextcloud-server-9cb5bf0a28d17ca59da9100ba20fd4a26335c3a2.tar.gz
nextcloud-server-9cb5bf0a28d17ca59da9100ba20fd4a26335c3a2.zip
add ie css switch to layout templates
Diffstat (limited to 'core')
-rw-r--r--core/templates/layout.base.php7
-rw-r--r--core/templates/layout.guest.php7
-rw-r--r--core/templates/layout.user.php7
3 files changed, 18 insertions, 3 deletions
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php
index c12dc346af3..336df27ef1c 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 03d58c9eae1..04161925436 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 c823ee6b3ac..982efb412b6 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>