$uri .= 'ostlang='; echo $uri; ?> '; var option=this.options[this.selectedIndex]; if (option.value!='nothing'){ document.location = uri+option.value ; }"> <?php foreach ($langs as $lang) { $option = "<option value=\"" . $lang . "\" "; if ($lang == $info['ostlang'] || $lang == $_GET['ostlang']) { $option .= "selected='selected'"; } $option .= ">"; $nameLang = Translator::languageName($lang); $option .= "({$lang}) {$nameLang} </option>\n"; echo $option; } ?> </select> <p><font class="error"><?php echo $errors['ostlang']; ?> </font></p> </td> </tr> <tr class="title"><td colspan=2>osTicket web path and title</td></tr> <tr class="subtitle"><td colspan=2>Url to osTicket installation on your server and the title.</td></tr> <tr><td width=150>HelpDesk URL:</td><td><b><?php echo URL;