Zwii-Modules/calendar/profil/view/edit.inc.php

26 lines
1.2 KiB
PHP
Raw Normal View History

2024-08-16 15:57:50 +02:00
<div class="row">
<div class="col12">
<div class="block">
<h4>
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Calendrier')); ?>
2024-08-16 15:57:50 +02:00
</h4>
<div class="row">
<div class="col4">
<?php echo template::checkbox('profilEditCalendarAdd', true, 'Ajouter un calendrier', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'calendar', 'add'])
2024-08-16 15:57:50 +02:00
]); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilEditCalendarEdit', true, 'Éditer un calendrier', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'calendar', 'edit'])
2024-08-16 15:57:50 +02:00
]); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilEditCalendarDelete', true, 'Effacer un calendrier', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'calendar', 'delete'])
2024-08-16 15:57:50 +02:00
]); ?>
</div>
</div>
</div>
</div>
</div>