[TYPO3-core] RFC: #14230: Match TS browser condition with all delivered browsers
Steffen Kamper
info at sk-typo3.de
Tue Apr 27 23:40:35 CEST 2010
Hi,
This is an SVN patch request.
Type: bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=14201
Branches:
trunk, 4_3
after having 0014201 in core some browsers like chrome have 3 infos in UA:
[webkit] => 532.5
[chrome] => 4.1
[safari] => 532.5
current condition [browser=chrome] doesn't match as safari is the last
browser info delivered.
But the info is in "all" array of $browserInfo.
So simply use the all array for compare and [browser=chrome] will work.
Even something like [browser=webkit] works, which allows adding special
css for webkit browsers.
vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 14230.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100427/8020f624/attachment.txt>
More information about the TYPO3-team-core
mailing list