ajout fonction loginFunction
This commit is contained in:
parent
0d6ad0f304
commit
afbb4a77c9
@ -25,6 +25,21 @@
|
|||||||
$yn[0] = "non";
|
$yn[0] = "non";
|
||||||
$yn[1] = "oui";
|
$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()
|
function accessforbidden()
|
||||||
{
|
{
|
||||||
llxHeader();
|
llxHeader();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user