🌍
English
With Opera-Mobile on Symbian (Nokia Belle) I don't get the smartpocket theme. Symbian is not detected by the function DetectSymbianOS.
User-Agent is:
Opera/9.80 (S60; SymbOS; Opera Mobi/SYB-1204232256; U; de) Presto/2.10.254 Version/12.00
The problem can be fixed by modifying the file /include/mdetect.php:
var $deviceSymbian = 'symbian'; + var $deviceSymbOS = 'symbos'; var $deviceS60 = 'series60'; var $deviceS70 = 'series70'; var $deviceS80 = 'series80'; var $deviceS90 = 'series90'; ... function DetectSymbianOS() { if (stripos($this->useragent, $this->deviceSymbian) > -1 || + stripos($this->useragent, $this->deviceSymbOS) > -1 || stripos($this->useragent, $this->deviceS60) > -1 || stripos($this->useragent, $this->deviceS70) > -1 || stripos($this->useragent, $this->deviceS80) > -1 || stripos($this->useragent, $this->deviceS90) > -1) return $this->true; else return $this->false; }
Last edited by thimo (2013-01-20 13:18:15)
Offline
Hi
Thanks for your feedback. Could you warn them http://blog.mobileesp.com/.? That's their script
And Could you open a ticket for us in http://piwigo.org/bugs/main_page.php thanks again
Offline