ZwiiCampus/module/news/profil/view/edit.inc.php

32 lines
1.5 KiB
PHP
Raw Normal View History

<div class="row">
<div class="col12">
<div class="block">
<h4>
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('News')); ?>·
</h4>
<div class="row">
<div class="col3">
2023-11-07 11:11:47 +01:00
<?php echo template::checkbox('profilEditNewsAdd', true, 'Ajouter un article', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'add'])
]); ?>
</div>
<div class="col3">
2023-11-07 11:11:47 +01:00
<?php echo template::checkbox('profilEditNewsEdit', true, 'Éditer un article', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'edit'])
]); ?>
</div>
<div class="col3">
2023-11-07 11:11:47 +01:00
<?php echo template::checkbox('profilEditNewsDelete', true, 'Effacer un article', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'delete'])
]); ?>
</div>
<div class="col3">
2023-11-07 11:11:47 +01:00
<?php echo template::checkbox('profilEditNewsOption', true, 'Options des articles', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'option'])
]); ?>
</div>
</div>
</div>
</div>
</div>