*** empty log message ***

This commit is contained in:
duergner 2003-03-18 19:55:50 +00:00
parent ce035ecd58
commit f9db3f2cfd
2 changed files with 6 additions and 6 deletions

View File

@ -7,4 +7,4 @@
en_GB:iso639_en:English (Britain)
# German Language
de_DE:iso639_de:Deutsch (Deutschland)
de_DE:iso639_de:Deutsch (Deutschland)

View File

@ -38,8 +38,8 @@ if(is_file($languagefile) == True)
$line = fgets($file, 1024);
if($line == "\n" || $line[0] == "#") continue; // ignore comment and empty lines
$value = explode(":", $line);
$languages[$i]["link"] = $value[0];
$languages[$i]["descr"] = $value[1];
$languages[$i]["link"] = $value[0] . ":" . $value[1];
$languages[$i]["descr"] = $value[2];
$i++;
}
fclose($file);
@ -72,11 +72,11 @@ else
<td width="45%" align="right"><? echo _("Password:") ?></td><td width="10%"></td><td width="45%" align="left"><input type="password" name="passwd"></td>
</tr>
<tr>
<? if($message != "") { ?>
<? if($message != "") { ?>
<td width="100%" colspan="3" align="center"><? echo _($message) ?><input type="hidden" name="language" value="english"></td>
<? } else { ?>
<? } else { ?>
<td width="45%" align="right"><? echo _("Your Language:") ?></td><td width="10%"></td><td width="45%" align="left"><select name="language" size="1"><? for($i = 0; $i < count($languages); $i++) { echo "<option value=\"" . $languages[$i]["link"] . "\">" . $languages[$i]["descr"] . "</option>"; } ?></select></td>
<? } ?>
<? } ?>
</tr>
<tr>
<td width="100%" colspan="3" align="center"><input type="submit" name="submit" value=<? echo _("Login"); ?>></td>