Changeset 3727 for branches/2.2/mobile/mobile_header.inc.php
- Timestamp:
- 02/01/11 14:29:20 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/mobile/mobile_header.inc.php
r3564 r3727 3 3 * eGroupWare * 4 4 * http://www.egroupware.org * 5 * The file written by M ário César Kolling <mario.kolling@serpro.gov.br> *5 * The file written by Mï¿œrio Cï¿œsar Kolling <mario.kolling@serpro.gov.br> * 6 6 * -------------------------------------------- * 7 7 * This program is free software; you can redistribute it and/or modify it * … … 12 12 13 13 /*******************************************\ 14 * Define a aplica ção mobile preferencial *14 * Define a aplicaᅵᅵo mobile preferencial * 15 15 \*******************************************/ 16 //TODO: Ler do banco do expresso as prefer ências do usuário e definir a aplicação móvel padrão17 // por enquanto isto ser áhardcoded para mobilemail.16 //TODO: Ler do banco do expresso as preferï¿œncias do usuï¿œrio e definir a aplicaᅵᅵo mï¿œvel padrï¿œo 17 // por enquanto isto serï¿œ hardcoded para mobilemail. 18 18 19 19 $GLOBALS['phpgw_info']['flags']['currentapp'] = 'mobile'; 20 $GLOBALS['phpgw_info']['user']['preferences']['common']['default_mobile_app'] = 'home'; //home, mobilecalendar, mobilecc ou mobilemail 20 $GLOBALS['phpgw_info']['user']['preferences']['common']['default_mobile_app'] = 21 $GLOBALS['phpgw']->session->appsession('mobilemail.folders','mobile')=="mini"?'mobilecalendar':'home'; //home, mobilecalendar, mobilecc ou mobilemail 21 22 22 23 if ( is_null($GLOBALS['phpgw_info']['server']['template_set']) ) … … 26 27 27 28 /* 28 * @function start_prefered_app 29 * @abstract Função que chama a aplicação móvel preferencial. 30 * @author Mário César Kolling <mario.kolling@serpro.gov.br> 29 * @ 30 31 * @abstract Funᅵᅵo que chama a aplicaᅵᅵo mï¿œvel preferencial. 32 * @author Mï¿œrio Cï¿œsar Kolling <mario.kolling@serpro.gov.br> 31 33 */ 32 34 function start_prefered_app(){ 33 //TODO: Determinar qual a aplica ção móvel preferida e iniciá-la.35 //TODO: Determinar qual a aplicaᅵᅵo mï¿œvel preferida e iniciï¿œ-la. 34 36 switch($GLOBALS['phpgw_info']['user']['preferences']['common']['default_mobile_app']){ 35 37 case home: … … 37 39 break; 38 40 case mobilemail: 39 $link = "ui_mobilemail. mail_list";41 $link = "ui_mobilemail.change_folder&folder=0"; 40 42 break; 41 43 case mobilecalendar:
Note: See TracChangeset
for help on using the changeset viewer.