@ -493,6 +493,7 @@ class PDF
api_get_path(SYS_CODE_PATH).'img/',
$document_html
);
$document_html = str_replace(api_get_path(WEB_ARCHIVE_PATH), api_get_path(SYS_ARCHIVE_PATH), $document_html);
//replace relative path by absolute path for resources
//$document_html= str_replace('src="/chamilo/main/default_course_document/', 'temp_template_path', $document_html);// before save src templates not apply
@ -368,7 +368,7 @@ foreach ($categories as $item) {
}
if ($is_allowed_to_edit) {
$dsp_progress = '<center>'.$progress.'</center>';
$dsp_progress = '<center>'.$progress.'%</center>';
} else {
$dsp_progress = '';
if (!api_is_invitee()) {