From 2efb732ba94755925421e8d7ff9c02e7b3e0ec80 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Tue, 13 Jul 2010 15:42:39 +0000 Subject: [PATCH] Data load adjustements for beta' SVN:trunk[600] --- .../data.sample.Contact.xml | 11 ++++++++++- .../data.sample.Contract.xml | 4 ++-- .../data.sample.Service.xml | 16 +++++++++++++++- setup/index.php | 6 +++++- 4 files changed, 32 insertions(+), 5 deletions(-) diff --git a/modules/itop-config-mgmt-1.0.0/data.sample.Contact.xml b/modules/itop-config-mgmt-1.0.0/data.sample.Contact.xml index 1ca5acd0ed..cefce0dd64 100644 --- a/modules/itop-config-mgmt-1.0.0/data.sample.Contact.xml +++ b/modules/itop-config-mgmt-1.0.0/data.sample.Contact.xml @@ -1,6 +1,15 @@ - + +Picasso +active +2 +pablo@combodo.com + +3 +Pablo + + Dali active 2 diff --git a/modules/itop-service-mgmt-1.0.0/data.sample.Contract.xml b/modules/itop-service-mgmt-1.0.0/data.sample.Contract.xml index 061917896e..b465e06453 100644 --- a/modules/itop-service-mgmt-1.0.0/data.sample.Contract.xml +++ b/modules/itop-service-mgmt-1.0.0/data.sample.Contract.xml @@ -10,7 +10,7 @@ 2 -1 +2 2 @@ -23,7 +23,7 @@ 2 -1 +2 4 \ No newline at end of file diff --git a/modules/itop-service-mgmt-1.0.0/data.sample.Service.xml b/modules/itop-service-mgmt-1.0.0/data.sample.Service.xml index cf14611677..c6329e6bb6 100644 --- a/modules/itop-service-mgmt-1.0.0/data.sample.Service.xml +++ b/modules/itop-service-mgmt-1.0.0/data.sample.Service.xml @@ -1,3 +1,17 @@ - \ No newline at end of file + +2 +HW Management +Hardware support and repair +IncidentManagement +production + + +2 +NW Management +LAN and WAN support and troubleshooting +IncidentManagement +production + + diff --git a/setup/index.php b/setup/index.php index fc96082da4..47fd698cc2 100644 --- a/setup/index.php +++ b/setup/index.php @@ -775,8 +775,12 @@ function ModulesSelection(SetupWebPage $oP, $aParamValues, $iCurrentStep, $oConf $aSelectedModules = $aParamValues['module']; if ($aSelectedModules == '') { - // Make sure it gets initialized as an array + // Make sure it gets initialized as an array, default value: all modules selected ! $aSelectedModules = array(); + foreach($aAvailableModules as $sModuleId => $aModule) + { + $aSelectedModules[] = $sModuleId; + } } foreach($aAvailableModules as $sModuleId => $aModule) {