Merge pull request #2304 from rabuzarus/3001_event_map_fix
event_form: use [map] tag to embedd a map
This commit is contained in:
commit
748d0e576c
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ function format_event_html($ev, $simple = false) {
|
||||||
. bbcode($ev['location'])
|
. bbcode($ev['location'])
|
||||||
. '</span></p>' . "\r\n";
|
. '</span></p>' . "\r\n";
|
||||||
|
|
||||||
if (strpos($ev['location'], "[map")===False) {
|
if (strpos($ev['location'], "[map") !== False) {
|
||||||
$map = generate_named_map($ev['location']);
|
$map = generate_named_map($ev['location']);
|
||||||
if ($map!==$ev['location']) $o.=$map;
|
if ($map!==$ev['location']) $o.=$map;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue