Created
November 30, 2012 02:22
-
-
Save makbeta/4173387 to your computer and use it in GitHub Desktop.
Luminate CMS: Display a message to a dated browser (IE7 & below), asking users to upgrade
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<t:if test="matches(header.User_Agent,'.*MSIE 7.0.*') || matches(header.User_Agent,'.*MSIE 6.0.*')"> | |
<div class="old-browser"> | |
<p>You're using old browser please, this website might not render properly in it. Please upgrade your browser to one of the following browsers to enjoy this website:</p> | |
<p><a href="http://windows.microsoft.com/en-US/internet-explorer/downloads/ie" target="_blank"><img src="http://www.microsoft.com/PressPass/ImageGallery/Images/Products/Windows/ie/logo_IE9-h_thumb.jpg" width="100" border="0" /></a> | |
<a href="http://www.mozilla.org/en-US/firefox/fx/" target="_blank"><img src="http://www.mozilla.org/img/covehead/firefox/brand-toolkit/identity-guidelines-mozilla-wordmark.png" width="100" border="0" /></a> | |
<a href="www.google.com/chrome" target="_blank"><img src="https://www.google.com/intl/en/images/logos/chrome_logo.gif" width="100" border="0" /></a> | |
<a href="http://www.apple.com/safari/download/" target="_blank"><img src="http://images.apple.com/safari/images/overview_safari_title.png" width="100" border="0" /></a> | |
<a href="http://www.opera.com/" target="_blank"><img src="http://www.opera.com/bitmaps/press/resources/img-press-logo.png" width="100" border="0" /></a></p> | |
</div> | |
</t:if> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment