edit.ctp
1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<div class="configurations form">
<?= $this->Form->create($configuration) ?>
<h2><i class="icon-edit"></i> Editer la configuration</h2>
<?= $this->Form->submit(__('Valider')) ?>
<fieldset>
<?php
echo $this->Form->input('mode_install');
echo $this->Form->input('mode_debug');
echo $this->Form->input('use_ldap', ['label' => 'Utilisation du LDAP']);
echo $this->Form->input('host_ldap', ['label' => 'Host du LDAP']);
echo $this->Form->input('port_ldap', ['label' => 'Port du LDAP']);
echo $this->Form->input('authentificationType_ldap', ['label' => 'Type d\'authentification du LDAP']);
echo $this->Form->input('baseDn_ldap', ['label' => 'Base DN du LDAP']);
echo $this->Form->input('filter_ldap', ['label' => 'Filtre du LDAP']);
echo $this->Form->input('labName', ['label' => 'Nom complet du Labo']);
echo $this->Form->input('labNameShort', ['label' => 'Nom court du Labo']);
echo $this->Form->input('labPresent', ['label' => 'Liaison présentation nom du Labo']);
echo $this->Form->input('labUmr', ['label' => 'UMR du Labo']);
echo $this->Form->input('hasPrinter', ['label' => 'Imprimante disponible']);
echo $this->Form->input('emailGuest1', ['label' => 'Mail guest 1']);
echo $this->Form->input('emailGuest2', ['label' => 'Mail guest 2']);
echo $this->Form->input('emailGuest3', ['label' => 'Mail guest 3']);
?>
</fieldset>
<?= $this->Form->submit(__('Valider')) ?>
<?= $this->Form->end() ?>
</div>
<div class="actions">
<?php
echo $this->element('menu');
echo $this->element('menu_form', [ 'pluralHumanName' => 'Configuration générale' ]);
?>
</div>