Ignore:
Timestamp:
01/18/11 15:38:45 (13 years ago)
Author:
eduardoalex
Message:

Ticket #1409 - Corrigido o layout da tela de visualizar email do expresso mini

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/mobile/inc/class.ui_mobilemail.inc.php

    r3695 r3697  
    207207                        $this->template->set_file(array('view_msg' => 'view_msg.tpl')); 
    208208                        $this->template->set_block('view_msg', 'page'); 
    209                         $this->template->set_block('view_msg', 'begin_anchor'); 
    210                         $this->template->set_block('view_msg', 'end_anchor'); 
    211209                        $this->template->set_block('view_msg', 'operation_block'); 
     210                        $this->template->set_block('view_msg', 'attachment_alert_block'); 
    212211                        $this->template->set_var('lang_back', lang("back")); 
    213212                        $this->template->set_var('lang_reading_message', lang("Reading Message")); 
     213                        $this->template->set_var('theme', $GLOBALS['phpgw_info']['server']['template_set']); 
    214214 
    215215                        // Define o cabeçalho do e-mail 
    216216                        $this->template->set_var('lang_from', lang("From")); 
    217217                        $this->template->set_var('from', $msg['from']['full']); 
     218                        $this->template->set_var('lang_to', lang("To")); 
     219                        $this->template->set_var('to', $msg['toaddress2']); 
    218220                        $this->template->set_var('lang_cc', lang("cc")); 
    219221                        $this->template->set_var('cc', $msg['cc']); 
     
    226228                        // Mostra o corpo do e-mail 
    227229                        $this->template->set_var('body', strip_tags($msg['body'], $this->allowed_tags)); // Usa a função strip_tags() para filtrar 
    228                                 // as tags que estão presentes no corpo do e-mail. 
    229                         $this->template->set_var('lang_link', lang("Return")); 
    230                         $this->template->set_var('return_link', "index.php?menuaction=mobile.ui_mobilemail.mail_list"); 
    231230                         
    232231                        $operations = array(); 
     
    268267                                        } 
    269268                                } 
     269                                 
     270                                $this->template->parse('attachment_alert_box','attachment_alert_block', true); 
    270271                                $this->template->set_var('attachment_message', $attachs); 
    271272                        } 
     
    275276                        } 
    276277 
    277                         $this->template->parse('view_msg_t', 'end_anchor'); 
    278                         $this->template->parse('view_msg_t', 'begin_anchor'); 
    279                          
    280278                        $GLOBALS['phpgw_info']['mobiletemplate']->set_error_msg($params["error_message"]); 
    281279                        $GLOBALS['phpgw_info']['mobiletemplate']->set_content($this->template->fp('out', 'page')); 
Note: See TracChangeset for help on using the changeset viewer.