diff --git a/core/module/user/user.php b/core/module/user/user.php index f7172cac..5ee9532c 100644 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -578,7 +578,7 @@ class user extends common self::$sharePath = $this->getSubdirectories('./site/file/source'); self::$sharePath = array_flip(self::$sharePath); - self::$sharePath = array_merge(['./site/file/source/' => 'Accès total'], self::$sharePath); + self::$sharePath = array_merge(['./site/file/source/' => 'Tous les dossiers'], self::$sharePath); self::$sharePath = array_merge([null => 'Aucun dossier'], self::$sharePath); // Valeurs en sortie; @@ -642,7 +642,7 @@ class user extends common self::$sharePath = $this->getSubdirectories('./site/file/source'); self::$sharePath = array_flip(self::$sharePath); - self::$sharePath = array_merge(['./site/file/source/' => 'Accès total'], self::$sharePath); + self::$sharePath = array_merge(['./site/file/source/' => 'Tous les dossiers'], self::$sharePath); self::$sharePath = array_merge([null => 'Aucun dossier'], self::$sharePath); // Valeurs en sortie; @@ -1043,7 +1043,7 @@ class user extends common // Vérifiez si c'est un répertoire if (is_dir($path)) { // Construisez la clé et la valeur pour le tableau associatif - $key = $basePath === '' ? $file : $basePath . '/' . $file; + $key = $basePath === '' ? ucfirst($file) : $basePath . '/' . $file; $value = $path . '/'; // Ajouter la clé et la valeur au tableau associatif $subdirs[$key] = $value; diff --git a/core/module/user/view/profilAdd/profilAdd.php b/core/module/user/view/profilAdd/profilAdd.php index 3aefebb2..3de06e7f 100644 --- a/core/module/user/view/profilAdd/profilAdd.php +++ b/core/module/user/view/profilAdd/profilAdd.php @@ -56,7 +56,7 @@
'Racine du dossier', + 'label' => 'Dossier', 'class' => 'filemanager', ]); ?>
diff --git a/core/module/user/view/profilEdit/profilEdit.php b/core/module/user/view/profilEdit/profilEdit.php index f60f1403..6bdc84be 100644 --- a/core/module/user/view/profilEdit/profilEdit.php +++ b/core/module/user/view/profilEdit/profilEdit.php @@ -58,7 +58,7 @@
'Racine du dossier', + 'label' => 'Dossier', 'class' => 'filemanager', 'selected' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'path']) ]); ?>