From 5376435d8bb9eed9deb1c8fc3c8dd27acbf42783 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Fri, 18 Aug 2023 11:00:38 +0200 Subject: [PATCH] SUPANN: Add supannCMSIdEtiquette attribute support --- src/conf/LSaddons/config.LSaddons.supann.php | 6 +++ ...class.LSattr_html_supannCMSIdEtiquette.php | 32 +++++++++++++++ ...ass.LSformElement_supannCMSIdEtiquette.php | 39 +++++++++++++++++++ 3 files changed, 77 insertions(+) create mode 100644 src/includes/class/class.LSattr_html_supannCMSIdEtiquette.php create mode 100644 src/includes/class/class.LSformElement_supannCMSIdEtiquette.php diff --git a/src/conf/LSaddons/config.LSaddons.supann.php b/src/conf/LSaddons/config.LSaddons.supann.php index bd3270db..41be2d4d 100644 --- a/src/conf/LSaddons/config.LSaddons.supann.php +++ b/src/conf/LSaddons/config.LSaddons.supann.php @@ -148,6 +148,12 @@ $GLOBALS['supannNomenclatures'] = array ( 'SupannVerrouAdministratif' => ___('Account locked for administrative reasons (account suspension, charter abuse, etc.)'), 'SupannVerrouTechnique' => ___("Account locked for a technical reason (detection of a namesake, suspicion of a hacked account, etc.)"), ), + 'cmsIdTechnologie' => array( + 'MIFARE:XLSB' => "Mifare (XLSB)", + 'MIFARE:XMSB' => "Mifare (XMSB)", + 'MIFARE:DLSB' => "Mifare (DLSB)", + 'MIFARE:DMSB' => "Mifare (DMSB)", + ), ), 'eduPerson' => array( 'affiliation' => array ( diff --git a/src/includes/class/class.LSattr_html_supannCMSIdEtiquette.php b/src/includes/class/class.LSattr_html_supannCMSIdEtiquette.php new file mode 100644 index 00000000..c127aaa8 --- /dev/null +++ b/src/includes/class/class.LSattr_html_supannCMSIdEtiquette.php @@ -0,0 +1,32 @@ + + */ +class LSattr_html_supannCMSIdEtiquette extends LSattr_html { + + var $LSformElement_type = 'supannCMSIdEtiquette'; + +} diff --git a/src/includes/class/class.LSformElement_supannCMSIdEtiquette.php b/src/includes/class/class.LSformElement_supannCMSIdEtiquette.php new file mode 100644 index 00000000..e4b962e2 --- /dev/null +++ b/src/includes/class/class.LSformElement_supannCMSIdEtiquette.php @@ -0,0 +1,39 @@ + + */ + +class LSformElement_supannCMSIdEtiquette extends LSformElement_supannLabeledValue { + + var $supannLabelNomenclatureTable = 'cmsIdTechnologie'; + +}