méthode inputfile attribut fldr

This commit is contained in:
Fred Tempez 2024-12-05 18:59:30 +01:00
parent 2d2bca5e23
commit abcad7ea77

View File

@ -369,7 +369,7 @@ class template
'&type=' . $attributes['type'] .
'&akey=' . md5_file(core::DATA_DIR . 'core.json') .
// Ajoute le nom du dossier si la variable est passée
(!empty($attributes['folder']) ? '&fldr=' . $attributes['folder'] : '') .
(empty($attributes['folder']) ? '&fldr=/': '&fldr=' . $attributes['folder']) .
($attributes['extensions'] ? '&extensions=' . $attributes['extensions'] : '')
. '"
class="inputFile %s %s"