76 lines
4.4 KiB
PHP
76 lines
4.4 KiB
PHP
|
<div class="row">
|
||
|
<div class="col12">
|
||
|
<div class="block">
|
||
|
<h4>
|
||
|
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Téléchargement')); ?>
|
||
|
</h4>
|
||
|
<div class="row">
|
||
|
<div class="col3">
|
||
|
<?php echo template::checkbox('profilEditDownloadAdd', true, 'Ajouter', [
|
||
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'add'])
|
||
|
]); ?>
|
||
|
</div>
|
||
|
<div class="col3">
|
||
|
<?php echo template::checkbox('profilEditDownloadEdit', true, 'Éditer', [
|
||
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'edit'])
|
||
|
]); ?>
|
||
|
</div>
|
||
|
<div class="col3">
|
||
|
<?php echo template::checkbox('profilEditDownloadDelete', true, 'Effacer', [
|
||
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'delete'])
|
||
|
]); ?>
|
||
|
</div>
|
||
|
<div class="col3">
|
||
|
<?php echo template::checkbox('profilEditDownloadOption', true, 'Options', [
|
||
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'option'])
|
||
|
]); ?>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<div class="col3">
|
||
|
<?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="col3 downloadEditCommentOptions">
|
||
|
<?php echo template::checkbox('profilEditDownloadCommentApprove', true, 'Approuver un commentaire', [
|
||
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'commentApprove'])
|
||
|
]); ?>
|
||
|
</div>
|
||
|
|
||
|
<div class="col3 downloadEditCommentOptions">
|
||
|
<?php echo template::checkbox('profilEditDownloadCommentDelete', true, 'Effacer un commentaire', [
|
||
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'commentDelete'])
|
||
|
]); ?>
|
||
|
</div>
|
||
|
<div class="col3 downloadEditCommentOptions">
|
||
|
<?php echo template::checkbox('profilEditDownloadCommentDeleteAll', true, 'Effacer tous les commentaires', [
|
||
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'commentDeleteAll'])
|
||
|
]); ?>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<div class="col3">
|
||
|
<?php echo template::checkbox('profilEditDownloadCategories', true, 'Gérer les catégories', [
|
||
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'categoryManage'])
|
||
|
]); ?>
|
||
|
</div>
|
||
|
<div class="col3 downloadEditCategoryOptions">
|
||
|
<?php echo template::checkbox('profilEditDownloadCategoryEdit', true, 'Éditer une catégorie', [
|
||
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'categoryEdit'])
|
||
|
]); ?>
|
||
|
</div>
|
||
|
<div class="col3 downloadEditCategoryOptions">
|
||
|
<?php echo template::checkbox('profilEditDownloadCategoryDelete', true, 'Effacer une catégorie', [
|
||
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'categoryDelete'])
|
||
|
]); ?>
|
||
|
</div>
|
||
|
<div class="col3 downloadEditCategoryOptions">
|
||
|
<?php echo template::checkbox('profilEditDownloadCommentDeleteAllStats', true, 'Effacer toutes les statistiques', [
|
||
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'deleteAllStats'])
|
||
|
]); ?>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|