ZwiiCMS/module/form/profil/view/edit.inc.php
2023-08-11 22:29:47 +02:00

36 lines
1.8 KiB
PHP

<div class="row">
<div class="col12">
<div class="block">
<h4>
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Formulaire')); ?>
</h4>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilEditFormData', true, 'Gérer les données', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'data'])
]); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilEditFormOption', true, 'Options', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'option'])
]); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilEditFormDelete', true, 'Effacer', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'delete'])
]); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilEditFormDeleteAll', true, 'Tout Effacer', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'deleteAll'])
]); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilEditFormExport2csv', true, 'Export CSV', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'export2csv'])
]); ?>
</div>
</div>
</div>
</div>
</div>