diff options
author | Frank Karlitschek <frank@owncloud.org> | 2013-03-03 05:24:01 -0800 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2013-03-03 05:24:01 -0800 |
commit | d8655a4248ac6746e802fad97384223a31c8819f (patch) | |
tree | cd8906262d4ab672452b0c5f161aa177b3b8b2dd | |
parent | 844e18a8b11e9322162b59a9553d5212fa57e9f9 (diff) | |
parent | 9cb5bf0a28d17ca59da9100ba20fd4a26335c3a2 (diff) | |
download | nextcloud-server-d8655a4248ac6746e802fad97384223a31c8819f.tar.gz nextcloud-server-d8655a4248ac6746e802fad97384223a31c8819f.zip |
Merge pull request #2046 from owncloud/add_ie_css_switch
add ie css switch to layout templates
-rw-r--r-- | core/templates/layout.base.php | 7 | ||||
-rw-r--r-- | core/templates/layout.guest.php | 7 | ||||
-rw-r--r-- | core/templates/layout.user.php | 7 |
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> |