Zwii-Modules/geolocation/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('Geolocation')); ?>
2024-08-16 15:57:50 +02:00
</h4>
<div class="row">
<div class="col4">
<?php echo template::checkbox('profilEditGeolocationAdd', true, 'Ajouter un point', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'geolocation', 'add'])
2024-08-16 15:57:50 +02:00
]); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilEditGeolocationEdit', true, 'Éditer un point', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'geolocation', 'edit'])
2024-08-16 15:57:50 +02:00
]); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilEditGeolocationDelete', true, 'Effacer un point', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'geolocation', 'delete'])
2024-08-16 15:57:50 +02:00
]); ?>
</div>
</div>
</div>
</div>
</div>