Code Duplication    Length = 3-3 lines in 2 locations

web/skins/classic/basic.php 2 locations

@@ 218-220 (lines=3) @@
215
        $out .= '<select name="device" onchange="set_device(this)">';
216
        $iterator = 0;
217
        foreach ($thedevices as $oneDevice) {
218
            if ((isset($oneDevice['options']) && isset($oneDevice['options']['hidden']) && $oneDevice['options']['hidden']) || $oneDevice['status']) {
219
                continue;
220
            }
221
            if (!$deviceName) {
222
                $deviceName = $oneDevice['id'];
223
            }
@@ 289-291 (lines=3) @@
286
        }
287
288
        foreach ($thedevices as $oneDevice) {
289
            if (isset($oneDevice['options']) && isset($oneDevice['options']['hidden']) && $oneDevice['options']['hidden']) {
290
                continue;
291
            }
292
            if ($oneDevice['id'] === '0') {
293
                print _("Your local administrator has specified a redirect to a local support page.") . ' ' . _("Click on the link below to continue.");
294
                print '<div style="width:100%; text-align:center"><a href ="' . $oneDevice['redirect'] . '">' . $oneDevice['redirect'] . '</a></div>';