diff options
author | Pellaeon Lin <nfsmwlin@gmail.com> | 2013-12-08 23:17:35 +0800 |
---|---|---|
committer | Pellaeon Lin <nfsmwlin@gmail.com> | 2013-12-08 23:17:35 +0800 |
commit | 64bf0fa47fe4c623672cf86e831f66974e7f650c (patch) | |
tree | abbaaaa9ddf3f1d157be0d543ec65672b03c9cc5 /apps/files/templates | |
parent | fc607e6bce76e9e2f6f52421bdddece951f629cd (diff) | |
download | nextcloud-server-64bf0fa47fe4c623672cf86e831f66974e7f650c.tar.gz nextcloud-server-64bf0fa47fe4c623672cf86e831f66974e7f650c.zip |
Display different messages for uploadLimit and freeSpace
Diffstat (limited to 'apps/files/templates')
-rw-r--r-- | apps/files/templates/index.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php index 00ec109621f..3d8a7f78e41 100644 --- a/apps/files/templates/index.php +++ b/apps/files/templates/index.php @@ -15,9 +15,10 @@ <div id="upload" class="button" title="<?php p($l->t('Upload') . ' max. '.$_['uploadMaxHumanFilesize']) ?>"> <?php if($_['uploadMaxFilesize'] >= 0):?> - <input type="hidden" name="MAX_FILE_SIZE" id="max_upload" - value="<?php p($_['uploadMaxFilesize']) ?>"> + <input type="hidden" name="MAX_FILE_SIZE" value="<?php p($_['uploadMaxFilesize']) ?>"> <?php endif;?> + <input type="hidden" id="upload_limit" value="<?php p($_['uploadLimit']) ?>"> + <input type="hidden" id="free_space" value="<?php p($_['freeSpace']) ?>"> <input type="hidden" class="max_human_file_size" value="(max <?php p($_['uploadMaxHumanFilesize']); ?>)"> <input type="hidden" name="dir" value="<?php p($_['dir']) ?>" id="dir"> |