Actions
Bug #51813
closedTypoScript conditions: Condition for Windows 8 is missing
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2013-09-06
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
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]
Actions