<tr>
<td class=login align=center><a href="http://www.lx-office.org" target=_top><img src="image/lx-office-erp.png" border=0></a>
<h1 class=login align=center>|
- . $locale->text('Version')
- . qq| $form->{version}
+ . $locale->text('Version') . qq| $form->{version}
</h1>
<p>
<form method=post name=loginscreen action=$form->{script}>
+ <input type="hidden" name="show_dbupdate_warning" value="1">
+
<table width=100%>
<tr>
<td align=center>
<tr>
<th align=right>| . $locale->text('Login Name') . qq|</th>
<td><input class=login name=login size=30 tabindex="1"></td>
- </tr>
+ </tr>
<tr>
<th align=right>| . $locale->text('Password') . qq|</th>
<td><input class=login type=password name=password size=30 tabindex="2"></td>
</table>
<br>
- <input type=submit name=action value="| . $locale->text('Login') . qq|">
+ <input type=submit name=action value="| . $locale->text('Login') . qq|" tabindex="3">
</td>
</tr>
</td>
</tr>
</table>
-
+
</body>
</html>
|;
$err[1] = $err[3] = $locale->text('Incorrect username or password!');
if ($errno == 2) {
-
- # upgraded dataset, login again
- $form->redirect(
- "<a href=menu.pl?login=$form->{login}&password=$form->{password}&path=$form->{path}&action=display>Continue</a>"
- );
exit;
}
}
# made it this far, execute the menu
- $form->{callback} =
- "menu.pl?login=$form->{login}&password=$form->{password}&path=$form->{path}&action=display";
+ if ($user->{menustyle} eq "v3") {
+ $form->{callback} =
+ "menuv3.pl?login=$form->{login}&password=$form->{password}&path=$form->{path}&action=display";
+ } elsif ($user->{menustyle} eq "neu") {
+ $form->{callback} =
+ "menunew.pl?login=$form->{login}&password=$form->{password}&path=$form->{path}&action=display";
+ } else {
+ $form->{callback} =
+ "menu.pl?login=$form->{login}&password=$form->{password}&path=$form->{path}&action=display";
+ }
$form->redirect;
$lxdebug->leave_sub();
}
-