require_once INC_SCADRE;
require_once INC_SFORM;
require_once INC_SVISUALISEUR;
require_once INC_SCLASSEUR;
require_once INC_GJS;
require_once PATH_COMPOSANTS . 'cListeCssParties.php';
require_once PATH_COMPOSANTS . 'cListeCssElements.php';
require_once PATH_COMPOSANTS . 'cListeModificationPresentation.php';
require_once PATH_METIER . 'mPresentation.php';
require_once PATH_METIER . 'mPresentationModule.php';
require_once PATH_METIER . 'mTypePresentationModule.php';
require_once PATH_METIER . 'mListePresentationsModules.php';
require_once PATH_METIER . 'mListeTypesPresentationsModules.php';
$groupe = GSession::Groupe(COL_ID);
if ($groupe !== NULL && GDroit::ADroitPopErreur(FONC_PRS_CREERMODIFIER) === true) {
    if (SListe::IsChargementEtage() === true) {
        $cListeModificationPresentation = new cListeModificationPresentation('', 'ModifPres', $nomContexte, -1, -1, false, '', true, '', '', '', '', '', '', '', AJAXFONC_RECHARGER);
        $libelle = GSession::Libelle(LIB_PRS_CHAMP, true, true);
        $cListeModificationPresentation->AjouterElement($libelle . '10', $libelle, '', $libelle, $libelle, $libelle);
        $cListeModificationPresentation->AjouterElement($libelle . '11', $libelle, '', $libelle, $libelle, $libelle);
        $cListeModificationPresentation->AjouterElement($libelle . '12', $libelle, '', $libelle, $libelle, $libelle);
        GContexte::AjouterListe($cListeModificationPresentation);
    } else {
        $presentationModif = GSession::PresentationModif();
        $presentationModule = GSession::PresentationModule($module);
        if ($presentationModif !== $presentationModule || $dejaCharge === false) {
            GSession::PresentationModule($module, $presentationModif, true);
            $prefixIdClass = PIC_PRES;
            // Récupération du nom de fichier.
            $mPresentationModule = new MPresentationModule();
            $mPresentationModule->TypePresentationModule($module);