[3571] | 1 | <!-- BEGIN page --> |
---|
[3600] | 2 | |
---|
| 3 | <script type="text/javascript"> |
---|
| 4 | |
---|
| 5 | function mobile_add_contact(add_to) { |
---|
| 6 | var mail_form = document.getElementById('mail_form'); |
---|
| 7 | mail_form.action = "index.php?menuaction=mobile.ui_mobilemail.init_schedule"; |
---|
| 8 | |
---|
| 9 | document.getElementById('add_to').value = add_to; |
---|
| 10 | |
---|
| 11 | mail_form.submit(); |
---|
| 12 | } |
---|
| 13 | |
---|
[3609] | 14 | function add_file() { |
---|
| 15 | var divFiles = document.getElementById("div_campos"); |
---|
| 16 | var p = document.createElement("p"); |
---|
| 17 | p.innerHTML = "<strong><label> </label></strong> "+ |
---|
| 18 | "<input name=\"FILES[]\" type=\"file\">"; |
---|
| 19 | divFiles.appendChild(p); |
---|
| 20 | } |
---|
| 21 | |
---|
[3600] | 22 | </script> |
---|
| 23 | |
---|
[3571] | 24 | <div class="menu-contexto"> |
---|
| 25 | <span><a href="javascript:history.back()">{lang_back}</a></span> <span class="titulo-secao">{action_msg}</span> |
---|
| 26 | </div> |
---|
[518] | 27 | |
---|
[3609] | 28 | <form method="POST" action="index.php?menuaction=mobile.ui_mobilemail.send_mail" enctype="multipart/form-data" id="mail_form"> |
---|
[3571] | 29 | <input type="hidden" id="reply_from" name="reply_from" value='{from}' /> |
---|
| 30 | <input type="hidden" id="reply_msg_number" name="reply_msg_number" value='{msg_number}' /> |
---|
| 31 | <input type="hidden" id="folder" name="folder" value='{msg_folder}' /> |
---|
| 32 | <input type="hidden" name="type" value='{type}' /> |
---|
[3600] | 33 | <input type="hidden" name="add_to" id="add_to" value='' /> |
---|
[3571] | 34 | |
---|
[3609] | 35 | <div class="campos-correspondencia" id="div_campos"> |
---|
[3602] | 36 | <p> |
---|
| 37 | <strong><label>{lang_to}:</label></strong> |
---|
| 38 | <input id="input_to" name="input_to" value='{input_to}' "{read_only}" /> |
---|
| 39 | <button name="action" title="Ver agenda" class="btn-contexto" onclick="mobile_add_contact('to');">+</button> |
---|
| 40 | </p> |
---|
| 41 | <p> |
---|
| 42 | <strong><label>{lang_cc}:</label></strong> |
---|
| 43 | <input id="input_cc" name="input_cc" value='{input_cc}' "{read_only}" /> |
---|
| 44 | <button name="action" title="Ver agenda" class="btn-contexto" onclick="mobile_add_contact('cc');">+</button> |
---|
| 45 | </p> |
---|
| 46 | <p> |
---|
| 47 | <strong><label>{lang_subject}:</label></strong> |
---|
| 48 | <input id="input_subject" name="input_subject" value='{subject}' /> |
---|
| 49 | </p> |
---|
[3609] | 50 | <p style="display:{show_forward_attachment};"> |
---|
| 51 | <strong><label style="float:none;">{lang_forward_attachment}:</label></strong> |
---|
| 52 | </p> |
---|
| 53 | {forwarding_attachments} |
---|
| 54 | <p> |
---|
| 55 | <strong><label>{lang_attachment}:</label></strong> |
---|
| 56 | <input name="FILES[]" type="file"> |
---|
| 57 | <button name="action" type="button" class="btn-contexto" onclick="add_file();">+</button> |
---|
| 58 | </p> |
---|
| 59 | |
---|
| 60 | |
---|
[3571] | 61 | </div> |
---|
[3609] | 62 | |
---|
[3571] | 63 | |
---|
| 64 | <div id="corpo_mensagem"> |
---|
| 65 | <textarea id="body" wrap="virtual" name="body" cols="20" rows="10">{body_value}</textarea> |
---|
| 66 | <p><input type="checkbox" name="check_important" {check_important} />{lang_mark_as_important}</p> |
---|
| 67 | <p><input type="checkbox" name="check_read_confirmation" {check_read_confirmation} />{lang_read_confirmation}</p> |
---|
| 68 | <p><input type="checkbox" name="check_add_history" {check_add_history} />{lang_add_history}</p> |
---|
| 69 | </div> |
---|
| 70 | |
---|
| 71 | <div id="operacao_lista"> |
---|
| 72 | <a href="index.php?menuaction=mobile.ui_home.index"><button id="cancel" class="btn-generico" >{lang_cancel}</button></a> |
---|
| 73 | <button id="save_draft" class="btn-generico" onclick="document.getElementById('mail_form').action='index.php?menuaction=mobile.ui_mobilemail.save_draft';document.getElementById('mail_form').submit()" >{lang_save_draft}</button></a> |
---|
[3600] | 74 | <button name="action" id="reply_send" class="btn-generico" onclick="document.getElementById('mail_form').submit()">{lang_send}</button> |
---|
[3571] | 75 | </div> |
---|
[518] | 76 | |
---|
| 77 | </form> |
---|
[3609] | 78 | <!-- END page --> |
---|
| 79 | |
---|
| 80 | <!-- BEGIN forward_attach_block --> |
---|
| 81 | <p><input type="checkbox" name="forward_attachments[]" value="{value_forward_attach}" checked/>{label_forward_attach}</p> |
---|
| 82 | <!-- END forward_attach_block --> |
---|