From f3cd552797d16c407172e00aaa7edd3f3421c90e Mon Sep 17 00:00:00 2001 From: Volker E Date: Tue, 17 Mar 2015 22:35:20 +0100 Subject: [PATCH] addressing #14978 - remove html root classes targeting IE6/IE7 --- core/templates/layout.base.php | 8 ++------ core/templates/layout.guest.php | 9 ++------- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php index 7069c0c2634..272ce3607a1 100644 --- a/core/templates/layout.base.php +++ b/core/templates/layout.base.php @@ -1,11 +1,7 @@ - - - + - - - + <?php p($theme->getTitle()); ?> diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php index 8deda443d98..1af35b7cd55 100644 --- a/core/templates/layout.guest.php +++ b/core/templates/layout.guest.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-requesttoken="<?php p($_['requesttoken']); ?>"> <title> <?php p($theme->getTitle()); ?> @@ -44,7 +40,6 @@ <div class="push"></div><!-- for sticky footer --> </div> </div> - <footer> <p class="info"> <?php print_unescaped($theme->getLongFooter()); ?>