|
|
@ -89,16 +89,18 @@ if (get_setting('show_teacher_data')=='true') { |
|
|
|
if (isset($id_course) && $id_course!=-1) { |
|
|
|
if (isset($id_course) && $id_course!=-1) { |
|
|
|
echo '<span id="coursemanager">'; |
|
|
|
echo '<span id="coursemanager">'; |
|
|
|
$mail=CourseManager::get_emails_of_tutors_to_course($id_course); |
|
|
|
$mail=CourseManager::get_emails_of_tutors_to_course($id_course); |
|
|
|
if (count($mail)>1){ |
|
|
|
if (!empty($mail)) { |
|
|
|
$bar=' | '; |
|
|
|
if (count($mail)>1){ |
|
|
|
echo ' '.get_lang('Teachers').' : '; |
|
|
|
$bar=' | '; |
|
|
|
|
|
|
|
echo ' '.get_lang('Teachers').' : '; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
$bar=''; |
|
|
|
$bar=''; |
|
|
|
echo ' '.get_lang('Teacher').' : '; |
|
|
|
echo ' '.get_lang('Teacher').' : '; |
|
|
|
} |
|
|
|
} |
|
|
|
foreach ($mail as $value=>$key) { |
|
|
|
foreach ($mail as $value=>$key) { |
|
|
|
foreach ($key as $email=>$name){ |
|
|
|
foreach ($key as $email=>$name){ |
|
|
|
echo Display::encrypted_mailto_link($email,$name).$bar; |
|
|
|
echo Display::encrypted_mailto_link($email,$name).$bar; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
echo '</span>'; |
|
|
|
echo '</span>'; |
|
|
|