diff --git a/dicos/90_ninegate.xml b/dicos/90_ninegate.xml index 6ca88ac6..14210bcf 100644 --- a/dicos/90_ninegate.xml +++ b/dicos/90_ninegate.xml @@ -30,6 +30,9 @@ + + + @@ -40,6 +43,7 @@ + @@ -172,6 +176,18 @@ + + + non + + + + + + non + + + non @@ -239,6 +255,12 @@ + + + non + + + non @@ -333,6 +355,8 @@ Paramètres associés à Balado Paramètres associés à Dokuwiki Paramètres associés à eConnect + Paramètres associés à EOE + Paramètres associés à EOP Paramètres associés à Etherhome Paramètres associés à Fluxbb Paramètres associés à GEPI @@ -343,6 +367,7 @@ Paramètres associés à Mindmaps Paramètres associés à Moodle Paramètres associés à Nextcloud + Paramètres associés à Nineboard Paramètres associés à Only Office Paramètres associés à Opensondage Paramètres associés à phpLdapAdmin @@ -494,6 +519,8 @@ ninegate_activate_widbalado ninegate_activate_widdokuwiki ninegate_activate_wideconnect + ninegate_activate_wideoe + ninegate_activate_wideop ninegate_activate_widetherhome ninegate_activate_widfluxbb ninegate_activate_widgepi @@ -504,6 +531,7 @@ ninegate_activate_widmindmaps ninegate_activate_widmoodle ninegate_activate_widnextcloud + ninegate_activate_widnineboard ninegate_activate_widonlyoffice ninegate_activate_widopensondage ninegate_activate_widphpldapadmin @@ -678,6 +706,54 @@ + + + oui + activer_eoe + oui + non + non + + + + non + + ninegate_wideoe_url + + + + oui + activer_eoe + /eoleapps/eleves/passperso + None + + + + + + + oui + activer_eop + oui + non + non + + + + non + + ninegate_wideop_url + + + + oui + activer_eop + /eoleapps/eop + None + + + + oui @@ -976,6 +1052,30 @@ + + + oui + activer_nineboard + oui + non + non + + + + non + + ninegate_widnineboard_url + + + + oui + activer_nineboard + /nineboard + None + + + + oui diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Command/InitDataCommand.php b/src/ninegate-1.0/src/Cadoles/PortalBundle/Command/InitDataCommand.php index 520e409e..6051a8c4 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Command/InitDataCommand.php +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Command/InitDataCommand.php @@ -44,6 +44,8 @@ class InitDataCommand extends ContainerAwareCommand $activate_widbalado = $this->getContainer()->getParameter('activate_widbalado'); $activate_widdokuwiki = $this->getContainer()->getParameter('activate_widdokuwiki'); $activate_wideconnect = $this->getContainer()->getParameter('activate_wideconnect'); + $activate_wideoe = $this->getContainer()->getParameter('activate_wideoe'); + $activate_wideop = $this->getContainer()->getParameter('activate_wideop'); $activate_widetherhome = $this->getContainer()->getParameter('activate_widetherhome'); $activate_widfluxbb = $this->getContainer()->getParameter('activate_widfluxbb'); $activate_widgepi = $this->getContainer()->getParameter('activate_widgepi'); @@ -54,6 +56,7 @@ class InitDataCommand extends ContainerAwareCommand $activate_widmindmaps = $this->getContainer()->getParameter('activate_widmindmaps'); $activate_widmoodle = $this->getContainer()->getParameter('activate_widmoodle'); $activate_widnextcloud = $this->getContainer()->getParameter('activate_widnextcloud'); + $activate_widnineboard = $this->getContainer()->getParameter('activate_widnineboard'); $activate_widonlyoffice = $this->getContainer()->getParameter('activate_widonlyoffice'); $activate_widopensondage = $this->getContainer()->getParameter('activate_widopensondage'); $activate_widphpldapadmin = $this->getContainer()->getParameter('activate_widphpldapadmin'); @@ -429,6 +432,50 @@ class InitDataCommand extends ContainerAwareCommand $em->persist($entityItem); } + // Item EOE + if($activate_wideoe) { + $wideoe_url =$this->getContainer()->getParameter('wideoe_url'); + $entityItem = $em->getRepository('CadolesPortalBundle:Item')->find(-370); + if(!$entityItem) { + $entityicon = $em->getRepository('CadolesPortalBundle:Icon')->findoneby(["label"=>"uploads/icon/icon_eoe.png"]); + + $entityItem = new Item(); + $entityItem->setId(-370); + $entityItem->setRowOrder(0); + $entityItem->setTitle('EOE'); + $entityItem->SetSubtitle("EOLE Outils Elève"); + $entityItem->setIcon($entityicon); + $entityItem->setTarget("_blank"); + $entityItem->setItemcategory($entityItemcategoryapp); + $entityItem->setEssential(true); + $entityItem->addGroup($groupall); + } + $entityItem->setUrl($wideoe_url); + $em->persist($entityItem); + } + + // Item EOP + if($activate_wideop) { + $wideop_url =$this->getContainer()->getParameter('wideop_url'); + $entityItem = $em->getRepository('CadolesPortalBundle:Item')->find(-371); + if(!$entityItem) { + $entityicon = $em->getRepository('CadolesPortalBundle:Icon')->findoneby(["label"=>"uploads/icon/icon_eop.png"]); + + $entityItem = new Item(); + $entityItem->setId(-371); + $entityItem->setRowOrder(0); + $entityItem->setTitle('EOP'); + $entityItem->SetSubtitle("EOLE Outils Professeur"); + $entityItem->setIcon($entityicon); + $entityItem->setTarget("_blank"); + $entityItem->setItemcategory($entityItemcategoryapp); + $entityItem->setEssential(true); + $entityItem->addGroup($groupall); + } + $entityItem->setUrl($wideop_url); + $em->persist($entityItem); + } + // Item etherhome if($activate_widetherhome) { $widetherhome_url =$this->getContainer()->getParameter('widetherhome_url'); @@ -649,6 +696,28 @@ class InitDataCommand extends ContainerAwareCommand $em->persist($entityItem); } + // Item Nineboard + if($activate_widnineboard) { + $widnineboard_url =$this->getContainer()->getParameter('widnineboard_url'); + $entityItem = $em->getRepository('CadolesPortalBundle:Item')->find(-361); + if(!$entityItem) { + $entityicon = $em->getRepository('CadolesPortalBundle:Icon')->findoneby(["label"=>"uploads/icon/icon_nineboard.png"]); + + $entityItem = new Item(); + $entityItem->setId(-361); + $entityItem->setRowOrder(0); + $entityItem->setTitle('Nineboard'); + $entityItem->SetSubtitle("Gestionnaire de tableau de bord collaboratif"); + $entityItem->setIcon($entityicon); + $entityItem->setTarget("_blank"); + $entityItem->setItemcategory($entityItemcategoryapp); + $entityItem->setEssential(true); + $entityItem->addGroup($groupall); + } + $entityItem->setUrl($widnineboard_url); + $em->persist($entityItem); + } + // Item Onlyoffice if($activate_widonlyoffice) { $widonlyoffice_url =$this->getContainer()->getParameter('widonlyoffice_url'); diff --git a/src/ninegate-1.0/web/uploads/icon/icon_eoe.png b/src/ninegate-1.0/web/uploads/icon/icon_eoe.png new file mode 100644 index 00000000..a4d1f7f6 Binary files /dev/null and b/src/ninegate-1.0/web/uploads/icon/icon_eoe.png differ diff --git a/src/ninegate-1.0/web/uploads/icon/icon_eop.png b/src/ninegate-1.0/web/uploads/icon/icon_eop.png new file mode 100644 index 00000000..b9740396 Binary files /dev/null and b/src/ninegate-1.0/web/uploads/icon/icon_eop.png differ diff --git a/src/ninegate-1.0/web/uploads/icon/icon_nineboard.png b/src/ninegate-1.0/web/uploads/icon/icon_nineboard.png new file mode 100644 index 00000000..f84fa127 Binary files /dev/null and b/src/ninegate-1.0/web/uploads/icon/icon_nineboard.png differ diff --git a/tmpl/ninegate-template.yml b/tmpl/ninegate-template.yml index 6f476cc1..4ddb4adb 100644 --- a/tmpl/ninegate-template.yml +++ b/tmpl/ninegate-template.yml @@ -220,6 +220,20 @@ parameters: activate_wideconnect: false %end if +%if %%getVar("ninegate_activate_wideoe", 'non') == "oui" + activate_wideoe: true + wideoe_url: %%ninegate_wideoe_url +%else + activate_wideoe: false +%end if + +%if %%getVar("ninegate_activate_wideop", 'non') == "oui" + activate_wideop: true + wideop_url: %%ninegate_wideop_url +%else + activate_wideop: false +%end if + %if %%getVar("ninegate_activate_widetherhome", 'non') == "oui" activate_widetherhome: true widetherhome_url: %%ninegate_widetherhome_url @@ -309,6 +323,13 @@ parameters: widnextcloud_activate_syncenvole: false %end if +%if %%getVar("ninegate_activate_widnineboard", 'non') == "oui" + activate_widnineboard: true + widnineboard_url: %%ninegate_widnineboard_url +%else + activate_widnineboard: false +%end if + %if %%getVar("ninegate_activate_widonlyoffice", 'non') == "oui" activate_widonlyoffice: true widonlyoffice_url: %%ninegate_widonlyoffice_url