6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/8/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6281] Why force iPhone to mimp/mobile mode?
*
Your Email Address
*
Spam protection
Enter the letters below:
. . ..___._.. . | | |[__ | | | |___|__|| _|_|__|
Comment
> horde/framework/Browser/Browser.php forces the iPhone to mobile mode, > hence defaulting to mimp instead of imp. While the iPhone is mobile, > it has a more-or-less full Safari which works fine in non-mobile > mode. My iPhone users all want the imp and not mimp interface, and > the mimp login screen doesn't let them choose the interface the > > way the imp login screen does. > > > > I patched it with the following overly long patch to not mark the > iPhone as mobile: > > > > 494a495,501 > >> if (strpos($agent, 'iPhone' ) !== false && > >> strpos($agent, 'Safari' ) !== false && > >> strpos($agent, 'Mobile' ) !== false ) { > >> // Exclude the iPhone -- EJR > >> $this->_mobile = false; > >> } > > > > It would be better probably to just except the "iPhone" pattern in > the "if" statement above > > that though. > > > > I don't know of any other implications of doing this for other apps. > No one has reported any problems at least... > > > > An alternate solution would be to allow the mimp login screen > (template/mobile.php I think) to allow them to select the interface > (traditional, dynamic, mobile), defaulting to mobile, so they could > overturn the default mail interface (if for some reason, the above > change isn't appropriate).
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers