|
|
|
@ -37,4 +37,32 @@
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
<input type="hidden" name="oldid" value="<?=$id?>">
|
|
|
|
|
<input type="hidden" name="action" value="default">
|
|
|
|
|
</form>
|
|
|
|
|
<form method="post" action="account.php">
|
|
|
|
|
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper" width="400">
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="2" class="title"><?=_("Additional Language Preferences")?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="DataTD"><?=_("Secondary languages")?>:</td>
|
|
|
|
|
<td class="DataTD"><select name="addlang">
|
|
|
|
|
<?
|
|
|
|
|
$query = "select * from `languages` order by `locale`";
|
|
|
|
|
$res = mysql_query($query);
|
|
|
|
|
while($row = mysql_fetch_assoc($res))
|
|
|
|
|
{
|
|
|
|
|
echo "<option value='${row['locale']}'";
|
|
|
|
|
echo ">${row['country']} - ${row['lang']}</option>\n";
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
</select>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("Add")?>"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
<input type="hidden" name="oldid" value="<?=$id?>">
|
|
|
|
|
<input type="hidden" name="action" value="addsec">
|
|
|
|
|
</form>
|
|
|
|
|