FSN#37093 -- Google maps wel beschikbaar bij gebouw maar niet bij locatie
svn path=/Website/branches/v2016.1/; revision=29980
This commit is contained in:
@@ -83,12 +83,27 @@ oRs.Close();
|
|||||||
"json");
|
"json");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
<% if (S("alg_fg_remote_maps") != "" && loc_x && loc_y) { %>
|
||||||
|
function openMaps(locKey)
|
||||||
|
{
|
||||||
|
fwnd = window.open('../cad/ShowGoogleMap.asp?loc_key=' + locKey, 'FGShow',
|
||||||
|
"width=640, height=480, directories=no, location=no, menubar=no,"
|
||||||
|
+ "resizable=yes, status=no, titlebar=yes, toolbar=no");
|
||||||
|
fwnd.focus()
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
<% } %>
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body id="showbody">
|
<body id="showbody">
|
||||||
<% var buttons = [];
|
<% var buttons = [];
|
||||||
buttons.push({title: L("lcl_photos"), icon: "camera.png", action: "alg_showphotos()"});
|
buttons.push({title: L("lcl_photos"), icon: "camera.png", action: "alg_showphotos()"});
|
||||||
|
|
||||||
|
if (S("alg_fg_remote_maps") != "" && loc_x && loc_y) {
|
||||||
|
buttons.push({title: L("lcl_maps"), action:"openMaps("+loc_key+")", icon: "map.png" });
|
||||||
|
}
|
||||||
|
|
||||||
if (!loc_deleted)
|
if (!loc_deleted)
|
||||||
{
|
{
|
||||||
if (this_alg.writeman || this_alg.writeuse)
|
if (this_alg.writeman || this_alg.writeuse)
|
||||||
|
|||||||
Reference in New Issue
Block a user