[1121] | 1 | <?php |
---|
| 2 | /**************************************************************************/ |
---|
| 3 | ini_set("display_errors","1"); |
---|
| 4 | $GLOBALS['phpgw_info']['flags'] = array( |
---|
| 5 | 'currentapp' => 'expressoMail1_2', |
---|
| 6 | 'noheader' => True, |
---|
| 7 | 'nonavbar' => True, |
---|
| 8 | 'enable_nextmatchs_class' => True |
---|
| 9 | ); |
---|
| 10 | |
---|
| 11 | |
---|
| 12 | require_once('../header.inc.php'); |
---|
| 13 | |
---|
| 14 | |
---|
| 15 | $GLOBALS['phpgw']->common->phpgw_header(); |
---|
| 16 | print parse_navbar(); |
---|
| 17 | |
---|
| 18 | $GLOBALS['phpgw']->template->set_file(array( |
---|
| 19 | 'expressoMail_prefs' => 'offline_preferences.tpl' |
---|
| 20 | )); |
---|
| 21 | |
---|
| 22 | $GLOBALS['phpgw']->template->set_var('url_offline','offline.php'); |
---|
| 23 | $GLOBALS['phpgw']->template->set_var('url_icon','templates/default/images/offline.png'); |
---|
| 24 | $GLOBALS['phpgw']->template->set_var('user_uid',$GLOBALS['phpgw_info']['user']['account_id']); |
---|
| 25 | $GLOBALS['phpgw']->template->set_var('user_login',$GLOBALS['phpgw_info']['user']['account_lid']); |
---|
| 26 | $GLOBALS['phpgw']->template->set_var('lang_install_offline',lang('Install Offline')); |
---|
| 27 | $GLOBALS['phpgw']->template->set_var('lang_pass_offline',lang('Offline Pass')); |
---|
| 28 | $GLOBALS['phpgw']->template->set_var('lang_expresso_offline',lang('Expresso Offline')); |
---|
| 29 | $GLOBALS['phpgw']->template->set_var('lang_uninstall_offline',lang('Uninstall Offline')); |
---|
| 30 | $GLOBALS['phpgw']->template->set_var('lang_gears_redirect',lang('To use local messages you have to install google gears. Would you like to be redirected to gears installation page?')); |
---|
| 31 | $GLOBALS['phpgw']->template->set_var('lang_offline_installed',lang('Offline success installed')); |
---|
| 32 | $GLOBALS['phpgw']->template->set_var('lang_offline_uninstalled',lang('Offline success uninstalled')); |
---|
| 33 | $GLOBALS['phpgw']->template->set_var('lang_only_spaces_not_allowed',lang('The password cant have only spaces')); |
---|
| 34 | $GLOBALS['phpgw']->template->set_var('go_back','../preferences/'); |
---|
| 35 | |
---|
| 36 | $GLOBALS['phpgw']->template->set_var('value_save_in_folder',$o_folders); |
---|
| 37 | $GLOBALS['phpgw']->template->set_var('lang_save',lang('Save')); |
---|
| 38 | $GLOBALS['phpgw']->template->set_var('lang_cancel',lang('Cancel')); |
---|
| 39 | |
---|
| 40 | $GLOBALS['phpgw']->template->set_var('save_action',$GLOBALS['phpgw']->link('/'.'expressoMail1_2'.'/preferences.php')); |
---|
| 41 | $GLOBALS['phpgw']->template->set_var('th_bg',$GLOBALS['phpgw_info']["theme"][th_bg]); |
---|
| 42 | |
---|
| 43 | $tr_color = $GLOBALS['phpgw']->nextmatchs->alternate_row_color($tr_color); |
---|
| 44 | $GLOBALS['phpgw']->template->set_var('tr_color1',$GLOBALS['phpgw_info']['theme']['row_on']); |
---|
| 45 | $GLOBALS['phpgw']->template->set_var('tr_color2',$GLOBALS['phpgw_info']['theme']['row_off']); |
---|
| 46 | |
---|
| 47 | $GLOBALS['phpgw']->template->parse('out','expressoMail_prefs',True); |
---|
| 48 | $GLOBALS['phpgw']->template->p('out'); |
---|
| 49 | // Com o Módulo do IM habilitado, ocorre um erro no IE |
---|
| 50 | //$GLOBALS['phpgw']->common->phpgw_footer(); |
---|
| 51 | ?> |
---|