diff --git a/core/module/addon/addon.php b/core/module/addon/addon.php index 61c3c66f..26be80d2 100644 --- a/core/module/addon/addon.php +++ b/core/module/addon/addon.php @@ -28,7 +28,9 @@ class addon extends common { 'upload' => self::GROUP_ADMIN, 'storeDownload'=> self::GROUP_ADMIN ]; + const URL_STORE = 'http://zwiicms.fr/?modules/list'; + const BASEURL_STORE = 'http://zwiicms.fr/'; // Gestion des modules public static $modInstal = []; @@ -245,7 +247,7 @@ class addon extends common { $ico = template::ico('update'); } self::$storeList [] = [ - ''.$store[$key]['title'].'', + ''.$store[$key]['title'].'', $store[$key]['fileVersion'], mb_detect_encoding(strftime('%d %B %Y', $store[$key]['fileDate']), 'UTF-8', true) ? strftime('%d %B %Y', $store[$key]['fileDate']) @@ -280,8 +282,9 @@ class addon extends common { : utf8_encode(strftime('%d %B %Y', self::$storeItem ['fileDate'])); // Valeurs en sortie $this->addOutput([ - 'title' =>self::$storeItem['title'], - 'view' => 'item' + 'title' =>'Module ' . self::$storeItem['title'], + 'view' => 'item', + 'display' => self::DISPLAY_LAYOUT_LIGHT ]); } diff --git a/core/module/addon/view/item/item.css b/core/module/addon/view/item/item.css index 5a91e7a7..35422ddd 100644 --- a/core/module/addon/view/item/item.css +++ b/core/module/addon/view/item/item.css @@ -12,7 +12,3 @@ * @link http://zwiicms.fr/ */ - -/** NE PAS EFFACER -* admin.css -*/ \ No newline at end of file diff --git a/core/module/addon/view/item/item.php b/core/module/addon/view/item/item.php index 6c7a8943..196e6529 100644 --- a/core/module/addon/view/item/item.php +++ b/core/module/addon/view/item/item.php @@ -1,36 +1,41 @@