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

38 lines
1.8 KiB
PHP
Raw Normal View History

<div class="row">
<div class="col12">
<div class="block">
<h4>
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Formulaire'); ?>
</h4>
<div class="row">
<div class="col4">
<?php echo template::checkbox('profilEditFormOption', true, 'Options', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'option'])
]); ?>
</div>
<div class="col4">
<?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="col4">
<?php echo template::checkbox('profilEditFormExport2csv', true, 'Export CSV', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'export2csv'])
]); ?>
</div>
</div>
<div class="row">
<div class="col6">
<?php echo template::checkbox('profilEditFormDelete', true, 'Effacer', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'delete'])
]); ?>
</div>
<div class="col6">
<?php echo template::checkbox('profilEditFormDeleteAll', true, 'Tout Effacer', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'deleteAll'])
]); ?>
</div>
</div>
</div>
</div>
</div>