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);
            $mTypePresentationModule = $mPresentationModule->TypePresentationModule();
            $mTypePresentationModule->AjouterColSelection(COL_NOMFICHIER);
            $mTypePresentationModule->Charger();
            $nomFichier = $mTypePresentationModule->NomFichier();
            /*********************************************/
            $cListeCssParties = new CListeCssParties($nomFichier, $presentationModif, $prefixIdClass, 'CssParties', $nomContexte, -1);
            $vue = new SOrganiseur(4, 1, true);
            $org = new SOrganiseur(5, 1, true);
            $elem = new SElement(CLASSTEXTE_INFO);
            $elem->SetText(GSession::Libelle(LIB_PRS_TEXTEINFO));
            $org->AttacherCellule(1, 1, $elem);