From bc22df9057198018f9cc490d0e3e013692f52b90 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 16 Mar 2015 22:06:03 -0700 Subject: display a map for photos if allowed. Note: there is a bug in that if the map div starts with display:none one needs to reload the frame or zoom in or they end up at minimum resolution. Still trying to sort this out. --- view/tpl/photo_view.tpl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'view/tpl') diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl index 3ece68876..1deaa67fc 100755 --- a/view/tpl/photo_view.tpl +++ b/view/tpl/photo_view.tpl @@ -7,10 +7,15 @@ {{if $tools}} {{/if}} + {{if $map}} +
+ +
+ {{/if}} +
+ {{$map}}
-- cgit v1.2.3