...
 
Commits (2)
......@@ -27,7 +27,6 @@ class term extends simplePlugin
'plShortName' => _('Term'),
'plDescription' => _('Terms Settings'),
'plObjectClass' => ['fdTaxonomyTerms'],
'plObjectType' => ['term' => [
'name' => _('Terms Lists'),
'icon' => 'geticon.php?context=applications&icon=term&size=16',
......
......@@ -19,13 +19,13 @@
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
class taxonomyTermsManagement extends management
class termManagement extends management
{
public static $skipTemplates = FALSE;
public static $columns = [
['ObjectTypeColumn', []],
['LinkColumn', ['attributes' => 'nameAttr', 'label' => 'Name']],
['LinkColumn', ['attributes' => 'fdTaxonomyCode', 'label' => 'Name']],
['LinkColumn', ['attributes' => 'fdTaxonomyTerm', 'label' => 'Term']],
['LinkColumn', ['attributes' => 'fdTaxonomyReferentiel', 'label' => 'Referentiel']],
['LinkColumn', ['attributes' => 'description', 'label' => 'Description']],
......@@ -37,11 +37,10 @@ class taxonomyTermsManagement extends management
return [
'plShortName' => _('Taxonomy terms'),
'plDescription' => _('Taxonomy terms management'),
'plIcon' => 'geticon.php?context=applications&icon=supann&size=48',
'plIcon' => 'geticon.php?context=applications&icon=term&size=48',
'plSection' => 'accounts',
'plPriority' => 40,
'plManages' => ['terms'],
'plManages' => ['term'],
'plProvidedAcls' => []
];
}
......
......@@ -96,9 +96,9 @@ class taxonomyConfig extends simplePlugin
),
FALSE,
[
'SUPANN;entite;halfopened;2020-01-01;2020-02-01',
'SUPANN;etablissement;halfopened;2020-01-01;2020-02-01',
'SUPANN;role;halfopened;2020-01-01;2020-02-01',
'SUPANN;entite;halfopened;20200101;20200201',
'SUPANN;role;halfopened;20200101;20200201',
'SUPANN;etablissement;halfopened;20200101;20200201',
],
TRUE
),
......