forked from refinery/refinerycms
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It's now possible to opt-out of the IE6 upgrade message, but please d…
…on't unless your site is fully compliant as we're really hoping that users will see it and upgrade.
- Loading branch information
Showing
1 changed file
with
23 additions
and
11 deletions.
There are no files selected for viewing
34 changes: 23 additions & 11 deletions
34
vendor/plugins/refinery/app/views/shared/_ie6check.html.erb
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,23 @@ | ||
<!--[if lte IE 6]> | ||
<div id="ie6msg_wrapper"> | ||
<div id="ie6msg"> | ||
<h4>Did you know that your browser is out of date?</h4> | ||
<div id='ie6message'> | ||
<p>To get the best possible experience using our website we recommend that you upgrade your browser to a newer version. The current version is <a class="getie8" href="http://upgradeie.s3.amazonaws.com/eng/index.html">Internet Explorer 8</a>. The upgrade is free. If you're using a PC at work you should contact your IT administrator.</p> | ||
<p>If you want to you may also try some other popular and <strong>free</strong> Internet browsers like:<br/> <a class="ie6expl" href="http://getfirefox.com" target='_blank'>Firefox</a>, <a class="ie6expl" href="http://www.opera.com" target='_blank'>Opera</a>, <a class="ie6expl" href="http://www.apple.com/safari/download/" target='_blank'>Safari</a> or <a class="ie6expl" href="http://www.google.com/chrome" target='_blank'>Chrome</a></p> | ||
</div> | ||
</div> | ||
</div> | ||
<![endif]--> | ||
<% if RefinerySetting.find_or_set(:ie6_upgrade_message_enabled, true) -%> | ||
<!--[if lte IE 6]> | ||
<div id="ie6msg_wrapper"> | ||
<div id="ie6msg"> | ||
<h4>Did you know that your browser is out of date?</h4> | ||
<div id='ie6message'> | ||
<p> | ||
To get the best possible experience using our website we recommend that you upgrade your browser to a newer version. The current version is | ||
<a class="getie8" href="http://upgradeie.s3.amazonaws.com/eng/index.html">Internet Explorer 8</a>. | ||
The upgrade is free. If you're using a PC at work you should contact your IT administrator. | ||
</p> | ||
<p> | ||
If you want to you may also try some other popular and <strong>free</strong> Internet browsers like:<br/> | ||
<a class="ie6expl" href="http://getfirefox.com" target='_blank'>Firefox</a>, | ||
<a class="ie6expl" href="http://www.opera.com" target='_blank'>Opera</a>, | ||
<a class="ie6expl" href="http://www.apple.com/safari/download/" target='_blank'>Safari</a> or | ||
<a class="ie6expl" href="http://www.google.com/chrome" target='_blank'>Chrome</a> | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
<![endif]--> | ||
<% end -%> |