Documentation on file sizes

This commit is contained in:
martin
2002-09-01 14:31:14 +00:00
parent f144c3054a
commit 088a2b71fb
2 changed files with 5 additions and 3 deletions
+5 -2
View File
@@ -48,8 +48,11 @@ if (isadmin()) {
<td><P><? print_string("newpicture") ?>:</td>
<td>
<INPUT type="hidden" name="MAX_FILE_SIZE" value="4000000">
<input type="file" name="imagefile" size=40> ( .jpg / .png ) <? helpbutton("picture", get_string("helppicture") ) ?>
<? formerr($err["imagefile"]) ?>
<input type="file" name="imagefile" size=40>
<? helpbutton("picture", get_string("helppicture"));
print_string("maxsize", "", display_size(get_max_upload_file_size()));
formerr($err["imagefile"]);
?>
</td>
</tr>
<tr valign=top>
-1
View File
@@ -43,7 +43,6 @@
$user = $usernew;
} else {
$timenow = time();
if ($filename = valid_uploaded_file($imagefile)) {