Opened 19 years ago
Closed 18 years ago
#367 closed patch (fixed)
Addding Support for Orange SPV phones to mythweb
Reported by: | Owned by: | xris | |
---|---|---|---|
Priority: | minor | Milestone: | 0.19 |
Component: | mythweb | Version: | head |
Severity: | low | Keywords: | mythweb smartphone mobile theme |
Cc: | ciaranj+mythtv@… | Ticket locked: | no |
Description
Currently Orange SPV phones are receiving WML theme by default, this ticket adds an Orange SPV C500 identifier to the includes/mobile.php file to alert mythweb that the phone is a known mobile.
Also since the Orange SPV C500 sends a HTTP_ACCEPT header of */*, and the init.php is checking whether text/html is supported, I've also changed init.php to check for both text/html and */* since the second implies the former, its good to go.
I think a proper solution would be to improve the browserAcceptsMediaType method to understand mime-types properly i.e. make it match text/*, text/html and */*. But this solution will probably? do for now ;)
MythWeb Orange SPV Patch