2
0
forked from Wavyzz/dolibarr

Correction bug #13940

This commit is contained in:
Rodolphe Quiedeville
2005-08-01 09:47:32 +00:00
parent c538183630
commit ae236ce876

View File

@@ -766,8 +766,8 @@ function loginfunction()
print '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">';
print "\n<html><head><title>Dolibarr Authentification</title>\n";
print '<link rel="stylesheet" type="text/css" href="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/'.$conf->theme.'.css">';
print '</head>';
print '<body onload="donnefocus();">';
print '<style type="text/css">';
print '<!--';
@@ -791,6 +791,13 @@ function loginfunction()
print '}';
print '-->';
print '</style>';
print '<script type="text/javascript">';
print "function donnefocus() {\n";
print "document.getElementsByTagName('INPUT')[0].focus();";
print "}\n";
print '</script>';
print '</head>';
print '<body onload="donnefocus();">';
print '<form id="login" method="post" action="' . $_SERVER['PHP_SELF'] . '" name="identification">';