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

36 lines
1.8 KiB
PHP
Raw Normal View History

<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('Galerie')); ?>
</h4>
<div class="row">
2023-08-09 20:19:06 +02:00
<div class="col3">
2023-11-07 10:10:20 +01:00
<?php echo template::checkbox('profilEditGalleryAdd', true, 'Ajouter une galerie', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'add'])
]); ?>
</div>
2023-08-09 20:19:06 +02:00
<div class="col2">
2023-11-07 10:10:20 +01:00
<?php echo template::checkbox('profilEditGalleryEdit', true, 'Éditer une galerie', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'edit'])
]); ?>
</div>
2023-08-09 20:19:06 +02:00
<div class="col2">
2023-11-07 10:10:20 +01:00
<?php echo template::checkbox('profilEditGalleryDelete', true, 'Effacer une galerie', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'delete'])
]); ?>
</div>
2023-08-09 20:19:06 +02:00
<div class="col2">
2023-11-07 10:10:20 +01:00
<?php echo template::checkbox('profilEditGalleryOption', true, 'Options des galeries', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'option'])
]); ?>
</div>
2023-08-09 20:19:06 +02:00
<div class="col2">
2023-11-07 10:10:20 +01:00
<?php echo template::checkbox('profilEditGalleryTheme', true, 'Thème des galeries', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'theme'])
]); ?>
</div>
</div>
</div>
</div>
2023-07-24 17:31:59 +02:00
</div>