Browse Source

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

Angel Fernando Quiroz Campos 9 years ago
parent
commit
17728475ae
1 changed files with 2 additions and 0 deletions
  1. 2 0
      main/newscorm/lp_view.php

+ 2 - 0
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');