Ignore:
Timestamp:
03/24/11 15:36:48 (13 years ago)
Author:
thiagoaos
Message:

Ticket #1679 - Corrigido ação do botão remover msg no mobile.

File:
1 edited

Legend:

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

    r3829 r3907  
    229229                        // Mostra o corpo do e-mail 
    230230                        $this->template->set_var('body', strip_tags($msg['body'], $this->allowed_tags)); // Usa a função strip_tags() para filtrar 
    231                          
     231 
    232232                        $operations = array(); 
    233                          
     233 
    234234                        if($msg["Draft"] === "X") { 
    235235                                $operations["edit_draft"]["link"] = "index.php?menuaction=mobile.ui_mobilemail.new_msg&msg_number=$msg_number&msg_folder=$msg_folder&type=use_draft"; 
     
    245245                                $operations["reply_all"]["lang"] = lang("Reply to all"); 
    246246                        } 
    247                          
     247 
    248248                        $operations["delete"]["link"] = "index.php?menuaction=mobile.ui_mobilemail.confirm_delete_msg&msg_number=$msg_number&msg_folder=$msg_folder"; 
    249                         $operations["delete"]["lang"] = lang("Delete");                                  
    250                          
     249                        $operations["delete"]["lang"] = lang("Delete"); 
     250 
    251251                        foreach($operations as $index=>$operation) { 
    252252                                $this->template->set_var('operation_link', $operation["link"]); 
    253253                                $this->template->set_var('operation_id', $index); 
    254                                 $this->template->set_var('lang_operation', $operation["lang"]);  
    255                                 $this->template->parse('operation_box','operation_block', true);                                 
    256                         } 
    257                          
     254                                $this->template->set_var('lang_operation', $operation["lang"]); 
     255                                $this->template->parse('operation_box','operation_block', true); 
     256                        } 
     257 
    258258                        if (!empty($msg['attachments'])) 
    259259                        { 
     
    268268                                        } 
    269269                                } 
    270                                  
     270 
    271271                                $this->template->parse('attachment_alert_box','attachment_alert_block', true); 
    272272                                $this->template->set_var('attachment_message', $attachs); 
Note: See TracChangeset for help on using the changeset viewer.