Code Duplication    Length = 3-3 lines in 2 locations

lib/PageCustomize.php 2 locations

@@ 60-62 (lines=3) @@
57
                                        array ()));
58
        if (!preg_match("/(Kobo|Kindle\/3.0|EBRD1101)/", $_SERVER['HTTP_USER_AGENT'])) {
59
            $content .= '<select id="style" onchange="updateCookie (this);">';
60
            foreach ($this-> getStyleList () as $filename) {
61
                $content .= "<option value='{$filename}' " . $this->isSelected ("style", $filename) . ">{$filename}</option>";
62
            }
63
            $content .= '</select>';
64
        } else {
65
            foreach ($this-> getStyleList () as $filename) {
@@ 65-67 (lines=3) @@
62
            }
63
            $content .= '</select>';
64
        } else {
65
            foreach ($this-> getStyleList () as $filename) {
66
                $content .= "<input type='radio' onchange='updateCookieFromCheckbox (this);' id='style-{$filename}' name='style' value='{$filename}' " . $this->isChecked ("style", $filename) . " /><label for='style-{$filename}'> {$filename} </label>";
67
            }
68
        }
69
        array_push ($this->entryArray, new Entry (localize ("customize.style"), "",
70
                                        $content, "text",