Affiche la taille max autorisé pour l'upload d'un fichier

This commit is contained in:
Alan Garcia 2013-08-22 13:21:47 +00:00
parent b49d4a79a7
commit b8ae56cf0a
1 changed files with 2 additions and 2 deletions

View File

@ -182,10 +182,10 @@ if (isset($error) && $error) echo "<p class=\"error\">$error</p>";
<?php __("Send one file:"); ?><br />
<input class="int" name="userfile" type="file" />
<input type="hidden" name="MAX_FILE_SIZE" value="10000000" />
<input type="hidden" name="MAX_FILE_SIZE" value="10000000" /><?php ### WTF ???? ?>
<br />
<input type="submit" id="sendthisfile" class="ina" value="<?php __("Send this file"); ?>" />
<?php echo sprintf(_("Warning: max size: %s"),ini_get('upload_max_filesize')); ?>
</form>
</td>