Code Duplication    Length = 7-7 lines in 2 locations

main/exercise/exercise.class.php 2 locations

@@ 7469-7475 (lines=7) @@
7466
7467
                        $s.='<td width="45%" valign="top" >';
7468
7469
                        if (isset($select_items[$lines_count])) {
7470
                            $s.= '<div id="window_'.$windowId.'_answer" class="window window_right_question">
7471
                                    <b>'.$select_items[$lines_count]['letter'].'.</b> '.$select_items[$lines_count]['answer'].'
7472
                                  </div>';
7473
                        } else {
7474
                            $s.='&nbsp;';
7475
                        }
7476
7477
                        $s .= '</td>';
7478
                        $s .= '</tr>';
@@ 7546-7552 (lines=7) @@
7543
                                </script>';
7544
                        }
7545
7546
                        if (isset($select_items[$lines_count])) {
7547
                            $s.= '<div id="window_'.$windowId.'_answer" class="">
7548
                                    <b>'.$select_items[$lines_count]['letter'].'.</b> '.$select_items[$lines_count]['answer'].'
7549
                                  </div>';
7550
                        } else {
7551
                            $s.='&nbsp;';
7552
                        }
7553
                        $lines_count++;
7554
                        //if the left side of the "matching" has been completely
7555
                        // shown but the right side still has values to show...