blog edit et add var
This commit is contained in:
parent
02a1870642
commit
7aa6625e08
@ -579,7 +579,18 @@ class user extends common
|
|||||||
'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),
|
||||||
'jsEditor' => $this->getInput('profilEditPagejsEditor', helper::FILTER_BOOLEAN),
|
'jsEditor' => $this->getInput('profilEditPagejsEditor', helper::FILTER_BOOLEAN),
|
||||||
]
|
],
|
||||||
|
'blog' => [
|
||||||
|
'add' => $this->getInput('profilEditBlogAdd', helper::FILTER_BOOLEAN),
|
||||||
|
'edit' => $this->getInput('profilEditBlogEdit', helper::FILTER_BOOLEAN),
|
||||||
|
'delete' => $this->getInput('profilEditBlogDElete', helper::FILTER_BOOLEAN),
|
||||||
|
'config' => $this->getInput('profilEditBlogConfig', helper::FILTER_BOOLEAN),
|
||||||
|
'option' => $this->getInput('profilEditBlogOption', helper::FILTER_BOOLEAN),
|
||||||
|
'comment' => $this->getInput('profilEditBlogComment', helper::FILTER_BOOLEAN),
|
||||||
|
'commentApprouve' => $this->getInput('profilEditBlogCommentApprouve', helper::FILTER_BOOLEAN),
|
||||||
|
'commentdelete' => $this->getInput('profilEditBlogCommentDelete', helper::FILTER_BOOLEAN),
|
||||||
|
'commentDeleteAll' => $this->getInput('profilEditBlogCommentDeleteAll', helper::FILTER_BOOLEAN),
|
||||||
|
],
|
||||||
]
|
]
|
||||||
]);
|
]);
|
||||||
|
|
||||||
@ -648,12 +659,23 @@ class user extends common
|
|||||||
'page' => [
|
'page' => [
|
||||||
'add' => $this->getInput('profilAddPageAdd', helper::FILTER_BOOLEAN),
|
'add' => $this->getInput('profilAddPageAdd', helper::FILTER_BOOLEAN),
|
||||||
'edit' => $this->getInput('profilAddPageEdit', helper::FILTER_BOOLEAN),
|
'edit' => $this->getInput('profilAddPageEdit', helper::FILTER_BOOLEAN),
|
||||||
'delete' => $this->getInput('profilAddPageElete', helper::FILTER_BOOLEAN),
|
'delete' => $this->getInput('profilAddPageDElete', helper::FILTER_BOOLEAN),
|
||||||
'duplicate' => $this->getInput('profilAddPageDuplicate', helper::FILTER_BOOLEAN),
|
'duplicate' => $this->getInput('profilAddPageDuplicate', helper::FILTER_BOOLEAN),
|
||||||
'module' => $this->getInput('profilAddPageModule', helper::FILTER_BOOLEAN),
|
'module' => $this->getInput('profilAddPageModule', helper::FILTER_BOOLEAN),
|
||||||
'cssEditor' => $this->getInput('profilAddPagecssEditor', helper::FILTER_BOOLEAN),
|
'cssEditor' => $this->getInput('profilAddPagecssEditor', helper::FILTER_BOOLEAN),
|
||||||
'jsEditor' => $this->getInput('profilAddPagejsEditor', helper::FILTER_BOOLEAN),
|
'jsEditor' => $this->getInput('profilAddPagejsEditor', helper::FILTER_BOOLEAN),
|
||||||
]
|
],
|
||||||
|
'blog' => [
|
||||||
|
'add' => $this->getInput('profilAddBlogAdd', helper::FILTER_BOOLEAN),
|
||||||
|
'edit' => $this->getInput('profilAddBlogEdit', helper::FILTER_BOOLEAN),
|
||||||
|
'delete' => $this->getInput('profilAddBlogDElete', helper::FILTER_BOOLEAN),
|
||||||
|
'config' => $this->getInput('profilAddBlogConfig', helper::FILTER_BOOLEAN),
|
||||||
|
'option' => $this->getInput('profilAddBlogOption', helper::FILTER_BOOLEAN),
|
||||||
|
'comment' => $this->getInput('profilAddBlogComment', helper::FILTER_BOOLEAN),
|
||||||
|
'commentApprouve' => $this->getInput('profilAddBlogCommentApprouve', helper::FILTER_BOOLEAN),
|
||||||
|
'commentdelete' => $this->getInput('profilAddBlogCommentDelete', helper::FILTER_BOOLEAN),
|
||||||
|
'commentDeleteAll' => $this->getInput('profilAddBlogCommentDeleteAll', helper::FILTER_BOOLEAN),
|
||||||
|
],
|
||||||
]
|
]
|
||||||
]);
|
]);
|
||||||
// Valeurs en sortie
|
// Valeurs en sortie
|
||||||
|
@ -30,9 +30,9 @@ $(document).ready(function () {
|
|||||||
// Désactive la gestion des pages pour les membres
|
// Désactive la gestion des pages pour les membres
|
||||||
$('#profilAddGroup').change(function() {;
|
$('#profilAddGroup').change(function() {;
|
||||||
if ($(this).val() === '1') {
|
if ($(this).val() === '1') {
|
||||||
$('.containerPage').slideUp();
|
$('.containerPage, .containerModule').slideUp();
|
||||||
} else {
|
} else {
|
||||||
$('.containerPage').slideDown();
|
$('.containerPage, .containerModule').slideDown();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row containerPage">
|
<div class="row containerModule">
|
||||||
<div class="col12">
|
<div class="col12">
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<h4>
|
<h4>
|
||||||
|
Loading…
Reference in New Issue
Block a user