Changeset 3731 for branches/2.2/mobile/login.php
- Timestamp:
- 02/03/11 17:13:42 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/mobile/login.php
r3571 r3731 44 44 if(trim($cd) != "") 45 45 $tmpl->parse('message_box', (($_GET['cd'] == 1) ? 'success_message' : 'error_message') ,true); 46 47 $tmpl->set_var('css',CreateObject("mobile.mobiletemplate")->get_mobile_css());48 46 49 47 function check_logoutcode($code) { … … 102 100 $GLOBALS['phpgw']->redirect($GLOBALS['phpgw_info']['server']['webserver_url'] .$GLOBALS['phpgw_info']['flags']['currentdir'].'/login.php?cd=' . $GLOBALS['phpgw']->session->cd_reason); 103 101 } 104 else{ 102 else { 103 if(isset($_POST['max_resolution']) && $_POST['max_resolution'] > 600) { 104 $GLOBALS['phpgw_info']['user']['preferences']['common']['default_mobile_app'] = 'mobilemail'; 105 $GLOBALS['phpgw']->session->appsession('mobile.layout','mobile','mini_desktop'); 106 } else { 107 $GLOBALS['phpgw']->session->appsession('mobile.layout','mobile','mini_mobile'); 108 } 109 105 110 start_prefered_app(); 106 111 }
Note: See TracChangeset
for help on using the changeset viewer.