Changeset 3609 for branches/2.2/mobile/templates/default
- Timestamp:
- 12/20/10 15:05:48 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/mobile/templates/default/new_msg.tpl
r3602 r3609 12 12 } 13 13 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 14 22 </script> 15 23 … … 18 26 </div> 19 27 20 <form method="POST" action="index.php?menuaction=mobile.ui_mobilemail.send_mail" id="mail_form">28 <form method="POST" action="index.php?menuaction=mobile.ui_mobilemail.send_mail" enctype="multipart/form-data" id="mail_form"> 21 29 <input type="hidden" id="reply_from" name="reply_from" value='{from}' /> 22 30 <input type="hidden" id="reply_msg_number" name="reply_msg_number" value='{msg_number}' /> … … 25 33 <input type="hidden" name="add_to" id="add_to" value='' /> 26 34 27 <div class="campos-correspondencia" >35 <div class="campos-correspondencia" id="div_campos"> 28 36 <p> 29 37 <strong><label>{lang_to}:</label></strong> … … 39 47 <strong><label>{lang_subject}:</label></strong> 40 48 <input id="input_subject" name="input_subject" value='{subject}' /> 41 <!-- <button name="anexo" title="Anexar" class="btn-contexto">{lang_attachment}</button> -->42 49 </p> 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 43 61 </div> 62 44 63 45 64 <div id="corpo_mensagem"> … … 58 77 </form> 59 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 -->
Note: See TracChangeset
for help on using the changeset viewer.