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">
|
|
|
|
<?php echo template::checkbox('profilEditNewsAdd', true, 'Ajouter', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'add'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilEditNewsEdit', true, 'Éditer', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'edit'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-07-21 21:53:46 +02:00
|
|
|
<?php echo template::checkbox('profilEditNewsDelete', true, 'Effacer', [
|
2023-07-21 21:48:41 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'delete'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilEditNewsOption', true, 'Options', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'option'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|