From 316faabcbc0fed1c8f00a9180849be16482f8d19 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Fri, 26 Mar 2021 15:17:08 +0100 Subject: [PATCH] =?UTF-8?q?D=C3=A9taile=20module=20=C3=A0=20terminer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/addon/addon.php | 9 +++-- core/module/addon/view/item/item.css | 4 -- core/module/addon/view/item/item.php | 59 +++++++++++++++------------- 3 files changed, 38 insertions(+), 34 deletions(-) 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 @@
-
- 'buttonGrey', - 'href' => helper::baseUrl() . 'addon/store', - 'ico' => 'left', - 'value' => 'Retour' - ]); ?> +
+
+
+ +
+
-
-
-
-
-
- -
+
+
+ '; + ?>
-
-
-
- -
+
+
+
-
-
- Version -
+
+
+
+
-
-
- Publié le -
+
+
+
+ Auteur : + + +
+
+
+
+ Licence : + +
\ No newline at end of file