116 lines
3.5 KiB
PHP
Executable File
116 lines
3.5 KiB
PHP
Executable File
<?php
|
||
/*
|
||
* Ajaxconnexioncookie/english.php
|
||
* Login form – English version.
|
||
*/
|
||
|
||
$maintenance = $societeusersaas['maintenance'];
|
||
if ($maintenance === '1') {
|
||
$msgErreur = 'Site under maintenance, please log back in later!';
|
||
}
|
||
?>
|
||
|
||
<!-- Title -->
|
||
<span class="portail-title">Manager Portal</span>
|
||
<div class="portail-divider"></div>
|
||
|
||
<!-- Error / maintenance message -->
|
||
<?php if (!empty($msgErreur)): ?>
|
||
<div class="alert-portail danger" role="alert">
|
||
<i class="fas fa-exclamation-triangle"></i>
|
||
<?= htmlspecialchars($msgErreur) ?>
|
||
</div>
|
||
<?php else: ?>
|
||
<div id="div_msgErreur"></div>
|
||
<?php endif; ?>
|
||
|
||
<?php if ($maintenance !== '1'): ?>
|
||
|
||
<!-- Language -->
|
||
<div class="field-group">
|
||
<label for="langue">Language</label>
|
||
<div class="input-icon-wrap">
|
||
<i class="fas fa-globe field-icon"></i>
|
||
<select class="selectpicker field-select"
|
||
data-live-search="true"
|
||
id="langue"
|
||
name="langue"
|
||
required
|
||
onchange="javascript:changer_langue_connexion();">
|
||
<?php liste_options($langues, $_SESSION['lang'], true); ?>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Entity -->
|
||
<div class="field-group">
|
||
<label for="codeSociete">Entity</label>
|
||
<div class="input-icon-wrap">
|
||
<i class="fas fa-building field-icon"></i>
|
||
<input class="input100"
|
||
type="text"
|
||
name="codeSociete"
|
||
id="codeSociete"
|
||
value="<?= htmlspecialchars($codeSociete) ?>"
|
||
placeholder="Entity"
|
||
required
|
||
autocomplete="off"
|
||
onchange="javascript:changer_entite_portail();">
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Login -->
|
||
<div id="div_login_portail" class="field-group">
|
||
<label for="login">Login</label>
|
||
<div class="input-icon-wrap">
|
||
<i class="fas fa-user field-icon"></i>
|
||
<input class="input100"
|
||
type="text"
|
||
name="login"
|
||
id="login"
|
||
value="<?= htmlspecialchars($codeUtilisateur) ?>"
|
||
placeholder="Login"
|
||
required
|
||
autocomplete="off">
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Password -->
|
||
<div class="field-group">
|
||
<label for="mdp">Password</label>
|
||
<div class="input-icon-wrap">
|
||
<i class="fas fa-lock field-icon"></i>
|
||
<input class="input100"
|
||
type="password"
|
||
name="mdp"
|
||
id="mdp"
|
||
placeholder="Password"
|
||
required
|
||
autocomplete="off">
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Submit button -->
|
||
<button type="submit" name="btn_connexion" id="btn_connexion" class="btn-login">
|
||
<i class="fas fa-sign-in-alt"></i>
|
||
Login
|
||
</button>
|
||
|
||
<!-- Forgot password -->
|
||
<div class="link-forgot" id="link_password">
|
||
<a href="javascript:motdepasse_oublie();">
|
||
<i class="fas fa-key"></i>
|
||
Forgot your password?
|
||
</a>
|
||
</div>
|
||
|
||
<!-- Footer copyright -->
|
||
<div class="portail-footer">
|
||
All rights reserved
|
||
<a href="https://www.ebene.info/" target="_blank" rel="noopener">
|
||
© EBENE SOLUTIONS INFORMATIQUES
|
||
</a>
|
||
</div>
|
||
|
||
<?php endif; ?>
|