"Selection of additional languages, sorting is somewhat strange"
pull/1/head
Wytze van der Raay 11 years ago
parent f8ade2b9c6
commit a72124049e

@ -73,8 +73,12 @@ require_once($_SESSION['_config']['filepath'].'/includes/lib/l10n.php');
$res = mysql_query($query);
while($row = mysql_fetch_assoc($res))
{
echo "<option value='".sanitizeHTML($row['locale'])."'";
echo ">".$row['country']." - ".$row['lang']."</option>\n";
printf("<option value=\"%s\">[%s] %s (%s)</option>\n",
sanitizeHTML($row['locale']),
sanitizeHTML($row['locale']),
$row['lang'],
$row['country']
);
}
?>
</select>

Loading…
Cancel
Save