CC-5786: Quota Enforcement in the File Upload API

This commit is contained in:
drigato 2014-04-14 11:24:39 -04:00
parent 7fbd285dd0
commit 4add0f0b7b
4 changed files with 38 additions and 3 deletions

View file

@ -2,8 +2,15 @@
#plupload_files input[type="file"] {
font-size: 200px !important;
}
</style>
<form id="plupload_form">
</style>
<?php if ($this->quotaLimitReached) { ?>
<div class="errors quota-reached">
Disk quota exceeded. You cannot upload files until you <a href="http://www.sourcefabric.org/en/airtime" target="_blank">upgrade your storage</a>.
</div>
<?php
}
?>
<form id="plupload_form" <?php if ($this->quotaLimitReached) { ?> class="hidden" <?php } ?>>
<div id="plupload_files"></div>
</form>
<div id="plupload_error">