Code Duplication    Length = 4-4 lines in 2 locations

main/newscorm/learnpath.class.php 2 locations

@@ 6351-6354 (lines=4) @@
6348
                        $return .= $this->display_item_small_form($row['item_type'], get_lang('EditCurrentModule') . ' :', $row);
6349
                    }
6350
                    break;
6351
                case TOOL_QUIZ:
6352
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6353
                    $return .= $this->display_quiz_form('edit', $item_id, $row);
6354
                    break;
6355
                case TOOL_HOTPOTATOES:
6356
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6357
                    $return .= $this->display_hotpotatoes_form('edit', $item_id, $row);
@@ 8476-8479 (lines=4) @@
8473
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8474
                    $return .= $this->display_link_form('move', $item_id, $row);
8475
                    break;
8476
                case TOOL_QUIZ :
8477
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8478
                    $return .= $this->display_quiz_form('move', $item_id, $row);
8479
                    break;
8480
                case TOOL_STUDENTPUBLICATION :
8481
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8482
                    $return .= $this->display_student_publication_form('move', $item_id, $row);