Code Duplication    Length = 4-4 lines in 2 locations

main/newscorm/learnpath.class.php 2 locations

@@ 6342-6345 (lines=4) @@
6339
                        $return .= $this->display_item_small_form($row['item_type'], get_lang('EditCurrentModule') . ' :', $row);
6340
                    }
6341
                    break;
6342
                case TOOL_QUIZ :
6343
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6344
                    $return .= $this->display_quiz_form('edit', $item_id, $row);
6345
                    break;
6346
                case TOOL_HOTPOTATOES :
6347
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6348
                    $return .= $this->display_hotpotatoes_form('edit', $item_id, $row);
@@ 8465-8468 (lines=4) @@
8462
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8463
                    $return .= $this->display_link_form('move', $item_id, $row);
8464
                    break;
8465
                case TOOL_QUIZ :
8466
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8467
                    $return .= $this->display_quiz_form('move', $item_id, $row);
8468
                    break;
8469
                case TOOL_STUDENTPUBLICATION :
8470
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8471
                    $return .= $this->display_student_publication_form('move', $item_id, $row);