Browse Source

event_form: use [map] tag to embedd a map

pull/2304/head
rabuzarus 6 years ago
parent
commit
088b075bba
  1. 2
      include/event.php

2
include/event.php

@ -61,7 +61,7 @@ function format_event_html($ev, $simple = false) {
. bbcode($ev['location'])
. '</span></p>' . "\r\n";
if (strpos($ev['location'], "[map")===False) {
if (strpos($ev['location'], "[map") !== False) {
$map = generate_named_map($ev['location']);
if ($map!==$ev['location']) $o.=$map;
}

Loading…
Cancel
Save