Permalink
Browse files

Documentation on file sizes

  • Loading branch information...
1 parent f144c30 commit 088a2b71fbe1a89f5f3bae82ba9b54e8191c30fc martin committed Sep 1, 2002
Showing with 5 additions and 3 deletions.
  1. +5 −2 user/edit.html
  2. +0 −1 user/edit.php
View
@@ -48,8 +48,11 @@
<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>
View
@@ -43,7 +43,6 @@
$user = $usernew;
} else {
-
$timenow = time();
if ($filename = valid_uploaded_file($imagefile)) {

0 comments on commit 088a2b7

Please sign in to comment.