Login Bug cleared

This commit is contained in:
duergner 2005-01-15 12:11:03 +00:00
parent 8d59aca986
commit 39d5b8078c
2 changed files with 294 additions and 262 deletions

View File

@ -133,12 +133,15 @@ function display_LoginPage($config_object,$profile)
echo "<br><br>";
}
?>
<form action="login.php" method="post">
<table width="650" align="center" border="2" rules="none" bgcolor="white">
<tr>
<td style="border-style:none" width="70" rowspan="9">
<td style="border-style:none" width="70" rowspan="2">
<img src="../graphics/lam.png" alt="Logo">
</td>
<td width="580">
<form action="login.php" method="post">
<table width="580">
<tr>
<td style="border-style:none" height="70" colspan="2" align="center">
<font color="darkblue"><b><big><?php echo _("Enter Username and Password for Account"); ?></big></b></font>
</td>
@ -153,7 +156,7 @@ function display_LoginPage($config_object,$profile)
?>
</b>&nbsp;&nbsp;</td>
<td style="border-style:none" height="35" align="left">
<select name="username" size="1">
<select name="username" size="1" tabindex="0">
<?php
$admins = $config_object->get_Admins();
for($i = 0; $i < count($admins); $i++) {
@ -174,7 +177,7 @@ function display_LoginPage($config_object,$profile)
?>
</b>&nbsp;&nbsp;</td>
<td style="border-style:none" height="35" align="left">
<input type="password" name="passwd">
<input type="password" name="passwd" tabindex="1">
</td>
</tr>
<tr>
@ -197,7 +200,7 @@ function display_LoginPage($config_object,$profile)
?>
</b>&nbsp;&nbsp;</td>
<td style="border-style:none" height="35" align="left">
<select name="language" size="1">
<select name="language" size="1" tabindex="2">
<?php
for($i = 0; $i < count($languages); $i++) {
if($languages[$i]["default"] == "YES") {
@ -221,7 +224,8 @@ function display_LoginPage($config_object,$profile)
</tr>
<tr>
<td style="border-style:none" height="50" colspan="2" align="center">
<input name="checklogin" type="submit" value="<?php echo _("Login"); ?>">
<input name="checklogin" type="hidden" value="checklogin">
<input name="submit" type="submit" value="<?php echo _("Login"); ?>" tabindex="3">
</td>
</tr>
<tr>
@ -233,6 +237,14 @@ function display_LoginPage($config_object,$profile)
?>
</td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td>
<form action="login.php" method="post">
<table width="580">
<tr>
<td style="border-style:none" height="30" colspan="2">
<hr>
@ -254,7 +266,7 @@ function display_LoginPage($config_object,$profile)
<?php echo $_POST['profile']; ?>
</td>
<td style="border-style:none" height="30" align="right">
<select name="profile" size="1">
<select name="profile" size="1" tabindex="4">
<?php
for($i=0;$i<count($profiles);$i++) {
?>
@ -263,7 +275,8 @@ function display_LoginPage($config_object,$profile)
}
?>
</select>
<input name="profileChange" type="submit" value="<?php echo _("Change Profile"); ?>">
<input name="profileChange" type="hidden" value="profileChange">
<input name="submit" type="submit" value="<?php echo _("Change Profile"); ?>" tabindex="5">
</td>
</tr>
<tr>
@ -271,6 +284,9 @@ function display_LoginPage($config_object,$profile)
</tr>
</table>
</form>
</td>
</tr>
</table>
<br><br>
</body>
</html>

View File

@ -138,12 +138,15 @@ function display_LoginPage($config_object,$profile)
echo "<br><br>";
}
?>
<form action="login.php" method="post">
<table width="650" align="center" border="2" rules="none" bgcolor="white">
<tr>
<td style="border-style:none" width="70" rowspan="9">
<td style="border-style:none" width="70" rowspan="2">
<img src="../graphics/lam.png" alt="Logo">
</td>
<td width="580">
<form action="login.php" method="post">
<table width="580">
<tr>
<td style="border-style:none" height="70" colspan="2" align="center">
<font color="darkblue"><b><big><?php echo _("Enter Username and Password for Account"); ?></big></b></font>
</td>
@ -226,7 +229,8 @@ function display_LoginPage($config_object,$profile)
</tr>
<tr>
<td style="border-style:none" height="50" colspan="2" align="center">
<input name="checklogin" type="submit" value="<?php echo _("Login"); ?>" tabindex="3">
<input name="checklogin" type="hidden" value="checklogin">
<input name="submit" type="submit" value="<?php echo _("Login"); ?>" tabindex="3">
</td>
</tr>
<tr>
@ -238,6 +242,14 @@ function display_LoginPage($config_object,$profile)
?>
</td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td>
<form action="login.php" method="post">
<table width="580">
<tr>
<td style="border-style:none" height="30" colspan="2">
<hr>
@ -268,7 +280,8 @@ function display_LoginPage($config_object,$profile)
}
?>
</select>
<input name="profileChange" type="submit" value="<?php echo _("Change Profile"); ?>" tabindex="5">
<input name="profileChange" type="hidden" value="profileChange">
<input name="submit" type="submit" value="<?php echo _("Change Profile"); ?>" tabindex="5">
</td>
</tr>
<tr>
@ -276,6 +289,9 @@ function display_LoginPage($config_object,$profile)
</tr>
</table>
</form>
</td>
</tr>
</table>
<br><br>
</body>
</html>