Not sure if this a problem with browsers in general or Back Door but the following code only works maybe 80% of the time. It always give an answer and never gives both. It will sometimes say, "is IE" on other browsers and sometime say "not IE" on an ie browser. Using if and else has the same results. Any suggestions?

<r:if cond="request.env['HTTP_USER_AGENT'] =~ /MSIE/">
is IE
</r:if>

<r:unless cond="request.env['HTTP_USER_AGENT'] =~ /MSIE/">
not IE
</r:unless>



Steven
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to