Compare commits
No commits in common. "c788b97fca0fa7b43a0f0b248f205bb1d5958d02" and "c813e78c696a82dfe094bfcaf61adaa68e7b23e5" have entirely different histories.
c788b97fca
...
c813e78c69
|
@ -33,7 +33,6 @@
|
||||||
<variable name="activer_etherhome" type="oui/non" description="Activer Etherhome" hidden='True' exists='False'><value>non</value></variable>
|
<variable name="activer_etherhome" type="oui/non" description="Activer Etherhome" hidden='True' exists='False'><value>non</value></variable>
|
||||||
<variable name="activer_fluxbb" type="oui/non" description="Activer Fluxbb" hidden='True' exists='False'><value>non</value></variable>
|
<variable name="activer_fluxbb" type="oui/non" description="Activer Fluxbb" hidden='True' exists='False'><value>non</value></variable>
|
||||||
<variable name="activer_gepi" type="oui/non" description="Activer GEPI" hidden='True' exists='False'><value>non</value></variable>
|
<variable name="activer_gepi" type="oui/non" description="Activer GEPI" hidden='True' exists='False'><value>non</value></variable>
|
||||||
<variable name="activer_glpi" type="oui/non" description="Activer GLPI" hidden='True' exists='False'><value>non</value></variable>
|
|
||||||
<variable name="activer_grr" type="oui/non" description="Activer Grr" hidden='True' exists='False'><value>non</value></variable>
|
<variable name="activer_grr" type="oui/non" description="Activer Grr" hidden='True' exists='False'><value>non</value></variable>
|
||||||
<variable name="activer_kanboard" type="oui/non" description="Activer Kanboard" hidden='True' exists='False'><value>non</value></variable>
|
<variable name="activer_kanboard" type="oui/non" description="Activer Kanboard" hidden='True' exists='False'><value>non</value></variable>
|
||||||
<variable name="activer_limesurvey" type="oui/non" description="Activer Limesurvey" hidden='True' exists='False'><value>non</value></variable>
|
<variable name="activer_limesurvey" type="oui/non" description="Activer Limesurvey" hidden='True' exists='False'><value>non</value></variable>
|
||||||
|
@ -188,12 +187,6 @@
|
||||||
<variable type='string' name='ninegate_widgepi_url' description='URL complète de votre GEPI' mandatory='True' />
|
<variable type='string' name='ninegate_widgepi_url' description='URL complète de votre GEPI' mandatory='True' />
|
||||||
<variable type='string' name='ninegate_widgepi_syncenvole' description='URL Posh-Profil pour synchronisation GEPI' mandatory='True' />
|
<variable type='string' name='ninegate_widgepi_syncenvole' description='URL Posh-Profil pour synchronisation GEPI' mandatory='True' />
|
||||||
|
|
||||||
<!-- GLPI -->
|
|
||||||
<variable type="oui/non" name='ninegate_activate_widglpi' description='Activer GLPI' mandatory='True'>
|
|
||||||
<value>non</value>
|
|
||||||
</variable>
|
|
||||||
<variable type='string' name='ninegate_widglpi_url' description='URL complète de votre GLPI' mandatory='True' />
|
|
||||||
|
|
||||||
<!-- GRR -->
|
<!-- GRR -->
|
||||||
<variable type="oui/non" name='ninegate_activate_widgrr' description='Activer Grr' mandatory='True'>
|
<variable type="oui/non" name='ninegate_activate_widgrr' description='Activer Grr' mandatory='True'>
|
||||||
<value>non</value>
|
<value>non</value>
|
||||||
|
@ -333,7 +326,6 @@
|
||||||
<separator name="ninegate_activate_widetherhome">Paramètres associés à Etherhome</separator>
|
<separator name="ninegate_activate_widetherhome">Paramètres associés à Etherhome</separator>
|
||||||
<separator name="ninegate_activate_widfluxbb">Paramètres associés à Fluxbb</separator>
|
<separator name="ninegate_activate_widfluxbb">Paramètres associés à Fluxbb</separator>
|
||||||
<separator name="ninegate_activate_widgepi">Paramètres associés à GEPI</separator>
|
<separator name="ninegate_activate_widgepi">Paramètres associés à GEPI</separator>
|
||||||
<separator name="ninegate_activate_widglpi">Paramètres associés à GLPI</separator>
|
|
||||||
<separator name="ninegate_activate_widgrr">Paramètres associés à Grr</separator>
|
<separator name="ninegate_activate_widgrr">Paramètres associés à Grr</separator>
|
||||||
<separator name="ninegate_activate_widkanboard">Paramètres associés à Kanboard</separator>
|
<separator name="ninegate_activate_widkanboard">Paramètres associés à Kanboard</separator>
|
||||||
<separator name="ninegate_activate_widlimesurvey">Paramètres associés à Limesurvey</separator>
|
<separator name="ninegate_activate_widlimesurvey">Paramètres associés à Limesurvey</separator>
|
||||||
|
@ -493,7 +485,6 @@
|
||||||
<target type='variable'>ninegate_activate_widetherhome</target>
|
<target type='variable'>ninegate_activate_widetherhome</target>
|
||||||
<target type='variable'>ninegate_activate_widfluxbb</target>
|
<target type='variable'>ninegate_activate_widfluxbb</target>
|
||||||
<target type='variable'>ninegate_activate_widgepi</target>
|
<target type='variable'>ninegate_activate_widgepi</target>
|
||||||
<target type='variable'>ninegate_activate_widglpi</target>
|
|
||||||
<target type='variable'>ninegate_activate_widgrr</target>
|
<target type='variable'>ninegate_activate_widgrr</target>
|
||||||
<target type='variable'>ninegate_activate_widkanboard</target>
|
<target type='variable'>ninegate_activate_widkanboard</target>
|
||||||
<target type='variable'>ninegate_activate_widlimesurvey</target>
|
<target type='variable'>ninegate_activate_widlimesurvey</target>
|
||||||
|
@ -753,30 +744,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- AFFICHAGE EN FONCTION DU WIDGET GLPI -->
|
|
||||||
<fill name='calc_multi_condition' target='ninegate_activate_widglpi'>
|
|
||||||
<param>oui</param>
|
|
||||||
<param type='eole' name='condition_1' hidden='False'>activer_glpi</param>
|
|
||||||
<param name='match'>oui</param>
|
|
||||||
<param name='mismatch'>non</param>
|
|
||||||
<param name='default_mismatch'>non</param>
|
|
||||||
</fill>
|
|
||||||
|
|
||||||
<condition name='hidden_if_in' source='ninegate_activate_widglpi'>
|
|
||||||
<param>non</param>
|
|
||||||
|
|
||||||
<target type='variable'>ninegate_widglpi_url</target>
|
|
||||||
</condition>
|
|
||||||
|
|
||||||
<fill name='calc_multi_condition' target='ninegate_widglpi_url'>
|
|
||||||
<param>oui</param>
|
|
||||||
<param type='eole' name='condition_1' hidden='False'>activer_glpi</param>
|
|
||||||
<param name='match'>/glpi</param>
|
|
||||||
<param name='default_mismatch'>None</param>
|
|
||||||
</fill>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- AFFICHAGE EN FONCTION DU WIDGET GRR -->
|
<!-- AFFICHAGE EN FONCTION DU WIDGET GRR -->
|
||||||
<fill name='calc_multi_condition' target='ninegate_activate_widgrr'>
|
<fill name='calc_multi_condition' target='ninegate_activate_widgrr'>
|
||||||
<param>oui</param>
|
<param>oui</param>
|
||||||
|
|
|
@ -8,7 +8,7 @@ INSERT IGNORE INTO `niveau01` (`id`, `label`, `siren`) VALUES
|
||||||
(-100, 'Interne', 'SIREN');
|
(-100, 'Interne', 'SIREN');
|
||||||
|
|
||||||
INSERT IGNORE INTO `user` (`id`, `niveau01_id`, `username`, `firstname`, `lastname`, `password`, `email`, `avatar`, `role`,`siren`,`authlevel`) VALUES
|
INSERT IGNORE INTO `user` (`id`, `niveau01_id`, `username`, `firstname`, `lastname`, `password`, `email`, `avatar`, `role`,`siren`,`authlevel`) VALUES
|
||||||
(-100, -100, 'admin', 'Administrateur', 'draaf', '{SSHA}2oV9M1Ofw14hGll+W1oPHxR7E2SZvzFz
|
(-100, -100, 'admin', 'Administrateur', 'draaf', '{SSHA}RpichoTKCN2p1e9VPz1JnGxjaZ7Xe1Eq
|
||||||
', 'admin@ldapbundle.ac-arno.fr', 'admin.jpg', 'ROLE_ADMIN', '130007107', 'simple');
|
', 'admin@ldapbundle.ac-arno.fr', 'admin.jpg', 'ROLE_ADMIN', '130007107', 'simple');
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,6 @@ class InitDataCommand extends ContainerAwareCommand
|
||||||
$activate_widetherhome = $this->getContainer()->getParameter('activate_widetherhome');
|
$activate_widetherhome = $this->getContainer()->getParameter('activate_widetherhome');
|
||||||
$activate_widfluxbb = $this->getContainer()->getParameter('activate_widfluxbb');
|
$activate_widfluxbb = $this->getContainer()->getParameter('activate_widfluxbb');
|
||||||
$activate_widgepi = $this->getContainer()->getParameter('activate_widgepi');
|
$activate_widgepi = $this->getContainer()->getParameter('activate_widgepi');
|
||||||
$activate_widglpi = $this->getContainer()->getParameter('activate_widglpi');
|
|
||||||
$activate_widgrr = $this->getContainer()->getParameter('activate_widgrr');
|
$activate_widgrr = $this->getContainer()->getParameter('activate_widgrr');
|
||||||
$activate_widkanboard = $this->getContainer()->getParameter('activate_widkanboard');
|
$activate_widkanboard = $this->getContainer()->getParameter('activate_widkanboard');
|
||||||
$activate_widlimesurvey = $this->getContainer()->getParameter('activate_widlimesurvey');
|
$activate_widlimesurvey = $this->getContainer()->getParameter('activate_widlimesurvey');
|
||||||
|
@ -403,28 +402,6 @@ class InitDataCommand extends ContainerAwareCommand
|
||||||
$em->persist($entityItem);
|
$em->persist($entityItem);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Item glpi
|
|
||||||
if($activate_widglpi) {
|
|
||||||
$widglpi_url =$this->getContainer()->getParameter('widglpi_url');
|
|
||||||
$entityItem = $em->getRepository('CadolesPortalBundle:Item')->find(-388);
|
|
||||||
if(!$entityItem) {
|
|
||||||
$entityicon = $em->getRepository('CadolesPortalBundle:Icon')->findoneby(["label"=>"uploads/icon/icon_glpi.png"]);
|
|
||||||
|
|
||||||
$entityItem = new Item();
|
|
||||||
$entityItem->setId(-388);
|
|
||||||
$entityItem->setRowOrder(0);
|
|
||||||
$entityItem->setTitle('GLPI');
|
|
||||||
$entityItem->SetSubtitle("Gestion de tickets");
|
|
||||||
$entityItem->setIcon($entityicon);
|
|
||||||
$entityItem->setTarget("_blank");
|
|
||||||
$entityItem->setItemcategory($entityItemcategoryapp);
|
|
||||||
$entityItem->setEssential(true);
|
|
||||||
$entityItem->addGroup($groupall);
|
|
||||||
}
|
|
||||||
$entityItem->setUrl($widglpi_url);
|
|
||||||
$em->persist($entityItem);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Item grr
|
// Item grr
|
||||||
if($activate_widgrr) {
|
if($activate_widgrr) {
|
||||||
$widgrr_url =$this->getContainer()->getParameter('widgrr_url');
|
$widgrr_url =$this->getContainer()->getParameter('widgrr_url');
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 6.0 KiB |
|
@ -241,13 +241,6 @@ parameters:
|
||||||
widgepi_activate_syncenvole: false
|
widgepi_activate_syncenvole: false
|
||||||
%end if
|
%end if
|
||||||
|
|
||||||
%if %%getVar("ninegate_activate_widglpi", 'non') == "oui"
|
|
||||||
activate_widglpi: true
|
|
||||||
widglpi_url: %%ninegate_widglpi_url
|
|
||||||
%else
|
|
||||||
activate_widglpi: false
|
|
||||||
%end if
|
|
||||||
|
|
||||||
%if %%getVar("ninegate_activate_widgrr", 'non') == "oui"
|
%if %%getVar("ninegate_activate_widgrr", 'non') == "oui"
|
||||||
activate_widgrr: true
|
activate_widgrr: true
|
||||||
widgrr_url: %%ninegate_widgrr_url
|
widgrr_url: %%ninegate_widgrr_url
|
||||||
|
|
Loading…
Reference in New Issue