Ignore:
Timestamp:
11/24/10 10:40:02 (13 years ago)
Author:
brunocosta
Message:

Ticket #1340 - Adicionada clarificação sobre a instalação do offline.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/offline_preferences.php

    r1121 r3533  
    3737        $GLOBALS['phpgw']->template->set_var('lang_save',lang('Save')); 
    3838        $GLOBALS['phpgw']->template->set_var('lang_cancel',lang('Cancel')); 
    39          
     39 
     40        $proxies=explode(',',$_SERVER['HTTP_X_FORWARDED_HOST']); 
     41        if ($GLOBALS['phpgw_info']['server']['use_https'] != 2) 
     42            { 
     43                $fwConstruct = 'http://'; 
     44            } 
     45        else 
     46            { 
     47                $fwConstruct = 'https://'; 
     48            } 
     49        $fwConstruct .= isset($_SERVER['HTTP_X_FORWARDED_HOST']) ? $proxies[0] : $_SERVER['HTTP_HOST']; 
     50        $GLOBALS['phpgw']->template->set_var('root',$fwConstruct); 
     51        $GLOBALS['phpgw']->template->set_var('offline_install_msg',lang("If you want to install a desktop shortcut for accessing the offline ExpressoMail please confirm it after pressing the Install offline button. </br> The application also can be accessed using the URL:" )); 
    4052        $GLOBALS['phpgw']->template->set_var('save_action',$GLOBALS['phpgw']->link('/'.'expressoMail1_2'.'/preferences.php')); 
    4153        $GLOBALS['phpgw']->template->set_var('th_bg',$GLOBALS['phpgw_info']["theme"][th_bg]); 
Note: See TracChangeset for help on using the changeset viewer.