SUPANN: Add supannCMSIdEtiquette attribute support

This commit is contained in:
Benjamin Renard 2023-08-18 11:00:38 +02:00
parent fa5b5ceb6d
commit 5376435d8b
Signed by: bn8
GPG key ID: 3E2E1CE1907115BC
3 changed files with 77 additions and 0 deletions

View file

@ -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 (

View file

@ -0,0 +1,32 @@
<?php
/*******************************************************************************
* Copyright (C) 2021 Easter-eggs
* https://ldapsaisie.org
*
* Author: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
******************************************************************************/
/**
* Type d'attribut HTML supannCMSIdEtiquette
*
* @author Benjamin Renard <brenard@easter-eggs.com>
*/
class LSattr_html_supannCMSIdEtiquette extends LSattr_html {
var $LSformElement_type = 'supannCMSIdEtiquette';
}

View file

@ -0,0 +1,39 @@
<?php
/*******************************************************************************
* Copyright (C) 2021 Easter-eggs
* https://ldapsaisie.org
*
* Author: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
******************************************************************************/
LSsession :: loadLSclass('LSformElement_supannLabeledValue');
LSsession :: loadLSaddon('supann');
/**
* Element supannCMSIdEtiquette d'un formulaire pour LdapSaisie
*
* Cette classe définis les éléments supannCMSIdEtiquette des formulaires.
* Elle etant la classe basic LSformElement_supannLabeledValue.
*
* @author Benjamin Renard <brenard@easter-eggs.com>
*/
class LSformElement_supannCMSIdEtiquette extends LSformElement_supannLabeledValue {
var $supannLabelNomenclatureTable = 'cmsIdTechnologie';
}