diff --git a/core/class/template.class.php b/core/class/template.class.php index 5cbfda6..fae1076 100644 --- a/core/class/template.class.php +++ b/core/class/template.class.php @@ -325,6 +325,7 @@ class template 'name' => $nameId, 'type' => 2, 'value' => '', + 'folder' => '', 'language' => 'fr_FR' ], $attributes); // Traduction de l'aide et de l'étiquette @@ -367,6 +368,8 @@ class template '&field_id=' . $attributes['id'] . '&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'] : '') . ($attributes['extensions'] ? '&extensions=' . $attributes['extensions'] : '') . '" class="inputFile %s %s" diff --git a/core/core.php b/core/core.php index a366e1a..e59a86c 100644 --- a/core/core.php +++ b/core/core.php @@ -51,7 +51,7 @@ class common const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '1.11.00'; + const ZWII_VERSION = '1.11.01'; // URL autoupdate const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/'; diff --git a/core/module/config/view/setup/setup.php b/core/module/config/view/setup/setup.php index 08ca40e..e400b86 100644 --- a/core/module/config/view/setup/setup.php +++ b/core/module/config/view/setup/setup.php @@ -3,12 +3,6 @@
Version installée :-
Version en ligne :+
Version installée :+
Version en ligne :
Cette œuvre est mise à disposition selon les termes de la Licence Creative Commons Attribution - Pas d'Utilisation Commerciale - Pas de Modification 4.0 International.
-Pour voir une copie de cette licence, visitez http://creativecommons.org/licenses/by-nc-nd/4.0/ ou écrivez à Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
+ +Cette œuvre est mise à disposition selon les termes de la Licence Creative Commons + Attribution - Pas d'Utilisation Commerciale - Pas de Modification 4.0 + International.
+Pour voir une copie de cette licence, visitez + http://creativecommons.org/licenses/by-nc-nd/4.0/ ou écrivez à Creative Commons, PO Box + 1866, Mountain View, CA 94042, USA.
- %s', helper::translate('Format'), $module::$imageOpenGraph['type']); ?> -
-- %s x %s pixels', helper::translate('Dimensions minimales'), $module::$imageOpenGraph['wide'], $module::$imageOpenGraph['height'] ); ?> -
-- %s:1' , helper::translate('Ratio'), round($module::$imageOpenGraph['ratio'], 2)); ?> -
-- %s', helper::translate('Poids'), $module::$imageOpenGraph['size']); ?> -
+ ++ %s', helper::translate('Format'), $module::$imageOpenGraph['type']); ?> +
++ %s x %s pixels', helper::translate('Dimensions minimales'), $module::$imageOpenGraph['wide'], $module::$imageOpenGraph['height']); ?> +
++ %s:1', helper::translate('Ratio'), round($module::$imageOpenGraph['ratio'], 2)); ?> +
++ %s', helper::translate('Poids'), $module::$imageOpenGraph['size']); ?> +