Configuration générale de l'application

Html->link(__(' Editer la configuration'), [ 'action' => 'edit', $configurationObj->id ], [ 'escape' => false, 'onclick' => 'return true;' ]); echo '

'; if (h($configurationObj->mode_install) == 1) { $install = "Oui"; } else { $install = "Non"; } if (h($configurationObj->mode_debug) == 1) { $debug = "Oui"; } else { $debug = "Non"; } if (h($configurationObj->hasPrinter) == 1) { $print = "Oui"; } else { $print = "Non"; } if (h($configurationObj->use_ldap) == 1) { $ldap = "Oui"; } else { $ldap = "Non"; } if (h($configurationObj->envoi_mail) == 0) { $mail_general = "Non"; } else { $mail_general = "Oui"; } if (h($configurationObj->envoi_mail_guests) == 0) { $mail_guests = "Non"; } else { $mail_guests = "Oui"; } if (h($configurationObj->numero_labo_sans_annee) == 1) { $numLab = "Oui"; } else { $numLab = "Non"; } if (h($configurationObj->date_commande_facultative) == 1) { $dateObl = "Oui"; } else { $dateObl = "Non"; } if (h($configurationObj->metrologie) == 1) { $metro = "Oui"; } else { $metro = "Non"; } if (h($configurationObj->procedure_sur_accueil) == 1) { $procedure_acc = "Oui"; } else { $procedure_acc = "Non"; } echo '

'; echo ''; echo 'Modes'; echo '

'; echo '
'; echo ''; echo ''; $displayElement(__('Mode install'), $install); $displayElement(__('Mode debug'), $debug); echo '
'; echo '
'; echo '

'; echo ''; echo 'Laboratoire'; echo '

'; echo '
'; echo ''; echo ''; $displayElement(__('Nom complet du Labo'), h($configurationObj->labName)); $displayElement(__('Nom court du Labo'), h($configurationObj->labNameShort)); $displayElement(__('Liaison présentation nom du Labo'), h($configurationObj->labPresent)); $displayElement(__('UMR du Labo'), h($configurationObj->labUmr)); echo '
'; echo '
'; echo '

'; echo ''; echo 'Divers'; echo '

'; echo '
'; echo ''; echo ''; $displayElement(__('Afficher la procédure à suivre sur l\'écran d\'accueil'), $procedure_acc); $displayElement(__('Imprimante disponible'), $print); $displayElement(__('Seuil (prix) Matériel administratif'), h($configurationObj->prix_inventaire_administratif)); $displayElement(__('Taille max documents (octets)'), substr($configurationObj->taille_max_doc / (1024 * 1024), 0, 4) . ' Mo'); $displayElement(__('Numero labo sans année'), $numLab); $displayElement(__('Champ date commande facultatif'), $dateObl); $displayElement(__('Label groupe thématique'), h($configurationObj->nom_groupe_thematique)); $displayElement(__('Label groupe métier'), h($configurationObj->nom_groupe_metier)); $displayElement(__('Module métrologie'), $metro); echo '
'; echo '
'; echo '

'; echo ''; echo 'Emails'; echo '

'; echo '
'; echo ''; echo ''; $displayElement(__('Activer l\'envoi des mails général'), $mail_general); $displayElement(__('Attribut "sender" (mail)'), h($configurationObj->sender_mail)); $displayElement(__('Activer l\'envoi des mails pour la liste spécifique ci-dessous'), $mail_guests); $displayElement(__('Mail guest 1'), h($configurationObj->emailGuest1)); $displayElement(__('Mail guest 2'), h($configurationObj->emailGuest2)); $displayElement(__('Mail guest 3'), h($configurationObj->emailGuest3)); $displayElement(__('Mail guest 4'), h($configurationObj->emailGuest4)); $displayElement(__('Mail guest 5'), h($configurationObj->emailGuest5)); $displayElement(__('Mail guest 6'), h($configurationObj->emailGuest6)); $displayElement(__('Mail guest 7'), h($configurationObj->emailGuest7)); $displayElement(__('Mail guest 8'), h($configurationObj->emailGuest8)); $displayElement(__('Mail guest 9'), h($configurationObj->emailGuest9)); $displayElement(__('Mail guest 10'), h($configurationObj->emailGuest10)); echo '
'; echo '
'; //if ($configuration->use_ldap) : echo '

'; echo ''; echo 'LDAP'; echo '

'; echo '
'; echo ''; echo ''; $displayElement(__('Utilisation du LDAP'), $ldap); $displayElement(__('Host du LDAP'), h($configurationObj->host_ldap)); $displayElement(__('Port du LDAP'), h($configurationObj->port_ldap)); $displayElement(__('Type d\'authentification du LDAP'), h($configurationObj->authentificationType_ldap)); $displayElement(__('Base DN du LDAP'), h($configurationObj->baseDn_ldap)); $displayElement(__('Filtre du LDAP'), h($configurationObj->filter_ldap)); /*MCM*/ $displayElement(__('LDAP anonyme'), h($configurationObj->anonymous_ldap)); $displayElement(__('Bind du LDAP'), h($configurationObj->bindDn_ldap)); $displayElement(__('Password Bind du LDAP'), h($configurationObj->bindPass_ldap)); /*fin MCM*/ echo '
'; echo '
'; //endif; echo '

'; echo ''; echo 'Affichage'; echo '

'; echo '
'; echo ''; echo ''; $displayElement(__('Nombre de materiel affichés par défaut'), h($configurationObj->aff_par_defaut)); echo '
'; echo '
'; ?>
element('menu')?>