diff --git a/module/blog/blog.php b/module/blog/blog.php index 86b9a7b3..7830d31f 100755 --- a/module/blog/blog.php +++ b/module/blog/blog.php @@ -110,10 +110,6 @@ class blog extends common { * Appelée par les fonctions index et config */ private function update() { - // Insitialisation de la version - if ($this->getData(['module', $this->getUrl(0), 'config', 'version']) === NULL) { - $this->setData(['module', $this->getUrl(0), 'config', 'version','4.5']); - } // Version 5.0 if (version_compare($this->getData(['module', $this->getUrl(0), 'config', 'version']), '5.0', '<') ) { $this->setData(['module', $this->getUrl(0), 'config', 'itemsperPage', 6]); diff --git a/module/download/download.php b/module/download/download.php index d816fd1e..090df7cc 100644 --- a/module/download/download.php +++ b/module/download/download.php @@ -123,10 +123,6 @@ class download extends common { * Appelée par les fonctions index et config */ private function update() { - // Insitialisation de la version - if ($this->getData(['module', $this->getUrl(0), 'config', 'version']) === NULL) { - $this->setData(['module', $this->getUrl(0), 'config', 'version','0.0']); - } // Version 5.0 if (version_compare($this->getData(['module', $this->getUrl(0), 'config', 'version']), '1.1', '<') ) { $this->setData(['module', $this->getUrl(0), 'config', 'itemsperPage', 6]); diff --git a/module/news/news.php b/module/news/news.php index 4cfc501d..24d14f18 100755 --- a/module/news/news.php +++ b/module/news/news.php @@ -66,10 +66,6 @@ class news extends common { * Appelée par les fonctions index et config */ private function update() { - // Insitialisation de la version - //if ($this->getData(['module', $this->getUrl(0), 'config', 'version']) === NULL) { - // $this->setData(['module', $this->getUrl(0), 'config', 'version','0.0']); - //} // Version 3.0 if (version_compare($this->getData(['module', $this->getUrl(0), 'config', 'version']), '3.0', '<') ) { $this->setData(['module', $this->getUrl(0), 'config', 'itemsperPage', 16]); diff --git a/module/news/view/index/index.css b/module/news/view/index/index.css index 44d41f70..e4ee7175 100755 --- a/module/news/view/index/index.css +++ b/module/news/view/index/index.css @@ -45,24 +45,24 @@ display: inline; vertical-align: top; } -@media (min-width: 769px) -{ - .col2 {width: 20%;} - .col3 {width: 24%;} - .col4 {width: 32%;} - .col6 {width: 49%;} - .col12 {width: 100%;} +@media (min-width: 769px) +{ + .col2 {width: 20%;} + .col3 {width: 24%;} + .col4 {width: 32%;} + .col6 {width: 49%;} + .col12 {width: 100%;} } -@media (max-width: 768px) -{ +@media (max-width: 768px) +{ .col2 {width: 49%;} - .col3 {width: 49%;} + .col3 {width: 49%;} .col4 {width: 49%;} } -@media (max-width: 480px) -{ +@media (max-width: 480px) +{ .col2 {width: 100%;} - .col3 {width: 100%;} + .col3 {width: 100%;} .col4 {width: 100%;} } \ No newline at end of file