forked from ZwiiCMS-Team/ZwiiCMS
Merge branch 'master' into dev10
This commit is contained in:
commit
c6a9fa9f28
@ -22,8 +22,11 @@
|
|||||||
- Chargement paresseux des images.
|
- Chargement paresseux des images.
|
||||||
|
|
||||||
## version 9.2.17
|
## version 9.2.17
|
||||||
- Corretion :
|
- Corretions :
|
||||||
- Affiche le nom du la page plutôt que son id dans le fil d'ariane
|
- 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
|
## version 9.2.16
|
||||||
- Optimisation :
|
- Optimisation :
|
||||||
|
@ -207,9 +207,11 @@ class theme extends common {
|
|||||||
'15px' => '15 pixels',
|
'15px' => '15 pixels',
|
||||||
'16px' => '16 pixels'
|
'16px' => '16 pixels'
|
||||||
];
|
];
|
||||||
public static $sizes = [
|
public static $bodySizes = [
|
||||||
'auto' => 'Automatique',
|
'auto' => 'Automatique',
|
||||||
'100% 100%' => 'Image étirée'
|
'100% 100%' => 'Image étirée (100% 100%)',
|
||||||
|
'cover' => 'Responsive (cover)',
|
||||||
|
'contain' => 'Responsive (contain)'
|
||||||
];
|
];
|
||||||
public static $textTransforms = [
|
public static $textTransforms = [
|
||||||
'none' => 'Standard',
|
'none' => 'Standard',
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col6">
|
<div class="col6">
|
||||||
<?php echo template::select('themeBodyImageSize', $module::$sizes, [
|
<?php echo template::select('themeBodyImageSize', $module::$bodySizes, [
|
||||||
'label' => 'Taille',
|
'label' => 'Taille',
|
||||||
'selected' => $this->getData(['theme', 'body', 'imageSize'])
|
'selected' => $this->getData(['theme', 'body', 'imageSize'])
|
||||||
]); ?>
|
]); ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user