Code Duplication    Length = 4-4 lines in 2 locations

main/newscorm/learnpath.class.php 2 locations

@@ 6317-6320 (lines=4) @@
6314
                        $return .= $this->display_item_small_form($row['item_type'], get_lang('EditCurrentModule') . ' :', $row);
6315
                    }
6316
                    break;
6317
                case TOOL_QUIZ :
6318
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6319
                    $return .= $this->display_quiz_form('edit', $item_id, $row);
6320
                    break;
6321
                case TOOL_HOTPOTATOES :
6322
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6323
                    $return .= $this->display_hotpotatoes_form('edit', $item_id, $row);
@@ 8379-8382 (lines=4) @@
8376
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8377
                    $return .= $this->display_link_form('move', $item_id, $row);
8378
                    break;
8379
                case TOOL_QUIZ :
8380
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8381
                    $return .= $this->display_quiz_form('move', $item_id, $row);
8382
                    break;
8383
                case TOOL_STUDENTPUBLICATION :
8384
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8385
                    $return .= $this->display_student_publication_form('move', $item_id, $row);