|
@@ 6147-6154 (lines=8) @@
|
| 6144 |
|
} |
| 6145 |
|
} else { |
| 6146 |
|
if ($course_info['visibility'] != COURSE_VISIBILITY_CLOSED) { |
| 6147 |
|
if ($loadDirs) { |
| 6148 |
|
$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>'; |
| 6149 |
|
$params['right_actions'] .= Display::div('', array('id' => 'document_result_'.$course_info['real_id'].'_0', 'class'=>'document_preview_container')); |
| 6150 |
|
} else { |
| 6151 |
|
if ($course_info['status'] == COURSEMANAGER) { |
| 6152 |
|
$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>'; |
| 6153 |
|
} |
| 6154 |
|
} |
| 6155 |
|
} |
| 6156 |
|
} |
| 6157 |
|
|
|
@@ 6299-6310 (lines=12) @@
|
| 6296 |
|
if ($course_info['status'] == COURSEMANAGER) { |
| 6297 |
|
//echo Display::return_icon('teachers.gif', get_lang('Status').': '.get_lang('Teacher'), array('style'=>'width: 11px; height: 11px;')); |
| 6298 |
|
} |
| 6299 |
|
} else { |
| 6300 |
|
if ($course_info['visibility'] != COURSE_VISIBILITY_CLOSED) { |
| 6301 |
|
if ($load_dirs) { |
| 6302 |
|
$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>'; |
| 6303 |
|
$params['right_actions'] .= Display::div('', array('id' => 'document_result_'.$course_info['real_id'].'_0', 'class'=>'document_preview_container')); |
| 6304 |
|
} else { |
| 6305 |
|
if ($course_info['status'] == COURSEMANAGER) { |
| 6306 |
|
$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>'; |
| 6307 |
|
} |
| 6308 |
|
} |
| 6309 |
|
} |
| 6310 |
|
} |
| 6311 |
|
|
| 6312 |
|
$course_title_url = ''; |
| 6313 |
|
if ($course_info['visibility'] != COURSE_VISIBILITY_CLOSED || $course['status'] == COURSEMANAGER) { |