diff options
author | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-13 18:23:52 +0100 |
---|---|---|
committer | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-13 18:23:52 +0100 |
commit | 47a2668b30de34f1f08983ba485a630a89a9dd1e (patch) | |
tree | 31e9554690dd2032528ded48dbabec39fa661443 | |
parent | 93735df2c78b249d5735834c190dc91bad336172 (diff) | |
download | volse-hubzilla-47a2668b30de34f1f08983ba485a630a89a9dd1e.tar.gz volse-hubzilla-47a2668b30de34f1f08983ba485a630a89a9dd1e.tar.bz2 volse-hubzilla-47a2668b30de34f1f08983ba485a630a89a9dd1e.zip |
Allow tags in event description and location
-rwxr-xr-x | mod/events.php | 4 |
1 files changed, 4 insertions, 0 deletions
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) { |