From 5d63297205ca9d8591f554b3e77f3f39d5381d4c Mon Sep 17 00:00:00 2001 From: fredtempez Date: Mon, 7 Mar 2022 10:30:56 +0100 Subject: [PATCH] bug help largeur --- module/blog/view/edit/edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/blog/view/edit/edit.php b/module/blog/view/edit/edit.php index 404467b8..14a3f653 100644 --- a/module/blog/view/edit/edit.php +++ b/module/blog/view/edit/edit.php @@ -20,7 +20,7 @@
'Publier', - 'uniqueSubmission' => true, + 'uniqueSubmission' => true ]); ?>
@@ -39,7 +39,7 @@
'Taille optimale de l\'image de couverture : ' . ((int) substr($this->getData(['theme', 'site', 'width']), 0, -2) - (20 * 2)) . ' x 350 pixels.', + 'help' => $this->getData(['theme', 'site', 'width']) !== '100%' ? 'Taille optimale de l\'image de couverture : ' . ((int) substr($this->getData(['theme', 'site', 'width']), 0, -2) - (20 * 2)) . ' x 350 pixels.' : '', 'label' => 'Image de couverture', 'type' => 1, 'value' => $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(2), 'picture'])