Enhance IE 6 management

This commit is contained in:
Nicolas Le Goff
2013-09-26 14:41:18 +02:00
parent 9d3b21238c
commit a7cfb48acc
3 changed files with 25 additions and 29 deletions

View File

@@ -1,23 +1,25 @@
<div class="row-fluid"> <div class="row-fluid">
<div class="span12" style="height:400px;"> <!--[if gte IE 7]>
<object id="o" width="100%" height="100%" <div class="span12" style="height:400px;">
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" <object id="o" width="100%" height="100%"
> classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
<param name="wmode" value="transparent"> >
<param name="movie" <param name="wmode" value="transparent">
value="https://apps.cooliris.com/embed/cooliris.swf" /> <param name="movie"
<param name="allowFullScreen" value="true" /> value="https://apps.cooliris.com/embed/cooliris.swf" />
<param name="allowScriptAccess" value="always" /> <param name="allowFullScreen" value="true" />
<param name="flashvars" <param name="allowScriptAccess" value="always" />
value="feed=/feeds/cooliris/&glowColor=#0077BC&style=dark&backgroundColor=#000000&showChrome=false&showEMbed=false&showSearch=false" /> <param name="flashvars"
<embed wmode="transparent" type="application/x-shockwave-flash" value="feed=/feeds/cooliris/&glowColor=#0077BC&style=dark&backgroundColor=#000000&showChrome=false&showEMbed=false&showSearch=false" />
src="https://apps.cooliris.com/embed/cooliris.swf" <embed wmode="transparent" type="application/x-shockwave-flash"
flashvars="feed=/feeds/cooliris/&glowColor=#0077BC&style=dark&backgroundColor=#000000&showChrome=false&showEMbed=false&showSearch=false" src="https://apps.cooliris.com/embed/cooliris.swf"
width="100%" flashvars="feed=/feeds/cooliris/&glowColor=#0077BC&style=dark&backgroundColor=#000000&showChrome=false&showEMbed=false&showSearch=false"
height="100%" width="100%"
allowFullScreen="true" height="100%"
allowScriptAccess="always"> allowFullScreen="true"
</embed> allowScriptAccess="always">
</object> </embed>
</div> </object>
</div>
<![endif]-->
</div> </div>

View File

@@ -29,7 +29,7 @@
{% block header_stylesheet %} {% block header_stylesheet %}
<link rel="stylesheet" href="{{ path('minifier', { 'f' : 'skins/geonames/geonames.css' }) }}"> <link rel="stylesheet" href="{{ path('minifier', { 'f' : 'skins/geonames/geonames.css' }) }}">
<link rel="stylesheet" href="{{ path('minifier', { 'g' : 'authentication_css' }) }}"> <link rel="stylesheet" href="{{ path('minifier', { 'g' : 'authentication_css' }) }}">
<!--[if lte IE 8]> <!--[if IE 7]>
<link rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/font-awesome/css/font-awesome-ie7.min.css' }) }}"> <link rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/font-awesome/css/font-awesome-ie7.min.css' }) }}">
<![endif]--> <![endif]-->
{% endblock header_stylesheet %} {% endblock header_stylesheet %}
@@ -49,12 +49,6 @@
<body> <body>
{% block google_chrome_frame %} {% block google_chrome_frame %}
<!--[if lt IE 7]> <!--[if lt IE 7]>
{% set browserLink = "<a href='http://browsehappy.com/'>" ~ browser_name ~ "</a>"|raw %}
{% set GCFLink = "<a href='http://www.google.com/chromeframe/?redirect=true'>Google Chrome Frame</a>"|raw %}
<p class="alert alert-warning text-center">
<strong>{% trans %}You are using an outdated browser.{% endtrans %}</strong>
{% trans %}Please upgrade {{ browserLink }} or activate {{ GCFLink }} to improve your experience.{% endtrans %}
</p>
<div class="ie6-special"> <div class="ie6-special">
<div class="ie6-container"> <div class="ie6-container">
<table> <table>

View File

@@ -1,4 +1,4 @@
html.lt-ie7 body > .container{ html.lt-ie7 body .container {
display: none; display: none;
} }