Fixed uppercases/lowercases in database values fields of coordination_object and right_method

This commit is contained in:
Rooty 2021-04-02 11:04:57 +02:00
parent ed089a5032
commit 3e51a70b38
3 changed files with 21 additions and 21 deletions

View File

@ -94,15 +94,15 @@ INSERT INTO `{_PREFIX_}package_user_space` VALUES (1, 1, 0, 2147483647);
#--
#-- Contenu de la table `coordination_object`
#--
INSERT INTO `{_PREFIX_}coordination_object` VALUES (1, '0000-00-00 00:00:00', 2, 3, 'defaultobject.png', 'adminobject', '<?xml version="1.0" encoding="UTF-8" ?>\n\r\n\r<XML XLANGUECHAINEVERSION="1.0">\r\n <FR>c. Gérer les outils</FR>\r\r\n</XML>\r\n\r\n</xml>', '', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0x613a333a7b733a31323a22746162466f7262696464656e223b613a303a7b7d733a373a2267726f75704964223b733a313a2231223b733a363a226e6f64654964223b733a313a2231223b7d);
INSERT INTO `{_PREFIX_}coordination_object` VALUES (3, '0000-00-00 00:00:00', 2, 100, 'defaultobject.png', 'home', '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n <FR>Accueil</FR>\r\n</XML>\r\n\r\n</xml>', '', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0x613a303a7b7d);
INSERT INTO `{_PREFIX_}coordination_object` VALUES (4, '0000-00-00 00:00:00', 2, 99, 'defaultobject.png', 'adminnode', '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n <FR>b. Gérer les espaces</FR>\r\n</XML>\r\n\r\n</xml>', '', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0x613a333a7b733a373a2267726f75704964223b693a313b733a363a226e6f64654964223b733a313a2231223b733a383a2274656d706c617465223b613a313a7b693a303b733a373a2264656661756c74223b7d7d);
INSERT INTO `{_PREFIX_}coordination_object` VALUES (5, '0000-00-00 00:00:00', 2, 99, 'defaultobject.png', 'addcom', '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n <FR>a. Créer une communauté</FR>\r\n</XML>\r\n\r\n</xml>', '', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0x613a303a7b7d);
INSERT INTO `{_PREFIX_}coordination_object` VALUES (6, '0000-00-00 00:00:00', 2, 99, 'defaultobject.png', 'admingroup', '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n <FR>d. Gérer les groupes</FR>\r\n</XML>\r\n\r\n</xml>', '', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0x613a313a7b733a373a2267726f75704964223b733a313a2231223b7d);
INSERT INTO `{_PREFIX_}coordination_object` VALUES (7, '0000-00-00 00:00:00', 2, 99, 'defaultobject.png', 'adminentrynode', '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n <FR>e. Gérer les accès</FR>\r\n</XML>\r\n\r\n</xml>', '', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0x613a323a7b733a373a2267726f75704964223b733a313a2231223b733a363a226e6f64654964223b733a313a2231223b7d);
INSERT INTO `{_PREFIX_}coordination_object` VALUES (8, '0000-00-00 00:00:00', 2, 99, 'defaultobject.png', 'adminuser', '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n <FR>f. Gérer les comptes</FR>\r\n</XML>\r\n\r\n</xml>', '', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0x613a313a7b733a373a2267726f75704964223b733a313a2231223b7d);
INSERT INTO `{_PREFIX_}coordination_object` VALUES (35, '0000-00-00 00:00:00', 2, 99, 'defaultobject.png', 'installmanager', '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n <FR>g. Gérer les mises à jour</FR>\r\n</XML>\r\n\r\n</xml>', '', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0x613a333a7b733a333a22667470223b733a31373a226d616a2e6772616e69776172652e6e6574223b733a353a226c6f67696e223b733a363a22737461626c65223b733a363a22706173737764223b733a363a22737461626c65223b7d);
INSERT INTO `{_PREFIX_}coordination_object` VALUES (2, '0000-00-00 00:00:00', 2, 99, 'defaultobject.png', 'community', '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n <FR>Les communautés</FR>\r\n</XML>\r\n\r\n</xml>', '', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0x613a303a7b7d);
INSERT INTO `{_PREFIX_}coordination_object` VALUES (1, '0000-00-00 00:00:00', 2, 3, 'defaultobject.png', 'AdminObject', '<?xml version="1.0" encoding="UTF-8" ?>\n\r\n\r<XML XLANGUECHAINEVERSION="1.0">\r\n <FR>c. Gérer les outils</FR>\r\r\n</XML>\r\n\r\n</xml>', '', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0x613a333a7b733a31323a22746162466f7262696464656e223b613a303a7b7d733a373a2267726f75704964223b733a313a2231223b733a363a226e6f64654964223b733a313a2231223b7d);
INSERT INTO `{_PREFIX_}coordination_object` VALUES (3, '0000-00-00 00:00:00', 2, 100, 'defaultobject.png', 'Home', '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n <FR>Accueil</FR>\r\n</XML>\r\n\r\n</xml>', '', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0x613a303a7b7d);
INSERT INTO `{_PREFIX_}coordination_object` VALUES (4, '0000-00-00 00:00:00', 2, 99, 'defaultobject.png', 'AdminNode', '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n <FR>b. Gérer les espaces</FR>\r\n</XML>\r\n\r\n</xml>', '', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0x613a333a7b733a373a2267726f75704964223b693a313b733a363a226e6f64654964223b733a313a2231223b733a383a2274656d706c617465223b613a313a7b693a303b733a373a2264656661756c74223b7d7d);
INSERT INTO `{_PREFIX_}coordination_object` VALUES (5, '0000-00-00 00:00:00', 2, 99, 'defaultobject.png', 'AddCom', '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n <FR>a. Créer une communauté</FR>\r\n</XML>\r\n\r\n</xml>', '', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0x613a303a7b7d);
INSERT INTO `{_PREFIX_}coordination_object` VALUES (6, '0000-00-00 00:00:00', 2, 99, 'defaultobject.png', 'AdminGroup', '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n <FR>d. Gérer les groupes</FR>\r\n</XML>\r\n\r\n</xml>', '', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0x613a313a7b733a373a2267726f75704964223b733a313a2231223b7d);
INSERT INTO `{_PREFIX_}coordination_object` VALUES (7, '0000-00-00 00:00:00', 2, 99, 'defaultobject.png', 'AdminEntryNode', '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n <FR>e. Gérer les accès</FR>\r\n</XML>\r\n\r\n</xml>', '', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0x613a323a7b733a373a2267726f75704964223b733a313a2231223b733a363a226e6f64654964223b733a313a2231223b7d);
INSERT INTO `{_PREFIX_}coordination_object` VALUES (8, '0000-00-00 00:00:00', 2, 99, 'defaultobject.png', 'AdminUser', '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n <FR>f. Gérer les comptes</FR>\r\n</XML>\r\n\r\n</xml>', '', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0x613a313a7b733a373a2267726f75704964223b733a313a2231223b7d);
INSERT INTO `{_PREFIX_}coordination_object` VALUES (35, '0000-00-00 00:00:00', 2, 99, 'defaultobject.png', 'InstallManager', '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n <FR>g. Gérer les mises à jour</FR>\r\n</XML>\r\n\r\n</xml>', '', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0x613a333a7b733a333a22667470223b733a31373a226d616a2e6772616e69776172652e6e6574223b733a353a226c6f67696e223b733a363a22737461626c65223b733a363a22706173737764223b733a363a22737461626c65223b7d);
INSERT INTO `{_PREFIX_}coordination_object` VALUES (2, '0000-00-00 00:00:00', 2, 99, 'defaultobject.png', 'Community', '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n <FR>Les communautés</FR>\r\n</XML>\r\n\r\n</xml>', '', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0x613a303a7b7d);
#-----------------------------------------------------------
#--
#-- Contenu de la table `group`
@ -145,16 +145,16 @@ INSERT INTO `{_PREFIX_}package_node_space` VALUES (1, 1, 4294967295);
#--
#-- Contenu de la table `right`
#--
INSERT INTO `{_PREFIX_}right` VALUES (1, 'adminobject', 'actionadmin', 1, 99, 0, 3);
INSERT INTO `{_PREFIX_}right` VALUES (2, 'home', 'actionlecture', 3, 2, 0, 1);
INSERT INTO `{_PREFIX_}right` VALUES (5, 'textinfo', 'actionadmin', 3, 100, 0, 1);
INSERT INTO `{_PREFIX_}right` VALUES (12, 'adminnode', 'actionadmin', 4, 99, 0, 3);
INSERT INTO `{_PREFIX_}right` VALUES (13, 'admingroup', 'actionadmin', 6, 99, 0, 3);
INSERT INTO `{_PREFIX_}right` VALUES (14, 'adminentrynode', 'actionadmin', 7, 99, 0, 3);
INSERT INTO `{_PREFIX_}right` VALUES (16, 'adminuser', 'actionadmin', 8, 99, 0, 3);
INSERT INTO `{_PREFIX_}right` VALUES (11, 'addcom', 'actionadmin', 5, 99, 0, 3);
INSERT INTO `{_PREFIX_}right` VALUES (60, 'installmanager', 'actioninstall', 35, 99, 0, 1);
INSERT INTO `{_PREFIX_}right` VALUES (17, 'community', 'actionlecture', 2, 2, 0, 1);
INSERT INTO `{_PREFIX_}right` VALUES (1, 'AdminObject', 'actionAdmin', 1, 99, 0, 3);
INSERT INTO `{_PREFIX_}right` VALUES (2, 'Home', 'actionLecture', 3, 2, 0, 1);
INSERT INTO `{_PREFIX_}right` VALUES (5, 'TextInfo', 'actionAdmin', 3, 100, 0, 1);
INSERT INTO `{_PREFIX_}right` VALUES (12, 'AdminNode', 'actionAdmin', 4, 99, 0, 3);
INSERT INTO `{_PREFIX_}right` VALUES (13, 'AdminGroup', 'actionAdmin', 6, 99, 0, 3);
INSERT INTO `{_PREFIX_}right` VALUES (14, 'AdminEntryNode', 'actionAdmin', 7, 99, 0, 3);
INSERT INTO `{_PREFIX_}right` VALUES (16, 'AdminUser', 'actionAdmin', 8, 99, 0, 3);
INSERT INTO `{_PREFIX_}right` VALUES (11, 'AddCom', 'actionAdmin', 5, 99, 0, 3);
INSERT INTO `{_PREFIX_}right` VALUES (60, 'InstallManager', 'actionInstall', 35, 99, 0, 1);
INSERT INTO `{_PREFIX_}right` VALUES (17, 'Community', 'actionLecture', 2, 2, 0, 1);
#-----------------------------------------------------------
#--
#-- Contenu de la table `session`

View File

@ -95,7 +95,7 @@ class NavigationPrint extends Printing
$tabObject =$this->getObjectSon(eid());
for ($i=0; $i<count($tabObject);$i++)
{
if ($tabObject[$i][0]->getClassName()=="home")
if ($tabObject[$i][0]->getClassName()=="Home")
{
$urlArray["id"]=$tabObject[$i][1]->getId();
}

View File

@ -79,7 +79,7 @@ class UserPrint extends Printing
$tabObject =$this->getObjectSon(eid());
for ($i=0; $i<count($tabObject);$i++)
{
if ($tabObject[$i][0]->getClassName()=="home")
if ($tabObject[$i][0]->getClassName()=="Home")
{
// var_dump($tabObject[$i][1]->getId());
$urlArray["id"]=$tabObject[$i][1]->getId();