Changeset 6882 for trunk/prototype


Ignore:
Timestamp:
07/26/12 11:49:17 (12 years ago)
Author:
marcosw
Message:

Ticket #2897 - Realizado backport da funcionalidade Responder a

Location:
trunk/prototype
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/mail/templates/new_message.ejs

    r6650 r6882  
    3838                }        
    3939                %> 
     40                <button class="button small reply-to-button"><%= get_lang("Reply to") %></button> 
    4041                <button class="button small rich-button"><%= (preferences.plain_text_editor == 1 ? get_lang("Rich Text") : get_lang("Simple Text")) %></button> 
    4142        </div> 
     
    9394                                </td> 
    9495                        </tr> 
     96            <tr class="reply-to-tr" style="display:none;"> 
     97                <td class="field" style="width: 6%;"> 
     98                    <%= get_lang("Reply to") %>: 
     99                </td> 
     100                <td class="value" style="width: 100%;"> 
     101                    <div class="email-area ui-corner-all"> 
     102                        <input class="new-message-input reply-to email-text" name="input_aux_reply_to" type="text" value="" autocomplete="off"/>     
     103                    </div> 
     104                    <textarea class="new-message-input reply-to" name="input_reply_to" style="width:99%; resize: none;display : none;"></textarea> 
     105                </td> 
     106            </tr> 
    95107                        <tr class="subject-tr"> 
    96108                                <td class="field"> 
  • trunk/prototype/services/ImapServiceAdapter.php

    r6700 r6882  
    603603                                */ 
    604604                                $mailService->addHeaderField('Message-Id', UUID::generate( UUID::UUID_RANDOM, UUID::FMT_STRING ) . '@Draft'); 
    605  
     605                $mailService->addHeaderField('Reply-To', mb_convert_encoding(($data['input_reply_to']), 'ISO-8859-1', 'UTF-8,ISO-8859-1')); 
    606606                                $mailService->addTo(mb_convert_encoding(($data['input_to']), 'ISO-8859-1', 'UTF-8,ISO-8859-1'));  
    607607                                $mailService->addCc( mb_convert_encoding(($data['input_cc']), 'ISO-8859-1', 'UTF-8,ISO-8859-1'));  
Note: See TracChangeset for help on using the changeset viewer.