Animation pour l'ajout de profil

This commit is contained in:
Fred Tempez 2023-06-10 17:06:08 +02:00
parent c2d531872d
commit b7fbf1f96f
4 changed files with 99 additions and 89 deletions

View File

@ -17,6 +17,6 @@
* admin.css
*/
.containerPage {
.containerPage, .containerModule {
display: none;
}

View File

@ -24,6 +24,16 @@ $(document).ready(function () {
}
});
// Désactive la gestion des pages pour les membres
$('#profilAddGroup').change(function () {
;
if ($(this).val() === '1') {
$('.containerPage').slideUp();
} else {
$('.containerPage').slideDown();
}
});
// Gérer l'évènement affichage des
$("#profilAddPageModule").change(function () {
if (!$(this).is(':checked')) {

View File

@ -52,27 +52,27 @@
</h4>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilAddPageAdd', false, 'Ajouter'); ?>
<?php echo template::checkbox('profilAddPageAdd', true, 'Ajouter'); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddPageEdit', false, 'Editer'); ?>
<?php echo template::checkbox('profilAddPageEdit', true, 'Editer'); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddPageDelete', false, 'Effacer'); ?>
<?php echo template::checkbox('profilAddPageDelete', true, 'Effacer'); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddPageDuplicate', false, 'Dupliquer'); ?>
<?php echo template::checkbox('profilAddPageDuplicate', true, 'Dupliquer'); ?>
</div>
</div>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilAddPageModule', false, 'Module'); ?>
<?php echo template::checkbox('profilAddPageModule', true, 'Module'); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddPagecssEditor', false, 'Editeur CSS'); ?>
<?php echo template::checkbox('profilAddPagecssEditor', true, 'Editeur CSS'); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddPagejsEditor', false, 'Editeur JS'); ?>
<?php echo template::checkbox('profilAddPagejsEditor', true, 'Editeur JS'); ?>
</div>
</div>
</div>
@ -87,36 +87,36 @@
</h4>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilAddBlogAdd', false, 'Ajouter'); ?>
<?php echo template::checkbox('profilAddBlogAdd', true, 'Ajouter'); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddBlogEdit', false, 'Edit'); ?>
<?php echo template::checkbox('profilAddBlogEdit', true, 'Edit'); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddBlogDelete', false, 'Supprimer'); ?>
<?php echo template::checkbox('profilAddBlogDelete', true, 'Supprimer'); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddBlogConfig', false, 'Configuration'); ?>
<?php echo template::checkbox('profilAddBlogConfig', true, 'Configuration'); ?>
</div>
</div>
<div class="row">
<div class="col4">
<?php echo template::checkbox('profilAddBlogOption', false, 'Option'); ?>
<?php echo template::checkbox('profilAddBlogOption', true, 'Option'); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilAddBlogComment', false, 'Commentaire'); ?>
<?php echo template::checkbox('profilAddBlogComment', true, 'Commentaire'); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilAddBlogCommentApprouve', false, 'Approuver commentaire'); ?>
<?php echo template::checkbox('profilAddBlogCommentApprouve', true, 'Approuver commentaire'); ?>
</div>
</div>
<div class="row">
<div class="col6">
<?php echo template::checkbox('profilAddBlogCommentDelete', false, 'Supprimer commentaire'); ?>
<?php echo template::checkbox('profilAddBlogCommentDelete', true, 'Supprimer commentaire'); ?>
</div>
<div class="col6">
<?php echo template::checkbox('profilAddBlogCommentDeleteAll', false, 'Nettoyer commentaires'); ?>
<?php echo template::checkbox('profilAddBlogCommentDeleteAll', true, 'Nettoyer commentaires'); ?>
</div>
</div>
</div>
@ -130,21 +130,21 @@
</h4>
<div class="row">
<div class="col4">
<?php echo template::checkbox('profilAddNewsAdd', false, 'Ajouter'); ?>
<?php echo template::checkbox('profilAddNewsAdd', true, 'Ajouter'); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilAddNewsEdit', false, 'Edit'); ?>
<?php echo template::checkbox('profilAddNewsEdit', true, 'Edit'); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilAddNewsDelete', false, 'Supprimer'); ?>
<?php echo template::checkbox('profilAddNewsDelete', true, 'Supprimer'); ?>
</div>
</div>
<div class="row">
<div class="col6">
<?php echo template::checkbox('profilAddNewsConfig', false, 'Configuration'); ?>
<?php echo template::checkbox('profilAddNewsConfig', true, 'Configuration'); ?>
</div>
<div class="col6">
<?php echo template::checkbox('profilAddNewsOption', false, 'Option'); ?>
<?php echo template::checkbox('profilAddNewsOption', true, 'Option'); ?>
</div>
</div>
@ -159,24 +159,24 @@
</h4>
<div class="row">
<div class="col4">
<?php echo template::checkbox('profilAddGalleryAdd', false, 'Ajouter'); ?>
<?php echo template::checkbox('profilAddGalleryAdd', true, 'Ajouter'); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilAddGalleryEdit', false, 'Edit'); ?>
<?php echo template::checkbox('profilAddGalleryEdit', true, 'Edit'); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilAddGalleryDelete', false, 'Supprimer'); ?>
<?php echo template::checkbox('profilAddGalleryDelete', true, 'Supprimer'); ?>
</div>
</div>
<div class="row">
<div class="col4">
<?php echo template::checkbox('profilAddGalleryConfig', false, 'Configuration'); ?>
<?php echo template::checkbox('profilAddGalleryConfig', true, 'Configuration'); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilAddGalleryOption', false, 'Option'); ?>
<?php echo template::checkbox('profilAddGalleryOption', true, 'Option'); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilAddGalleryTheme', false, 'Theme'); ?>
<?php echo template::checkbox('profilAddGalleryTheme', true, 'Theme'); ?>
</div>
</div>
</div>
@ -191,7 +191,7 @@
</h4>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilAddFileManager', false, 'Autorisé'); ?>
<?php echo template::checkbox('profilAddFileManager', true, 'Autorisé'); ?>
</div>
<div class="col6">
<?php echo template::select('profilAddPath', $module::$sharePath, [
@ -208,19 +208,19 @@
</h4>
<div class="row">
<div class="col2">
<?php echo template::checkbox('profilAddFolderCreate', false, 'Création', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddFolderCreate', true, 'Création', ['class' => 'filemanager']); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilAddFolderDelete', false, 'Effacement', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddFolderDelete', true, 'Effacement', ['class' => 'filemanager']); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilAddFolderRename', false, 'Nommage', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddFolderRename', true, 'Nommage', ['class' => 'filemanager']); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilAddFolderCopycut', false, 'Copié collé', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddFolderCopycut', true, 'Copié collé', ['class' => 'filemanager']); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddFolderChmod', false, 'Droits sur les dossiers', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddFolderChmod', true, 'Droits sur les dossiers', ['class' => 'filemanager']); ?>
</div>
</div>
</div>
@ -234,42 +234,42 @@
</h4>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilAddDownload', false, 'Téléchargement', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddDownload', true, 'Téléchargement', ['class' => 'filemanager']); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddEdit', false, 'Edition', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddEdit', true, 'Edition', ['class' => 'filemanager']); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddCreate', false, 'Création', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddCreate', true, 'Création', ['class' => 'filemanager']); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddRename', false, 'Nommage', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddRename', true, 'Nommage', ['class' => 'filemanager']); ?>
</div>
</div>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilAddUpload', false, 'Téléversement', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddUpload', true, 'Téléversement', ['class' => 'filemanager']); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddDelete', false, 'Effacement', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddDelete', true, 'Effacement', ['class' => 'filemanager']); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddPreview', false, 'Prévisualisation', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddPreview', true, 'Prévisualisation', ['class' => 'filemanager']); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddDuplicate', false, 'Duplication', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddDuplicate', true, 'Duplication', ['class' => 'filemanager']); ?>
</div>
</div>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilAddExtract', false, 'Extraction', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddExtract', true, 'Extraction', ['class' => 'filemanager']); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddCopycut', false, 'Copié collé', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddCopycut', true, 'Copié collé', ['class' => 'filemanager']); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddChmod', false, 'Droits sur les fichiers', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddChmod', true, 'Droits sur les fichiers', ['class' => 'filemanager']); ?>
</div>
</div>
</div>

