36 lines
1.7 KiB
PHP
36 lines
1.7 KiB
PHP
<div class="row">
|
|
<div class="col12">
|
|
<div class="block">
|
|
<h4>
|
|
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Galerie')); ?>
|
|
</h4>
|
|
<div class="row">
|
|
<div class="col3">
|
|
<?php echo template::checkbox('profilEditGalleryAdd', true, 'Ajouter', [
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'add'])
|
|
]); ?>
|
|
</div>
|
|
<div class="col2">
|
|
<?php echo template::checkbox('profilEditGalleryEdit', true, 'Éditer', [
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'edit'])
|
|
]); ?>
|
|
</div>
|
|
<div class="col2">
|
|
<?php echo template::checkbox('profilEditGalleryDelete', true, 'Effacer', [
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'delete'])
|
|
]); ?>
|
|
</div>
|
|
<div class="col2">
|
|
<?php echo template::checkbox('profilEditGalleryOption', true, 'Options', [
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'option'])
|
|
]); ?>
|
|
</div>
|
|
<div class="col2">
|
|
<?php echo template::checkbox('profilEditGalleryTheme', true, 'Thème', [
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'theme'])
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|