MantisBT - ATutor
View Issue Details
0004078ATutor- no cat -public2009-12-04 11:322009-12-16 03:59
greg 
cindy 
normalfeatureN/A
closedfixed 
 
1.6.4 
SVN
0004078: Hardware device detector
Add a detector for mobile devices: iPhone, Blackberry, Google Phone
No tags attached.
Issue History
2009-12-04 11:32gregNew Issue
2009-12-04 11:32gregAffects version => SVN
2009-12-04 11:32gregStatusnew => assigned
2009-12-04 11:32gregAssigned To => cindy
2009-12-10 06:37cindyStatusassigned => resolved
2009-12-10 06:37cindyFixed in Version => 1.6.4
2009-12-10 06:37cindyResolutionopen => fixed
2009-12-10 06:37cindyNote Added: 0003978
2009-12-16 03:59gregStatusresolved => closed

Notes
(0003978)
cindy   
2009-12-10 06:37   
SVN revision: 9022

Solution: in vitals.inc.php, add detection on HTTP_USER_AGENT to detect mobile devices. Also add "mobile" theme folder and some necessary files, without any templates yet. For now, as there's only one mobile theme, it's hardcoded in script. When more mobile themes come in, this should be changed.

Affected scripts:
include/vitals.inc.php
install/db/atutor_schema.sql
install/db/atutor_upgrade_1.6.3_to_1.6.4.sql
themes/mobile (folder and basic style, configuration and readme files)