|
|
@ -2830,7 +2830,7 @@ class learnpath { |
|
|
|
// The anchor will let us center the TOC on the currently viewed item &^D |
|
|
|
// The anchor will let us center the TOC on the currently viewed item &^D |
|
|
|
if ($item['type'] != 'dokeos_module' && $item['type'] != 'dokeos_chapter') { |
|
|
|
if ($item['type'] != 'dokeos_module' && $item['type'] != 'dokeos_chapter') { |
|
|
|
$html .= '<div class="' . $style_item . '" style="padding-left: ' . ($item['level'] * 1.5) . 'em; padding-right:' . ($item['level'] / 2) . 'em" title="' . $item['description'] . '" >'; |
|
|
|
$html .= '<div class="' . $style_item . '" style="padding-left: ' . ($item['level'] * 1.5) . 'em; padding-right:' . ($item['level'] / 2) . 'em" title="' . $item['description'] . '" >'; |
|
|
|
$html .= '<a name="atoc_' . $item['id'] . '" />'; |
|
|
|
$html .= '<a name="atoc_' . $item['id'] . '" ></a>'; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
$html .= '<div class="' . $style_item . '" style="padding-left: ' . ($item['level'] * 2) . 'em; padding-right:' . ($item['level'] * 1.5) . 'em" title="' . $item['description'] . '" >'; |
|
|
|
$html .= '<div class="' . $style_item . '" style="padding-left: ' . ($item['level'] * 2) . 'em; padding-right:' . ($item['level'] * 1.5) . 'em" title="' . $item['description'] . '" >'; |
|
|
|
} |
|
|
|
} |
|
|
|