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);
@@ 8467-8470 (lines=4) @@
8464
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8465
                    $return .= $this->display_link_form('move', $item_id, $row);
8466
                    break;
8467
                case TOOL_QUIZ :
8468
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8469
                    $return .= $this->display_quiz_form('move', $item_id, $row);
8470
                    break;
8471
                case TOOL_STUDENTPUBLICATION :
8472
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8473
                    $return .= $this->display_student_publication_form('move', $item_id, $row);