ZwiiCMS/module/blog/profil/view/edit.inc.php

53 lines
2.8 KiB
PHP
Raw Normal View History

<div class="row">
<div class="col12">
<div class="block">
<h4>
2023-08-11 22:28:31 +02:00
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Blog')); ?>
</h4>
<div class="row">
2023-08-09 20:19:06 +02:00
<div class="col3">
<?php echo template::checkbox('profilEditBlogAdd', true, 'Ajouter', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'add'])
]); ?>
</div>
2023-08-09 20:19:06 +02:00
<div class="col3">
<?php echo template::checkbox('profilEditBlogEdit', true, 'Éditer', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'edit'])
]); ?>
</div>
2023-08-09 20:19:06 +02:00
<div class="col3">
<?php echo template::checkbox('profilEditBlogDelete', true, 'Effacer', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'delete'])
]); ?>
</div>
2023-08-09 20:19:06 +02:00
<div class="col3">
<?php echo template::checkbox('profilEditBlogOption', true, 'Options', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'option'])
]); ?>
</div>
2023-08-09 20:19:06 +02:00
</div>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilEditBlogComment', true, 'Gérer les commentaires', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'comment'])
]); ?>
</div>
2023-08-11 22:28:31 +02:00
<div class="col3 blogEditCommentOptions">
<?php echo template::checkbox('profilEditBlogCommentApprove', true, 'Approuver un commentaire', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentApprove'])
]); ?>
</div>
2023-08-11 22:28:31 +02:00
<div class="col3 blogEditCommentOptions">
2023-08-05 17:16:18 +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-08-11 22:28:31 +02:00
<div class="col3 blogEditCommentOptions">
2023-08-05 17:16:18 +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>