correctif sylvain
This commit is contained in:
parent
fa0323141b
commit
0562fbe33c
@ -660,7 +660,7 @@ class init extends common {
|
||||
'state' => true,
|
||||
'title' => 'Mon premier article',
|
||||
'userId' => '', // Géré au moment de l'installation
|
||||
'editConsent' => 'group',
|
||||
'editConsent' => 'all',
|
||||
'commentMaxlength' => '500',
|
||||
'commentApproved' => false,
|
||||
'commentClose' => false,
|
||||
@ -677,7 +677,7 @@ class init extends common {
|
||||
'state' => true,
|
||||
'title' => 'Mon deuxième article',
|
||||
'userId' => '', // Géré au moment de l'installation
|
||||
'editConsent' => 'group',
|
||||
'editConsent' => 'all',
|
||||
'commentMaxlength' => '500',
|
||||
'commentApproved' => false,
|
||||
'commentClose' => false,
|
||||
@ -694,7 +694,7 @@ class init extends common {
|
||||
'state' => true,
|
||||
'title' => 'Mon troisième article',
|
||||
'userId' => '', // Géré au moment de l'installation
|
||||
'editConsent' => 'group',
|
||||
'editConsent' => 'all',
|
||||
'commentMaxlength' => '500',
|
||||
'commentApproved' => false,
|
||||
'commentClose' => true,
|
||||
|
@ -119,7 +119,7 @@ class blog extends common {
|
||||
'state' => $this->getInput('blogAddState', helper::FILTER_BOOLEAN),
|
||||
'title' => $this->getInput('blogAddTitle', helper::FILTER_STRING_SHORT, true),
|
||||
'userId' => $newuserid,
|
||||
'editConsent' => $this->getInput('blogEditConsent') === self::EDIT_GROUP ? $this->getUser('group') : self::EDIT_OWNER,
|
||||
'editConsent' => $this->getInput('blogAddConsent') === self::EDIT_GROUP ? $this->getUser('group') : $this->getInput('blogAddConsent'),
|
||||
'commentMaxlength' => $this->getInput('blogAddCommentMaxlength'),
|
||||
'commentApproved' => $this->getInput('blogAddCommentApproved', helper::FILTER_BOOLEAN),
|
||||
'commentClose' => $this->getInput('blogAddCommentClose', helper::FILTER_BOOLEAN),
|
||||
|
@ -95,7 +95,7 @@
|
||||
<div class="col4">
|
||||
<?php echo template::select('blogEditConsent', $module::$articleConsent , [
|
||||
'label' => 'Edition / Suppression',
|
||||
'selected' => $this->getData(['module', $this->getUrl(0), $this->getUrl(2), 'editConsent']),
|
||||
'selected' => is_numeric($this->getData(['module', $this->getUrl(0), $this->getUrl(2), 'editConsent'])) ? $module::EDIT_GROUP : $this->getData(['module', $this->getUrl(0), $this->getUrl(2), 'editConsent']),
|
||||
'help' => 'Les utilisateurs des groupes supérieurs accèdent à l\'article sans restriction'
|
||||
]); ?>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user