|
|
|
@ -2747,7 +2747,7 @@ class CourseManager { |
|
|
|
|
echo '<div style="float:right;">'; |
|
|
|
|
|
|
|
|
|
if ($load_dirs) { |
|
|
|
|
echo '<a id="document_preview_'.$course['id'].'_0" class="document_preview" href="javascript:void();">'.Display::return_icon('folder.png', get_lang('Documents'), array('align' => 'absmiddle'),22).'</a>'; |
|
|
|
|
echo '<a id="document_preview_'.$course['id'].'_0" class="document_preview" href="javascript:void(0);">'.Display::return_icon('folder.png', get_lang('Documents'), array('align' => 'absmiddle'),22).'</a>'; |
|
|
|
|
echo '<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'),22).'</a>'; |
|
|
|
|
echo Display::div('', array('id' => 'document_result_'.$course['id'].'_0', 'class'=>'document_preview_container')); |
|
|
|
|
} else { |
|
|
|
@ -2761,7 +2761,7 @@ class CourseManager { |
|
|
|
|
} else { |
|
|
|
|
echo '<div style="float:right;">'; |
|
|
|
|
if ($load_dirs) { |
|
|
|
|
echo '<a id="document_preview_'.$course['id'].'_0" class="document_preview" href="javascript:void();">'.Display::return_icon('folder.png', get_lang('Documents'), array('align' => 'absmiddle'),22).'</a>'; |
|
|
|
|
echo '<a id="document_preview_'.$course['id'].'_0" class="document_preview" href="javascript:void(0);">'.Display::return_icon('folder.png', get_lang('Documents'), array('align' => 'absmiddle'),22).'</a>'; |
|
|
|
|
echo Display::div('', array('id' => 'document_result_'.$course['id'].'_0', 'class'=>'document_preview_container')); |
|
|
|
|
} |
|
|
|
|
echo '</div>'; |
|
|
|
@ -2905,7 +2905,7 @@ class CourseManager { |
|
|
|
|
echo '<div style="float:right;">'; |
|
|
|
|
|
|
|
|
|
if ($load_dirs) { |
|
|
|
|
echo '<a id="document_preview_'.$course['id'].'_0" class="document_preview" href="javascript:void();">'.Display::return_icon('folder.png', get_lang('Documents'), array('align' => 'absmiddle'),22).'</a>'; |
|
|
|
|
echo '<a id="document_preview_'.$course['id'].'_0" class="document_preview" href="javascript:void(0);">'.Display::return_icon('folder.png', get_lang('Documents'), array('align' => 'absmiddle'),22).'</a>'; |
|
|
|
|
echo '<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'),22).'</a>'; |
|
|
|
|
echo Display::div('', array('id' => 'document_result_'.$course['id'].'_0', 'class'=>'document_preview_container')); |
|
|
|
|
} else { |
|
|
|
@ -2919,7 +2919,7 @@ class CourseManager { |
|
|
|
|
} else { |
|
|
|
|
echo '<div style="float:right;">'; |
|
|
|
|
if ($load_dirs) { |
|
|
|
|
echo '<a id="document_preview_'.$course['id'].'_0" class="document_preview" href="javascript:void();">'.Display::return_icon('folder.png', get_lang('Documents'), array('align' => 'absmiddle'),22).'</a>'; |
|
|
|
|
echo '<a id="document_preview_'.$course['id'].'_0" class="document_preview" href="javascript:void(0);">'.Display::return_icon('folder.png', get_lang('Documents'), array('align' => 'absmiddle'),22).'</a>'; |
|
|
|
|
echo Display::div('', array('id' => 'document_result_'.$course['id'].'_0', 'class'=>'document_preview_container')); |
|
|
|
|
} |
|
|
|
|
echo '</div>'; |
|
|
|
@ -3150,7 +3150,7 @@ class CourseManager { |
|
|
|
|
|
|
|
|
|
if ($load_dirs) { |
|
|
|
|
$result .= '<div style="float:right;">'; |
|
|
|
|
$result .= '<a id="document_preview_'.$info['real_id'].'_'.$my_course['id_session'].'" class="document_preview" href="javascript:void();">'.Display::return_icon('folder.png', get_lang('Documents'), array('align' => 'absmiddle'),22).'</a>'; |
|
|
|
|
$result .= '<a id="document_preview_'.$info['real_id'].'_'.$my_course['id_session'].'" class="document_preview" href="javascript:void(0);">'.Display::return_icon('folder.png', get_lang('Documents'), array('align' => 'absmiddle'),22).'</a>'; |
|
|
|
|
$result .= Display::div('', array('id' => 'document_result_'.$info['real_id'].'_'.$my_course['id_session'], 'class'=>'document_preview_container')); |
|
|
|
|
$result .= '</div>'; |
|
|
|
|
} |
|
|
|
|