diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index cc1c93de9d..df68febf20 100644 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -6086,13 +6086,13 @@ class learnpath { reset($arrLP); } - $return .= "\t\t\t\t" . ''; + $return .= ''; $return .= ''; $return .= ''; $return .= ''; $return .= ''; $return .= ''; - $return .= "\t\t\t\t" . ''; $return .= ''; for ($i = 0; $i < count($arrLP); $i++) { @@ -6107,7 +6107,7 @@ class learnpath { } } - $return .= "\t\t\t\t" . ''; + $return .= ''; $return .= ''; $return .= ''; @@ -6136,27 +6136,6 @@ class learnpath { } } } - - //$return .= ''; - - //$return .= ''; - //$return .= '"; - //$return .= ''; - //$return .= ''; - //$return .= ''; } $return .= ''; @@ -6171,16 +6150,12 @@ class learnpath { if (is_numeric($extra_info)) { $return .= ''; - } - elseif (is_array($extra_info)) { + } elseif (is_array($extra_info)) { $return .= ''; } - $return .= ''; $return .= ''; - $return .= ''; - return $return; } @@ -7934,10 +7909,15 @@ class learnpath { $return .= '' . get_lang('NewExercise') . ''; $return .= ''; - // Display quizhotpotatoes. + // Display hotpotatoes while ($row_hot = Database :: fetch_array($res_hot)) { - $return .= '
  • '; - $return .= 'hp'; + $return .= '
  • '; + + $return .= ''; + $return .= Display::return_icon('move_everywhere.png', get_lang('Move'), array(), ICON_SIZE_TINY); + $return .= ' '; + + $return .= ''; $return .= '' . ((!empty ($row_hot['comment'])) ? $row_hot['comment'] : Security :: remove_XSS($row_hot['title'])) . ''; $return .= '
  • '; }