Changeset 2866 for trunk/expressoMail1_2/templates/default
- Timestamp:
- 05/26/10 17:39:06 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/templates/default/config.tpl
r2802 r2866 1 1 <!-- BEGIN header --> 2 <form method="POST" action="{action_url}" onsubmit="return ExpressoLivre.form( this );"> 2 <script> 3 function valida(pForm) 4 { 5 if (document.getElementsByName('newsettings[expressoMail_Max_attachment_size]').item(0).value > pForm.php_upload_limit.value) 6 { 7 alert(pForm.valida_alert.value); 8 return false; 9 } 10 else 11 return ExpressoLivre.form(pForm); 12 } 13 </script> 14 <form method="POST" action="{action_url}" onsubmit="return valida( this );"> 15 <input type="hidden" name="php_upload_limit" value="{php_upload_limit}" /> 3 16 <table border="0" align="center"> 4 17 <tr bgcolor="{th_bg}"> … … 66 79 <td>{lang_Max_attachment_size}</td> 67 80 <td> 68 <input size="1" name="newsettings[expressoMail_Max_attachment_size]" value="{value_expressoMail_Max_attachment_size}"> Mb 81 <input size="1" name="newsettings[expressoMail_Max_attachment_size]" value="{value_expressoMail_Max_attachment_size}"> Mb<span style='position:relative; left:20px;'>Max: {php_upload_limit}Mb.</span> 82 <input type="hidden" name="valida_alert" value="{lang_Value_exceeds_the_PHP_upload_limit_for_this_server}" /> 69 83 </td> 70 84 </tr>
Note: See TracChangeset
for help on using the changeset viewer.