Code Duplication    Length = 3-3 lines in 3 locations

htdocs/install/include/createconfigform.php 1 location

@@ 117-119 (lines=3) @@
114
                $ele = new Xoops\Form\SelectTimeZone($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput());
115
                break;
116
117
            case 'language':
118
                $ele = new Xoops\Form\SelectLanguage($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput());
119
                break;
120
121
            case 'locale':
122
                $ele = new Xoops\Form\SelectLocale($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput());

htdocs/modules/system/class/form/preferences.php 1 location

@@ 207-209 (lines=3) @@
204
                    $ele = new Xoops\Form\SelectTimeZone($title, $obj[$i]->getVar('conf_name'), $obj[$i]->getConfValueForOutput());
205
                    break;
206
207
                case 'language':
208
                    $ele = new Xoops\Form\SelectLanguage($title, $obj[$i]->getVar('conf_name'), $obj[$i]->getConfValueForOutput());
209
                    break;
210
211
                case 'locale':
212
                    $ele = new Xoops\Form\SelectLocale($title, $obj[$i]->getVar('conf_name'), $obj[$i]->getConfValueForOutput());

htdocs/modules/userconfigs/class/form/configs.php 1 location

@@ 161-163 (lines=3) @@
158
                        $ele = new Xoops\Form\SelectTimeZone($title, $obj[$i]->getVar('conf_name'), $obj[$i]->getConfValueForOutput());
159
                        break;
160
161
                    case 'language':
162
                        $ele = new Xoops\Form\SelectLanguage($title, $obj[$i]->getVar('conf_name'), $obj[$i]->getConfValueForOutput());
163
                        break;
164
165
                    case 'locale':
166
                        $ele = new Xoops\Form\SelectLocale($title, $obj[$i]->getVar('conf_name'), $obj[$i]->getConfValueForOutput());