rev 1800
(15 files, 27kb)
@ This is the 'revolutionary' update I'd hoped to commit as r1789, ah ah, but it wasn't ready yet.
* Rewrote much of the detectBrowser() function. (Load.php, Home.php, Aeva-Gallery.php, Post2.php, Welcome.php, Xml.template.php, editor.js, script.js, index.css, Wuthering/skin.xml, attic/Unused-dynPrefixed.php)
Wedge will no longer return 'iphone' and 'tablet' entries -- these should be addressed through media queries primarily, and/or analysis of the user agent string.
Browser and OS are now stored in two different variables -- $context['browser']['agent'] and $context['browser']['os']
Browser and OS versions are also stored in 'version' and 'os_version' variables. Minor updates like the '5' in '4.1.5' aren't stored, to save space.
Likewise, old OS versions aren't stored (Windows < XP, iOS < 4, Android < 2).
* Rewrote much of the hasBrowser() function as well... (Load.php, Wine/extra.css)
Added support for OS names, now a test against 'windows' will work. Supported: windows, ios, android, mobile.
Added support for OS versions, e.g. 'windows[6.1-]'.
Added support for negative statements, e.g. '!chrome' will return a positive if you're not using Chrome.
Added support for logical AND & or && (whatever suits you best). 'windows, !android && firefox' means 'using Windows, or Firefox but not in Android.'
! Fixed ambiguity with browser/OS versions in Wess's prefix handler. $android should now only be set for the Android stock browser, $iphone is replaced with $ios, and $safari should no longer be set in iOS, for the purpose of these tests of course. (Class-CSS.php)
+ Non-Android, non-iOS mobile devices will now show a regular wireless icon. (Post2.php)
* French Translation. (Errors, ManageSettings)
(15 files, 27kb)
@ This is the 'revolutionary' update I'd hoped to commit as r1789, ah ah, but it wasn't ready yet.
* Rewrote much of the detectBrowser() function. (Load.php, Home.php, Aeva-Gallery.php, Post2.php, Welcome.php, Xml.template.php, editor.js, script.js, index.css, Wuthering/skin.xml, attic/Unused-dynPrefixed.php)
Wedge will no longer return 'iphone' and 'tablet' entries -- these should be addressed through media queries primarily, and/or analysis of the user agent string.
Browser and OS are now stored in two different variables -- $context['browser']['agent'] and $context['browser']['os']
Browser and OS versions are also stored in 'version' and 'os_version' variables. Minor updates like the '5' in '4.1.5' aren't stored, to save space.
Likewise, old OS versions aren't stored (Windows < XP, iOS < 4, Android < 2).
* Rewrote much of the hasBrowser() function as well... (Load.php, Wine/extra.css)
Added support for OS names, now a test against 'windows' will work. Supported: windows, ios, android, mobile.
Added support for OS versions, e.g. 'windows[6.1-]'.
Added support for negative statements, e.g. '!chrome' will return a positive if you're not using Chrome.
Added support for logical AND & or && (whatever suits you best). 'windows, !android && firefox' means 'using Windows, or Firefox but not in Android.'
! Fixed ambiguity with browser/OS versions in Wess's prefix handler. $android should now only be set for the Android stock browser, $iphone is replaced with $ios, and $safari should no longer be set in iOS, for the purpose of these tests of course. (Class-CSS.php)
+ Non-Android, non-iOS mobile devices will now show a regular wireless icon. (Post2.php)
* French Translation. (Errors, ManageSettings)


