Ticket #367: mythweb-spv.patch
File mythweb-spv.patch, 1.1 KB (added by , 19 years ago) |
---|
-
mythweb/includes/init.php
107 107 require_once "includes/mobile.php"; 108 108 if (isMobileUser()) { 109 109 // Browser is mobile but does it accept HTML? If not, use the WML theme. 110 if (browserAcceptsMediaType(array('text/html' ))) {110 if (browserAcceptsMediaType(array('text/html', '\*/\*'))) { 111 111 define('Theme', 'wap'); 112 112 } else { 113 113 define('Theme', 'wml'); -
mythweb/includes/mobile.php
69 69 $mobiles = array(/* Phones using the Series 60 platform, e.g. Nokia 3650 and 6600. */ 70 70 'Series 60' => array('width' => 176, 'height' => 208), 71 71 'Series60' => array('width' => 176, 'height' => 208), 72 'C500' => array('width'=>176, 'height'=> 220), // SPV C500 72 73 73 74 /* Phones using the Series 90 platform, e.g. Nokia 7710. */ 74 75 'Series 90' => array('width' => 640, 'height' => 320),