Aide sur le dossier de l'espace actif

This commit is contained in:
Fred Tempez 2023-12-14 14:38:37 +01:00
parent f39601f37e
commit 2b5b254c88
3 changed files with 5 additions and 3 deletions

View File

@ -739,7 +739,7 @@ class user extends common
self::$sharePath = array_flip(self::$sharePath);
self::$sharePath = array_merge(['./site/file/source/' => 'Tous les dossiers'], self::$sharePath);
//self::$sharePath = array_merge(['' => 'Aucun dossier'], self::$sharePath);
self::$sharePath = array_merge(['' => 'Dossier du cours'], self::$sharePath);
self::$sharePath = array_merge(['' => 'Dossier de l\'espace actif'], self::$sharePath);
// Liste des modules installés
self::$listModules = helper::getModules();
@ -895,7 +895,7 @@ class user extends common
self::$sharePath = array_flip(self::$sharePath);
self::$sharePath = array_merge(['./site/file/source/' => 'Tous les dossiers'], self::$sharePath);
//self::$sharePath = array_merge(['' => 'Aucun dossier'], self::$sharePath);
self::$sharePath = array_merge(['' => 'Dossier du cours'], self::$sharePath);
self::$sharePath = array_merge(['' => 'Dossier de l\'espace actif'], self::$sharePath);
// Liste des modules installés
self::$listModules = helper::getModules();

View File

@ -113,6 +113,7 @@
<?php echo template::select('profilAddPath', $module::$sharePath, [
'label' => 'Dossier',
'class' => 'filemanager',
'help' => 'Chaque espace dispose d\'un dossier spécifique, le choix "Dossier de l\'espace actif" le sélectionne automatiquement.'
]); ?>
</div>
</div>

View File

@ -152,7 +152,8 @@
<?php echo template::select('profilEditPath', $module::$sharePath, [
'label' => 'Dossier',
'class' => 'filemanager',
'selected' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'path'])
'selected' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'path']),
'help' => 'Chaque espace dispose d\'un dossier spécifique, le choix \'Dossier de l\'espace actif\' le sélectionne automatiquement.'
]); ?>
</div>
</div>