diff --git a/core/module/addon/addon.php b/core/module/addon/addon.php index 88b12523..2be1ccb6 100644 --- a/core/module/addon/addon.php +++ b/core/module/addon/addon.php @@ -310,6 +310,7 @@ class addon extends common { $ico = template::ico('update'); } self::$storeList [] = [ + $store[$key]['category'], ''.$store[$key]['title'].'', $store[$key]['version'], mb_detect_encoding(strftime('%d %B %Y', $store[$key]['versionDate']), 'UTF-8', true) diff --git a/core/module/addon/view/store/store.php b/core/module/addon/view/store/store.php index 5ed010b6..182d1068 100644 --- a/core/module/addon/view/store/store.php +++ b/core/module/addon/view/store/store.php @@ -9,7 +9,7 @@ - + \ No newline at end of file diff --git a/module/download/download.php b/module/download/download.php index 28a75d95..730607ca 100644 --- a/module/download/download.php +++ b/module/download/download.php @@ -14,7 +14,7 @@ class download extends common { - const VERSION = '2.1'; + const VERSION = '2.2'; const REALNAME = 'Téléchargement'; const DELETE = true; const UPDATE = '0.0'; @@ -1048,7 +1048,9 @@ class download extends common { 'versionDate' =>$this->getData(['module', $this->getUrl(0), 'items', $key, 'versionDate']), 'author' =>$this->getData(['module', $this->getUrl(0), 'items', $key, 'author']), 'license' => $this->getData(['module', $this->getUrl(0), 'items', $key, 'license']), - 'category' => $this->getData(['module', $this->getUrl(0), 'items', $key, 'category']) + 'category' => $this->getData(['module', $this->getUrl(0),'categories', + $this->getData(['module', $this->getUrl(0), 'items', $key, 'category']) + ]) ]; } $this->addOutput([