News option blur ok

This commit is contained in:
fredtempez 2021-04-09 14:42:21 +02:00
parent 5e481ca3d7
commit 080a601c3f
2 changed files with 7 additions and 5 deletions

View File

@ -69,9 +69,9 @@ class news extends common {
public static $itemsBlur = [
'100%' => 'Aucun',
'90%' => 'Petit',
'80%' => 'Moyen',
'70%' => 'Grand',
'90%' => 'Faible',
'75%' => 'Modéré',
'60%' => 'Important',
];
// Signature de l'article

View File

@ -54,13 +54,15 @@
<div class="col3">
<?php echo template::select('newsConfigItemsHeight', $module::$itemsHeight, [
'label' => 'Hauteur',
'selected' => $this->getData(['module', $this->getUrl(0),'theme', 'itemsHeight'])
'selected' => $this->getData(['module', $this->getUrl(0),'theme', 'itemsHeight']),
'help' => 'Limite la hauteur de l\'article, cette option est utile lorsque la pagination en colonnes est activée.'
]); ?>
</div>
<div class="col3">
<?php echo template::select('newsConfigItemsBlur', $module::$itemsBlur, [
'label' => 'Effet flou',
'selected' => $this->getData(['module', $this->getUrl(0),'theme', 'itemsBlur'])
'selected' => $this->getData(['module', $this->getUrl(0),'theme', 'itemsBlur']),
'help' => 'Effet appliqué en bas de l\'article afin d\'éviter une coupure brutale quand la hauteur de l\'article n\'est pas définie sur Article Complet'
]); ?>
</div>
</div>