|
@@ -1757,6 +1757,9 @@ class IndexManager
|
|
|
}
|
|
|
|
|
|
$this->tpl->assign('session', $sessionParams);
|
|
|
+ $this->tpl->assign('show_tutor', (api_get_setting('show_session_coach') === 'true' ? true : false));
|
|
|
+ $this->tpl->assign('gamification_mode', $gameModeIsActive);
|
|
|
+ $this->tpl->assign('remove_session_url', api_get_configuration_value('remove_session_url'));
|
|
|
|
|
|
if ($viewGridCourses) {
|
|
|
$html_sessions .= $this->tpl->fetch(
|