- Timestamp:
- 07/08/10 17:52:20 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoMail1_2/templates/default/config.tpl
r1466 r3018 1 1 <!-- BEGIN header --> 2 <form method="POST" action="{action_url}"> 2 <script type="text/javascript"> 3 function valida(pForm) 4 { 5 if((!document.getElementsByName('newsettings[expressoMail_Max_attachment_size]').item(0).value) || (!pForm.php_upload_limit.value)) 6 return ExpressoLivre.form(pForm); 7 8 if (parseInt(document.getElementsByName('newsettings[expressoMail_Max_attachment_size]').item(0).value) > parseInt(pForm.php_upload_limit.value)) 9 { 10 alert(pForm.valida_alert.value); 11 return false; 12 } 13 else 14 return ExpressoLivre.form(pForm); 15 } 16 </script> 17 <form method="POST" action="{action_url}" onsubmit="return valida( this );"> 18 <input type="hidden" name="php_upload_limit" value="{php_upload_limit}" /> 3 19 <table border="0" align="center"> 4 20 <tr bgcolor="{th_bg}"> … … 75 91 <td>{lang_Max_attachment_size}</td> 76 92 <td> 77 <input size="1" name="newsettings[expressoMail_Max_attachment_size]" value="{value_expressoMail_Max_attachment_size}"> Mb 93 <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> 94 <input type="hidden" name="valida_alert" value="{lang_Value_exceeds_the_PHP_upload_limit_for_this_server}" /> 78 95 </td> 79 96 </tr>
Note: See TracChangeset
for help on using the changeset viewer.