edit.ctp 2.44 KB

<div class="configurations form">
    <?= $this->Form->create($configuration) ?>
    
        <h2><i class="icon-edit"></i> Editer la configuration</h2>
        
    <fieldset>
        <?php
            echo $this->Form->input('mode_install');
            echo $this->Form->input('mode_debug');
            
            echo $this->Form->input('hasPrinter', ['label' => 'Imprimante disponible']);
             
            echo $this->Form->input('use_ldap', ['label' => 'Utilisation du LDAP', 'onchange' => 'display_ldap();']);
            echo '<div id="ldap" style="margin: 0; padding: 0; ' . $disp . ';">';
           		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 '</div>';
            
            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('nom_groupe_thematique', ['label' => 'Label groupe thématique']);
            echo $this->Form->input('nom_groupe_metier', ['label' => 'Label groupe métier']);
            echo $this->Form->input('envoi_mail_management_dev', ['label' => 'Ne pas envoyer les mails de management en local']);
            
           
            
            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']);
            echo $this->Form->input('emailGuest4', ['label' => 'Mail guest 4']);
            echo $this->Form->input('emailGuest5', ['label' => 'Mail guest 5']);
        ?>
    </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>