view.ctp
3.12 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<div class="configurations view">
<h2>Configuration générale de l'application</h2>
<table style="margin-bottom: 30px;">
<?php
echo $this->Html->link(__('<i class="icon-pencil"></i> Editer la configuration'),
['action' => 'edit', $configuration->id],
['escape' => false,'onclick' => 'return true;']
);
if(h($configuration->mode_install) == 1) {
$install="Oui";
}else {
$install="Non";
}
$displayElement(__('Mode install'), $install);
if(h($configuration->mode_debug) == 1) {
$debug="Oui";
}else {
$debug="Non";
}
$displayElement(__('Mode debug'), $debug);
if(h($configuration->hasPrinter) == 1) {
$print="Oui";
}else {
$print="Non";
}
$displayElement(__('Imprimante disponible'), $print);
if(h($configuration->use_ldap) == 1) {
$ldap="Oui";
}else {
$ldap="Non";
}
if(h($configuration->envoi_mail_management_dev) == 1) {
$local="Non";
}else {
$local="Oui";
}
$displayElement(__('Nom complet du Labo'), h($configuration->labName));
$displayElement(__('Nom court du Labo'), h($configuration->labNameShort));
$displayElement(__('Liaison présentation nom du Labo'), h($configuration->labPresent));
$displayElement(__('UMR du Labo'), h($configuration->labUmr));
$displayElement(__('Label groupe thématique'), h($configuration->nom_groupe_thematique));
$displayElement(__('Label groupe métier'), h($configuration->nom_groupe_metier));
$displayElement(__('Seuil (prix) Matériel administratif'), h($configuration->prix_inventaire_administratif));
$displayElement(__('Envoi des mails de management en local'), $local);
$displayElement(__('Attribut "from"'), h($configuration->from_mail));
$displayElement(__('Mail guest 1'), h($configuration->emailGuest1));
$displayElement(__('Mail guest 2'), h($configuration->emailGuest2));
$displayElement(__('Mail guest 3'), h($configuration->emailGuest3));
$displayElement(__('Mail guest 4'), h($configuration->emailGuest4));
$displayElement(__('Mail guest 5'), h($configuration->emailGuest5));
$displayElement(__('Mail guest 6'), h($configuration->emailGuest6));
$displayElement(__('Mail guest 7'), h($configuration->emailGuest7));
$displayElement(__('Mail guest 8'), h($configuration->emailGuest8));
$displayElement(__('Mail guest 9'), h($configuration->emailGuest9));
$displayElement(__('Mail guest 10'), h($configuration->emailGuest10));
$displayElement(__('Utilisation du LDAP'), $ldap);
if ($configuration->use_ldap):
$displayElement(__('Host du LDAP'), h($configuration->host_ldap));
$displayElement(__('Port du LDAP'), h($configuration->port_ldap));
$displayElement(__('Type d\'authentification du LDAP'), h($configuration->authentificationType_ldap));
$displayElement(__('Base DN du LDAP'), h($configuration->baseDn_ldap));
$displayElement(__('Filtre du LDAP'), h($configuration->filter_ldap));
endif;
?>
</table>
</div>
<div class="actions">
<?php echo $this->element('menu') ?>
</div>