Commit d866026a authored by Leigh Stoller's avatar Leigh Stoller

Minor addition to previous revision; change comment from 50 to 500.

parent e3783cd3
...@@ -91,7 +91,7 @@ function CHECKFORM(&$formfields, $projlist) ...@@ -91,7 +91,7 @@ function CHECKFORM(&$formfields, $projlist)
$formfields[exp_nsfile] = ""; $formfields[exp_nsfile] = "";
if (isset($_FILES['exp_nsfile']) && $_FILES['exp_nsfile']['size'] != 0) { if (isset($_FILES['exp_nsfile']) && $_FILES['exp_nsfile']['size'] != 0) {
if ($_FILES['exp_nsfile']['size'] > (1024 * 128)) { if ($_FILES['exp_nsfile']['size'] > (1024 * 500)) {
$errors["Local NS File"] = "Too big!"; $errors["Local NS File"] = "Too big!";
} }
elseif ($_FILES['exp_nsfile']['name'] == "") { elseif ($_FILES['exp_nsfile']['name'] == "") {
...@@ -375,7 +375,7 @@ function SPITFORM($formfields, $errors) ...@@ -375,7 +375,7 @@ function SPITFORM($formfields, $errors)
<td><table cellspacing=0 cellpadding=0 border=0> <td><table cellspacing=0 cellpadding=0 border=0>
<tr> <tr>
<td class='pad4'>Upload<br> <td class='pad4'>Upload<br>
<font size='-1'>(50k&nbsp;max)</font></td> <font size='-1'>(500k&nbsp;max)</font></td>
<td class='pad4'> <td class='pad4'>
<input type=hidden name=MAX_FILE_SIZE value=512000> <input type=hidden name=MAX_FILE_SIZE value=512000>
<input type=file <input type=file
......
...@@ -39,7 +39,7 @@ echo "<form enctype=\"multipart/form-data\" ...@@ -39,7 +39,7 @@ echo "<form enctype=\"multipart/form-data\"
echo "<tr> echo "<tr>
<td rowspan>*Your NS file: &nbsp</td> <td rowspan>*Your NS file: &nbsp</td>
<td rowspan><center>Upload (50K max)<br> <td rowspan><center>Upload (500K max)<br>
<br> <br>
Or<br> Or<br>
<br> <br>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment