FSN#35581 Maps-knop bij egbouw
svn path=/Website/trunk/; revision=28273
This commit is contained in:
@@ -84,11 +84,26 @@ oRs.Close();
|
||||
"json");
|
||||
}
|
||||
}
|
||||
<% if (S("alg_fg_remote_maps") != "" && bld_x && bld_y) { %>
|
||||
function openMaps(bldKey)
|
||||
{
|
||||
fwnd = window.open('../cad/ShowGoogleMap.asp?bld_key=' + bldKey, 'FGShow',
|
||||
"width=640, height=480, directories=no, location=no, menubar=no,"
|
||||
+ "resizable=yes, status=no, titlebar=yes, toolbar=no");
|
||||
fwnd.focus()
|
||||
return;
|
||||
}
|
||||
<% } %>
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body id="showbody">
|
||||
<% var buttons = [];
|
||||
|
||||
if (S("alg_fg_remote_maps") != "" && bld_x && bld_y) {
|
||||
buttons.push({title: L("lcl_fg_gotomaps"), action:"openMaps("+bld_key+")", icon: "map.png" });
|
||||
}
|
||||
|
||||
if (!bld_deleted)
|
||||
{
|
||||
if (this_alg.writeman || this_alg.writeuse)
|
||||
@@ -162,12 +177,12 @@ oRs.Close();
|
||||
AFIELDTR('fldmailto details', L("lcl_alg_gebouw_email"), "mailto:" + bld_email, bld_email, { suppressEmpty: true });
|
||||
BLOCK_END();
|
||||
|
||||
BLOCK_START("algLoc2", "");
|
||||
var calcopp = alg.calc_algm2(bld_key, onrgoedlvl);
|
||||
BLOCK_START("algLoc2", "");
|
||||
var calcopp = alg.calc_algm2(bld_key, onrgoedlvl);
|
||||
ROFIELDTR("fld", L("lcl_estate_ruimte_bruto_vloeropp") + L("lcl_estate_calc_vloeropp"), calcopp.oppbruto, {suppressEmpty: true});
|
||||
ROFIELDTR("fld", L("lcl_estate_ruimte_opp_alt1") + L("lcl_estate_calc_vloeropp"), calcopp.oppalt1, {suppressEmpty: true});
|
||||
ROFIELDTR("fld", L("lcl_estate_ruimte_opp_alt2") + L("lcl_estate_calc_vloeropp"), calcopp.oppalt2, {suppressEmpty: true});
|
||||
|
||||
|
||||
ROFIELDTR("fld", L("lcl_estate_gebouw_man_bruto_vloeropp"), bld_opp, {suppressEmpty: true});
|
||||
ROFIELDTR("fld", L("lcl_estate_gebouw_man_omtrek"), bld_omtrek, {suppressEmpty: true});
|
||||
ROFIELDTR("fld", L("lcl_estate_gebouw_man_inhoud"), bld_inhoud, {suppressEmpty: true});
|
||||
|
||||
Reference in New Issue
Block a user