diff --git a/module/news/news.php b/module/news/news.php index 0ede9d40..a650ea7f 100755 --- a/module/news/news.php +++ b/module/news/news.php @@ -521,15 +521,15 @@ class news extends common { private function init() { - $fileCSS = self::DATADIRECTORY . $this->getUrl(0) . '/theme.css'; + //$fileCSS = self::DATADIRECTORY . $this->getUrl(0) . '/theme.css'; // Données du module absentes if ($this->getData(['module', $this->getUrl(0), 'config' ]) === null) { require_once('module/news/ressource/defaultdata.php'); $this->setData(['module', $this->getUrl(0), 'config', init::$defaultData]); // Données de thème - $this->setData(['module', $this->getUrl(0), 'theme', init::$defaultTheme]); - $this->setData(['module', $this->getUrl(0), 'theme', 'style', self::DATADIRECTORY . $this->getUrl(0) . '/theme.css' ]); + //$this->setData(['module', $this->getUrl(0), 'theme', init::$defaultTheme]); + //$this->setData(['module', $this->getUrl(0), 'theme', 'style', self::DATADIRECTORY . $this->getUrl(0) . '/theme.css' ]); } // Dossier de l'instance diff --git a/module/news/ressource/defaultdata.php b/module/news/ressource/defaultdata.php index d1e48f2b..dd48eaa5 100644 --- a/module/news/ressource/defaultdata.php +++ b/module/news/ressource/defaultdata.php @@ -5,10 +5,12 @@ class init extends search { 'feedsLabel' => '', 'itemsperPage' => 8, 'itemsperCol' => 12, - 'versionData' => '3.2' + 'versionData' => '3.4' ]; + /* public static $defaultTheme = [ 'itemsHeight' => 'auto', 'itemsBlur' => '0%' ]; + */ } \ No newline at end of file