mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 18:18:46 +02:00
N°7771 - fix php format
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Module combodo-flow-map
|
||||
*
|
||||
@@ -6,15 +7,15 @@
|
||||
* @license http://opensource.org/licenses/AGPL-3.0
|
||||
*/
|
||||
|
||||
Dict::Add('EN US', 'English', 'English', array(
|
||||
|
||||
'Relation:flow/Description' => 'Flow maps',
|
||||
'Relation:flow/DownStream' => 'Impacts flow...',
|
||||
'Relation:flow/UpStream' => 'Depends flow...',
|
||||
Dict::Add('EN US', 'English', 'English', [
|
||||
|
||||
'Relation:flow/Description' => 'Flow maps',
|
||||
'Relation:flow/DownStream' => 'Impacts flow...',
|
||||
'Relation:flow/UpStream' => 'Depends flow...',
|
||||
|
||||
'Class:Flow' => 'Flow',
|
||||
'Class:Flow+' => 'For application flow for example',
|
||||
'Class:Flow/Name' =>'%1$s %2$s %3$s',
|
||||
'Class:Flow/Name' => '%1$s %2$s %3$s',
|
||||
'Class:Flow/Attribute:source_id' => 'Source',
|
||||
'Class:Flow/Attribute:source_id+' => 'Source Ci of the flow',
|
||||
'Class:Flow/Attribute:source_name' => 'Source name',
|
||||
@@ -38,12 +39,11 @@ Dict::Add('EN US', 'English', 'English', array(
|
||||
'Class:Flow/Attribute:destination_id_finalclass_recall' => 'destination_id->CI sub-class',
|
||||
'Class:Flow/Attribute:destination_id_finalclass_recall+' => 'Name of the final class',
|
||||
'Class:Flow/Attribute:destination_id_obsolescence_flag' => 'destination_id->Obsolete',
|
||||
'Class:Flow/Attribute:destination_id_obsolescence_flag+' => 'Computed dynamically on other attributes',
|
||||
'Class:Flow/Attribute:status' => 'Status',
|
||||
'Class:Flow/Attribute:status+' => '',
|
||||
'Class:Flow/Attribute:status/Value:active' => 'Active',
|
||||
'Class:Flow/Attribute:status/Value:inactive' => 'Inactive',
|
||||
'Class:Flow/Attribute:org_id' => 'Organization',
|
||||
'Class:Flow/Attribute:org_id+' => '',
|
||||
));
|
||||
?>
|
||||
'Class:Flow/Attribute:destination_id_obsolescence_flag+' => 'Computed dynamically on other attributes',
|
||||
'Class:Flow/Attribute:status' => 'Status',
|
||||
'Class:Flow/Attribute:status+' => '',
|
||||
'Class:Flow/Attribute:status/Value:active' => 'Active',
|
||||
'Class:Flow/Attribute:status/Value:inactive' => 'Inactive',
|
||||
'Class:Flow/Attribute:org_id' => 'Organization',
|
||||
'Class:Flow/Attribute:org_id+' => '',
|
||||
]);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Module combodo-flow-map
|
||||
*
|
||||
@@ -6,15 +7,15 @@
|
||||
* @license http://opensource.org/licenses/AGPL-3.0
|
||||
*/
|
||||
|
||||
Dict::Add('FR FR', 'French', 'Français', array(
|
||||
|
||||
'Relation:flow/Description' => 'Carte des fluxs',
|
||||
'Relation:flow/DownStream' => 'Impacte flux...',
|
||||
'Relation:flow/UpStream' => 'Dépend de flux...',
|
||||
Dict::Add('FR FR', 'French', 'Français', [
|
||||
|
||||
'Relation:flow/Description' => 'Carte des fluxs',
|
||||
'Relation:flow/DownStream' => 'Impacte flux...',
|
||||
'Relation:flow/UpStream' => 'Dépend de flux...',
|
||||
|
||||
'Class:Flow' => 'Flux',
|
||||
'Class:Flow+' => 'Pour les fluxs applicatifs par exemple',
|
||||
'Class:Flow/Name' =>'%1$s %2$s %3$s',
|
||||
'Class:Flow/Name' => '%1$s %2$s %3$s',
|
||||
'Class:Flow/Attribute:source_id' => 'Source',
|
||||
'Class:Flow/Attribute:source_id+' => 'Ci source du flux',
|
||||
'Class:Flow/Attribute:source_name' => 'Nom de la source ',
|
||||
@@ -39,12 +40,11 @@ Dict::Add('FR FR', 'French', 'Français', array(
|
||||
'Class:Flow/Attribute:destination_id_finalclass_recall+' => 'Classe finale',
|
||||
'Class:Flow/Attribute:destination_id_obsolescence_flag' => 'destination_id->Obsolete',
|
||||
'Class:Flow/Attribute:destination_id_obsolescence_flag+' => 'Computed dynamically on other attributes',
|
||||
'Class:Flow/Attribute:status' => 'Etat',
|
||||
'Class:Flow/Attribute:status+' => '',
|
||||
'Class:Flow/Attribute:status/Value:active' => 'Actif',
|
||||
'Class:Flow/Attribute:status/Value:inactive' => 'Inactif',
|
||||
'Class:Flow/Attribute:org_id' => 'Organisation',
|
||||
'Class:Flow/Attribute:org_id+' => '',
|
||||
|
||||
));
|
||||
?>
|
||||
'Class:Flow/Attribute:status' => 'Etat',
|
||||
'Class:Flow/Attribute:status+' => '',
|
||||
'Class:Flow/Attribute:status/Value:active' => 'Actif',
|
||||
'Class:Flow/Attribute:status/Value:inactive' => 'Inactif',
|
||||
'Class:Flow/Attribute:org_id' => 'Organisation',
|
||||
'Class:Flow/Attribute:org_id+' => '',
|
||||
|
||||
]);
|
||||
|
||||
@@ -14,4 +14,3 @@
|
||||
// This file remains in the module's template only for the cases where there is:
|
||||
// - either no new class or menu defined in the XML file
|
||||
// - or no XML file at all supplied by the module
|
||||
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
<?php
|
||||
|
||||
//
|
||||
// iTop module definition file
|
||||
//
|
||||
|
||||
SetupWebPage::AddModule(
|
||||
__FILE__, // Path to the current file, all other file names are relative to the directory containing this file
|
||||
'itop-flow-map/1.0.0',
|
||||
array(
|
||||
'itop-flow-map/3.3.0',
|
||||
[
|
||||
// Identification
|
||||
//
|
||||
'label' => 'Add flow map in iTop',
|
||||
@@ -14,40 +15,37 @@ SetupWebPage::AddModule(
|
||||
|
||||
// Setup
|
||||
//
|
||||
'dependencies' => array(
|
||||
'itop-config-mgmt/3.2.0'
|
||||
),
|
||||
'dependencies' => [
|
||||
'itop-config-mgmt/3.2.0',
|
||||
],
|
||||
'mandatory' => false,
|
||||
'visible' => true,
|
||||
|
||||
// Components
|
||||
//
|
||||
'datamodel' => array(
|
||||
'datamodel' => [
|
||||
'vendor/autoload.php',
|
||||
'model.itop-flow-map.php', // Contains the PHP code generated by the "compilation" of datamodel.Combodo-flow-map.xml
|
||||
),
|
||||
'webservice' => array(
|
||||
|
||||
),
|
||||
'data.struct' => array(
|
||||
],
|
||||
'webservice' => [
|
||||
|
||||
],
|
||||
'data.struct' => [
|
||||
'data/en_us.data.itop-flow-map.xml',
|
||||
),
|
||||
'data.sample' => array(
|
||||
],
|
||||
'data.sample' => [
|
||||
// add your sample data XML files here,
|
||||
),
|
||||
|
||||
],
|
||||
|
||||
// Documentation
|
||||
//
|
||||
'doc.manual_setup' => '', // hyperlink to manual setup documentation, if any
|
||||
'doc.more_information' => '', // hyperlink to more information, if any
|
||||
'doc.more_information' => '', // hyperlink to more information, if any
|
||||
|
||||
// Default settings
|
||||
//
|
||||
'settings' => array(
|
||||
'settings' => [
|
||||
// Module specific settings go here, if any
|
||||
),
|
||||
)
|
||||
],
|
||||
]
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user