[615] | 1 | <?php |
---|
| 2 | /**************************************************************************/ |
---|
| 3 | |
---|
| 4 | $GLOBALS['phpgw_info']['flags'] = array( |
---|
| 5 | 'currentapp' => 'expressoMail1_2', |
---|
| 6 | 'noheader' => True, |
---|
| 7 | 'nonavbar' => True, |
---|
| 8 | 'enable_nextmatchs_class' => True |
---|
| 9 | ); |
---|
| 10 | |
---|
| 11 | include('../header.inc.php'); |
---|
| 12 | include('inc/class.imap_functions.inc.php'); |
---|
| 13 | |
---|
| 14 | |
---|
| 15 | $GLOBALS['phpgw']->common->phpgw_header(); |
---|
| 16 | print parse_navbar(); |
---|
| 17 | |
---|
| 18 | $GLOBALS['phpgw']->template->set_file(array( |
---|
| 19 | 'expressoMail_import' => 'import.tpl' |
---|
| 20 | )); |
---|
| 21 | |
---|
| 22 | $GLOBALS['phpgw']->template->set_var('lang_import',lang('Import emails')); |
---|
| 23 | $GLOBALS['phpgw']->template->set_var('lang_file',lang('zip mails to import')); |
---|
| 24 | |
---|
| 25 | $GLOBALS['phpgw']->template->set_var('lang_save',lang('Save')); |
---|
| 26 | $GLOBALS['phpgw']->template->set_var('lang_cancel',lang('Cancel')); |
---|
| 27 | $GLOBALS['phpgw']->template->set_var('save_action',$GLOBALS['phpgw']->link('/index.php?menuaction=expressoMail1_2.imap_functions.import_msgs')); |
---|
| 28 | $GLOBALS['phpgw']->template->set_var('th_bg',$GLOBALS['phpgw_info']["theme"][th_bg]); |
---|
| 29 | |
---|
| 30 | $tr_color = $GLOBALS['phpgw']->nextmatchs->alternate_row_color($tr_color); |
---|
| 31 | $GLOBALS['phpgw']->template->set_var('tr_color1',$GLOBALS['phpgw_info']['theme']['row_on']); |
---|
| 32 | $GLOBALS['phpgw']->template->set_var('tr_color2',$GLOBALS['phpgw_info']['theme']['row_off']); |
---|
| 33 | |
---|
| 34 | $GLOBALS['phpgw']->template->parse('out','expressoMail_import',True); |
---|
| 35 | $GLOBALS['phpgw']->template->p('out'); |
---|
| 36 | $GLOBALS['phpgw']->common->phpgw_footer(); |
---|
| 37 | ?> |
---|