2023-07-24 17:34:46 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
|
|
|
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Téléchargement'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
2023-07-24 18:21:44 +02:00
|
|
|
<?php echo template::checkbox('profilEditDownloadEdit', true, 'Ajouter', [
|
2023-07-24 17:34:46 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'add'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilEditDownloadEdit', true, 'Éditer', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'edit'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilEditDownloadDelete', true, 'Effacer`', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'delete'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilEditDownloadOption', true, 'Options', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'option'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilEditDownloadComment', true, 'Gérer les commentaires', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'comment'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilEditDownloadCommentApprove', true, 'Approuver un commentaire', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'commentApprove'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2023-07-24 18:01:11 +02:00
|
|
|
<div class="col4">
|
2023-07-24 18:21:44 +02:00
|
|
|
<?php echo template::checkbox('profilEditDownloadCategories', true, 'Catégories', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'categoryManage'])
|
2023-07-24 18:01:11 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2023-07-24 18:21:44 +02:00
|
|
|
<?php echo template::checkbox('profilEditDownloadCategoryEdit', true, 'Editer une catégorie', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'categoryEdit'])
|
2023-07-24 18:01:11 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2023-07-24 18:21:44 +02:00
|
|
|
<?php echo template::checkbox('profilEditDownloadCategoryDelete', true, 'Effacer une catégorie',[
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'categoryDelete'])
|
2023-07-24 18:01:11 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
2023-07-24 18:21:44 +02:00
|
|
|
<?php echo template::checkbox('profilEditDownloadCommentDelete', true, 'Effacer le commentaire',[
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'commentDelete'])
|
2023-07-24 17:34:46 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-07-24 18:01:11 +02:00
|
|
|
<div class="col4">
|
2023-07-24 18:21:44 +02:00
|
|
|
<?php echo template::checkbox('profilEditDownloadCommentDeleteAll', true, 'Effacer tous les commentaires',[
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'commentDeleteAll'])
|
2023-07-24 18:01:11 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2023-07-24 18:21:44 +02:00
|
|
|
<?php echo template::checkbox('profilEditDownloadCommentDeleteAllStats', true, 'Effacer toutes les statistiques',[
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'deleteAllStats'])
|
2023-07-24 17:34:46 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|