2023-03-31 17:02:56 +02:00
|
|
|
<?php echo template::formOpen('profilEditForm'); ?>
|
2023-03-29 14:48:09 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col1">
|
2023-03-31 17:02:56 +02:00
|
|
|
<?php echo template::button('profilEditBack', [
|
2023-03-29 14:48:09 +02:00
|
|
|
'class' => 'buttonGrey',
|
2023-03-31 17:02:56 +02:00
|
|
|
'href' => helper::baseUrl() . 'user/profil',
|
2023-03-29 14:48:09 +02:00
|
|
|
'value' => template::ico('left')
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2 offset9">
|
2023-03-31 17:02:56 +02:00
|
|
|
<?php echo template::submit('profilEditSubmit'); ?>
|
2023-03-29 14:48:09 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-31 14:36:19 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo helper::translate('Paramètres du profil'); ?>
|
2023-03-31 14:36:19 +02:00
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
2023-03-31 17:02:56 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<?php echo template::text('profilEditName', [
|
|
|
|
'label' => 'Nom du profil',
|
|
|
|
'value' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'name'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col12">
|
2023-05-21 17:56:18 +02:00
|
|
|
<?php echo template::text('profilEditDisplayGroup', [
|
2023-07-19 09:28:26 +02:00
|
|
|
'label' => 'Groupe associé',
|
2023-05-21 17:38:38 +02:00
|
|
|
'value' => self::$groups[$this->getUrl(2)],
|
|
|
|
'disabled' => true
|
2023-03-31 17:02:56 +02:00
|
|
|
]); ?>
|
2023-05-21 17:56:18 +02:00
|
|
|
<?php echo template::hidden('profilEditGroup', [
|
|
|
|
'value' => $this->getUrl(2),
|
|
|
|
]); ?>
|
|
|
|
<?php echo template::hidden('profilEditProfil', [
|
|
|
|
'value' => $this->getUrl(3),
|
|
|
|
]); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-31 14:36:19 +02:00
|
|
|
</div>
|
|
|
|
<div class="col6">
|
2023-03-31 17:02:56 +02:00
|
|
|
<?php echo template::textarea('profilEditComment', [
|
2023-03-31 14:36:19 +02:00
|
|
|
'label' => 'Commentaire',
|
2023-03-31 17:02:56 +02:00
|
|
|
'value' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'comment'])
|
2023-03-31 14:36:19 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-07-05 18:04:42 +02:00
|
|
|
<?php if ($this->getUrl(2) >= self::GROUP_EDITOR): ?>
|
2023-05-21 17:56:18 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo helper::translate('Permissions sur les pages'); ?>
|
2023-05-21 17:56:18 +02:00
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
2023-06-10 17:06:08 +02:00
|
|
|
<?php echo template::checkbox('profilEditPageAdd', true, 'Ajouter', [
|
2023-05-21 17:56:18 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'page', 'add'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilEditPageEdit', true, 'Éditer', [
|
2023-05-21 17:56:18 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'page', 'edit'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilEditPageDelete', true, 'Effacer', [
|
2023-05-21 17:56:18 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'page', 'delete'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-06-10 17:06:08 +02:00
|
|
|
<?php echo template::checkbox('profilEditPageDuplicate', true, 'Dupliquer', [
|
2023-05-21 17:56:18 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'page', 'duplicate'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-05-14 22:59:24 +02:00
|
|
|
</div>
|
2023-05-21 17:56:18 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilEditPageModule', true, 'Gérer Module', [
|
2023-05-21 17:56:18 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'page', 'module'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilEditPagecssEditor', true, 'Éditeur CSS', [
|
2023-05-21 17:56:18 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'page', 'cssEditor'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilEditPagejsEditor', true, 'Éditeur JS', [
|
2023-05-21 17:56:18 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'page', 'jsEditor'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-05-14 22:59:24 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-06-05 18:31:16 +02:00
|
|
|
<div class="containerModule">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Blog'); ?>
|
2023-06-05 18:31:16 +02:00
|
|
|
</h4>
|
|
|
|
<div class="row">
|
2023-06-18 17:35:54 +02:00
|
|
|
<div class="col4">
|
2023-06-10 17:06:08 +02:00
|
|
|
<?php echo template::checkbox('profilEditBlogAdd', true, 'Ajouter', [
|
2023-06-05 18:31:16 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'add'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-06-18 17:35:54 +02:00
|
|
|
<div class="col4">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilEditBlogEdit', true, 'Éditer', [
|
2023-06-05 18:31:16 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'edit'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-06-18 17:35:54 +02:00
|
|
|
<div class="col4">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilEditBlogDelete', true, 'Effacer', [
|
2023-06-05 18:31:16 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'delete'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-05-31 19:30:39 +02:00
|
|
|
</div>
|
2023-06-05 18:31:16 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
2023-06-18 17:35:54 +02:00
|
|
|
<?php echo template::checkbox('profilEditBlogOption', true, 'Options', [
|
2023-06-05 18:31:16 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'option'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilEditBlogComment', true, 'Gérer les commentaires', [
|
2023-06-05 18:31:16 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'comment'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilEditBlogCommentApprove', true, 'Approuver les commentaires', [
|
2023-06-05 18:31:16 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentApprove'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-05-31 19:30:39 +02:00
|
|
|
</div>
|
2023-06-05 18:31:16 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilEditBlogCommentDelete', true, 'Effacer les commentaires', [
|
2023-06-05 18:31:16 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDelete'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilEditBlogCommentDeleteAll', true, 'Nettoyer les commentaires', [
|
2023-06-05 18:31:16 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDeleteAll'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-05-31 19:30:39 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-06-05 18:31:16 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('News'); ?>
|
2023-06-05 18:31:16 +02:00
|
|
|
</h4>
|
|
|
|
<div class="row">
|
2023-06-18 16:57:11 +02:00
|
|
|
<div class="col3">
|
2023-06-10 17:06:08 +02:00
|
|
|
<?php echo template::checkbox('profilEditNewsAdd', true, 'Ajouter', [
|
2023-06-05 18:31:16 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'add'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-06-18 16:57:11 +02:00
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilEditNewsEdit', true, 'Éditer', [
|
2023-06-05 18:31:16 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'edit'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-06-18 16:57:11 +02:00
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilEditNewsDelete', true, 'Effacer', [
|
2023-06-05 18:31:16 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'delete'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-06-18 16:57:11 +02:00
|
|
|
<div class="col3">
|
2023-06-18 17:35:54 +02:00
|
|
|
<?php echo template::checkbox('profilEditNewsOption', true, 'Options', [
|
2023-06-05 18:31:16 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'option'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-06-01 20:08:11 +02:00
|
|
|
|
2023-06-05 18:31:16 +02:00
|
|
|
</div>
|
2023-06-01 20:08:11 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-06-10 17:21:16 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Galerie'); ?>
|
2023-06-10 17:21:16 +02:00
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilEditGalleryAdd', true, 'Ajouter', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'add'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilEditGalleryEdit', true, 'Éditer', [
|
2023-06-10 17:21:16 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'edit'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilEditGalleryDelete', true, 'Effacer', [
|
2023-06-10 17:21:16 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'delete'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-06-10 16:58:05 +02:00
|
|
|
</div>
|
2023-06-10 17:21:16 +02:00
|
|
|
<div class="row">
|
2023-06-18 16:57:11 +02:00
|
|
|
<div class="col6">
|
2023-06-18 17:35:54 +02:00
|
|
|
<?php echo template::checkbox('profilEditGalleryOption', true, 'Options', [
|
2023-06-10 17:21:16 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'option'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-06-18 16:57:11 +02:00
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::checkbox('profilEditGalleryTheme', true, 'Thème', [
|
2023-06-10 17:21:16 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'theme'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-06-10 16:58:05 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-06-10 17:21:16 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Formulaire'); ?>
|
2023-06-10 17:21:16 +02:00
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
2023-06-18 17:35:54 +02:00
|
|
|
<?php echo template::checkbox('profilEditFormOption', true, 'Options', [
|
2023-06-10 17:21:16 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'option'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilEditFormData', true, 'Gérer les données', [
|
2023-06-10 17:21:16 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'data'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-06-18 16:57:11 +02:00
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilEditFormExport2csv', true, 'Export CSV', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'export2csv'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-06-10 16:58:05 +02:00
|
|
|
</div>
|
2023-06-10 17:21:16 +02:00
|
|
|
<div class="row">
|
2023-06-18 16:57:11 +02:00
|
|
|
<div class="col6">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilEditFormDelete', true, 'Effacer', [
|
2023-06-10 17:21:16 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'delete'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-06-18 16:57:11 +02:00
|
|
|
<div class="col6">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilEditFormDeleteAll', true, 'Tout Effacer', [
|
2023-06-10 17:21:16 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'deleteAll'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-06-10 16:58:05 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-06-12 11:13:57 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Redirection'); ?>
|
2023-06-12 11:13:57 +02:00
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilEditRedirectionConfig', true, 'Configurer', [
|
2023-06-12 11:13:57 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'redirection', 'config'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Recherche'); ?>
|
2023-06-12 11:13:57 +02:00
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilEditSearchConfig', true, 'Configurer', [
|
2023-06-12 11:13:57 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'search', 'config'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-06-10 16:58:05 +02:00
|
|
|
</div>
|
2023-05-21 17:38:38 +02:00
|
|
|
<?php endif; ?>
|
2023-06-30 09:26:41 +02:00
|
|
|
<div class="row">
|
2023-07-19 09:28:26 +02:00
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
|
|
|
<?php echo helper::translate('Compte de l\'utilisateur'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
2023-06-30 09:26:41 +02:00
|
|
|
<?php echo template::checkbox('profilEditUserEdit', true, 'Éditer', [
|
2023-07-19 09:28:26 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'user', 'edit'])
|
|
|
|
]); ?>
|
2023-06-30 09:26:41 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-07-19 09:28:26 +02:00
|
|
|
</div>
|
2023-03-29 14:48:09 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
2023-03-29 19:28:03 +02:00
|
|
|
<?php echo helper::translate('Gestionnaire de fichiers'); ?>
|
2023-03-29 14:48:09 +02:00
|
|
|
</h4>
|
|
|
|
<div class="row">
|
2023-03-29 19:28:03 +02:00
|
|
|
<div class="col3">
|
2023-06-10 17:06:08 +02:00
|
|
|
<?php echo template::checkbox('profilEditFileManager', true, 'Autorisé', [
|
2023-05-10 16:50:02 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'filemanager'])
|
2023-03-29 14:48:09 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-03-29 19:28:03 +02:00
|
|
|
<div class="col6">
|
2023-03-31 17:02:56 +02:00
|
|
|
<?php echo template::select('profilEditPath', $module::$sharePath, [
|
2023-05-11 19:07:34 +02:00
|
|
|
'label' => 'Dossier',
|
2023-05-11 18:33:25 +02:00
|
|
|
'class' => 'filemanager',
|
2023-03-31 17:02:56 +02:00
|
|
|
'selected' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'path'])
|
2023-03-29 14:48:09 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2023-03-29 19:28:03 +02:00
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
|
|
|
<?php echo helper::translate('Permissions sur les dossiers'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilEditFolderCreate', true, 'Ajouter', [
|
2023-05-11 18:33:25 +02:00
|
|
|
'class' => 'filemanager',
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'create']),
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilEditFolderDelete', true, 'Effacer', [
|
2023-05-11 18:33:25 +02:00
|
|
|
'class' => 'filemanager',
|
2023-03-31 17:02:56 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'delete'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilEditFolderRename', true, 'Renommer', [
|
2023-05-11 18:33:25 +02:00
|
|
|
'class' => 'filemanager',
|
2023-03-31 17:02:56 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'rename'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2023-07-19 10:30:41 +02:00
|
|
|
<?php echo template::checkbox('profilEditFolderCopycut', true, 'Presse papier', [
|
2023-05-11 18:33:25 +02:00
|
|
|
'class' => 'filemanager',
|
2023-03-31 17:02:56 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'copycut'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-06-10 17:06:08 +02:00
|
|
|
<?php echo template::checkbox('profilEditFolderChmod', true, 'Droits sur les dossiers', [
|
2023-05-11 18:33:25 +02:00
|
|
|
'class' => 'filemanager',
|
2023-03-31 17:02:56 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'chmod'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-29 14:48:09 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2023-03-29 19:28:03 +02:00
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
|
|
|
<?php echo helper::translate('Permissions sur les fichiers'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilEditDownload', true, 'Télécharger', [
|
2023-05-11 18:33:25 +02:00
|
|
|
'class' => 'filemanager',
|
2023-03-31 17:02:56 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'download'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilEditEdit', true, 'Éditer', [
|
2023-05-11 18:33:25 +02:00
|
|
|
'class' => 'filemanager',
|
2023-03-31 17:02:56 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'edit'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilEditCreate', true, 'Ajouter', [
|
2023-05-11 18:33:25 +02:00
|
|
|
'class' => 'filemanager',
|
2023-03-31 17:02:56 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'create'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilEditRename', true, 'Renommer', [
|
2023-05-11 18:33:25 +02:00
|
|
|
'class' => 'filemanager',
|
2023-03-31 17:02:56 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'rename'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilEditUpload', true, 'Téléverser', [
|
2023-05-11 18:33:25 +02:00
|
|
|
'class' => 'filemanager',
|
2023-03-31 17:02:56 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'upload'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
|
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilEditDelete', true, 'Effacer', [
|
2023-05-11 18:33:25 +02:00
|
|
|
'class' => 'filemanager',
|
2023-03-31 17:02:56 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'delete'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
|
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilEditPreview', true, 'Prévisualier', [
|
2023-05-11 18:33:25 +02:00
|
|
|
'class' => 'filemanager',
|
2023-03-31 17:02:56 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'preview'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilEditDuplicate', true, 'Dupliquer', [
|
2023-05-11 18:33:25 +02:00
|
|
|
'class' => 'filemanager',
|
2023-03-31 17:02:56 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'duplicate'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-05-14 22:59:24 +02:00
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilEditExtract', true, 'Extraire', [
|
2023-05-11 18:33:25 +02:00
|
|
|
'class' => 'filemanager',
|
2023-03-31 17:02:56 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'extract'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilEditCopycut', true, 'Presse papier', [
|
2023-05-11 18:33:25 +02:00
|
|
|
'class' => 'filemanager',
|
2023-03-31 17:02:56 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'copycut'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-06-10 17:06:08 +02:00
|
|
|
<?php echo template::checkbox('profilEditChmod', true, 'Droits sur les fichiers', [
|
2023-05-11 18:33:25 +02:00
|
|
|
'class' => 'filemanager',
|
2023-03-31 17:02:56 +02:00
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'chmod'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-29 14:48:09 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo template::formClose(); ?>
|