This commit is contained in:
Fred Tempez 2023-07-19 09:28:26 +02:00
parent 1d165e8b71
commit 86550e62ff
3 changed files with 68 additions and 68 deletions

View File

@ -660,7 +660,7 @@ class user extends common
// Valeurs en sortie;
$this->addOutput([
'title' => sprintf(helper::translate('Éditer le profil : %s'), $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'name'])),
'title' => sprintf(helper::translate('Édition du profil %s'), $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'name'])),
'view' => 'profilEdit'
]);
}

View File

@ -15,7 +15,7 @@
<div class="col12">
<div class="block">
<h4>
<?php echo helper::translate('Paramètres'); ?>
<?php echo helper::translate('Paramètres du profil'); ?>
</h4>
<div class="row">
<div class="col6">
@ -28,7 +28,7 @@
</div>
<div class="col12">
<?php echo template::select('profilAddGroup', $module::$groupProfils, [
'label' => 'Groupe',
'label' => 'Groupe associé',
'selected' => $this->getUrl(2)
]); ?>
</div>
@ -48,7 +48,7 @@
<div class="col12">
<div class="block">
<h4>
<?php echo helper::translate('Pages'); ?>
<?php echo helper::translate('Permissions sur les pages'); ?>
</h4>
<div class="row">
<div class="col3">
@ -83,7 +83,7 @@
<div class="col12">
<div class="block">
<h4>
<?php echo helper::translate('Blog'); ?>
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Blog'); ?>
</h4>
<div class="row">
<div class="col4">
@ -93,7 +93,7 @@
<?php echo template::checkbox('profilAddBlogEdit', true, 'Edit'); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilAddBlogDelete', true, 'Supprimer'); ?>
<?php echo template::checkbox('profilAddBlogDelete', true, 'Effacer'); ?>
</div>
</div>
<div class="row">
@ -110,7 +110,7 @@
</div>
<div class="row">
<div class="col6" s>
<?php echo template::checkbox('profilAddBlogCommentDelete', true, 'Supprimer les commentaires'); ?>
<?php echo template::checkbox('profilAddBlogCommentDelete', true, 'Effacer les commentaires'); ?>
</div>
<div class="col6">
<?php echo template::checkbox('profilAddBlogCommentDeleteAll', true, 'Nettoyer les commentaires'); ?>
@ -123,7 +123,7 @@
<div class="col12">
<div class="block">
<h4>
<?php echo helper::translate('News'); ?>
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('News'); ?>
</h4>
<div class="row">
<div class="col3">
@ -133,7 +133,7 @@
<?php echo template::checkbox('profilAddNewsEdit', true, 'Éditer'); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddNewsDelete', true, 'Supprimer'); ?>
<?php echo template::checkbox('profilAddNewsDelete', true, 'Effacer'); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddNewsOption', true, 'Options'); ?>
@ -147,7 +147,7 @@
<div class="col12">
<div class="block">
<h4>
<?php echo helper::translate('Galerie'); ?>
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Galerie'); ?>
</h4>
<div class="row">
<div class="col4">
@ -157,7 +157,7 @@
<?php echo template::checkbox('profilAddGalleryEdit', true, 'Éditer'); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilAddGalleryDelete', true, 'Supprimer'); ?>
<?php echo template::checkbox('profilAddGalleryDelete', true, 'Effacer'); ?>
</div>
</div>
<div class="row">
@ -175,7 +175,7 @@
<div class="col12">
<div class="block">
<h4>
<?php echo helper::translate('Formulaire'); ?>
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Formulaire'); ?>
</h4>
<div class="row">
<div class="col4">
@ -190,10 +190,10 @@
</div>
<div class="row">
<div class="col4">
<?php echo template::checkbox('profilAddFormDelete', true, 'Supprimer'); ?>
<?php echo template::checkbox('profilAddFormDelete', true, 'Effacer'); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilAddFormDeleteAll', true, 'Tout Supprimer'); ?>
<?php echo template::checkbox('profilAddFormDeleteAll', true, 'Tout Effacer'); ?>
</div>
</div>
@ -204,7 +204,7 @@
<div class="col12">
<div class="block">
<h4>
<?php echo helper::translate('Redirection'); ?>
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Redirection'); ?>
</h4>
<div class="row">
<div class="col4">
@ -218,7 +218,7 @@
<div class="col12">
<div class="block">
<h4>
<?php echo helper::translate('Recherche'); ?>
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Recherche'); ?>
</h4>
<div class="row">
<div class="col4">
@ -268,16 +268,16 @@
</h4>
<div class="row">
<div class="col2">
<?php echo template::checkbox('profilAddFolderCreate', true, 'Création', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddFolderCreate', true, 'Ajouter', ['class' => 'filemanager']); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilAddFolderDelete', true, 'Effacement', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddFolderDelete', true, 'Effacer', ['class' => 'filemanager']); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilAddFolderRename', true, 'Nommage', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddFolderRename', true, 'Renommer', ['class' => 'filemanager']); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilAddFolderCopycut', true, 'Copié collé', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddFolderCopycut', true, 'Presse Papier', ['class' => 'filemanager']); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddFolderChmod', true, 'Droits sur les dossiers', ['class' => 'filemanager']); ?>
@ -294,36 +294,36 @@
</h4>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilAddDownload', true, 'Téléchargement', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddDownload', true, 'Télécharger', ['class' => 'filemanager']); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddEdit', true, 'Edition', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddEdit', true, 'Éditer', ['class' => 'filemanager']); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddCreate', true, 'Création', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddCreate', true, 'Ajouter', ['class' => 'filemanager']); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddRename', true, 'Nommage', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddRename', true, 'Renommer', ['class' => 'filemanager']); ?>
</div>
</div>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilAddUpload', true, 'Téléversement', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddUpload', true, 'Téléverser', ['class' => 'filemanager']); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddDelete', true, 'Effacement', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddDelete', true, 'Effacer', ['class' => 'filemanager']); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddPreview', true, 'Prévisualisation', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddPreview', true, 'Prévisualiser', ['class' => 'filemanager']); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddDuplicate', true, 'Duplication', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddDuplicate', true, 'Dupliquer', ['class' => 'filemanager']); ?>
</div>
</div>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilAddExtract', true, 'Extraction', ['class' => 'filemanager']); ?>
<?php echo template::checkbox('profilAddExtract', true, 'Extraire', ['class' => 'filemanager']); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilAddCopycut', true, 'Copié collé', ['class' => 'filemanager']); ?>

