From bcd1c26fcaafd821f390ad5ecefdebccac6110ab Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Thu, 20 Sep 2007 01:00:00 +0200 Subject: [PATCH] [svn r13106] Added description of lp_item in the title attribute of the table of content divs --- main/newscorm/learnpath.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index 411e2b2631..c7b78ae86e 100644 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -2121,6 +2121,7 @@ class learnpath { 'status'=>$this->items[$item_id]->get_status(), 'level'=>$this->items[$item_id]->get_level(), 'type' =>$this->items[$item_id]->get_type(), + 'description'=>$this->items[$item_id]->get_description(), ); } if($this->debug>2){error_log('New LP - In learnpath::get_toc() - TOC array: '.print_r($toc,true),0);} @@ -2280,14 +2281,14 @@ class learnpath { if($item['type']!='dokeos_module' AND $item['type']!='dokeos_chapter'){ - $html .= '
' . + $html .= '
' . ''; } else{ - $html .= '
' . + $html .= '
' . ''; }