diff --git a/main/document/upload.php b/main/document/upload.php index 4e02ef02f7..43989cdfad 100755 --- a/main/document/upload.php +++ b/main/document/upload.php @@ -502,6 +502,7 @@ if (!$is_certificate_mode) { $form = new FormValidator('upload', 'POST', api_get_self(), '', 'enctype="multipart/form-data"'); $form->addElement('hidden', 'curdirpath', $path); $form->addElement('file', 'user_upload', get_lang('File'), 'id="user_upload" size="45"'); +$form->addElement('html', '
 
'.get_lang('MaxFileSize').': '.ini_get('upload_max_filesize').'
'.get_lang('DocumentQuota').': '.(round(DocumentManager::get_course_quota()/1000000)-round(documents_total_space($_course)/1000000)).' M
'); if (api_get_setting('use_document_title') == 'true') { $form->addElement('text', 'title', get_lang('Title'), array('size' => '20', 'style' => 'width:300px', 'id' => 'title_file'));