[mimp] New Mobile browsers

Akom lists at akom2.2y.net
Sun Dec 28 09:20:37 PST 2003


The following adds support for Xiino and its older variant Palmscape.
The values are my best guess but they work well enough for mimp.

Index: lib/Browser.php
===================================================================
RCS file: /repository/horde/lib/Browser.php,v
retrieving revision 1.112
diff -r1.112 Browser.php
395a396,406
>             } elseif (strstr($this->_agent, 'Xiino/') ) {
>                 $this->setBrowser('xiino');
>                 $this->setFeature('hdml');
>                 $this->setFeature('wml');
>                 $this->_mobile = true;
>             } elseif (strstr($this->_agent, 'Palmscape/') ) {
>                 $this->setBrowser('palmscape');
>                 $this->setFeature('javascript', false);
>                 $this->setFeature('hdml');
>                 $this->setFeature('wml');
>                 $this->_mobile = true;


More information about the mimp mailing list