2023-09-05 15:21:01 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
|
|
|
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Blog')); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
2023-11-07 11:11:47 +01:00
|
|
|
<?php echo template::checkbox('profilEditBlogAdd', true, 'Ajouter un article', [
|
2023-09-05 15:21:01 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'add'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-11-07 11:11:47 +01:00
|
|
|
<?php echo template::checkbox('profilEditBlogEdit', true, 'Éditer un article', [
|
2023-09-05 15:21:01 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'edit'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-11-07 11:11:47 +01:00
|
|
|
<?php echo template::checkbox('profilEditBlogDelete', true, 'Effacer un article', [
|
2023-09-05 15:21:01 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'delete'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-11-07 11:11:47 +01:00
|
|
|
<?php echo template::checkbox('profilEditBlogOption', true, 'Options des articles', [
|
2023-09-05 15:21:01 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'option'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2023-11-07 11:11:47 +01:00
|
|
|
<div class="col6">
|
2023-09-05 15:21:01 +02:00
|
|
|
<?php echo template::checkbox('profilEditBlogComment', true, 'Gérer les commentaires', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'comment'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-11-07 11:11:47 +01:00
|
|
|
<div class="col6 blogEditCommentOptions">
|
2023-09-05 15:21:01 +02:00
|
|
|
<?php echo template::checkbox('profilEditBlogCommentApprove', true, 'Approuver un commentaire', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentApprove'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-11-07 11:11:47 +01:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6 blogEditCommentOptions">
|
2023-09-05 15:21:01 +02:00
|
|
|
<?php echo template::checkbox('profilEditBlogCommentDelete', true, 'Effacer un commentaire', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDelete'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-11-07 11:11:47 +01:00
|
|
|
<div class="col6 blogEditCommentOptions">
|
2023-09-05 15:21:01 +02:00
|
|
|
<?php echo template::checkbox('profilEditBlogCommentDeleteAll', true, 'Effacer tous les commentaires', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDeleteAll'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|