From 9a4caae693fc893ee6b49be14149f9c40802c06b Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Tue, 14 Aug 2018 10:24:16 +0200 Subject: [PATCH] Minor - fix after merge 1.11.x --- main/lp/lp_view.php | 6 ++++++ main/template/rainbow/learnpath/view.tpl | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/main/lp/lp_view.php b/main/lp/lp_view.php index 95bb07e833..f84260926a 100755 --- a/main/lp/lp_view.php +++ b/main/lp/lp_view.php @@ -562,6 +562,8 @@ if ($gamificationMode == 1) { $template->assign('lp_author', $lp->get_author()); $template->assign('lp_mode', $lp->mode); $template->assign('lp_title_scorm', $lp->name); +// ofaj +$template->assign('title_course', $lp->course_info['title']); if (api_get_configuration_value('lp_view_accordion') === true && $lpType == 1) { $template->assign('data_panel', $lp->getParentToc($get_toc_list)); } else { @@ -580,6 +582,10 @@ $template->assign( ) ); +// Ofaj +$template->assign('lp_id', $lp->lp_id); +$template->assign('lp_current_item_id', $lp->get_current_item_id()); + $view = $template->get_template('learnpath/view.tpl'); $content = $template->fetch($view); diff --git a/main/template/rainbow/learnpath/view.tpl b/main/template/rainbow/learnpath/view.tpl index fc80fd4312..13d44df8be 100644 --- a/main/template/rainbow/learnpath/view.tpl +++ b/main/template/rainbow/learnpath/view.tpl @@ -9,7 +9,7 @@
-

{{ lp_title_scorm }}

+

{{ title_course }}

{% if show_audio_player %}
{{ media_player }}