534,16 → 534,29 |
|
<?php if ($result === 2 || $result === 3 || $result === 5): // failed or logoff or notyet ?> |
<div id="logon"> |
<h1><?= $organisme ?></h1> |
<h2><?= $l_loggedcont ?></h2> |
<?php if ($result === 2): // failed ?> |
<h3><?= $l_loginfailed ?></h3> |
<?php if ($reply): // traitement du reply ... ?> |
<center><?= $reply ?><br><br></center> |
<?php endif; ?> |
<?php endif; |
if ($userurl === 'http://logout/') $userurl = 'http://www.google.com'; // Avoid cyclic logout |
?> |
<table id="mobile-logon-header"> |
<tr> |
<td width="20%"> |
<img id="logo-organ" class="mobile-only" src="/images/organisme.png"> |
</td> |
<td width="60%"> |
<h1><?= $organisme ?></h1> |
<h2><?= $l_loggedcont ?></h2> |
<?php if ($result === 2): // failed ?> |
<h3 style="text-align: center"><?= $l_loginfailed ?></h3> |
<?php if ($reply): // traitement du reply ... ?> |
<center><?= $reply ?><br><br></center> |
<?php endif; ?> |
<?php endif; |
if ($userurl === 'http://logout/') $userurl = 'http://www.google.com'; // Avoid cyclic logout |
?> |
</td> |
<td width="20%"> |
</td> |
</tr> |
</table> |
|
|
<img id="logo-alcasar" src="/images/logo-alcasar.png"> |
<form name="form1" method="post" action="<?= $loginpath ?>"> |
<input type="hidden" name="challenge" value="<?= $challenge ?>"> |
550,16 → 563,19 |
<input type="hidden" name="userurl" value="<?= $userurl ?>"> |
<table id="boite-logon"> |
<tr> |
<td width="20%" rowspan="4"><img id="logo-organ" src="/images/organisme.png"></td> |
<td width="30%" align="right"><?= $l_user ?></td> |
<td width="50%" align="left"><input type="text" maxLength="32" name="username" autocomplete="off"></td> |
<td class="desktop-only" width="20%" rowspan="4"> <img id="logo-organ" src="/images/organisme.png"></td> |
<td class="desktop-only" width="30%" align="right"><?= $l_user ?></td> |
<td class="desktop-only" width="50%" align="left"><input type="text" maxLength="32" name="username" autocomplete="off"></td> |
<td class="mobile-only" width="100%" align="center"><input type="text" maxLength="32" name="username" autocomplete="off" placeholder="<?= $l_user ?>"></td> |
</tr> |
<tr> |
<td align="right"><?= $l_password ?></td> |
<td align="left"><input maxLength="32" type="password" name="password" autocomplete="off"></td> |
<td class="desktop-only" align="right"><?= $l_password ?></td> |
<td class="desktop-only" align="left"><input maxLength="32" type="password" name="password" autocomplete="off"></td> |
|
<td class="mobile-only" width="100%" align="center"><input maxLength="32" type="password" name="password" autocomplete="off" placeholder="<?= $l_password ?>"></td> |
</tr> |
<tr> |
<td height="23" align="left"><input value="<?= $l_boutonO ?>" type="submit" name="button"></td> |
<td height="23" id="authenticate-button" align="center"><input value="<?= $l_boutonO ?>" type="submit" name="button"></td> |
<?php if ($service_SMS_status): ?> |
<td><a href="autoregistrationinfo.php"><?= $l_autoregistration ?></a></td> |
<?php endif; ?> |