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

Angel Fernando Quiroz Campos 10 years ago
parent ebdb913f22
commit 4ce195d9d7
  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());
$templateFolder = api_get_configuration_value('default_template');
if(!empty($templateFolder)){

Loading…
Cancel
Save