add latitude/longitude to prospects, customers and package locations, RT#15539
[freeside.git] / httemplate / elements / coord-links.html
1 <& /elements/init_overlib.html &>
2
3 <& /elements/popup_link.html,
4      'action'      => $p. 'view/map.html?'. $query,
5      'label'       => mt('map'),
6      'actionlabel' => $name,
7      'width'       => 763,
8      'height'      => 575,
9      #'color'
10 &>
11
12 <A HREF="<%$p%>view/kml.cgi?<% $query %>"><% mt('earth') |h %></A>
13
14 <%init>
15
16 my ($latitude, $longitude, $name) = @_;
17
18 my $query = 'name='. uri_escape($name).
19             ';lat='. $latitude.
20             ';lon='. $longitude;
21
22 </%init>