diff --git a/module/news/news.php b/module/news/news.php index 24d14f18..2e4aa1be 100755 --- a/module/news/news.php +++ b/module/news/news.php @@ -60,6 +60,12 @@ class news extends common { ]; public static $nbrCol = 1; + public static $ItemsHeight = [ + '200px' => 'Petit', + '300px' => 'Moyen', + '400px' => 'Grand' + ]; + /** * Mise à jour du module @@ -178,6 +184,7 @@ class news extends common { 'feedsLabel' => $this->getInput('newsConfigFeedslabel',helper::FILTER_STRING_SHORT), 'itemsperPage' => $this->getInput('newsConfigItemsperPage', helper::FILTER_INT,true), 'itemsperCol' => $this->getInput('newsConfigItemsperCol', helper::FILTER_INT,true), + 'itemsHeight' => $this->getInput('newsConfigItemsHeight',helper::FILTER_STRING_SHORT), 'version' => $this->getData(['module', $this->getUrl(0), 'config', 'version']) ]]); // Valeurs en sortie diff --git a/module/news/view/config/config.php b/module/news/view/config/config.php index 3a93e4b6..b9cee0bd 100755 --- a/module/news/view/config/config.php +++ b/module/news/view/config/config.php @@ -39,19 +39,25 @@