Ignore:
Timestamp:
07/14/09 16:24:34 (15 years ago)
Author:
eduardoalex
Message:

Ticket #548 - Implementação do Expresso (Mail) Offline

Location:
trunk/expressoMail1_2/inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/hook_preferences.inc.php

    r1040 r1121  
    1212        $title = $appname; 
    1313        $file = array( 
    14                 'Preferences'     => $GLOBALS['phpgw']->link('/preferences/preferences.php','appname='.$appname) 
     14                'Preferences'                   => $GLOBALS['phpgw']->link('/preferences/preferences.php','appname='.$appname), 
     15                'Expresso Offline'                      => $GLOBALS['phpgw']->link('/expressoMail1_2/offline_preferences.php') 
    1516        ); 
    1617        //Do not modify below this line 
  • trunk/expressoMail1_2/inc/load_lang.php

    r1059 r1121  
    11<?php 
    2  
    32// Load the lang of the module. 
     3        if(isset($offline_language)) { //Expresso offline, quando o gears sincroniza com uma nova versão, não é dado acesso as sessões do usuário, e é preciso o nome do arquivo de linguagens na session abaixo. 
     4                $_SESSION['phpgw_info']['expressomail']['user']['preferences']['common']['lang'] = $offline_language; 
     5        } 
     6         
    47        if(!$_SESSION['phpgw_info']['expressomail']['lang'])  
    58        { 
Note: See TracChangeset for help on using the changeset viewer.