Skip to content

Commit

Permalink
It's now possible to opt-out of the IE6 upgrade message, but please d…
Browse files Browse the repository at this point in the history
…on't unless your site is fully compliant as we're really hoping that users will see it and upgrade.
  • Loading branch information
parndt committed Mar 15, 2010
1 parent 1e6689e commit 1b236e5
Showing 1 changed file with 23 additions and 11 deletions.
34 changes: 23 additions & 11 deletions vendor/plugins/refinery/app/views/shared/_ie6check.html.erb
@@ -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 -%>

0 comments on commit 1b236e5

Please sign in to comment.