Structure des champs

This commit is contained in:
Fred Tempez 2023-05-11 19:13:36 +02:00
parent cb909e41de
commit b4f5546a5f
2 changed files with 41 additions and 34 deletions

View File

@ -78,9 +78,9 @@
<?php echo template::checkbox('profilAddFolderRename', true, 'Nommage', ['class' => 'filemanager']); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilAddFolderCopycut', true, 'Coupé collé', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddFolderCopycut', true, 'Copié collé', ['class' => 'filemanager']); ?>
</div>
<div class="col2">
<div class="col3">
<?php echo template::checkbox('profilAddFolderChmod', true, 'Droits sur les dossiers', ['class' => 'filemanager']); ?>
</div>
</div>
@ -94,39 +94,42 @@
<?php echo helper::translate('Permissions sur les fichiers'); ?>
</h4>
<div class="row">
<div class="col2">
<div class="col3">
<?php echo template::checkbox('profilAddDownload', true, 'Téléchargement', ['class' => 'filemanager']); ?>
</div>
<div class="col2">
<div class="col3">
<?php echo template::checkbox('profilAddEdit', true, 'Edition', ['class' => 'filemanager']); ?>
</div>
<div class="col2">
<div class="col3">
<?php echo template::checkbox('profilAddCreate', true, 'Création', ['class' => 'filemanager']); ?>
</div>
<div class="col2">
<div class="col3">
<?php echo template::checkbox('profilAddRename', true, 'Nommage', ['class' => 'filemanager']); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilAddUpload', true, 'Téléversement', ['class' => 'filemanager']); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilAddDelete', true, 'Effacement', ['class' => 'filemanager']); ?>
</div>
</div>
<div class="row">
<div class="col2">
<div class="col3">
<?php echo template::checkbox('profilAddUpload', true, 'Téléversement', ['class' => 'filemanager']); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddDelete', true, 'Effacement', ['class' => 'filemanager']); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddPreview', true, 'Prévisualisation', ['class' => 'filemanager']); ?>
</div>
<div class="col2">
<div class="col3">
<?php echo template::checkbox('profilAddDuplicate', true, 'Duplication', ['class' => 'filemanager']); ?>
</div>
<div class="col2">
</div>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilAddExtract', true, 'Extraction', ['class' => 'filemanager']); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilAddCopycut', true, 'Coupé collé', ['class' => 'filemanager']); ?>
<div class="col3">
<?php echo template::checkbox('profilAddCopycut', true, 'Copié collé', ['class' => 'filemanager']); ?>
</div>
<div class="col2">
<div class="col3">
<?php echo template::checkbox('profilAddChmod', true, 'Droits sur les fichiers', ['class' => 'filemanager']); ?>
</div>
</div>

View File

@ -90,12 +90,12 @@
]); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilEditFolderCopycut', true, 'Coupé collé', [
<?php echo template::checkbox('profilEditFolderCopycut', true, 'Copié collé', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'copycut'])
]); ?>
</div>
<div class="col2">
<div class="col3">
<?php echo template::checkbox('profilEditFolderChmod', true, 'Droits sur les dossiers', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'chmod'])
@ -112,69 +112,73 @@
<?php echo helper::translate('Permissions sur les fichiers'); ?>
</h4>
<div class="row">
<div class="col2">
<div class="col3">
<?php echo template::checkbox('profilEditDownload', true, 'Téléchargement', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'download'])
]); ?>
</div>
<div class="col2">
<div class="col3">
<?php echo template::checkbox('profilEditEdit', true, 'Edition', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'edit'])
]); ?>
</div>
<div class="col2">
<div class="col3">
<?php echo template::checkbox('profilEditCreate', true, 'Création', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'create'])
]); ?>
</div>
<div class="col2">
<div class="col3">
<?php echo template::checkbox('profilEditRename', true, 'Nommage', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'rename'])
]); ?>
</div>
<div class="col2">
</div>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilEditUpload', true, 'Téléversement', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'upload'])
]); ?>
</div>
<div class="col2">
<div class="col3">
<?php echo template::checkbox('profilEditDelete', true, 'Effacement', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'delete'])
]); ?>
</div>
</div>
<div class="row">
<div class="col2">
<div class="col3">
<?php echo template::checkbox('profilEditPreview', true, 'Prévisualisation', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'preview'])
]); ?>
</div>
<div class="col2">
<div class="col3">
<?php echo template::checkbox('profilEditDuplicate', true, 'Duplication', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'duplicate'])
]); ?>
</div>
<div class="col2">
</div>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilEditExtract', true, 'Extraction', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'extract'])
]); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilEditCopycut', true, 'Coupé collé', [
<div class="col3">
<?php echo template::checkbox('profilEditCopycut', true, 'Copié collé', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'copycut'])
]); ?>
</div>
<div class="col2">
<div class="col3">
<?php echo template::checkbox('profilEditChmod', true, 'Droits sur les fichiers', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'chmod'])