2023-07-21 21:48:41 +02:00
|
|
|
<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('News')); ?>·
|
2023-07-21 21:48:41 +02:00
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
2023-11-07 08:47:55 +01:00
|
|
|
<?php echo template::checkbox('profilEditNewsAdd', true, 'Ajouter un article', [
|
2023-07-21 21:48:41 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'add'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-11-07 08:47:55 +01:00
|
|
|
<?php echo template::checkbox('profilEditNewsEdit', true, 'Éditer un article', [
|
2023-07-21 21:48:41 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'edit'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-11-07 08:47:55 +01:00
|
|
|
<?php echo template::checkbox('profilEditNewsDelete', true, 'Effacer un article', [
|
2023-07-21 21:48:41 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'delete'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-11-07 08:47:55 +01:00
|
|
|
<?php echo template::checkbox('profilEditNewsOption', true, 'Options des articles', [
|
2023-07-21 21:48:41 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'option'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|