|
@@ 6050-6057 (lines=8) @@
|
| 6047 |
|
} |
| 6048 |
|
} else { |
| 6049 |
|
if ($course_info['visibility'] != COURSE_VISIBILITY_CLOSED) { |
| 6050 |
|
if ($loadDirs) { |
| 6051 |
|
$params['right_actions'] .= '<a id="document_preview_'.$course_info['real_id'].'_0" class="document_preview" href="javascript:void(0);">'.Display::return_icon('folder.png', get_lang('Documents'), array('align' => 'absmiddle'),ICON_SIZE_SMALL).'</a>'; |
| 6052 |
|
$params['right_actions'] .= Display::div('', array('id' => 'document_result_'.$course_info['real_id'].'_0', 'class'=>'document_preview_container')); |
| 6053 |
|
} else { |
| 6054 |
|
if ($course_info['status'] == COURSEMANAGER) { |
| 6055 |
|
$params['right_actions'].= '<a class="btn btn-default btn-sm" title="'.get_lang('Edit').'" href="'.api_get_path(WEB_CODE_PATH).'course_info/infocours.php?cidReq='.$course['code'].'">'.Display::returnFontAwesomeIcon('pencil').'</a>'; |
| 6056 |
|
} |
| 6057 |
|
} |
| 6058 |
|
} |
| 6059 |
|
} |
| 6060 |
|
|
|
@@ 6202-6213 (lines=12) @@
|
| 6199 |
|
if ($course_info['status'] == COURSEMANAGER) { |
| 6200 |
|
//echo Display::return_icon('teachers.gif', get_lang('Status').': '.get_lang('Teacher'), array('style'=>'width: 11px; height: 11px;')); |
| 6201 |
|
} |
| 6202 |
|
} else { |
| 6203 |
|
if ($course_info['visibility'] != COURSE_VISIBILITY_CLOSED) { |
| 6204 |
|
if ($load_dirs) { |
| 6205 |
|
$params['right_actions'] .= '<a id="document_preview_'.$course_info['real_id'].'_0" class="document_preview" href="javascript:void(0);">'.Display::return_icon('folder.png', get_lang('Documents'), array('align' => 'absmiddle'),ICON_SIZE_SMALL).'</a>'; |
| 6206 |
|
$params['right_actions'] .= Display::div('', array('id' => 'document_result_'.$course_info['real_id'].'_0', 'class'=>'document_preview_container')); |
| 6207 |
|
} else { |
| 6208 |
|
if ($course_info['status'] == COURSEMANAGER) { |
| 6209 |
|
$params['right_actions'].= '<a href="'.api_get_path(WEB_CODE_PATH).'course_info/infocours.php?cidReq='.$course['code'].'">'.Display::return_icon('edit.png', get_lang('Edit'), array('align' => 'absmiddle'),ICON_SIZE_SMALL).'</a>'; |
| 6210 |
|
} |
| 6211 |
|
} |
| 6212 |
|
} |
| 6213 |
|
} |
| 6214 |
|
|
| 6215 |
|
$course_title_url = ''; |
| 6216 |
|
if ($course_info['visibility'] != COURSE_VISIBILITY_CLOSED || $course['status'] == COURSEMANAGER) { |