Bug #51813
closedTypoScript conditions: Condition for Windows 8 is missing
100%
Description
TypoScript condition matching currently recognizes all kinds of operating systems (e.g. Windows Vista or Windows 7), but not Windows 8.
Add a check for Windows 8 to sysext/core/Classes/Utility/ClientUtility.php and - if matched - add a value in $browserInfo['all_systems']
, e.g. "win8".
Afterwards matching Windows 8 will work just as matching any other Windows-based OS:
[system = win8] page.10=TEXT page.10.value=I am running Windows 8 [ELSE] page.10=TEXT page.10.value=I am NOT running Windows 8 [GLOBAL]
Updated by Stefan Neufeind about 11 years ago
Example of user-agent strings for IE10 on Win8:
http://msdn.microsoft.com/de-de/library/ie/hh920767%28v=vs.85%29.aspx
Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)
Updated by Gerrit Code Review about 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24783
Updated by Gerrit Code Review about 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24783
Updated by Gerrit Code Review about 11 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24783
Updated by Gerrit Code Review about 11 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24783
Updated by Stefan Neufeind about 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset addd2edb25f870414038a42386360291858736f0.