Merge pull request #386 from radiorabe/fix/384-hard-upload-limit

Use max upload size from php config in frontend plupload js
This commit is contained in:
Robb 2018-02-10 16:30:05 -05:00 committed by GitHub
commit 8d1da3bea5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 62 additions and 1 deletions

View file

@ -3,6 +3,9 @@
font-size: 200px !important;
}
</style>
<script type="text/javascript">
var LIBRETIME_PLUPLOAD_MAX_FILE_SIZE = "<?php echo $this->uploadMaxSize; ?>";
</script>
<?php $upgradeLink = Application_Common_OsPath::getBaseDir() . "billing/upgrade"; ?>
<?php if ($this->quotaLimitReached) { ?>
<div class="errors quota-reached">