sforkowany z mirror/friendica
event_form: use [map] tag to embedd a map
rodzic
4cac6a744f
commit
088b075bba
|
@ -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;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue