Check profil edit save and add
This commit is contained in:
parent
fb2624bf7a
commit
0b06e12ef9
@ -574,7 +574,7 @@ class user extends common
|
|||||||
'page' => [
|
'page' => [
|
||||||
'add' => $this->getInput('profilEditPageAdd', helper::FILTER_BOOLEAN),
|
'add' => $this->getInput('profilEditPageAdd', helper::FILTER_BOOLEAN),
|
||||||
'edit' => $this->getInput('profilEditPageEdit', helper::FILTER_BOOLEAN),
|
'edit' => $this->getInput('profilEditPageEdit', helper::FILTER_BOOLEAN),
|
||||||
'delete' => $this->getInput('profilEditPageElete', helper::FILTER_BOOLEAN),
|
'delete' => $this->getInput('profilEditPageDelete', helper::FILTER_BOOLEAN),
|
||||||
'duplicate' => $this->getInput('profilEditPageDuplicate', helper::FILTER_BOOLEAN),
|
'duplicate' => $this->getInput('profilEditPageDuplicate', helper::FILTER_BOOLEAN),
|
||||||
'module' => $this->getInput('profilEditPageModule', helper::FILTER_BOOLEAN),
|
'module' => $this->getInput('profilEditPageModule', helper::FILTER_BOOLEAN),
|
||||||
'cssEditor' => $this->getInput('profilEditPagecssEditor', helper::FILTER_BOOLEAN),
|
'cssEditor' => $this->getInput('profilEditPagecssEditor', helper::FILTER_BOOLEAN),
|
||||||
@ -583,18 +583,18 @@ class user extends common
|
|||||||
'blog' => [
|
'blog' => [
|
||||||
'add' => $this->getInput('profilEditBlogAdd', helper::FILTER_BOOLEAN),
|
'add' => $this->getInput('profilEditBlogAdd', helper::FILTER_BOOLEAN),
|
||||||
'edit' => $this->getInput('profilEditBlogEdit', helper::FILTER_BOOLEAN),
|
'edit' => $this->getInput('profilEditBlogEdit', helper::FILTER_BOOLEAN),
|
||||||
'delete' => $this->getInput('profilEditBlogDElete', helper::FILTER_BOOLEAN),
|
'delete' => $this->getInput('profilEditBlogDelete', helper::FILTER_BOOLEAN),
|
||||||
'config' => $this->getInput('profilEditBlogConfig', helper::FILTER_BOOLEAN),
|
'config' => $this->getInput('profilEditBlogConfig', helper::FILTER_BOOLEAN),
|
||||||
'option' => $this->getInput('profilEditBlogOption', helper::FILTER_BOOLEAN),
|
'option' => $this->getInput('profilEditBlogOption', helper::FILTER_BOOLEAN),
|
||||||
'comment' => $this->getInput('profilEditBlogComment', helper::FILTER_BOOLEAN),
|
'comment' => $this->getInput('profilEditBlogComment', helper::FILTER_BOOLEAN),
|
||||||
'commentApprouve' => $this->getInput('profilEditBlogCommentApprouve', helper::FILTER_BOOLEAN),
|
'commentApprove' => $this->getInput('profilEditBlogCommentApprove', helper::FILTER_BOOLEAN),
|
||||||
'commentDelete' => $this->getInput('profilEditBlogCommentDelete', helper::FILTER_BOOLEAN),
|
'commentDelete' => $this->getInput('profilEditBlogCommentDelete', helper::FILTER_BOOLEAN),
|
||||||
'commentDeleteAll' => $this->getInput('profilEditBlogCommentDeleteAll', helper::FILTER_BOOLEAN),
|
'commentDeleteAll' => $this->getInput('profilEditBlogCommentDeleteAll', helper::FILTER_BOOLEAN),
|
||||||
],
|
],
|
||||||
'news' => [
|
'news' => [
|
||||||
'add' => $this->getInput('profilEditNewsAdd', helper::FILTER_BOOLEAN),
|
'add' => $this->getInput('profilEditNewsAdd', helper::FILTER_BOOLEAN),
|
||||||
'edit' => $this->getInput('profilEditNewsEdit', helper::FILTER_BOOLEAN),
|
'edit' => $this->getInput('profilEditNewsEdit', helper::FILTER_BOOLEAN),
|
||||||
'delete' => $this->getInput('profilEditNewsDElete', helper::FILTER_BOOLEAN),
|
'delete' => $this->getInput('profilEditNewsDelete', helper::FILTER_BOOLEAN),
|
||||||
'config' => $this->getInput('profilEditNewsConfig', helper::FILTER_BOOLEAN),
|
'config' => $this->getInput('profilEditNewsConfig', helper::FILTER_BOOLEAN),
|
||||||
'option' => $this->getInput('profilEditNewsOption', helper::FILTER_BOOLEAN),
|
'option' => $this->getInput('profilEditNewsOption', helper::FILTER_BOOLEAN),
|
||||||
],
|
],
|
||||||
@ -701,7 +701,7 @@ class user extends common
|
|||||||
'config' => $this->getInput('profilAddBlogConfig', helper::FILTER_BOOLEAN),
|
'config' => $this->getInput('profilAddBlogConfig', helper::FILTER_BOOLEAN),
|
||||||
'option' => $this->getInput('profilAddBlogOption', helper::FILTER_BOOLEAN),
|
'option' => $this->getInput('profilAddBlogOption', helper::FILTER_BOOLEAN),
|
||||||
'comment' => $this->getInput('profilAddBlogComment', helper::FILTER_BOOLEAN),
|
'comment' => $this->getInput('profilAddBlogComment', helper::FILTER_BOOLEAN),
|
||||||
'commentApprouve' => $this->getInput('profilAddBlogCommentApprouve', helper::FILTER_BOOLEAN),
|
'commentApprove' => $this->getInput('profilAddBlogCommentApprove', helper::FILTER_BOOLEAN),
|
||||||
'commentDelete' => $this->getInput('profilAddBlogCommentDelete', helper::FILTER_BOOLEAN),
|
'commentDelete' => $this->getInput('profilAddBlogCommentDelete', helper::FILTER_BOOLEAN),
|
||||||
'commentDeleteAll' => $this->getInput('profilAddBlogCommentDeleteAll', helper::FILTER_BOOLEAN),
|
'commentDeleteAll' => $this->getInput('profilAddBlogCommentDeleteAll', helper::FILTER_BOOLEAN),
|
||||||
],
|
],
|
||||||
|
@ -108,7 +108,7 @@
|
|||||||
<?php echo template::checkbox('profilAddBlogComment', true, 'Commentaire'); ?>
|
<?php echo template::checkbox('profilAddBlogComment', true, 'Commentaire'); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col4">
|
<div class="col4">
|
||||||
<?php echo template::checkbox('profilAddBlogCommentApprouve', true, 'Approuver commentaire'); ?>
|
<?php echo template::checkbox('profilAddBlogCommentApprove', true, 'Approuver commentaire'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -136,12 +136,12 @@
|
|||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col4">
|
<div class="col4">
|
||||||
<?php echo template::checkbox('profilEditBlogComment', true, 'Commentaire', [
|
<?php echo template::checkbox('profilEditBlogComment', true, 'Gérer commentaires', [
|
||||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'comment'])
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'comment'])
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col4">
|
<div class="col4">
|
||||||
<?php echo template::checkbox('profilEditBlogCommentApprouve', true, 'Approuver commentaire', [
|
<?php echo template::checkbox('profilEditBlogCommentApprove', true, 'Approuver commentaire', [
|
||||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentApprove'])
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentApprove'])
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user