Code Duplication    Length = 7-7 lines in 2 locations

main/exercice/exercise.class.php 2 locations

@@ 7372-7378 (lines=7) @@
7369
7370
                        $s.='<td width="45%" valign="top" >';
7371
7372
                        if (isset($select_items[$lines_count])) {
7373
                            $s.= '<div id="window_'.$windowId.'_answer" class="window window_right_question">
7374
                                    <b>'.$select_items[$lines_count]['letter'].'.</b> '.$select_items[$lines_count]['answer'].'
7375
                                  </div>';
7376
                        } else {
7377
                            $s.='&nbsp;';
7378
                        }
7379
7380
                        $s .= '</td>';
7381
                        $s .= '</tr>';
@@ 7449-7455 (lines=7) @@
7446
                                </script>';
7447
                        }
7448
7449
                        if (isset($select_items[$lines_count])) {
7450
                            $s.= '<div id="window_'.$windowId.'_answer" class="">
7451
                                    <b>'.$select_items[$lines_count]['letter'].'.</b> '.$select_items[$lines_count]['answer'].'
7452
                                  </div>';
7453
                        } else {
7454
                            $s.='&nbsp;';
7455
                        }
7456
                        $lines_count++;
7457
                        //if the left side of the "matching" has been completely
7458
                        // shown but the right side still has values to show...