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-03-31 17:02:56 +02:00
|
|
|
<?php echo helper::translate('Paramètres'); ?>
|
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">
|
|
|
|
<?php echo template::select('profilEditGroup', $module::$groupProfils, [
|
|
|
|
'label' => 'Groupe',
|
|
|
|
'selected' => $this->getUrl(2)
|
|
|
|
]); ?>
|
|
|
|
</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-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-03-31 17:02:56 +02:00
|
|
|
<?php echo template::checkbox('profilEditShare', true, 'Activé', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'share'])
|
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-03-29 19:28:03 +02:00
|
|
|
'label' => 'Racine du dossier',
|
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-03-31 17:02:56 +02:00
|
|
|
<?php echo template::checkbox('profilEditFolderCreate', true, 'Création', [
|
|
|
|
'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-03-31 17:02:56 +02:00
|
|
|
<?php echo template::checkbox('profilEditFolderDelete', true, 'Effacement', [
|
|
|
|
'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-03-31 17:02:56 +02:00
|
|
|
<?php echo template::checkbox('profilEditFolderRename', true, 'Nommage', [
|
|
|
|
'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-03-31 17:02:56 +02:00
|
|
|
<?php echo template::checkbox('profilEditFolderCopycut', true, 'Coupé collé', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'copycut'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2023-03-31 17:02:56 +02:00
|
|
|
<?php echo template::checkbox('profilEditFolderChmod', true, 'Droits sur les dossiers', [
|
|
|
|
'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">
|
|
|
|
<div class="col2">
|
2023-03-31 17:02:56 +02:00
|
|
|
<?php echo template::checkbox('profilEditDownload', true, 'Téléchargement', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'download'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2023-03-31 17:02:56 +02:00
|
|
|
<?php echo template::checkbox('profilEditEdit', true, 'Edition', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'edit'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2023-03-31 17:02:56 +02:00
|
|
|
<?php echo template::checkbox('profilEditCreate', true, 'Création', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'create'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2023-03-31 17:02:56 +02:00
|
|
|
<?php echo template::checkbox('profilEditRename', true, 'Nommage', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'rename'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2023-03-31 17:02:56 +02:00
|
|
|
<?php echo template::checkbox('profilEditUpload', true, 'Téléversement', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'upload'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2023-03-31 17:02:56 +02:00
|
|
|
<?php echo template::checkbox('profilEditDelete', true, 'Effacement', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'delete'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
2023-03-31 17:02:56 +02:00
|
|
|
<?php echo template::checkbox('profilEditPreview', true, 'Prévisualisation', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'preview'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2023-03-31 17:02:56 +02:00
|
|
|
<?php echo template::checkbox('profilEditDuplicate', true, 'Duplication', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'duplicate'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2023-03-31 17:02:56 +02:00
|
|
|
<?php echo template::checkbox('profilEditExtract', true, 'Extraction', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'extract'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2023-03-31 17:02:56 +02:00
|
|
|
<?php echo template::checkbox('profilEditCopycut', true, 'Coupé collé', [
|
|
|
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'copycut'])
|
2023-03-29 19:28:03 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2023-03-31 17:02:56 +02:00
|
|
|
<?php echo template::checkbox('profilEditChmod', true, 'Droits sur les fichiers', [
|
|
|
|
'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>
|
2023-03-29 19:28:03 +02:00
|
|
|
|
2023-03-29 14:48:09 +02:00
|
|
|
<?php echo template::formClose(); ?>
|