From a0040870a91a1a1abb2b51ffae7b397d22e8c29c Mon Sep 17 00:00:00 2001 From: "tristan.champomier" Date: Mon, 7 Dec 2020 14:29:54 +0100 Subject: [PATCH] Modified all the old ModeliXeGranilim loadings by ModeliXeQware after changed class and file names. --- lib/object_coordination/adminuser/adminuser.php | 4 ++-- lib/object_coordination/home/home.php | 12 ++++++------ lib/object_plugin/printdata/printdata.php | 2 +- .../currentcoordinationobjprint.php | 2 +- .../entrynodeprint/entrynodeprint.php | 2 +- lib/object_printing/helpprint/helpprint.php | 2 +- lib/object_printing/jscalls/jscalls.php | 2 +- lib/object_printing/messageprint/messageprint.php | 2 +- .../navigationnodeprint/navigationnodeprint.php | 4 ++-- .../navigationprint/navigationprint.php | 4 ++-- lib/object_printing/objectprint/objectprint.php | 2 +- lib/object_printing/userprint/userprint.php | 6 +++--- lib/system/system_coordination/coordinationobj.php | 2 +- 13 files changed, 23 insertions(+), 23 deletions(-) diff --git a/lib/object_coordination/adminuser/adminuser.php b/lib/object_coordination/adminuser/adminuser.php index e9d819a..d3f5e2a 100755 --- a/lib/object_coordination/adminuser/adminuser.php +++ b/lib/object_coordination/adminuser/adminuser.php @@ -327,7 +327,7 @@ function exportAdmin() } // switch //On surcharge la template principale en fonction du format - $GLOBALS["SYSTEM_TEMPLATE"] = new ModeliXeGranilim($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_coordination/".strtolower($GLOBALS["SYSTEM_CONTROL"]->className)."/".$exportFormat.".mxt"); + $GLOBALS["SYSTEM_TEMPLATE"] = new ModeliXeQware($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_coordination/".strtolower($GLOBALS["SYSTEM_CONTROL"]->className)."/".$exportFormat.".mxt"); $GLOBALS["SYSTEM_TEMPLATE"]->SetModeliXe(); if($GLOBALS["SYSTEM_TEMPLATE"]->isMxFlag("ObjectName","text")) @@ -891,7 +891,7 @@ function exportAdmin() /* fin récupération des codes par défaut */ // chemin du fichier de template - $GLOBALS["SYSTEM_TEMPLATE"] = new ModeliXeGranilim($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_coordination/adminnews/ajaxdata.mxt"); + $GLOBALS["SYSTEM_TEMPLATE"] = new ModeliXeQware($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_coordination/adminnews/ajaxdata.mxt"); $GLOBALS["SYSTEM_TEMPLATE"]->SetMxFileParameter($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR'].$GLOBALS['SYSTEM_TEMPLATE_CONF']); $GLOBALS["SYSTEM_TEMPLATE"]->SetModeliXe(true); diff --git a/lib/object_coordination/home/home.php b/lib/object_coordination/home/home.php index 8591e46..fcef082 100755 --- a/lib/object_coordination/home/home.php +++ b/lib/object_coordination/home/home.php @@ -55,7 +55,7 @@ Class Home extends CoordinationObj function actionLecture() { //On surcharge la template principale -// $GLOBALS["SYSTEM_TEMPLATE"] = new ModeliXeGranilim($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_coordination/home/main.mxt"); +// $GLOBALS["SYSTEM_TEMPLATE"] = new ModeliXeQware($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_coordination/home/main.mxt"); // $GLOBALS["SYSTEM_TEMPLATE"]->SetMxFileParameter($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR'].$GLOBALS['SYSTEM_TEMPLATE_CONF']); // $GLOBALS["SYSTEM_TEMPLATE"]->SetModeliXe(); @@ -1463,7 +1463,7 @@ Class Home extends CoordinationObj public function formLectureQaptcha() { - $GLOBALS["SYSTEM_TEMPLATE"] = new ModeliXeGranilim($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_coordination/mygamecharacters/ajaxdata.mxt"); + $GLOBALS["SYSTEM_TEMPLATE"] = new ModeliXeQware($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_coordination/mygamecharacters/ajaxdata.mxt"); $GLOBALS["SYSTEM_TEMPLATE"]->SetMxFileParameter($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR'].$GLOBALS['SYSTEM_TEMPLATE_CONF']); $GLOBALS["SYSTEM_TEMPLATE"]->SetModeliXe(true); @@ -1702,7 +1702,7 @@ Class Home extends CoordinationObj header("Pragma: no-cache"); /* Appel du modèle mxt spécifique à l'affichage des catégories/rubriques */ - $GLOBALS["SYSTEM_TEMPLATE"] = new ModeliXeGranilim($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_coordination/home/qaptcha.mxt"); + $GLOBALS["SYSTEM_TEMPLATE"] = new ModeliXeQware($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_coordination/home/qaptcha.mxt"); $GLOBALS["SYSTEM_TEMPLATE"]->SetMxFileParameter($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR'].$GLOBALS['SYSTEM_TEMPLATE_CONF']); $GLOBALS["SYSTEM_TEMPLATE"]->SetModeliXe(true); $GLOBALS["SYSTEM_TEMPLATE"]->MxText("return", var_dump($_POST)); @@ -1715,7 +1715,7 @@ Class Home extends CoordinationObj header("Pragma: no-cache"); /* Appel du modèle mxt spécifique à l'affichage des catégories/rubriques */ - $GLOBALS["SYSTEM_TEMPLATE"] = new ModeliXeGranilim($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_coordination/home/qaptcha.mxt"); + $GLOBALS["SYSTEM_TEMPLATE"] = new ModeliXeQware($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_coordination/home/qaptcha.mxt"); $GLOBALS["SYSTEM_TEMPLATE"]->SetMxFileParameter($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR'].$GLOBALS['SYSTEM_TEMPLATE_CONF']); $GLOBALS["SYSTEM_TEMPLATE"]->SetModeliXe(true); $GLOBALS["SYSTEM_TEMPLATE"]->MxText("return", $_POST); @@ -1735,7 +1735,7 @@ Class Home extends CoordinationObj header("Pragma: no-cache"); /* Appel du modèle mxt spécifique à l'affichage des catégories/rubriques */ - $GLOBALS["SYSTEM_TEMPLATE"] = new ModeliXeGranilim($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_coordination/home/checkform.mxt"); + $GLOBALS["SYSTEM_TEMPLATE"] = new ModeliXeQware($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_coordination/home/checkform.mxt"); $GLOBALS["SYSTEM_TEMPLATE"]->SetMxFileParameter($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR'].$GLOBALS['SYSTEM_TEMPLATE_CONF']); $GLOBALS["SYSTEM_TEMPLATE"]->SetModeliXe(true); $GLOBALS["SYSTEM_TEMPLATE"]->MxText("returnValue", $returnValue); @@ -1753,7 +1753,7 @@ Class Home extends CoordinationObj header("Pragma: no-cache"); /* Appel du modèle mxt spécifique à l'affichage des catégories/rubriques */ - $GLOBALS["SYSTEM_TEMPLATE"] = new ModeliXeGranilim($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_coordination/home/livecompletion.mxt"); + $GLOBALS["SYSTEM_TEMPLATE"] = new ModeliXeQware($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_coordination/home/livecompletion.mxt"); $GLOBALS["SYSTEM_TEMPLATE"]->SetMxFileParameter($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR'].$GLOBALS['SYSTEM_TEMPLATE_CONF']); $GLOBALS["SYSTEM_TEMPLATE"]->SetModeliXe(true); diff --git a/lib/object_plugin/printdata/printdata.php b/lib/object_plugin/printdata/printdata.php index 54e1c95..dd48767 100755 --- a/lib/object_plugin/printdata/printdata.php +++ b/lib/object_plugin/printdata/printdata.php @@ -74,7 +74,7 @@ class PrintData extends Plugin $GLOBALS['SYSTEM_TEMPLATE_TITLE'] =$GLOBALS['SYSTEM_TEMPLATE_DEFAULT_TITLE']; unset($GLOBALS["SYSTEM_TEMPLATE"]); - $GLOBALS["SYSTEM_TEMPLATE"] = new ModeliXeGranilim($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR'].$GLOBALS['SYSTEM_TEMPLATE_MAIN']); + $GLOBALS["SYSTEM_TEMPLATE"] = new ModeliXeQware($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR'].$GLOBALS['SYSTEM_TEMPLATE_MAIN']); $GLOBALS["SYSTEM_TEMPLATE"]->SetMxFileParameter($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR'].$GLOBALS['SYSTEM_TEMPLATE_CONF']); $GLOBALS["SYSTEM_TEMPLATE"]->SetModeliXe(); } diff --git a/lib/object_printing/currentcoordinationobjprint/currentcoordinationobjprint.php b/lib/object_printing/currentcoordinationobjprint/currentcoordinationobjprint.php index 0370ec4..4706cf8 100755 --- a/lib/object_printing/currentcoordinationobjprint/currentcoordinationobjprint.php +++ b/lib/object_printing/currentcoordinationobjprint/currentcoordinationobjprint.php @@ -92,7 +92,7 @@ class CurrentCoordinationObjPrint extends Printing { $this->isPrint = True; if(is_null($this->alternateData)){ - $MaTemplate = new ModeliXeGranilim($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/currentcoordinationobjprint/main.mxt"); + $MaTemplate = new ModeliXeQware($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/currentcoordinationobjprint/main.mxt"); $MaTemplate->SetModeliXe(true); /* gestion du lib en fonction de la langue courante */ diff --git a/lib/object_printing/entrynodeprint/entrynodeprint.php b/lib/object_printing/entrynodeprint/entrynodeprint.php index 33e2b50..bfad76a 100755 --- a/lib/object_printing/entrynodeprint/entrynodeprint.php +++ b/lib/object_printing/entrynodeprint/entrynodeprint.php @@ -71,7 +71,7 @@ class EntryNodePrint extends Printing if (count($tab)<=1) return ""; - $MaTemplate = new ModeliXeGranilim($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/entrynodeprint/entrynode.mxt"); + $MaTemplate = new ModeliXeQware($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/entrynodeprint/entrynode.mxt"); $MaTemplate->SetModeliXe(true); /* création de l'url de login */ diff --git a/lib/object_printing/helpprint/helpprint.php b/lib/object_printing/helpprint/helpprint.php index 665004a..0cce2d2 100755 --- a/lib/object_printing/helpprint/helpprint.php +++ b/lib/object_printing/helpprint/helpprint.php @@ -106,7 +106,7 @@ var $helpUrl = null; { if($this->getActivate()){ # recuperation de la template - $MaTemplate = new ModeliXeGranilim($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/helpprint/helpprint.mxt"); + $MaTemplate = new ModeliXeQware($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/helpprint/helpprint.mxt"); $MaTemplate->SetModeliXe(true); $classe=strtolower(className()); $methode=strtolower(methodName()); diff --git a/lib/object_printing/jscalls/jscalls.php b/lib/object_printing/jscalls/jscalls.php index 4b266ce..f0826d5 100755 --- a/lib/object_printing/jscalls/jscalls.php +++ b/lib/object_printing/jscalls/jscalls.php @@ -64,7 +64,7 @@ class JsCalls extends Printing { global $SERVER_NAME, $SCRIPT_NAME, $CONF_AUTH_SECURE; - $MaTemplate = new ModeliXeGranilim($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/jscalls/jscalls.mxt"); + $MaTemplate = new ModeliXeQware($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/jscalls/jscalls.mxt"); $MaTemplate->SetModeliXe(true); // $MaTemplate->MxText("jscalls".".jscall", "data/javascript/bootstrap-datepicker.min.js"); diff --git a/lib/object_printing/messageprint/messageprint.php b/lib/object_printing/messageprint/messageprint.php index 78e5c0c..08d9bfa 100755 --- a/lib/object_printing/messageprint/messageprint.php +++ b/lib/object_printing/messageprint/messageprint.php @@ -74,7 +74,7 @@ class MessagePrint extends Printing $message=htmlentitiesconv($GLOBALS["SYSTEM_CONTROL"]->messageSystem); } - $MaTemplate = new ModeliXeGranilim($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/messageprint/message.mxt"); + $MaTemplate = new ModeliXeQware($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/messageprint/message.mxt"); $MaTemplate->SetModeliXe(true); $MaTemplate->MxText("message", htmlentitiesconv(stripslashes(unhtmlentities(stripslashes($message))))); $data=$MaTemplate->MxWrite(); diff --git a/lib/object_printing/navigationnodeprint/navigationnodeprint.php b/lib/object_printing/navigationnodeprint/navigationnodeprint.php index 7ad144e..8e1921a 100755 --- a/lib/object_printing/navigationnodeprint/navigationnodeprint.php +++ b/lib/object_printing/navigationnodeprint/navigationnodeprint.php @@ -67,7 +67,7 @@ class NavigationNodePrint extends Printing $defaultCode=$GLOBALS["SYSTEM_DEFAULT_LANGUAGE_CODE"]; /* fin récupération des codes par defaut */ - $MaTemplate = new ModeliXeGranilim($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/navigationnodeprint/main.mxt"); + $MaTemplate = new ModeliXeQware($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/navigationnodeprint/main.mxt"); $MaTemplate->SetModeliXe(true); $MaTemplate->MxText("NavigationPrintName", getMessage("NavigationPrintName")); $Node =$GLOBALS["SYSTEM_USER_SESSION"]->getNode($GLOBALS["SYSTEM_USER_SESSION"]->entryNodeId); @@ -128,7 +128,7 @@ class NavigationNodePrint extends Printing if (count($tabNode)==0) return ""; - $MaTemplate = new ModeliXeGranilim($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/navigationnodeprint/navigationnode.mxt"); + $MaTemplate = new ModeliXeQware($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/navigationnodeprint/navigationnode.mxt"); $MaTemplate->SetModeliXe(true); /* gestion du lib en fonction de la langue courante */ diff --git a/lib/object_printing/navigationprint/navigationprint.php b/lib/object_printing/navigationprint/navigationprint.php index 0fc4e8e..096fc0e 100755 --- a/lib/object_printing/navigationprint/navigationprint.php +++ b/lib/object_printing/navigationprint/navigationprint.php @@ -69,7 +69,7 @@ class NavigationPrint extends Printing $defaultCode=$GLOBALS["SYSTEM_DEFAULT_LANGUAGE_CODE"]; /* fin récupération des codes par defaut */ - $MaTemplate = new ModeliXeGranilim($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/navigationprint/main.mxt"); + $MaTemplate = new ModeliXeQware($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/navigationprint/main.mxt"); $MaTemplate->SetModeliXe(true); $MaTemplate->MxText("NavigationPrintName", getMessage("NavigationPrintName")); $Node =$GLOBALS["SYSTEM_USER_SESSION"]->getNode($GLOBALS["SYSTEM_USER_SESSION"]->entryNodeId); @@ -237,7 +237,7 @@ class NavigationPrint extends Printing { global $SERVER_NAME, $SCRIPT_NAME, $CONF_PERSISTANT_SECURE; - $MaTemplate = new ModeliXeGranilim($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/navigationprint/".$modelixeMxt); + $MaTemplate = new ModeliXeQware($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/navigationprint/".$modelixeMxt); $MaTemplate->SetModeliXe(true); /* gestion du lib en fonction de la langue courante */ diff --git a/lib/object_printing/objectprint/objectprint.php b/lib/object_printing/objectprint/objectprint.php index 2592795..bd77b1a 100755 --- a/lib/object_printing/objectprint/objectprint.php +++ b/lib/object_printing/objectprint/objectprint.php @@ -77,7 +77,7 @@ class ObjectPrint extends Printing if (count($tabObject)<=1) return ""; - $MaTemplate = new ModeliXeGranilim($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/objectprint/object.mxt"); + $MaTemplate = new ModeliXeQware($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/objectprint/object.mxt"); $MaTemplate->SetModeliXe(true); /* gestion du lib en fonction de la langue courante */ diff --git a/lib/object_printing/userprint/userprint.php b/lib/object_printing/userprint/userprint.php index cb23ca8..99b34a2 100755 --- a/lib/object_printing/userprint/userprint.php +++ b/lib/object_printing/userprint/userprint.php @@ -67,7 +67,7 @@ class UserPrint extends Printing { $nodeId = $GLOBALS["SYSTEM_USER_SESSION"]->navigationNodeId; $GLOBALS['SYSTEM_TEMPLATE']->MxText("imgPath", $GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']); - $MaTemplate = new ModeliXeGranilim($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/userprint/auth.mxt"); + $MaTemplate = new ModeliXeQware($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/userprint/auth.mxt"); //$template->SetMxFileParameter($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['TEMPLATE_DIR'].$GLOBALS['TEMPLATE_CONF']); $MaTemplate->SetModeliXe(true); @@ -79,7 +79,7 @@ class UserPrint extends Printing $tabObject =$this->getObjectSon(eid()); for ($i=0; $igetClassName()=="Home") + if ($tabObject[$i][0]->getClassName()=="home") { $urlArray["id"]=$tabObject[$i][1]->getId(); } @@ -121,7 +121,7 @@ class UserPrint extends Printing $MaTemplate->MxAttribut("titleButton", getMessage("tipUserPrintEnter")); $data=$MaTemplate->MxWrite(); }else{ - $MaTemplate = new ModeliXeGranilim($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/userprint/userinfo.mxt"); + $MaTemplate = new ModeliXeQware($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_printing/userprint/userinfo.mxt"); $MaTemplate->SetModeliXe(true); /* picto en fonction de la template */ diff --git a/lib/system/system_coordination/coordinationobj.php b/lib/system/system_coordination/coordinationobj.php index e8a638d..25cb52c 100755 --- a/lib/system/system_coordination/coordinationobj.php +++ b/lib/system/system_coordination/coordinationobj.php @@ -1131,7 +1131,7 @@ class DataCoordination if (file_exists($filePathMxt)) { - $Tpl=new ModelixeGranilim($filePathMxt); + $Tpl=new ModeliXeQware($filePathMxt); $Tpl->setModelixe(true); /* gestion du lib en fonction de la langue courante */