diff --git a/CHANGES.md b/CHANGES.md index 22d98174..4b521549 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -22,8 +22,11 @@ - Chargement paresseux des images. ## version 9.2.17 -- Corretion : - - Affiche le nom du la page plutôt que son id dans le fil d'ariane +- Corretions : + - Affiche le nom du la page plutôt que son id dans le fil d'ariane. + - Petites corrections. +- Modifications : + - Image du fond (body), options responsive cover et contain. ## version 9.2.16 - Optimisation : diff --git a/core/module/theme/theme.php b/core/module/theme/theme.php index 2aaeb7ae..fbfd68ad 100755 --- a/core/module/theme/theme.php +++ b/core/module/theme/theme.php @@ -207,9 +207,11 @@ class theme extends common { '15px' => '15 pixels', '16px' => '16 pixels' ]; - public static $sizes = [ + public static $bodySizes = [ 'auto' => 'Automatique', - '100% 100%' => 'Image étirée' + '100% 100%' => 'Image étirée (100% 100%)', + 'cover' => 'Responsive (cover)', + 'contain' => 'Responsive (contain)' ]; public static $textTransforms = [ 'none' => 'Standard', diff --git a/core/module/theme/view/body/body.php b/core/module/theme/view/body/body.php index 47ada5e1..f5224778 100755 --- a/core/module/theme/view/body/body.php +++ b/core/module/theme/view/body/body.php @@ -57,7 +57,7 @@ ]); ?>
- 'Taille', 'selected' => $this->getData(['theme', 'body', 'imageSize']) ]); ?>