Commit cb330b65 authored by Antoine Gallavardin's avatar Antoine Gallavardin
Browse files

add separator features for displaying referentiel and taxonomy

parent 2b620cf1
......@@ -39,8 +39,8 @@ class taxonomyConfig extends simplePlugin
static function getAttributesInfo (): array
{
$taxonomyPolicy = [ 'opened' => 'opened', 'halfopened' => 'halfopened', 'closed' => 'closed'];
$taxonomyPolicy = [ 'opened' => 'opened', 'halfopened' => 'halfopened', 'closed' => 'closed'];
return [
'main' => [
......@@ -52,6 +52,12 @@ class taxonomyConfig extends simplePlugin
'fdTaxonomyTermsRDN', TRUE,
'ou=taxonomy'
),
new StringAttribute(
_('Taxonomy Separator'), _('String use for displaying Referential and taxonomy'),
'fdTaxonomySeparator', TRUE,
' > '
),
],
],
'taxonomies' => [
......@@ -87,8 +93,8 @@ class taxonomyConfig extends simplePlugin
'fdTaxonomyList_TaxonomyEndDate', FALSE,
'Ymd', '',
'today', NULL
),
),
],
';',
'',
......@@ -112,7 +118,7 @@ class taxonomyConfig extends simplePlugin
global $config;
parent::__construct($dn, $object, $parent, $mainTab);
}
}
......@@ -14,13 +14,19 @@ attributetype ( 1.3.6.1.4.1.38414.81.1.2 NAME 'fdTaxonomyList'
DESC 'FusionDirectory - Taxonomy List of Referential and taxonomy name'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
attributetype ( 1.3.6.1.4.1.38414.81.1.3 NAME 'fdTaxonomySeparator'
DESC 'FusionDirectory - Separator for displaying Referentier and Taxonomy'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
# Object Class
objectclass ( 1.3.6.1.4.1.38414.81.2.1 NAME 'fdTaxonomyPluginConf'
DESC 'FusionDirectory Taxonomy plugin configuration'
SUP top AUXILIARY
MUST ( cn )
MAY (
fdTaxonomyTermsRDN $ fdTaxonomyList
fdTaxonomyTermsRDN $ fdTaxonomyList $ fdTaxonomySeparator
) )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment