diff options
| author | ivan <ivan> | 2011-12-13 05:10:23 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2011-12-13 05:10:23 +0000 |
| commit | b429a422185206c645c84ec1c3540494d336b943 (patch) | |
| tree | b08fba0581e3569b2cf1e9bce5a8172c6921497c /httemplate/elements/coord-links.html | |
| parent | b0329dafd35e0296ec61fef4c35a687ff8866764 (diff) | |
add latitude/longitude to prospects, customers and package locations, RT#15539
Diffstat (limited to 'httemplate/elements/coord-links.html')
| -rw-r--r-- | httemplate/elements/coord-links.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/httemplate/elements/coord-links.html b/httemplate/elements/coord-links.html new file mode 100644 index 000000000..907e5f04a --- /dev/null +++ b/httemplate/elements/coord-links.html @@ -0,0 +1,22 @@ +<& /elements/init_overlib.html &> + +<& /elements/popup_link.html, + 'action' => $p. 'view/map.html?'. $query, + 'label' => mt('map'), + 'actionlabel' => $name, + 'width' => 763, + 'height' => 575, + #'color' +&> + +<A HREF="<%$p%>view/kml.cgi?<% $query %>"><% mt('earth') |h %></A> + +<%init> + +my ($latitude, $longitude, $name) = @_; + +my $query = 'name='. uri_escape($name). + ';lat='. $latitude. + ';lon='. $longitude; + +</%init> |
