You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

31 lines
703 B

<html>
<head>
<title>Language Select</title>
</head>
<body>
<center>
<form name="language" action="installer.php" method="POST">
Language Select: <select name="language" style="border-style: solid; border-width: 1; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1">
<?php
$handle = opendir('../language');
while (false !== ($file = readdir($handle)))
{
if ($file {0}!='.')
{
$temp_lang=ucfirst(substr($file,0,strpos($file,'.')));
echo "<option value='$file'>$temp_lang</option>";
}
}
closedir($handle);
?>
</select>
<input type="submit">
</form>
</center>
</body>
</html>