Minor - fix after merge 1.11.x

pull/3063/head
Julio Montoya 7 years ago
parent f4711a955a
commit 9a4caae693
  1. 6
      main/lp/lp_view.php
  2. 2
      main/template/rainbow/learnpath/view.tpl

@ -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);

@ -9,7 +9,7 @@
<div class="lp-view-zone-container">
<div id="scorm-info" class="scorm-header">
<div id="panel-scorm" class="panel-body">
<h1 class="title">{{ lp_title_scorm }}</h1>
<h1 class="title">{{ title_course }}</h1>
{% if show_audio_player %}
<div id="lp_media_file" class="audio-scorm">
{{ media_player }}

Loading…
Cancel
Save