Module auto inscription en version 2
This commit is contained in:
parent
cbffc3f44b
commit
5f3bd590a8
@ -1 +1 @@
|
||||
suscribeAuto-Inscription2.0test0.01
|
||||
{"name":"suscribe","realName":"Auto inscription","version":"2.00","update":"0.0","delete":true,"dataDirectory":""}
|
@ -15,8 +15,8 @@
|
||||
class suscribe extends common
|
||||
{
|
||||
|
||||
const VERSION = '2.0test3';
|
||||
const REALNAME = 'Auto-Inscription';
|
||||
const VERSION = '2.0';
|
||||
const REALNAME = 'Auto Inscription';
|
||||
const DELETE = true;
|
||||
const UPDATE = '0.0';
|
||||
const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json)
|
||||
@ -145,6 +145,7 @@ class suscribe extends common
|
||||
'lastname' => $this->getData(['module', $this->getUrl(0), 'users', $this->getUrl(2), 'lastname']),
|
||||
'mail' => $this->getData(['module', $this->getUrl(0), 'users', $this->getUrl(2), 'mail']),
|
||||
'password' => $this->getData(['module', $this->getUrl(0), 'users', $this->getUrl(2), 'password']),
|
||||
'tags' => $this->getInput('registrationUserLabel', helper::FILTER_STRING_SHORT),
|
||||
'connectFail' => $this->getData(['module', $this->getUrl(0), 'users', $this->getUrl(2), 'connectFail']),
|
||||
'connectTimeout' => $this->getData(['module', $this->getUrl(0), 'users', $this->getUrl(2), 'connectTimeout']),
|
||||
'accessUrl' => $this->getData(['module', $this->getUrl(0), 'users', $this->getUrl(2), 'accessUrl']),
|
||||
|
@ -67,7 +67,12 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col6">
|
||||
<div class="col4">
|
||||
<?php echo template::text('registrationUserLabel', [
|
||||
'label' => 'Etiquette'
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col4">
|
||||
<?php if ($this->getUser('group') === self::GROUP_ADMIN): ?>
|
||||
<?php echo template::select('registrationUserEditGroup', $module::$groups, [
|
||||
'disabled' => ($this->getUrl(2) === $this->getUser('id')),
|
||||
@ -77,7 +82,7 @@
|
||||
]); ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="col6">
|
||||
<div class="col4">
|
||||
<div class="registrationUserEditGroupProfil"
|
||||
id="registrationUserEditGroupProfil<?php echo self::GROUP_MEMBER; ?>">
|
||||
<?php echo template::select('registrationUserEditProfil' . self::GROUP_MEMBER, $module::$userProfils[self::GROUP_MEMBER], [
|
||||
|
Loading…
Reference in New Issue
Block a user