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

View File

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