source: trunk/expressoMail1_2/offline_preferences.php @ 2360

Revision 2360, 3.3 KB checked in by amuller, 14 years ago (diff)

Ticket #1008 - Adicionando informações sobre licenças

  • Property svn:executable set to *
Line 
1<?php
2
3/***************************************************************************
4        * Expresso Livre                                                           *
5        * http://www.expressolivre.org                                             *
6        * --------------------------------------------                             *
7        *  This program is free software; you can redistribute it and/or modify it *
8        *  under the terms of the GNU General Public License as published by the   *
9        *  Free Software Foundation; either version 2 of the License, or (at your  *
10        *  option) any later version.                                              *
11        \**************************************************************************/
12        /**************************************************************************/
13        ini_set("display_errors","1");
14        $GLOBALS['phpgw_info']['flags'] = array(
15                'currentapp' => 'expressoMail1_2',
16                'noheader'   => True,
17                'nonavbar'   => True,
18                'enable_nextmatchs_class' => True
19        );
20
21       
22        require_once('../header.inc.php');
23       
24       
25        $GLOBALS['phpgw']->common->phpgw_header();
26        print parse_navbar();
27
28        $GLOBALS['phpgw']->template->set_file(array(
29                'expressoMail_prefs' => 'offline_preferences.tpl'
30        ));
31
32        $GLOBALS['phpgw']->template->set_var('url_offline','offline.php');
33        $GLOBALS['phpgw']->template->set_var('url_icon','templates/default/images/offline.png');
34        $GLOBALS['phpgw']->template->set_var('user_uid',$GLOBALS['phpgw_info']['user']['account_id']);
35        $GLOBALS['phpgw']->template->set_var('user_login',$GLOBALS['phpgw_info']['user']['account_lid']);
36        $GLOBALS['phpgw']->template->set_var('lang_install_offline',lang('Install Offline'));
37        $GLOBALS['phpgw']->template->set_var('lang_pass_offline',lang('Offline Pass'));
38        $GLOBALS['phpgw']->template->set_var('lang_expresso_offline',lang('Expresso Offline'));
39        $GLOBALS['phpgw']->template->set_var('lang_uninstall_offline',lang('Uninstall Offline'));
40        $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?'));
41        $GLOBALS['phpgw']->template->set_var('lang_offline_installed',lang('Offline success installed'));
42        $GLOBALS['phpgw']->template->set_var('lang_offline_uninstalled',lang('Offline success uninstalled'));
43        $GLOBALS['phpgw']->template->set_var('lang_only_spaces_not_allowed',lang('The password cant have only spaces'));
44        $GLOBALS['phpgw']->template->set_var('go_back','../preferences/');
45
46        $GLOBALS['phpgw']->template->set_var('value_save_in_folder',$o_folders);
47        $GLOBALS['phpgw']->template->set_var('lang_save',lang('Save'));
48        $GLOBALS['phpgw']->template->set_var('lang_cancel',lang('Cancel'));
49       
50        $GLOBALS['phpgw']->template->set_var('save_action',$GLOBALS['phpgw']->link('/'.'expressoMail1_2'.'/preferences.php'));
51        $GLOBALS['phpgw']->template->set_var('th_bg',$GLOBALS['phpgw_info']["theme"][th_bg]);
52
53        $tr_color = $GLOBALS['phpgw']->nextmatchs->alternate_row_color($tr_color);
54        $GLOBALS['phpgw']->template->set_var('tr_color1',$GLOBALS['phpgw_info']['theme']['row_on']);
55        $GLOBALS['phpgw']->template->set_var('tr_color2',$GLOBALS['phpgw_info']['theme']['row_off']);
56
57        $GLOBALS['phpgw']->template->parse('out','expressoMail_prefs',True);
58        $GLOBALS['phpgw']->template->p('out');
59        // Com o Módulo do IM habilitado, ocorre um erro no IE
60        //$GLOBALS['phpgw']->common->phpgw_footer();
61?>
Note: See TracBrowser for help on using the repository browser.