forked from ZwiiCMS-Team/ZwiiCMS
Signatures : noms d'objets
This commit is contained in:
parent
a371a3770e
commit
42fd538ccb
@ -25,6 +25,10 @@ class common {
|
||||
const GROUP_MEMBER = 1;
|
||||
const GROUP_MODERATOR = 2;
|
||||
const GROUP_ADMIN = 3;
|
||||
const SIGNATURE_ID = 1;
|
||||
const SIGNATURE_PSEUDO = 2;
|
||||
const SIGNATURE_FIRSTLASTNAME = 3;
|
||||
const SIGNATURE_LASTFIRSTNAME = 4;
|
||||
// Dossier de travail
|
||||
const BACKUP_DIR = 'site/backup/';
|
||||
const DATA_DIR = 'site/data/';
|
||||
|
@ -83,7 +83,7 @@ class install extends common {
|
||||
'mail' => $userMail,
|
||||
'password' => $this->getInput('installPassword', helper::FILTER_PASSWORD, true),
|
||||
'pseudo' => $userFirstname,
|
||||
'signature'=> 2 // Pseudo
|
||||
'signature'=> self::SIGNATURE_PSEUDO
|
||||
]
|
||||
]);
|
||||
if ($success === true) { // Formulaire complété envoi du mail
|
||||
|
@ -26,12 +26,12 @@ class user extends common {
|
||||
];
|
||||
public static $users = [];
|
||||
|
||||
//Paramètre pour choix de la signature
|
||||
//Paramètres pour choix de la signature
|
||||
public static $signature = [
|
||||
1 => 'Identifiant',
|
||||
2 => 'Pseudo',
|
||||
3 => 'Prénom Nom',
|
||||
4 => 'Nom Prénom'
|
||||
self::SIGNATURE_ID => 'Identifiant',
|
||||
self::SIGNATURE_PSEUDO => 'Pseudo',
|
||||
self::SIGNATURE_FIRSTLASTNAME => 'Prénom Nom',
|
||||
self::SIGNATURE_LASTFIRSTNAME => 'Nom Prénom'
|
||||
];
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user