Add lp id and current item id to lp view tpl - refs BT#9892 #TMI

1.10.x
Angel Fernando Quiroz Campos 10 years ago
parent 9bd03c19a1
commit 17728475ae
  1. 2
      main/newscorm/lp_view.php

@ -447,6 +447,8 @@ $template->assign(
'lp_html_toc',
$_SESSION['oLP']->get_html_toc($get_toc_list)
);
$template->assign('lp_id', $_SESSION['oLP']->lp_id);
$template->assign('lp_current_item_id', $_SESSION['oLP']->get_current_item_id());
$content = $template->fetch('default/learnpath/view.tpl');

Loading…
Cancel
Save