Code Duplication    Length = 4-4 lines in 2 locations

main/newscorm/learnpath.class.php 2 locations

@@ 6345-6348 (lines=4) @@
6342
                        $return .= $this->display_item_small_form($row['item_type'], get_lang('EditCurrentModule') . ' :', $row);
6343
                    }
6344
                    break;
6345
                case TOOL_QUIZ :
6346
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6347
                    $return .= $this->display_quiz_form('edit', $item_id, $row);
6348
                    break;
6349
                case TOOL_HOTPOTATOES :
6350
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6351
                    $return .= $this->display_hotpotatoes_form('edit', $item_id, $row);
@@ 8411-8414 (lines=4) @@
8408
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8409
                    $return .= $this->display_link_form('move', $item_id, $row);
8410
                    break;
8411
                case TOOL_QUIZ :
8412
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8413
                    $return .= $this->display_quiz_form('move', $item_id, $row);
8414
                    break;
8415
                case TOOL_STUDENTPUBLICATION :
8416
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8417
                    $return .= $this->display_student_publication_form('move', $item_id, $row);