NN4/IE6 problem
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Fri, 28 Jan 2005 12:35:17 +0000 (12:35 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:27:54 +0000 (23:27 +0200)
Patches applied:

 * opensource@polytechnique.org--2005/platal--release--0.9.4--patch-5
   correct the NN4 problem

git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-405

templates/skin/common.content.tpl

index d2ca983..acc2292 100644 (file)
@@ -18,8 +18,7 @@
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************}
 
-
-{if $smarty.server.HTTP_USER_AGENT|truncate:10:'' eq 'Mozilla/4.'}
+{if !$smarty.server.HTTP_USER_AGENT|regex_replace:"/^Mozilla\/(3|4\.[^0]).*$/":""}
 <h1>ATTENTION !</h1>
 
 <p class="erreur">