[svn r10235] remove the modules in learning path (there are only chapters now)

skala
Eric Marguin 19 years ago
parent af999c00a4
commit 09e2ae176f
  1. 5
      main/newscorm/kevin_lp_add.php
  2. 6
      main/newscorm/learnpath.class.php

@ -155,11 +155,6 @@ echo '<table cellpadding="0" cellspacing="0" class="lp_build">';
//links for adding a module, chapter or step
echo '<div class="lp_actions">';
echo '<p class="lp_action">';
echo '<img align="left" alt="New module" src="img/lp_dokeos_module_add.png" title="New module" /><strong style="color:#999999">New module</strong>';
echo '</p>';
echo '<p class="lp_action">';
echo '<img align="left" alt="New chapter" src="img/lp_dokeos_chapter_add.png" title="New chapter" /><strong style="color:#999999">New chapter</strong>';

@ -2702,12 +2702,10 @@ class learnpath {
}
elseif($item['type']=='dokeos_module'){
elseif($item['type']=='dokeos_module' || $item['type']=='dokeos_chapter'){
$html .= "<img align='absbottom' width='13' height='13' src='img/lp_dokeos_module.png'>&nbsp;".$title;
}
elseif($item['type']=='dokeos_chapter'){
$html .= "<img align='absbottom' width='13' height='13' src='img/lp_dokeos_chapter.png'>&nbsp;".$title;
}
elseif($item['type']=='dir'){
$html .= $title;
}

Loading…
Cancel
Save