diff --git a/module/blog/view/article/article.php b/module/blog/view/article/article.php index ab2d6d9c..a8b4d34e 100644 --- a/module/blog/view/article/article.php +++ b/module/blog/view/article/article.php @@ -66,15 +66,20 @@ getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'commentClose'])): ?>

Cet article ne reçoit pas de commentaire.

-

- 0) { - echo $module::$nbCommentsApproved . ' commentaire' . ($module::$nbCommentsApproved > 1 ? 's' : ''); - } else { - echo 'Pas encore de commentaire'; - } - ?> -

+
+
+

+ 0) { + echo $module::$nbCommentsApproved . ' commentaire' . ($module::$nbCommentsApproved > 1 ? 's' : ''); + } else { + echo 'Pas encore de commentaire'; + } + ?> +

+
+
'Rédiger un commentaire...', diff --git a/module/blog/view/index/index.php b/module/blog/view/index/index.php index 15a0e392..7f3f691f 100644 --- a/module/blog/view/index/index.php +++ b/module/blog/view/index/index.php @@ -22,7 +22,7 @@
-
+
signature($this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'userId']));?> @@ -64,23 +64,24 @@
-
-
- getData(['module', $this->getUrl(0), 'posts', $articleId, 'commentClose'])): ?> -

Cet article ne reçoit pas de commentaire.

- -

- 0) { - echo ''; - echo $module::$comments[$articleId] . ' commentaire' . ($module::$comments[$articleId] > 1 ? 's' : ''); - echo ''; - } else { - echo 'Pas encore de commentaire'; - } - ?> -

- +
+ getData(['module', $this->getUrl(0), 'posts', $articleId, 'commentClose'])): ?> +

Cet article ne reçoit pas de commentaire.

+ +

+ + 0) { + echo ''; + echo $module::$comments[$articleId] . ' commentaire' . ($module::$comments[$articleId] > 1 ? 's' : ''); + echo ''; + } else { + echo 'Pas encore de commentaire'; + } + ?> +

+ +