login.ctp
706 Bytes
<div class="index">
<h2><i class="icon-key"></i> Page de connexion</h2>
<p>Vous n'êtes pas connecté, veuillez vous authentifier.</p>
<?= $this->Flash->render('auth') ?>
<?= $this->Form->create() ?>
<?php if($configuration->use_ldap) { $label = 'Login (LDAP)'; } else { $label = 'Login'; }?>
<fieldset>
<?= $this->Form->input('ldap', ['label' => $label, 'div' => 'input required']) ?>
<?= $this->Form->input('password', ['label' => 'Mot de passe', 'div' => 'input required']) ?>
</fieldset>
<?= $this->Form->submit(__('Se Connecter')); ?>
<?= $this->Form->end() ?>
</div>
<div class="actions">
<?php echo $this->element('menu') ?>
</div>