App::Mobirc::Plugin::GPS

[% IF mobile_agent.is_ezweb and mobile_agent.gps_compliant %] [%- url = 'http://' _ req.header('Host') _ docroot _ 'channel/' _ channel_name _ '/gps_do' %] [% ELSE %] [%- url = 'http://' _ req.header('Host') _ ':' _ port _ docroot _ 'channel/' _ channel_name _ '/gps_do' %] [% END %]

[% IF mobile_agent.gps_compliant %]GPS Compliant[% ELSE %]Not GPS Compliant[% END %]

[% USE HTMLMobileJp %] [% IF mobile_agent.is_non_mobile %] this is not a mobile phone. [% ELSE %] [% HTMLMobileJp.gps_a({ carrier => mobile_agent.carrier, is_gps => mobile_agent.gps_compliant, callback_url => url, }) %] Send Location Information [% END %]