View File

@ -15,7 +15,7 @@
<div class="col12">
<div class="block">
<h4>
<?php echo helper::translate('Paramètres'); ?>
<?php echo helper::translate('Paramètres du profil'); ?>
</h4>
<div class="row">
<div class="col6">
@ -28,7 +28,7 @@
</div>
<div class="col12">
<?php echo template::text('profilEditDisplayGroup', [
'label' => 'Groupe',
'label' => 'Groupe associé',
'value' => self::$groups[$this->getUrl(2)],
'disabled' => true
]); ?>
@ -56,7 +56,7 @@
<div class="col12">
<div class="block">
<h4>
<?php echo helper::translate('Pages'); ?>
<?php echo helper::translate('Permissions sur les pages'); ?>
</h4>
<div class="row">
<div class="col3">
@ -70,7 +70,7 @@
]); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilEditPageDelete', true, 'Supprimer', [
<?php echo template::checkbox('profilEditPageDelete', true, 'Effacer', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'page', 'delete'])
]); ?>
</div>
@ -105,7 +105,7 @@
<div class="col12">
<div class="block">
<h4>
<?php echo helper::translate('Blog'); ?>
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Blog'); ?>
</h4>
<div class="row">
<div class="col4">
@ -119,7 +119,7 @@
]); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilEditBlogDelete', true, 'Supprimer', [
<?php echo template::checkbox('profilEditBlogDelete', true, 'Effacer', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'delete'])
]); ?>
</div>
@ -143,7 +143,7 @@
</div>
<div class="row">
<div class="col6">
<?php echo template::checkbox('profilEditBlogCommentDelete', true, 'Supprimer les commentaires', [
<?php echo template::checkbox('profilEditBlogCommentDelete', true, 'Effacer les commentaires', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDelete'])
]); ?>
</div>
@ -160,7 +160,7 @@
<div class="col12">
<div class="block">
<h4>
<?php echo helper::translate('News'); ?>
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('News'); ?>
</h4>
<div class="row">
<div class="col3">
@ -174,7 +174,7 @@
]); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilEditNewsDelete', true, 'Supprimer', [
<?php echo template::checkbox('profilEditNewsDelete', true, 'Effacer', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'delete'])
]); ?>
</div>
@ -192,7 +192,7 @@
<div class="col12">
<div class="block">
<h4>
<?php echo helper::translate('Galerie'); ?>
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Galerie'); ?>
</h4>
<div class="row">
<div class="col4">
@ -206,7 +206,7 @@
]); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilEditGalleryDelete', true, 'Supprimer', [
<?php echo template::checkbox('profilEditGalleryDelete', true, 'Effacer', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'delete'])
]); ?>
</div>
@ -230,7 +230,7 @@
<div class="col12">
<div class="block">
<h4>
<?php echo helper::translate('Formulaire'); ?>
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Formulaire'); ?>
</h4>
<div class="row">
<div class="col4">
@ -251,12 +251,12 @@
</div>
<div class="row">
<div class="col6">
<?php echo template::checkbox('profilEditFormDelete', true, 'Supprimer', [
<?php echo template::checkbox('profilEditFormDelete', true, 'Effacer', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'delete'])
]); ?>
</div>
<div class="col6">
<?php echo template::checkbox('profilEditFormDeleteAll', true, 'Tout Supprimer', [
<?php echo template::checkbox('profilEditFormDeleteAll', true, 'Tout Effacer', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'deleteAll'])
]); ?>
</div>
@ -268,7 +268,7 @@
<div class="col12">
<div class="block">
<h4>
<?php echo helper::translate('Redirection'); ?>
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Redirection'); ?>
</h4>
<div class="row">
<div class="col4">
@ -284,7 +284,7 @@
<div class="col12">
<div class="block">
<h4>
<?php echo helper::translate('Recherche'); ?>
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Recherche'); ?>
</h4>
<div class="row">
<div class="col4">
@ -299,21 +299,21 @@
</div>
<?php endif; ?>
<div class="row">
<div class="col12">
<div class="block">
<h4>
<?php echo helper::translate('Compte de l\'utilisateur'); ?>
</h4>
<div class="row">
<div class="col3">
<div class="col12">
<div class="block">
<h4>
<?php echo helper::translate('Compte de l\'utilisateur'); ?>
</h4>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilEditUserEdit', true, 'Éditer', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'user', 'edit'])
]); ?>
</div>
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'user', 'edit'])
]); ?>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col12">
<div class="block">
@ -342,19 +342,19 @@
</h4>
<div class="row">
<div class="col2">
<?php echo template::checkbox('profilEditFolderCreate', true, 'Création', [
<?php echo template::checkbox('profilEditFolderCreate', true, 'Ajouter', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'create']),
]); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilEditFolderDelete', true, 'Effacement', [
<?php echo template::checkbox('profilEditFolderDelete', true, 'Effacer', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'delete'])
]); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilEditFolderRename', true, 'Nommage', [
<?php echo template::checkbox('profilEditFolderRename', true, 'Renommer', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'rename'])
]); ?>
@ -383,25 +383,25 @@
</h4>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilEditDownload', true, 'Téléchargement', [
<?php echo template::checkbox('profilEditDownload', true, 'Télécharger', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'download'])
]); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilEditEdit', true, 'Edition', [
<?php echo template::checkbox('profilEditEdit', true, 'Éditer', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'edit'])
]); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilEditCreate', true, 'Création', [
<?php echo template::checkbox('profilEditCreate', true, 'Ajouter', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'create'])
]); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilEditRename', true, 'Nommage', [
<?php echo template::checkbox('profilEditRename', true, 'Renommer', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'rename'])
]); ?>
@ -409,27 +409,27 @@
</div>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilEditUpload', true, 'Téléversement', [
<?php echo template::checkbox('profilEditUpload', true, 'Téléverser', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'upload'])
]); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilEditDelete', true, 'Effacement', [
<?php echo template::checkbox('profilEditDelete', true, 'Effacer', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'delete'])
]); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilEditPreview', true, 'Prévisualisation', [
<?php echo template::checkbox('profilEditPreview', true, 'Prévisualier', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'preview'])
]); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilEditDuplicate', true, 'Duplication', [
<?php echo template::checkbox('profilEditDuplicate', true, 'Dupliquer', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'duplicate'])
]); ?>
@ -437,13 +437,13 @@
</div>
<div class="row">
<div class="col3">
<?php echo template::checkbox('profilEditExtract', true, 'Extraction', [
<?php echo template::checkbox('profilEditExtract', true, 'Extraire', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'extract'])
]); ?>
</div>
<div class="col3">
<?php echo template::checkbox('profilEditCopycut', true, 'Copié collé', [
<?php echo template::checkbox('profilEditCopycut', true, 'Presse papier', [
'class' => 'filemanager',
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'file', 'copycut'])
]); ?>