Fixed errors

This commit is contained in:
Rooty 2021-09-23 16:19:06 +02:00
parent 7a71d1059a
commit 354b7256fe
3 changed files with 14 additions and 14 deletions

View File

@ -133,7 +133,7 @@ INSERT INTO `{_PREFIX_}node` VALUES (100, 3, '<?xml version="1.0" encoding="UTF-
#--
#-- Contenu de la table `nodesettings`
#--
INSERT INTO `{_PREFIX_}nodesettings` VALUES (2, 'contact@qware.fr', 'https://git.fab-l3.org/tristan.champomier/Qware_core', 'https://social.fab-l3.org/@fablcube', '', '#qware:sim.fab-l3.org', '', '', '', '');
INSERT INTO `{_PREFIX_}nodesettings` VALUES (2, 'contact@qware.fr', 'https://git.rooty.fr/rooty/Qware_core', 'https://social.rooty.fr/@fablcube', '', '', '', '', '', '');
#-----------------------------------------------------------
#--
#-- Contenu de la table `node_group_user`

View File

@ -133,7 +133,7 @@ INSERT INTO `{_PREFIX_}node` VALUES (100, 3, '<?xml version="1.0" encoding="UTF-
#--
#-- Contenu de la table `nodesettings`
#--
INSERT INTO `{_PREFIX_}nodesettings` VALUES (2, 'contact@qware.fr', 'https://git.fab-l3.org/tristan.champomier/Qware_core', 'https://social.fab-l3.org/@fablcube', '', '#qware:sim.fab-l3.org', '', '', '', '');
INSERT INTO `{_PREFIX_}nodesettings` VALUES (2, 'contact@qware.fr', 'https://git.rooty.fr/rooty/Qware_core', 'https://social.rooty.fr/@fablcube', '', '', '', '', '', '');
#-----------------------------------------------------------
#--
#-- Contenu de la table `node_group_user`

View File

@ -446,15 +446,15 @@ function execAdmin()
$NodeAdmin->setIdPere($Node->getId());
$NodeUtil->setTemplate($defaultTemplate);
$NodeAdmin->setTemplate($defaultTemplate);
$NodeUtil->setLibelle("FR", "Utilisateur");
$NodeAdmin->setLibelle("FR", "Administrateur");
$NodeUtil->setLibelle($currentCode, "Utilisateur");
$NodeAdmin->setLibelle($currentCode, "Administrateur");
$GroupUtil =new Group();
$GroupAdmin =new Group();
$GroupUtil->setIdPere($Group->getId());
$GroupAdmin->setIdPere($Group->getId());
$GroupUtil->setLibelle("FR", "Utilisateur");
$GroupAdmin->setLibelle("FR", "Administrateur");
$GroupUtil->setLibelle($currentCode, "Utilisateur");
$GroupAdmin->setLibelle($currentCode, "Administrateur");
$NodeUtil=$GLOBALS["SYSTEM_MANAGER"]["NODE"]->insertInstance($NodeUtil);
$NodeAdmin=$GLOBALS["SYSTEM_MANAGER"]["NODE"]->insertInstance($NodeAdmin);
@ -466,7 +466,7 @@ function execAdmin()
$NodePublic =new Node();
$NodePublic->setIdPere($Node->getId());
$NodePublic->setTemplate($defaultTemplate);
$NodePublic->setLibelle("FR", $Node->getDomain);
$NodePublic->setLibelle($currentCode, $Node->getDomain);
$NodePublic=$GLOBALS["SYSTEM_MANAGER"]["NODE"]->insertInstance($NodePublic);
}
@ -495,7 +495,7 @@ function execAdmin()
# ----> Objet en lui mm
includeDep("adminobject/adminobject.php");
$Obj=new AdminObject();
$Obj->setName("FR", "Gérer les outils");
$Obj->setName($currentCode, "Gérer les outils");
$Obj->setContentType("AdminObject");
if (isset($_POST["class_id"]))
{
@ -529,7 +529,7 @@ function execAdmin()
# ----> Objet en lui mm
includeDep("adminuser/adminuser.php");
$Obj=new AdminUser();
$Obj->setName("FR", "Gérer les comptes");
$Obj->setName($currentCode, "Gérer les comptes");
$Obj->setContentType("AdminUser");
$Obj->setData("groupId", $Group->getId() );
$Obj->setNode( nid() );
@ -548,7 +548,7 @@ function execAdmin()
# ----> Objet en lui mm
includeDep("admingroup/admingroup.php");
$Obj=new AdminGroup();
$Obj->setName("FR", "Gérer les groupes");
$Obj->setName($currentCode, "Gérer les groupes");
$Obj->setContentType("AdminGroup");
$Obj->setData("groupId", $Group->getId() );
$Obj->setNode( nid() );
@ -567,7 +567,7 @@ function execAdmin()
# ----> Objet en lui mm
includeDep("adminnode/adminnode.php");
$Obj=new AdminNode();
$Obj->setName("FR", "Gérer les espaces");
$Obj->setName($currentCode, "Gérer les espaces");
$Obj->setContentType("AdminNode");
$Obj->setData("nodeId", $Node->getId() );
$Obj->setData("template", $template );
@ -587,7 +587,7 @@ function execAdmin()
# ----> Objet en lui mm
includeDep("adminentrynode/adminentrynode.php");
$Obj=new AdminEntryNode();
$Obj->setName("FR", "Gérer les accès");
$Obj->setName($currentCode, "Gérer les accès");
$Obj->setContentType("AdminEntryNode");
$Obj->setData("nodeId", $Node->getId() );
$Obj->setData("groupId", $Group->getId() );
@ -627,7 +627,7 @@ function execAdmin()
# ----> Objet en lui mm
includeDep("usertemp/usertemp.php");
$Obj=new UserTemp();
$Obj->setName("FR", "Gérer les préinscriptions");
$Obj->setName($currentCode, "Gérer les préinscriptions");
$Obj->setContentType("UserTemp");
$Obj->setData("nodeId", $Node->getId() );
$Obj->setData("groupId", $Group->getId() );
@ -647,7 +647,7 @@ function execAdmin()
# ----> Objet en lui mm
includeDep("home/home.php");
$Obj=new Home();
$Obj->setName("FR", "Accueil");
$Obj->setName($currentCode, "Accueil");
$Obj->setContentType("Home");
$Obj->setNode( $Node->getId() );