|
@@ 6084-6090 (lines=7) @@
|
| 6081 |
|
$params['right_actions'] = ''; |
| 6082 |
|
|
| 6083 |
|
if (api_is_platform_admin()) { |
| 6084 |
|
if ($loadDirs) { |
| 6085 |
|
$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>'; |
| 6086 |
|
$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>'; |
| 6087 |
|
$params['right_actions'] .= Display::div('', array('id' => 'document_result_'.$course_info['real_id'].'_0', 'class'=>'document_preview_container')); |
| 6088 |
|
} else { |
| 6089 |
|
$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>'; |
| 6090 |
|
} |
| 6091 |
|
|
| 6092 |
|
if ($course_info['status'] == COURSEMANAGER) { |
| 6093 |
|
//echo Display::return_icon('teachers.gif', get_lang('Status').': '.get_lang('Teacher'), array('style'=>'width: 11px; height: 11px;')); |
|
@@ 6238-6244 (lines=7) @@
|
| 6235 |
|
$params['right_actions'] = ''; |
| 6236 |
|
|
| 6237 |
|
if (api_is_platform_admin()) { |
| 6238 |
|
if ($load_dirs) { |
| 6239 |
|
$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>'; |
| 6240 |
|
$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>'; |
| 6241 |
|
$params['right_actions'] .= Display::div('', array('id' => 'document_result_'.$course_info['real_id'].'_0', 'class'=>'document_preview_container')); |
| 6242 |
|
} else { |
| 6243 |
|
$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>'; |
| 6244 |
|
} |
| 6245 |
|
|
| 6246 |
|
if ($course_info['status'] == COURSEMANAGER) { |
| 6247 |
|
//echo Display::return_icon('teachers.gif', get_lang('Status').': '.get_lang('Teacher'), array('style'=>'width: 11px; height: 11px;')); |