|
|
|
|
@ -4758,7 +4758,7 @@ class learnpath { |
|
|
|
|
|
|
|
|
|
//TODO: add a path filter |
|
|
|
|
if($iframe) |
|
|
|
|
$return .= '<iframe frameborder="0" src="' . api_get_path(WEB_COURSE_PATH) . $_course['path'] . '/document' . $row_doc['path'] . '" style="background:#FFFFFF; border:1px solid #CCCCCC; height:400px; width:100%;"></iframe>'; |
|
|
|
|
$return .= '<iframe frameborder="0" src="' . api_get_path(WEB_COURSE_PATH) . $_course['path'] . '/document' . $row_doc['path'] . '" style="background:#FFFFFF; border:1px solid #CCCCCC; height:460px; width:100%;"></iframe>'; |
|
|
|
|
else |
|
|
|
|
$return .= file_get_contents(api_get_path(SYS_COURSE_PATH) . $_course['path'] . '/document' . $row_doc['path']); |
|
|
|
|
|
|
|
|
|
|