From 4bec7148504db251f17319e1ae9b6b443629d9a2 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sun, 22 Oct 2023 17:34:27 +0200 Subject: [PATCH] =?UTF-8?q?v54=20int=C3=A9gre=20les=20rows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 2 +- module/workshop/view/config/config.php | 2 +- module/workshop/view/index/index.css | 13 ++ module/workshop/view/index/index.php | 170 +++++++++++++------------ 4 files changed, 103 insertions(+), 84 deletions(-) create mode 100644 module/workshop/view/index/index.css diff --git a/core/core.php b/core/core.php index 62cf17c..91c2845 100644 --- a/core/core.php +++ b/core/core.php @@ -50,7 +50,7 @@ class common const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '1.0.53'; + const ZWII_VERSION = '1.0.54'; // URL autoupdate const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/lms/'; diff --git a/module/workshop/view/config/config.php b/module/workshop/view/config/config.php index 67db0a5..8a9c9f7 100644 --- a/module/workshop/view/config/config.php +++ b/module/workshop/view/config/config.php @@ -97,7 +97,7 @@
$this->getData(['module', $this->getUrl(0), 'config', 'template']), - 'help' => 'Template identique à TinyMCE avec une bordure et le titre en évidence. Classe de la division : workshopContainer' + 'help' => 'Template identique à TinyMCE avec une bordure et le titre en évidence. Classe de la division : workshopItemContainer' ]); ?>
diff --git a/module/workshop/view/index/index.css b/module/workshop/view/index/index.css new file mode 100644 index 0000000..53ba2ee --- /dev/null +++ b/module/workshop/view/index/index.css @@ -0,0 +1,13 @@ +/** + * This file is part of Zwii. + * + * For full copyright and license information, please see the LICENSE + * file that was distributed with this source code. + * + * @author Rémi Jean + * @copyright Copyright (C) 2008-2018, Rémi Jean + * @author Frédéric Tempez + * @copyright Copyright (C) 2018-2023, Frédéric Tempez + * @license CC Attribution-NonCommercial-NoDerivatives 4.0 International + * @link http://zwiicms.fr/ + */ diff --git a/module/workshop/view/index/index.php b/module/workshop/view/index/index.php index 7f51f54..f98a34e 100644 --- a/module/workshop/view/index/index.php +++ b/module/workshop/view/index/index.php @@ -1,26 +1,28 @@ -
- getData(['course']) as $courseId => $courseValue): ?> - -
- - - getData(['module', $this->getUrl(0), 'config', 'template']) === true): ?> -
-

+ +getData(['course']) as $courseId => $courseValue): ?> + +
+ + +
+ + getData(['module', $this->getUrl(0), 'config', 'template']) === true): ?> +
+

- + - - - - + + + + - + getData(['module', $this->getUrl(0), 'config', 'template']) === true): ?> -

- -

+

+ +

getData(['module', $this->getUrl(0), 'config', 'description']) === true): ?> @@ -29,82 +31,86 @@

- - - getData(['module', $this->getUrl(0), 'config', 'author']) === true): ?> + + + getData(['module', $this->getUrl(0), 'config', 'author']) === true): ?> +

+ + signature($courseValue['author'])); ?> + +

+ + + getData(['module', $this->getUrl(0), 'config', 'access']) === true): ?> +

- - signature($courseValue['author'])); ?> + + -

- - - getData(['module', $this->getUrl(0), 'config', 'access']) === true): ?> -
-

- - - - - - getData(['module', $this->getUrl(0), 'config', 'openingdate']) === true): ?> -

- + + + getData(['module', $this->getUrl(0), 'config', 'openingdate']) === true): ?> +

+ - -

- - getData(['module', $this->getUrl(0), 'config', 'closingdate']) === true): ?> -

- - - -

- + +

-

-
- - - - getData(['module', $this->getUrl(0), 'config', 'enrolment']) === true): ?> -

- - - + getData(['module', $this->getUrl(0), 'config', 'closingdate']) === true): ?> +

+ + + +

+ +

- +
+ - -
- - +
+ + getData(['module', $this->getUrl(0), 'config', 'template']) === true): ?> +
+ +
+ getData(['module', $this->getUrl(0), 'config', 'layout']); ?> +
- - \ No newline at end of file + + + \ No newline at end of file