View File

@ -60,39 +60,39 @@
</h4>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilEditPageAdd', false, 'Ajouter', [
<?php echo template::checkbox('profilEditPageAdd', true, 'Ajouter', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'page', 'add'])
]); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilEditPageEdit', false, 'Editer', [
<?php echo template::checkbox('profilEditPageEdit', true, 'Editer', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'page', 'edit'])
]); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilEditPageDelete', false, 'Supprimer', [
<?php echo template::checkbox('profilEditPageDelete', true, 'Supprimer', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'page', 'delete'])
]); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilEditPageDuplicate', false, 'Dupliquer', [
<?php echo template::checkbox('profilEditPageDuplicate', true, 'Dupliquer', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'page', 'duplicate'])
]); ?>
</div>
</div>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilEditPageModule', false, 'Module', [
<?php echo template::checkbox('profilEditPageModule', true, 'Module', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'page', 'module'])
]); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilEditPagecssEditor', false, 'Editeur CSS', [
<?php echo template::checkbox('profilEditPagecssEditor', true, 'Editeur CSS', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'page', 'cssEditor'])
]); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilEditPagejsEditor', false, 'Editeur JS', [
<?php echo template::checkbox('profilEditPagejsEditor', true, 'Editeur JS', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'page', 'jsEditor'])
]); ?>
</div>
@ -109,51 +109,51 @@
</h4>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilEditBlogAdd', false, 'Ajouter', [
<?php echo template::checkbox('profilEditBlogAdd', true, 'Ajouter', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'add'])
]); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilEditBlogEdit', false, 'Edit', [
<?php echo template::checkbox('profilEditBlogEdit', true, 'Edit', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'edit'])
]); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilEditBlogDelete', false, 'Supprimer', [
<?php echo template::checkbox('profilEditBlogDelete', true, 'Supprimer', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'delete'])
]); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilEditBlogConfig', false, 'Configuration', [
<?php echo template::checkbox('profilEditBlogConfig', true, 'Configuration', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'config'])
]); ?>
</div>
</div>
<div class="row">
<div class="col4">
<?php echo template::checkbox('profilEditBlogOption', false, 'Option', [
<?php echo template::checkbox('profilEditBlogOption', true, 'Option', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'option'])
]); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilEditBlogComment', false, 'Commentaire', [
<?php echo template::checkbox('profilEditBlogComment', true, 'Commentaire', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'comment'])
]); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilEditBlogCommentApprouve', false, 'Approuver commentaire', [
<?php echo template::checkbox('profilEditBlogCommentApprouve', true, 'Approuver commentaire', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentApprove'])
]); ?>
</div>
</div>
<div class="row">
<div class="col6">
<?php echo template::checkbox('profilEditBlogCommentDelete', false, 'Supprimer commentaire', [
<?php echo template::checkbox('profilEditBlogCommentDelete', true, 'Supprimer commentaire', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDelete'])
]); ?>
</div>
<div class="col6">
<?php echo template::checkbox('profilEditBlogCommentDeleteAll', false, 'Nettoyer commentaires', [
<?php echo template::checkbox('profilEditBlogCommentDeleteAll', true, 'Nettoyer commentaires', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDeleteAll'])
]); ?>
</div>
@ -169,29 +169,29 @@
</h4>
<div class="row">
<div class="col4">
<?php echo template::checkbox('profilEditNewsAdd', false, 'Ajouter', [
<?php echo template::checkbox('profilEditNewsAdd', true, 'Ajouter', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'add'])
]); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilEditNewsEdit', false, 'Edit', [
<?php echo template::checkbox('profilEditNewsEdit', true, 'Edit', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'edit'])
]); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilEditNewsDelete', false, 'Supprimer', [
<?php echo template::checkbox('profilEditNewsDelete', true, 'Supprimer', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'delete'])
]); ?>
</div>
</div>
<div class="row">
<div class="col6">
<?php echo template::checkbox('profilEditNewsConfig', false, 'Configuration', [
<?php echo template::checkbox('profilEditNewsConfig', true, 'Configuration', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'config'])
]); ?>
</div>
<div class="col6">
<?php echo template::checkbox('profilEditNewsOption', false, 'Option', [
<?php echo template::checkbox('profilEditNewsOption', true, 'Option', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'option'])
]); ?>
</div>
@ -209,34 +209,34 @@
</h4>
<div class="row">
<div class="col4">
<?php echo template::checkbox('profilEditGalleryAdd', false, 'Ajouter', [
<?php echo template::checkbox('profilEditGalleryAdd', true, 'Ajouter', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'add'])
]); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilEditGalleryEdit', false, 'Edit', [
<?php echo template::checkbox('profilEditGalleryEdit', true, 'Edit', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'edit'])
]); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilEditGalleryDelete', false, 'Supprimer', [
<?php echo template::checkbox('profilEditGalleryDelete', true, 'Supprimer', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'delete'])
]); ?>
</div>
</div>
<div class="row">
<div class="col4">
<?php echo template::checkbox('profilEditGalleryConfig', false, 'Configuration', [
<?php echo template::checkbox('profilEditGalleryConfig', true, 'Configuration', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'config'])
]); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilEditGalleryOption', false, 'Option', [
<?php echo template::checkbox('profilEditGalleryOption', true, 'Option', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'option'])
]); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilEditGalleryTheme', false, 'Theme', [
<?php echo template::checkbox('profilEditGalleryTheme', true, 'Theme', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'theme'])
]); ?>
</div>
@ -253,7 +253,7 @@
</h4>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilEditFileManager', false, 'Autorisé', [
<?php echo template::checkbox('profilEditFileManager', true, 'Autorisé', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'filemanager'])
]); ?>
</div>
@ -273,31 +273,31 @@
</h4>
<div class="row">
<div class="col2">
<?php echo template::checkbox('profilEditFolderCreate', false, 'Création', [
<?php echo template::checkbox('profilEditFolderCreate', true, 'Création', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'create']),
]); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilEditFolderDelete', false, 'Effacement', [
<?php echo template::checkbox('profilEditFolderDelete', true, 'Effacement', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'delete'])
]); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilEditFolderRename', false, 'Nommage', [
<?php echo template::checkbox('profilEditFolderRename', true, 'Nommage', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'rename'])
]); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilEditFolderCopycut', false, 'Copié 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="col3">
<?php echo template::checkbox('profilEditFolderChmod', false, 'Droits sur les dossiers', [
<?php echo template::checkbox('profilEditFolderChmod', true, 'Droits sur les dossiers', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'chmod'])
]); ?>
@ -314,25 +314,25 @@
</h4>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilEditDownload', false, 'Téléchargement', [
<?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="col3">
<?php echo template::checkbox('profilEditEdit', false, 'Edition', [
<?php echo template::checkbox('profilEditEdit', true, 'Edition', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'edit'])
]); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilEditCreate', false, 'Création', [
<?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="col3">
<?php echo template::checkbox('profilEditRename', false, 'Nommage', [
<?php echo template::checkbox('profilEditRename', true, 'Nommage', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'rename'])
]); ?>
@ -340,27 +340,27 @@
</div>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilEditUpload', false, 'Téléversement', [
<?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="col3">
<?php echo template::checkbox('profilEditDelete', false, 'Effacement', [
<?php echo template::checkbox('profilEditDelete', true, 'Effacement', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'delete'])
]); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilEditPreview', false, 'Prévisualisation', [
<?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="col3">
<?php echo template::checkbox('profilEditDuplicate', false, 'Duplication', [
<?php echo template::checkbox('profilEditDuplicate', true, 'Duplication', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'duplicate'])
]); ?>
@ -368,19 +368,19 @@
</div>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilEditExtract', false, 'Extraction', [
<?php echo template::checkbox('profilEditExtract', true, 'Extraction', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'extract'])
]); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilEditCopycut', false, 'Copié collé', [
<?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="col3">
<?php echo template::checkbox('profilEditChmod', false, 'Droits sur les fichiers', [
<?php echo template::checkbox('profilEditChmod', true, 'Droits sur les fichiers', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'chmod'])
]); ?>