ajout fonction loginFunction

This commit is contained in:
Rodolphe Quiedeville 2003-08-30 10:48:01 +00:00
parent 0d6ad0f304
commit afbb4a77c9

View File

@ -25,6 +25,21 @@
$yn[0] = "non";
$yn[1] = "oui";
function loginFunction()
{
/**
* Change the HTML output so that it fits to your
* application. */
print '<p>Dolibarr Authentification';
echo "<form method=\"post\" action=\"" . $_SERVER['PHP_SELF'] . "\">";
print '<table><tr>';
print '<td>Login:</td><td><input type="text" name="username"></td></tr>';;
print '<tr><td>Password:</td><td><input type="password" name="password"></td></tr>';
echo '<tr><td colspan="2" align="center"><input value="Login" type="submit"></td></tr>';
echo "</table></form></p>";
}
function accessforbidden()
{
llxHeader();