Fixed errors
This commit is contained in:
parent
7a71d1059a
commit
354b7256fe
@ -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`
|
||||
|
@ -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`
|
||||
|
@ -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() );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user