diff options
author | friendica <info@friendica.com> | 2014-12-17 14:12:19 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-12-17 14:12:19 -0800 |
commit | cc0df5bc241aa552f0fa42a7b809edad48a48e84 (patch) | |
tree | acaff8563a9e6d4aff52d85b039279df2502280f /include/text.php | |
parent | c293b64d608467ba7bcf34e3d3bd05fe3e6b84c6 (diff) | |
download | volse-hubzilla-cc0df5bc241aa552f0fa42a7b809edad48a48e84.tar.gz volse-hubzilla-cc0df5bc241aa552f0fa42a7b809edad48a48e84.tar.bz2 volse-hubzilla-cc0df5bc241aa552f0fa42a7b809edad48a48e84.zip |
ability to generate arbitrary map with [ map=lat/lon] and also free form location using [ map]somewhere[/map] but the second one currently has no plugins available to generate it.
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/text.php b/include/text.php index 404d34dcb..335dd46ba 100644 --- a/include/text.php +++ b/include/text.php @@ -1312,6 +1312,12 @@ function generate_map($coord) { return $arr['html']; } +function generate_named_map($location) { + $arr = array('location' => $location, 'html' => ''); + call_hooks('generate_named_map',$arr); + return $arr['html']; +} + function prepare_body(&$item,$attach = false) { |