|
|
@ -88,6 +88,7 @@ if (empty($docId)) { |
|
|
|
echo Display::page_subheader(get_lang('Documents')); |
|
|
|
echo Display::page_subheader(get_lang('Documents')); |
|
|
|
echo $documentTree; |
|
|
|
echo $documentTree; |
|
|
|
echo '<hr /><div class="clear"></div>'; |
|
|
|
echo '<hr /><div class="clear"></div>'; |
|
|
|
|
|
|
|
Display::display_footer(); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
$documentInfo = DocumentManager::get_document_data_by_id($docId, $courseInfo['code']); |
|
|
|
$documentInfo = DocumentManager::get_document_data_by_id($docId, $courseInfo['code']); |
|
|
|
$url = api_get_path(WEB_CODE_PATH).'work/add_document.php?id='.$workId.'&document_id='.$docId.'&'.api_get_cidreq(); |
|
|
|
$url = api_get_path(WEB_CODE_PATH).'work/add_document.php?id='.$workId.'&document_id='.$docId.'&'.api_get_cidreq(); |
|
|
@ -118,4 +119,5 @@ if (empty($docId)) { |
|
|
|
|
|
|
|
|
|
|
|
Display::display_header(null); |
|
|
|
Display::display_header(null); |
|
|
|
$form->display(); |
|
|
|
$form->display(); |
|
|
|
|
|
|
|
Display::display_footer(); |
|
|
|
} |
|
|
|
} |
|
|
|