From 2f42606c43fb24a1b61a24df19e713fae7bfa7be Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 2 Dec 2022 19:40:39 -0500 Subject: [PATCH] Add information about BBCode availability in event fields --- src/Module/Calendar/Event/Form.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Module/Calendar/Event/Form.php b/src/Module/Calendar/Event/Form.php index 2e8dec7faa..74877f0afd 100644 --- a/src/Module/Calendar/Event/Form.php +++ b/src/Module/Calendar/Event/Form.php @@ -234,13 +234,13 @@ class Form extends BaseModule 'start_text' ), - '$d_text' => $this->t('Description:'), - '$d_orig' => $d_orig, - '$l_text' => $this->t('Location:'), - '$l_orig' => $l_orig, - '$t_text' => $this->t('Title:') . ' *', + '$t_text' => $this->t('Title (BBCode not allowed)') . ' *', '$t_orig' => $t_orig, - '$summary' => ['summary', $this->t('Title:'), $t_orig, '', '*'], + '$d_text' => $this->t('Description (BBCode allowed)'), + '$d_orig' => $d_orig, + '$l_text' => $this->t('Location (BBCode not allowed)'), + '$l_orig' => $l_orig, + '$summary' => ['summary', $this->t('Title (BBCode not allowed)'), $t_orig, '', '*'], '$sh_text' => $this->t('Share this event'), '$share' => ['share', $this->t('Share this event'), $share_checked, '', $share_disabled], '$sh_checked' => $share_checked,