From 47a2668b30de34f1f08983ba485a630a89a9dd1e Mon Sep 17 00:00:00 2001 From: Stefan Parviainen Date: Tue, 13 Jan 2015 18:23:52 +0100 Subject: Allow tags in event description and location --- mod/events.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mod') diff --git a/mod/events.php b/mod/events.php index e016311d5..28a816ea4 100755 --- a/mod/events.php +++ b/mod/events.php @@ -75,6 +75,10 @@ function events_post(&$a) { $location = escape_tags(trim($_POST['location'])); $type = 'event'; + require_once('include/text.php'); + linkify_tags($a, $desc, local_user()); + linkify_tags($a, $location, local_user()); + $action = ($event_hash == '') ? 'new' : "event/" . $event_hash; $onerror_url = $a->get_baseurl() . "/events/" . $action . "?summary=$summary&description=$desc&location=$location&start=$start_text&finish=$finish_text&adjust=$adjust&nofinish=$nofinish"; if(strcmp($finish,$start) < 0 && !$nofinish) { -- cgit v1.2.3