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