From 08b7cd5708f7ae783703b70bee29d3bb14ddf72e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Loguercio?= Date: Mon, 15 Feb 2016 15:38:51 -0500 Subject: [PATCH] Fix Announcements tags are not documented anymore - Refs #8085 --- main/announcements/announcements.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/main/announcements/announcements.php b/main/announcements/announcements.php index 4224a6153f..4fdfe04f0a 100755 --- a/main/announcements/announcements.php +++ b/main/announcements/announcements.php @@ -318,6 +318,14 @@ switch ($action) { $form->addElement('text', 'title', get_lang('EmailTitle')); $form->addElement('hidden', 'id'); + $htmlTags = "".get_lang('Tags')."

"; + $tags = AnnouncementManager::get_tags(); + + foreach ($tags as $tag) { + $htmlTags .= "".$tag."
"; + } + + $form->addHtml("
".$htmlTags."
"); $form->addHtmlEditor( 'content', get_lang('Description'),