Code Duplication    Length = 4-4 lines in 2 locations

main/newscorm/learnpath.class.php 2 locations

@@ 6322-6325 (lines=4) @@
6319
                        $return .= $this->display_item_small_form($row['item_type'], get_lang('EditCurrentModule') . ' :', $row);
6320
                    }
6321
                    break;
6322
                case TOOL_QUIZ :
6323
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6324
                    $return .= $this->display_quiz_form('edit', $item_id, $row);
6325
                    break;
6326
                case TOOL_HOTPOTATOES :
6327
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6328
                    $return .= $this->display_hotpotatoes_form('edit', $item_id, $row);
@@ 8387-8390 (lines=4) @@
8384
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8385
                    $return .= $this->display_link_form('move', $item_id, $row);
8386
                    break;
8387
                case TOOL_QUIZ :
8388
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8389
                    $return .= $this->display_quiz_form('move', $item_id, $row);
8390
                    break;
8391
                case TOOL_STUDENTPUBLICATION :
8392
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8393
                    $return .= $this->display_student_publication_form('move', $item_id, $row);