Opened 19 years ago

Closed 18 years ago

#367 closed patch (fixed)

Addding Support for Orange SPV phones to mythweb

Reported by: ciaranj+mythtv@… 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 ;)

Attachments (1)

mythweb-spv.patch (1.1 KB) - added by ciaranj+mythtv@… 19 years ago.
MythWeb Orange SPV Patch

Download all attachments as: .zip

Change History (2)

Changed 19 years ago by ciaranj+mythtv@…

Attachment: mythweb-spv.patch added

MythWeb Orange SPV Patch

comment:1 Changed 18 years ago by xris

Resolution: fixed
Status: newclosed

(In [7708]) apply patch and close #367

Note: See TracTickets for help on using tickets.