2023-07-21 21:48:41 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
2023-07-21 21:53:46 +02:00
|
|
|
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Blog'); ?>
|
2023-07-21 21:48:41 +02:00
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilEditBlogAdd', true, 'Ajouter', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'add'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilEditBlogEdit', true, 'Éditer', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'edit'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2023-07-25 09:45:02 +02:00
|
|
|
<?php echo template::checkbox('profilEditBlogDelete', true, 'Effacer', [
|
2023-07-21 21:48:41 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'delete'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilEditBlogOption', true, 'Options', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'option'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilEditBlogComment', true, 'Gérer les commentaires', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'comment'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2023-07-21 21:53:46 +02:00
|
|
|
<?php echo template::checkbox('profilEditBlogCommentApprove', true, 'Approuver un commentaire', [
|
2023-07-21 21:48:41 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentApprove'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
2023-07-25 09:45:02 +02:00
|
|
|
<?php echo template::checkbox('profilEditBlogCommentDelete', true, 'Supprimer un commentaire', [
|
2023-07-21 21:48:41 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDelete'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
2023-07-24 18:01:11 +02:00
|
|
|
<?php echo template::checkbox('profilEditBlogCommentDeleteAll', true, 'Supprimer tous les commentaires', [
|
2023-07-21 21:48:41 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDeleteAll'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|