@@ -1,6 +1,6 @@
|
||||
<% /*
|
||||
$Revision: 2 $
|
||||
$Modtime: 10/14/09 2:44p $
|
||||
$Revision: 3 $
|
||||
$Modtime: 2-12-10 13:31 $
|
||||
File: alg_district.inc
|
||||
Description: Show an overview of district items in list-form,
|
||||
which meets with the given requirements
|
||||
@@ -9,7 +9,6 @@
|
||||
Note:
|
||||
*/ %>
|
||||
|
||||
<!-- #include file="../Shared/escape.inc" -->
|
||||
<!-- #include file="../Shared/disCxprs3d.inc" -->
|
||||
<!-- #include file="../Shared/json2.js" -->
|
||||
<!-- #include file="../Shared/resultset_table_v2.inc" -->
|
||||
@@ -17,21 +16,19 @@
|
||||
<!-- #include file="alg.inc" -->
|
||||
|
||||
<%
|
||||
FCLTHeader.Requires({ plugins:["jQuery"],
|
||||
js: []
|
||||
})
|
||||
FCLTHeader.Requires({ plugins:["jQuery"] });
|
||||
|
||||
function fnrowData(oRs)
|
||||
{
|
||||
var parent_key = oRs("alg_regio_key").value;
|
||||
var detail_key = oRs("alg_district_key").value;
|
||||
var key = oRs("alg_district_key").value;
|
||||
var oms = oRs("alg_district_omschrijving").value;
|
||||
function fnrowData(oRs)
|
||||
{
|
||||
var parent_key = oRs("alg_regio_key").value;
|
||||
var detail_key = oRs("alg_district_key").value;
|
||||
var key = oRs("alg_district_key").value;
|
||||
var oms = oRs("alg_district_omschrijving").value;
|
||||
|
||||
var data = {parent_key:parent_key, detail_key:detail_key, key:key, oms:oms};
|
||||
var data = {parent_key: parent_key, detail_key: detail_key, key: key, oms: oms};
|
||||
|
||||
return JSON.stringify(data);
|
||||
}
|
||||
return JSON.stringify(data);
|
||||
}
|
||||
|
||||
%>
|
||||
<script type="text/javascript">
|
||||
@@ -40,19 +37,19 @@ FCLTHeader.Requires({ plugins:["jQuery"],
|
||||
function gotoDetails(row)
|
||||
{
|
||||
var algData = eval('(' + row.ROWDATA + ')');
|
||||
var url = "appl/ALG/alg_locatie_search.asp?district_key="+algData.detail_key+"&autosearch="+autosearch;
|
||||
var url = "appl/ALG/alg_locatie_search.asp?district_key=" + algData.detail_key + "&autosearch=" + autosearch;
|
||||
FcltMgr.openDetail(url, "<%=lcl_location%>");
|
||||
}
|
||||
function gotoParent(row)
|
||||
{
|
||||
var algData = eval('(' + row.ROWDATA + ')');
|
||||
var url = "appl/ALG/alg_regio_search.asp?regio_key="+algData.parent_key+"&autosearch="+autosearch;
|
||||
var url = "appl/ALG/alg_regio_search.asp?regio_key=" + algData.parent_key + "&autosearch=" + autosearch;
|
||||
FcltMgr.openDetail(url, "<%=lcl_region%>");
|
||||
}
|
||||
function districtEdit(row)
|
||||
{
|
||||
var algData = eval('(' + row.ROWDATA + ')');
|
||||
var url = "appl/ALG/alg_district.asp?mode=viewUpdate&key="+algData.key;
|
||||
var url = "appl/ALG/alg_district.asp?mode=viewUpdate&key=" + algData.key;
|
||||
FcltMgr.openDetail(url, "<%=lcl_district%>" + ' ' + algData.oms);
|
||||
}
|
||||
|
||||
@@ -94,7 +91,7 @@ function district_list(pautfunction, params)
|
||||
%>
|
||||
<html>
|
||||
<head>
|
||||
<% FCLTHeader.Generate({outputmode:outputmode}) %>
|
||||
<% FCLTHeader.Generate({outputmode: outputmode}) %>
|
||||
</head>
|
||||
<body id="listbody">
|
||||
<%
|
||||
|
||||
@@ -1,26 +1,20 @@
|
||||
<%@ LANGUAGE = JavaScript %>
|
||||
<% /*
|
||||
$Revision: 4 $
|
||||
$Modtime: 9-12-09 20:28 $
|
||||
$Revision: 5 $
|
||||
$Modtime: 2-12-10 12:08 $
|
||||
*/ %>
|
||||
|
||||
<% Response.Expires = 0 %>
|
||||
<!-- #include file="../../cust/install.inc" -->
|
||||
<!-- #include file="../Shared/iface.inc" -->
|
||||
<!-- #include file="../Shared/escape.inc" -->
|
||||
<!-- #include file="../Shared/plaatsselector.inc" -->
|
||||
<!-- #include file="alg.inc" -->
|
||||
|
||||
<%
|
||||
FCLTHeader.Requires({ plugins:["jQuery", "kenmerk"],
|
||||
js: ["expand_frame.js"]
|
||||
});
|
||||
FCLTHeader.Requires({ plugins: ["jQuery", "kenmerk"] });
|
||||
|
||||
var regio_key = getQParamInt("regio_key", -1);
|
||||
var district_key = getQParamInt("district_key", -1);
|
||||
|
||||
var autosearch = getQParam("autosearch", -1);
|
||||
|
||||
var autosearch = getQParamInt("autosearch", 0) == 1;
|
||||
var authparams = alg.checkAutorisation();
|
||||
%>
|
||||
|
||||
@@ -43,7 +37,7 @@ var authparams = alg.checkAutorisation();
|
||||
var titel = "<%=lcl_properties%>";
|
||||
showKenmerkModal(key, url, titel)
|
||||
}
|
||||
$(document).ready(function() {<% if (autosearch == 1) { %> document.forms.u2.submit();<%}%>});
|
||||
$(document).ready(function() {<% if (autosearch) { %> document.forms.u2.submit();<%}%>});
|
||||
</script>
|
||||
</head>
|
||||
<body id="searchbody">
|
||||
@@ -72,8 +66,8 @@ var authparams = alg.checkAutorisation();
|
||||
</form>
|
||||
<% BLOCK_END();
|
||||
|
||||
var buttons = [ {title: lcl_search, action:"doSubmit()", id:"bSearch" },
|
||||
{title: lcl_obj_advanced, action:"myModal()", id:"bAdvanced" } ];
|
||||
var buttons = [ {title: lcl_search, action: "doSubmit()", id: "bSearch" },
|
||||
{title: lcl_obj_advanced, action: "myModal()", id: "bAdvanced" } ];
|
||||
CreateButtons(buttons); %>
|
||||
|
||||
</div> <!-- search -->
|
||||
@@ -81,7 +75,7 @@ var authparams = alg.checkAutorisation();
|
||||
<iframe width="100%" height="100%"
|
||||
src="../Shared/empty.asp"
|
||||
name="workFrame" id="workFrame"
|
||||
onload='ExpandFrame("workFrame")'
|
||||
onload="FcltMgr.iframeLoaded(this)"
|
||||
frameborder="0" scrolling="no">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@language = "javascript" %>
|
||||
<% /*
|
||||
$Revision: 2 $
|
||||
$Modtime: 10/12/09 10:02a $
|
||||
$Revision: 3 $
|
||||
$Modtime: 2-12-10 12:04 $
|
||||
|
||||
File: alg_district_search_list.asp
|
||||
Description:
|
||||
@@ -10,8 +10,6 @@
|
||||
Note:
|
||||
*/ %>
|
||||
|
||||
<% Response.Expires = 0; %>
|
||||
|
||||
<!-- #include file="../../cust/install.inc" -->
|
||||
<!-- #include file="../Shared/date_sql.inc" -->
|
||||
<!-- #include file="alg_district_list.inc" -->
|
||||
@@ -22,9 +20,8 @@
|
||||
// als filter te worden toegepast. Dan is null dus gelijk aan -1, qua betekenis,
|
||||
// Vandaar dat een default van -1 ipv null ook mag
|
||||
// In eerste instantie identificeren we elk veld gewoon 1-op-1.
|
||||
var outputmode = parseInt(getQParam("outputmode", 0), 10); // 0 = screen, 1 = print, 2 = excel etc
|
||||
var showall = getQParam("showall", "0") == "1";
|
||||
|
||||
var outputmode = getQParamInt("outputmode", 0); // 0 = screen, 1 = print, 2 = excel etc
|
||||
var showall = getQParamInt("showall", 0) == 1;
|
||||
var reg_key = getQParamInt("regiokey", -1); // Regio
|
||||
var dis_key = getQParamInt("districtkey", -1); // District
|
||||
|
||||
|
||||
@@ -1,38 +1,35 @@
|
||||
<%@language = "javascript" %>
|
||||
<% /*
|
||||
$Revision: 6 $
|
||||
$Modtime: 10-11-10 13:04 $
|
||||
$Revision: 7 $
|
||||
$Modtime: 2-12-10 13:31 $
|
||||
|
||||
SUBMIT-form
|
||||
*/ %>
|
||||
|
||||
<!-- #include file="../../cust/install.inc" -->
|
||||
<!-- #include file="../Shared/escape.inc" -->
|
||||
<!-- #include file="../Shared/iface.inc" -->
|
||||
<!-- #include file="../shared/save2db.inc" -->
|
||||
<!-- #include file="../shared/date_sql.inc" -->
|
||||
|
||||
<% FCLTHeader.Requires({ plugins:["jQuery"],
|
||||
js: []
|
||||
}) %>
|
||||
<% FCLTHeader.Requires({ plugins:["jQuery"] }); %>
|
||||
<%
|
||||
var wp_key = getQParamInt( "wp_key" );
|
||||
var wp_key = getQParamInt( "wp_key" );
|
||||
|
||||
var virtueel = (getFParam("has_wp_virt", "0") == "1") && (Request.Form("wp_virt").count == 1); // virtueel
|
||||
var virtueel = (getFParamInt("has_wp_virt", 0) == 1) && (Request.Form("wp_virt").count == 1); // virtueel
|
||||
|
||||
var fields = [// { dbs: "PRS_WERKPLEK_MODULE", typ: "varchar", frm: "" },
|
||||
{ dbs: "PRS_WERKPLEK_VOLGNR", typ: "number", frm: "wp_volgnr" },
|
||||
{ dbs: "PRS_WERKPLEK_OMSCHRIJVING", typ: "varchar", frm: "wp_oms" },
|
||||
{ dbs: "PRS_WERKPLEK_VASTOPP", typ: "number", frm: "wp_vstopp_v" },
|
||||
{ dbs: "PRS_WERKPLEK_OPP", typ: "number", frm: "wp_opp" },
|
||||
{ dbs: "PRS_WERKPLEK_VIRTUEEL", typ: "number", val: (virtueel? 1 : 0) },
|
||||
{ dbs: "PRS_ALG_RUIMTE_KEY", typ: "key", frm: "ruimtekey" } /*,
|
||||
{ dbs: "PRS_WERKPLEK_GETEKEND", typ: "date", frm: "" },
|
||||
{ dbs: "PRS_WERKPLEK_DWGX", typ: "number", frm: "" },
|
||||
{ dbs: "PRS_WERKPLEK_DWGY", typ: "number", frm: "" },
|
||||
{ dbs: "PRS_WERKPLEK_DWGZ", typ: "number", frm: "" },
|
||||
{ dbs: "PRS_WERKPLEK_DWGROTATIE", typ: "number", frm: "" },
|
||||
{ dbs: "PRS_WERKPLEK_DWGSCHAAL", typ: "number", frm: "" }*/ ];
|
||||
var fields = [// { dbs: "PRS_WERKPLEK_MODULE", typ: "varchar", frm: "" },
|
||||
{ dbs: "PRS_WERKPLEK_VOLGNR", typ: "number", frm: "wp_volgnr" },
|
||||
{ dbs: "PRS_WERKPLEK_OMSCHRIJVING", typ: "varchar", frm: "wp_oms" },
|
||||
{ dbs: "PRS_WERKPLEK_VASTOPP", typ: "number", frm: "wp_vstopp_v" },
|
||||
{ dbs: "PRS_WERKPLEK_OPP", typ: "number", frm: "wp_opp" },
|
||||
{ dbs: "PRS_WERKPLEK_VIRTUEEL", typ: "number", val: (virtueel? 1 : 0) },
|
||||
{ dbs: "PRS_ALG_RUIMTE_KEY", typ: "key", frm: "ruimtekey" } /*,
|
||||
{ dbs: "PRS_WERKPLEK_GETEKEND", typ: "date", frm: "" },
|
||||
{ dbs: "PRS_WERKPLEK_DWGX", typ: "number", frm: "" },
|
||||
{ dbs: "PRS_WERKPLEK_DWGY", typ: "number", frm: "" },
|
||||
{ dbs: "PRS_WERKPLEK_DWGZ", typ: "number", frm: "" },
|
||||
{ dbs: "PRS_WERKPLEK_DWGROTATIE", typ: "number", frm: "" },
|
||||
{ dbs: "PRS_WERKPLEK_DWGSCHAAL", typ: "number", frm: "" }*/ ];
|
||||
|
||||
var warning = "";
|
||||
if (wp_key > 0)
|
||||
@@ -64,7 +61,7 @@ else
|
||||
$(document).ready(function () {
|
||||
FcltMgr.closeDetail(window, { wp_key: <%=wp_key%>,
|
||||
warning: "<%=safe.jsstring(warning)%>",
|
||||
keepForm: <%=warning?"true":"false"%>
|
||||
keepForm: <%=warning? "true" : "false"%>
|
||||
}); } );
|
||||
</script>
|
||||
</head>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<% /*
|
||||
$Revision: 4 $
|
||||
$Modtime: 17-06-10 15:17 $
|
||||
$Revision: 5 $
|
||||
$Modtime: 2-12-10 13:31 $
|
||||
File: alg_gebouw.inc
|
||||
Description: Show an overview of gebouw items in list-form,
|
||||
which meets with the given requirements
|
||||
@@ -9,7 +9,6 @@
|
||||
Note:
|
||||
*/ %>
|
||||
|
||||
<!-- #include file="../Shared/escape.inc" -->
|
||||
<!-- #include file="../Shared/disCxprs3d.inc" -->
|
||||
<!-- #include file="../Shared/json2.js" -->
|
||||
<!-- #include file="../Shared/resultset_table_v2.inc" -->
|
||||
@@ -17,21 +16,19 @@
|
||||
<!-- #include file="alg.inc" -->
|
||||
|
||||
<%
|
||||
FCLTHeader.Requires({ plugins:["jQuery"],
|
||||
js: []
|
||||
})
|
||||
FCLTHeader.Requires({ plugins: ["jQuery"] });
|
||||
|
||||
function fnrowData(oRs)
|
||||
{
|
||||
var parent_key = oRs("alg_locatie_key").value;
|
||||
var detail_key = oRs("alg_gebouw_key").value;
|
||||
var key = oRs("alg_gebouw_key").value;
|
||||
var oms = oRs("alg_gebouw_naam").value;
|
||||
function fnrowData(oRs)
|
||||
{
|
||||
var parent_key = oRs("alg_locatie_key").value;
|
||||
var detail_key = oRs("alg_gebouw_key").value;
|
||||
var key = oRs("alg_gebouw_key").value;
|
||||
var oms = oRs("alg_gebouw_naam").value;
|
||||
|
||||
var data = {parent_key:parent_key, detail_key:detail_key, key:key, oms:oms};
|
||||
var data = {parent_key: parent_key, detail_key: detail_key, key: key, oms: oms};
|
||||
|
||||
return JSON.stringify(data);
|
||||
}
|
||||
return JSON.stringify(data);
|
||||
}
|
||||
%>
|
||||
<script type="text/javascript">
|
||||
|
||||
@@ -40,19 +37,19 @@ FCLTHeader.Requires({ plugins:["jQuery"],
|
||||
function gotoDetails(row)
|
||||
{
|
||||
var algData = eval('(' + row.ROWDATA + ')');
|
||||
var url = "appl/ALG/alg_verdieping_search.asp?gebouw_key="+algData.detail_key+"&autosearch="+autosearch;
|
||||
var url = "appl/ALG/alg_verdieping_search.asp?gebouw_key=" + algData.detail_key + "&autosearch=" + autosearch;
|
||||
FcltMgr.openDetail(url, "<%=lcl_floor%>");
|
||||
}
|
||||
function gotoParent(row)
|
||||
{
|
||||
var algData = eval('(' + row.ROWDATA + ')');
|
||||
var url = "appl/ALG/alg_locatie_search.asp?locatie_key="+algData.parent_key+"&autosearch="+autosearch;
|
||||
var url = "appl/ALG/alg_locatie_search.asp?locatie_key=" + algData.parent_key + "&autosearch=" + autosearch;
|
||||
FcltMgr.openDetail(url, "<%=lcl_location%>");
|
||||
}
|
||||
function gebouwEdit(row)
|
||||
{
|
||||
var algData = eval('(' + row.ROWDATA + ')');
|
||||
var url = "appl/ALG/alg_gebouw.asp?mode=viewUpdate&key="+algData.key;
|
||||
var url = "appl/ALG/alg_gebouw.asp?mode=viewUpdate&key=" + algData.key;
|
||||
FcltMgr.openDetail(url, "<%=lcl_building%>" + ' ' + algData.oms);
|
||||
}
|
||||
|
||||
@@ -100,7 +97,7 @@ function gebouw_list(pautfunction, params)
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<% FCLTHeader.Generate({outputmode:outputmode}) %>
|
||||
<% FCLTHeader.Generate({outputmode: outputmode}) %>
|
||||
</head>
|
||||
<body id="listbody">
|
||||
<%
|
||||
@@ -205,7 +202,7 @@ function gebouw_list(pautfunction, params)
|
||||
}
|
||||
var cnt = rst.processResultset();
|
||||
%>
|
||||
</body>
|
||||
</html>
|
||||
</body>
|
||||
</html>
|
||||
<%}%>
|
||||
|
||||
|
||||
@@ -1,30 +1,22 @@
|
||||
<%@ LANGUAGE = JavaScript %>
|
||||
<% /*
|
||||
$Revision: 6 $
|
||||
$Modtime: 16-12-09 19:31 $
|
||||
$Revision: 7 $
|
||||
$Modtime: 2-12-10 12:15 $
|
||||
*/ %>
|
||||
|
||||
<% Response.Expires = 0 %>
|
||||
<!-- #include file="../../cust/install.inc" -->
|
||||
<!-- #include file="../Shared/iface.inc" -->
|
||||
<!-- #include file="../Shared/escape.inc" -->
|
||||
<!-- #include file="../Shared/plaatsselector.inc" -->
|
||||
<!-- #include file="../Shared/selector.inc" -->
|
||||
<!-- #include file="alg.inc" -->
|
||||
|
||||
<%
|
||||
FCLTHeader.Requires({ plugins:["jQuery", "kenmerk"],
|
||||
js: ["expand_frame.js"]
|
||||
});
|
||||
|
||||
FCLTHeader.Requires({ plugins:["jQuery", "kenmerk"] });
|
||||
|
||||
var locatie_key = getQParamInt("locatie_key", -1); // Locatie
|
||||
var gebouw_key = getQParamInt("gebouw_key", -1); //gebouw
|
||||
|
||||
var gebouw_func = getQParam("gebouw_func", "");
|
||||
|
||||
var autosearch = getQParam("autosearch", -1);
|
||||
|
||||
var gebouw_key = getQParamInt("gebouw_key", -1); // Gebouw
|
||||
var gebouw_func = getQParamInt("gebouw_func", -1); // Gebouwfunctie
|
||||
var autosearch = getQParamInt("autosearch", 0) == 1;
|
||||
var authparams = alg.checkAutorisation();
|
||||
%>
|
||||
|
||||
@@ -48,7 +40,7 @@ var authparams = alg.checkAutorisation();
|
||||
showKenmerkModal(key, url, titel)
|
||||
}
|
||||
|
||||
$(document).ready(function() {<% if (autosearch == 1) { %> document.forms.u2.submit();<%}%>});
|
||||
$(document).ready(function() {<% if (autosearch) { %> document.forms.u2.submit(); <%}%> });
|
||||
</script>
|
||||
</head>
|
||||
<body id="searchbody">
|
||||
@@ -93,8 +85,8 @@ var authparams = alg.checkAutorisation();
|
||||
</form>
|
||||
<% BLOCK_END();
|
||||
|
||||
var buttons = [ {title: lcl_search, action:"doSubmit()", id:"bSearch" },
|
||||
{title: lcl_obj_advanced, action:"myModal()", id:"bAdvanced" } ];
|
||||
var buttons = [ {title: lcl_search, action: "doSubmit()", id: "bSearch" },
|
||||
{title: lcl_obj_advanced, action: "myModal()", id: "bAdvanced" } ];
|
||||
CreateButtons(buttons);
|
||||
%>
|
||||
</div> <!-- search -->
|
||||
@@ -103,7 +95,7 @@ var authparams = alg.checkAutorisation();
|
||||
<iframe width="100%" height="100%"
|
||||
src="../Shared/empty.asp"
|
||||
name="workFrame" id="workFrame"
|
||||
onload='ExpandFrame("workFrame")'
|
||||
onload="FcltMgr.iframeLoaded(this)"
|
||||
frameborder="0" scrolling="no">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@language = "javascript" %>
|
||||
<% /*
|
||||
$Revision: 4 $
|
||||
$Modtime: 17-06-10 15:16 $
|
||||
$Revision: 5 $
|
||||
$Modtime: 2-12-10 12:04 $
|
||||
|
||||
File: msg_search_list.asp
|
||||
Description: Vangt de parameters van msg_search op en verwerkt die in een aanroep van msg_list
|
||||
@@ -10,8 +10,6 @@
|
||||
Note:
|
||||
*/ %>
|
||||
|
||||
<% Response.Expires = 0; %>
|
||||
|
||||
<!-- #include file="../../cust/install.inc" -->
|
||||
<!-- #include file="../Shared/date_sql.inc" -->
|
||||
<!-- #include file="alg_gebouw_list.inc" -->
|
||||
@@ -22,17 +20,14 @@
|
||||
// als filter te worden toegepast. Dan is null dus gelijk aan -1, qua betekenis,
|
||||
// Vandaar dat een default van -1 ipv null ook mag
|
||||
// In eerste instantie identificeren we elk veld gewoon 1-op-1.
|
||||
var outputmode = parseInt(getQParam("outputmode", 0), 10); // 0 = screen, 1 = print, 2 = excel etc
|
||||
var showall = getQParam("showall", "0") == "1";
|
||||
|
||||
var outputmode = getQParamInt("outputmode", 0); // 0 = screen, 1 = print, 2 = excel etc
|
||||
var showall = getQParamInt("showall", 0) == 1;
|
||||
var noref = getQParamInt("noref", -1); // (voor onderdrukken horizontale verwijzingen)
|
||||
|
||||
var reg_key = getQParamInt("regiokey", -1); // Regio
|
||||
var dis_key = getQParamInt("districtkey", -1); // District
|
||||
var loc_key = getQParamInt("locatiekey", -1); // Locatie
|
||||
var bld_key = getQParamInt("gebouwkey", -1); // Gebouw
|
||||
|
||||
var bld_func = parseInt(getQParam("srt", -1), 10);
|
||||
var bld_func = getQParamInt("srt", -1);
|
||||
|
||||
gebouw_list ( "*",
|
||||
{ outputmode: outputmode,
|
||||
|
||||
@@ -1,26 +1,20 @@
|
||||
<%@ LANGUAGE = JavaScript %>
|
||||
<% /*
|
||||
$Revision: 4 $
|
||||
$Modtime: 9-12-09 20:26 $
|
||||
$Revision: 5 $
|
||||
$Modtime: 2-12-10 12:08 $
|
||||
*/ %>
|
||||
|
||||
<% Response.Expires = 0 %>
|
||||
<!-- #include file="../../cust/install.inc" -->
|
||||
<!-- #include file="../Shared/iface.inc" -->
|
||||
<!-- #include file="../Shared/escape.inc" -->
|
||||
<!-- #include file="../Shared/plaatsselector.inc" -->
|
||||
<!-- #include file="alg.inc" -->
|
||||
|
||||
<%
|
||||
FCLTHeader.Requires({ plugins:["jQuery", "kenmerk"],
|
||||
js: ["expand_frame.js"]
|
||||
});
|
||||
FCLTHeader.Requires({ plugins:["jQuery", "kenmerk"] });
|
||||
|
||||
var district_key = getQParamInt("district_key", -1); //district
|
||||
var locatie_key = getQParamInt("locatie_key", -1); //locatie
|
||||
|
||||
var autosearch = getQParam("autosearch", -1);
|
||||
|
||||
var autosearch = getQParamInt("autosearch", 0) == 1;
|
||||
var authparams = alg.checkAutorisation();
|
||||
%>
|
||||
|
||||
@@ -39,12 +33,12 @@ var authparams = alg.checkAutorisation();
|
||||
var lvl = "L";
|
||||
var key = 0;
|
||||
var bld_key = "";
|
||||
var url = "load_kenmerk.asp?disc=" + "&urole=bo" + "&advanced=1" + "&onrgoed_key=" +bld_key + "&onrgoed_niveau=" + lvl;
|
||||
var url = "load_kenmerk.asp?disc=" + "&urole=bo" + "&advanced=1" + "&onrgoed_key=" + bld_key + "&onrgoed_niveau=" + lvl;
|
||||
var titel = "<%=lcl_properties%>";
|
||||
showKenmerkModal(key, url, titel)
|
||||
}
|
||||
|
||||
$(document).ready(function() {<% if (autosearch == 1) { %> document.forms.u2.submit();<%}%>});
|
||||
$(document).ready(function() {<% if (autosearch) { %> document.forms.u2.submit(); <%}%> });
|
||||
</script>
|
||||
</head>
|
||||
<body id="searchbody">
|
||||
@@ -55,8 +49,7 @@ var authparams = alg.checkAutorisation();
|
||||
<td class="searchkolom1">
|
||||
<table><!-- x rijen, 2 kolommen: label + veld -->
|
||||
<!-- Locatie, gebouw en verdieping -->
|
||||
<%
|
||||
FCLTplaatsselector(authparams.ALGreadlevel, {
|
||||
<% FCLTplaatsselector(authparams.ALGreadlevel, {
|
||||
districtkey: district_key,
|
||||
locatiekey: locatie_key,
|
||||
startlevel: 1, // District
|
||||
@@ -73,8 +66,8 @@ var authparams = alg.checkAutorisation();
|
||||
</form>
|
||||
<% BLOCK_END();
|
||||
|
||||
var buttons = [ {title: lcl_search, action:"doSubmit()", id:"bSearch" },
|
||||
{title: lcl_obj_advanced, action:"myModal()", id:"bAdvanced" } ];
|
||||
var buttons = [ {title: lcl_search, action: "doSubmit()", id: "bSearch" },
|
||||
{title: lcl_obj_advanced, action: "myModal()", id: "bAdvanced" } ];
|
||||
CreateButtons(buttons);
|
||||
%>
|
||||
</div> <!-- search -->
|
||||
@@ -83,7 +76,7 @@ var authparams = alg.checkAutorisation();
|
||||
<iframe width="100%" height="100%"
|
||||
src="../Shared/empty.asp"
|
||||
name="workFrame" id="workFrame"
|
||||
onload='ExpandFrame("workFrame")'
|
||||
onload="FcltMgr.iframeLoaded(this)"
|
||||
frameborder="0" scrolling="no">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@language = "javascript" %>
|
||||
<% /*
|
||||
$Revision: 3 $
|
||||
$Modtime: 18-12-09 1:25 $
|
||||
$Revision: 4 $
|
||||
$Modtime: 2-12-10 12:05 $
|
||||
|
||||
File:
|
||||
Description:
|
||||
@@ -10,28 +10,22 @@
|
||||
Note:
|
||||
*/ %>
|
||||
|
||||
<% Response.Expires = 0; %>
|
||||
|
||||
<!-- #include file="../../cust/install.inc" -->
|
||||
<!-- #include file="../Shared/date_sql.inc" -->
|
||||
<!-- #include file="alg_locatie_list.inc" -->
|
||||
|
||||
<%
|
||||
|
||||
// FORM parameters: de waarde indien aanwezig, anders null
|
||||
// Vaak is een lege selectie ook een -1, dus dan is-ie wel aanwezig, maar hoeft niet
|
||||
// als filter te worden toegepast. Dan is null dus gelijk aan -1, qua betekenis,
|
||||
// Vandaar dat een default van -1 ipv null ook mag
|
||||
// In eerste instantie identificeren we elk veld gewoon 1-op-1.
|
||||
var outputmode = getQParamInt("outputmode", 0) // 0 = screen, 1 = print, 2 = excel etc
|
||||
var showall = getQParam("showall", "0") == "1";
|
||||
|
||||
var showall = getQParamInt("showall", 0) == 1;
|
||||
var noref = getQParamInt("noref", -1); // (voor onderdrukken horizontale verwijzingen)
|
||||
|
||||
var dis_key = getQParamInt("districtkey", -1); // District
|
||||
var loc_key = getQParamInt("locatiekey", -1); // Locatie
|
||||
|
||||
|
||||
locatie_list ( "*",
|
||||
{ outputmode: outputmode,
|
||||
showall: showall,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<% /*
|
||||
$Revision: 2 $
|
||||
$Modtime: 10/14/09 2:58p $
|
||||
$Revision: 3 $
|
||||
$Modtime: 2-12-10 13:31 $
|
||||
File: alg_regio.inc
|
||||
Description: Show an overview of regio items in list-form,
|
||||
which meets with the given requirements
|
||||
@@ -9,7 +9,6 @@
|
||||
Note:
|
||||
*/ %>
|
||||
|
||||
<!-- #include file="../Shared/escape.inc" -->
|
||||
<!-- #include file="../Shared/disCxprs3d.inc" -->
|
||||
<!-- #include file="../Shared/json2.js" -->
|
||||
<!-- #include file="../Shared/resultset_table_v2.inc" -->
|
||||
@@ -17,20 +16,18 @@
|
||||
<!-- #include file="alg.inc" -->
|
||||
|
||||
<%
|
||||
FCLTHeader.Requires({ plugins:["jQuery"],
|
||||
js: []
|
||||
})
|
||||
FCLTHeader.Requires({ plugins:["jQuery"] });
|
||||
|
||||
function fnrowData(oRs)
|
||||
{
|
||||
var detail_key = oRs("alg_regio_key").value;
|
||||
var key = oRs("alg_regio_key").value;
|
||||
var oms = oRs("alg_regio_omschrijving").value;
|
||||
function fnrowData(oRs)
|
||||
{
|
||||
var detail_key = oRs("alg_regio_key").value;
|
||||
var key = oRs("alg_regio_key").value;
|
||||
var oms = oRs("alg_regio_omschrijving").value;
|
||||
|
||||
var data = {detail_key:detail_key, key:key, oms:oms};
|
||||
var data = {detail_key: detail_key, key: key, oms: oms};
|
||||
|
||||
return JSON.stringify(data);
|
||||
}
|
||||
return JSON.stringify(data);
|
||||
}
|
||||
|
||||
%>
|
||||
<script type="text/javascript">
|
||||
@@ -40,14 +37,14 @@ FCLTHeader.Requires({ plugins:["jQuery"],
|
||||
function gotoDetails(row)
|
||||
{
|
||||
var algData = eval('(' + row.ROWDATA + ')');
|
||||
var url = "appl/ALG/alg_district_search.asp?regio_key="+algData.detail_key+"&autosearch="+autosearch;
|
||||
var url = "appl/ALG/alg_district_search.asp?regio_key=" + algData.detail_key + "&autosearch=" + autosearch;
|
||||
FcltMgr.openDetail(url, "<%=lcl_district%>");
|
||||
}
|
||||
|
||||
function districtEdit(row)
|
||||
{
|
||||
var algData = eval('(' + row.ROWDATA + ')');
|
||||
var url = "appl/ALG/alg_regio.asp?mode=viewUpdate&key="+algData.key;
|
||||
var url = "appl/ALG/alg_regio.asp?mode=viewUpdate&key=" + algData.key;
|
||||
FcltMgr.openDetail(url, "<%=lcl_region%>" + ' ' + algData.oms);
|
||||
}
|
||||
|
||||
@@ -78,17 +75,17 @@ function regio_list(pautfunction, params)
|
||||
|
||||
var reg_key = params.reg_key;
|
||||
|
||||
function fnrowActionEnabler(oRs)
|
||||
{
|
||||
var eDelete = false;
|
||||
if (alg.canWriteRegio(oRs("alg_regio_key").value, authparams.mALGwritelevel))
|
||||
eDelete = true;
|
||||
return ({eDelete: eDelete})
|
||||
}
|
||||
function fnrowActionEnabler(oRs)
|
||||
{
|
||||
var eDelete = false;
|
||||
if (alg.canWriteRegio(oRs("alg_regio_key").value, authparams.mALGwritelevel))
|
||||
eDelete = true;
|
||||
return ({eDelete: eDelete})
|
||||
}
|
||||
%>
|
||||
<html>
|
||||
<head>
|
||||
<% FCLTHeader.Generate({outputmode:outputmode}) %>
|
||||
<% FCLTHeader.Generate({outputmode: outputmode}); %>
|
||||
</head>
|
||||
<body id="listbody">
|
||||
<%
|
||||
@@ -97,7 +94,7 @@ function regio_list(pautfunction, params)
|
||||
+ " FROM alg_regio r "
|
||||
+ " WHERE r.alg_regio_verwijder IS NULL ";
|
||||
|
||||
if ( authparams.ALGreadlevel > -1 )
|
||||
if (authparams.ALGreadlevel > -1)
|
||||
{ // Er is een scope-beperking van kracht
|
||||
sqln += " AND r.alg_regio_key IN "
|
||||
+ "(SELECT alg_regio_key FROM fac_v_my_regions "
|
||||
@@ -138,7 +135,7 @@ function regio_list(pautfunction, params)
|
||||
|
||||
var cnt = rst.processResultset();
|
||||
%>
|
||||
</body>
|
||||
</html>
|
||||
</body>
|
||||
</html>
|
||||
<%}%>
|
||||
|
||||
|
||||
@@ -1,27 +1,21 @@
|
||||
<%@ LANGUAGE = JavaScript %>
|
||||
<% /*
|
||||
$Revision: 3 $
|
||||
$Modtime: 9-12-09 20:26 $
|
||||
$Revision: 4 $
|
||||
$Modtime: 2-12-10 12:08 $
|
||||
*/ %>
|
||||
|
||||
<% Response.Expires = 0 %>
|
||||
<!-- #include file="../../cust/install.inc" -->
|
||||
<!-- #include file="../Shared/iface.inc" -->
|
||||
<!-- #include file="../Shared/escape.inc" -->
|
||||
<!-- #include file="../Shared/selector.inc" -->
|
||||
<!-- #include file="../Shared/afdelingselector.inc" -->
|
||||
<!-- #include file="../Shared/plaatsselector.inc" -->
|
||||
<!-- #include file="alg.inc" -->
|
||||
|
||||
<%
|
||||
FCLTHeader.Requires({ plugins:["jQuery", "kenmerk"],
|
||||
js: ["expand_frame.js"]
|
||||
});
|
||||
FCLTHeader.Requires({ plugins:["jQuery", "kenmerk"] });
|
||||
|
||||
var regio_key = getQParamInt("regio_key", -1); //regio
|
||||
|
||||
var autosearch = getQParam("autosearch", -1);
|
||||
|
||||
var autosearch = getQParamInt("autosearch", 0) == 1;
|
||||
var authparams = alg.checkAutorisation();
|
||||
%>
|
||||
|
||||
@@ -29,7 +23,7 @@ var authparams = alg.checkAutorisation();
|
||||
<head>
|
||||
<% FCLTHeader.Generate(); %>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {<% if (autosearch == 1) { %> document.forms.u2.submit();<%}%>});
|
||||
$(document).ready(function() {<% if (autosearch) { %> document.forms.u2.submit(); <%}%> });
|
||||
</script>
|
||||
</head>
|
||||
<body id="searchbody">
|
||||
@@ -61,7 +55,7 @@ var authparams = alg.checkAutorisation();
|
||||
|
||||
<% BLOCK_END();
|
||||
|
||||
var buttons = [{title: lcl_search, action:"document.forms.u2.submit();", id:"bSearch" }];
|
||||
var buttons = [{title: lcl_search, action: "document.forms.u2.submit();", id: "bSearch" }];
|
||||
CreateButtons(buttons);
|
||||
%>
|
||||
</div> <!-- search -->
|
||||
@@ -70,7 +64,7 @@ var authparams = alg.checkAutorisation();
|
||||
<iframe width="100%" height="100%"
|
||||
src="../Shared/empty.asp"
|
||||
name="workFrame" id="workFrame"
|
||||
onload='ExpandFrame("workFrame")'
|
||||
onload="FcltMgr.iframeLoaded(this)"
|
||||
frameborder="0" scrolling="no">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@language = "javascript" %>
|
||||
<% /*
|
||||
$Revision: 2 $
|
||||
$Modtime: 10/12/09 12:36p $
|
||||
$Revision: 3 $
|
||||
$Modtime: 2-12-10 12:06 $
|
||||
|
||||
File: alg_district_search_list.asp
|
||||
Description: Vangt de parameters van msg_search op en verwerkt die in een aanroep van msg_list
|
||||
@@ -10,8 +10,6 @@
|
||||
Note:
|
||||
*/ %>
|
||||
|
||||
<% Response.Expires = 0; %>
|
||||
|
||||
<!-- #include file="../../cust/install.inc" -->
|
||||
<!-- #include file="../Shared/date_sql.inc" -->
|
||||
<!-- #include file="alg_regio_list.inc" -->
|
||||
@@ -23,8 +21,7 @@
|
||||
// Vandaar dat een default van -1 ipv null ook mag
|
||||
// In eerste instantie identificeren we elk veld gewoon 1-op-1.
|
||||
var outputmode = getQParamInt("outputmode", 0) // 0 = screen, 1 = print, 2 = excel etc
|
||||
var showall = getQParam("showall", "0") == "1";
|
||||
|
||||
var showall = getQParamInt("showall", 0) == 1;
|
||||
var reg_key = getQParamInt("regiokey", -1) // Regio
|
||||
|
||||
regio_list ( "*",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<% /*
|
||||
$Revision: 10 $
|
||||
$Modtime: 15-06-10 12:39 $
|
||||
$Revision: 11 $
|
||||
$Modtime: 2-12-10 13:32 $
|
||||
File: alg_ruimte.inc
|
||||
Description: Show an overview of ruimte items in list-form,
|
||||
which meets with the given requirements
|
||||
@@ -15,7 +15,7 @@
|
||||
<!-- #include file="alg.inc" -->
|
||||
|
||||
<%
|
||||
FCLTHeader.Requires({ plugins:["jQuery"] })
|
||||
FCLTHeader.Requires({ plugins:["jQuery"] });
|
||||
|
||||
function ruimte_list(pautfunction, params)
|
||||
{
|
||||
@@ -40,7 +40,7 @@ function ruimte_list(pautfunction, params)
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<% FCLTHeader.Generate({outputmode: outputmode}) %>
|
||||
<% FCLTHeader.Generate({outputmode: outputmode}); %>
|
||||
<script type="text/javascript">
|
||||
var autosearch = 1; // automatisch laden van resultaat op search pagina
|
||||
|
||||
@@ -147,7 +147,7 @@ function ruimte_list(pautfunction, params)
|
||||
sqln += " AND g.alg_locatie_key = " + loc_key;
|
||||
}
|
||||
|
||||
if (area_use && area_use != -1)
|
||||
if (area_use)
|
||||
{
|
||||
sqln += " AND r.alg_srtruimte_key = " + area_use;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@ LANGUAGE = JavaScript %>
|
||||
<% /*
|
||||
$Revision: 7 $
|
||||
$Modtime: 9-02-10 20:00 $
|
||||
$Revision: 8 $
|
||||
$Modtime: 2-12-10 12:18 $
|
||||
*/ %>
|
||||
|
||||
<!-- #include file="../../cust/install.inc" -->
|
||||
@@ -11,21 +11,16 @@
|
||||
<!-- #include file="alg.inc" -->
|
||||
|
||||
<%
|
||||
FCLTHeader.Requires({ plugins:["jQuery", "kenmerk"],
|
||||
js: ["expand_frame.js"]
|
||||
});
|
||||
FCLTHeader.Requires({ plugins:["jQuery", "kenmerk"] });
|
||||
|
||||
var locatie_key = getQParamInt("locatie_key", -1); // Locatie
|
||||
var gebouw_key = getQParamInt("gebouw_key", -1); // Gebouw
|
||||
var verdieping_key = getQParamInt("verdieping_key", -1); // Verdieping
|
||||
var ruimte_key = getQParamInt("ruimte_key", -1); // ruimte
|
||||
|
||||
var ruimte_nr = getQParam("ruimte_nr", "");
|
||||
var ruimte_use = getQParam("ruimte_use", "");
|
||||
var ruimte_use = getQParamInt("ruimte_use", -1); // Ruimtefunctie
|
||||
var ruimte_descr = getQParam("ruimte_descr", "");
|
||||
|
||||
var autosearch = getQParam("autosearch", -1);
|
||||
|
||||
var autosearch = getQParamInt("autosearch", 0) == 1;
|
||||
var authparams = alg.checkAutorisation();
|
||||
|
||||
%>
|
||||
@@ -49,7 +44,7 @@ var authparams = alg.checkAutorisation();
|
||||
showKenmerkModal(key, url, titel)
|
||||
}
|
||||
|
||||
$(document).ready(function() {<% if (autosearch == 1) { %> document.forms.u2.submit();<%}%>});
|
||||
$(document).ready(function() {<% if (autosearch) { %> document.forms.u2.submit(); <%}%> });
|
||||
</script>
|
||||
</head>
|
||||
<body id="searchbody">
|
||||
@@ -80,11 +75,11 @@ var authparams = alg.checkAutorisation();
|
||||
<!-- Zoektekst -->
|
||||
<tr class="primsearch">
|
||||
<td class="label"><label for="nr"><%=lcl_estate_ruimte_man_nr%>:</label></td>
|
||||
<td><input type="text" class="fldsrch" name="nr" value="<%=ruimte_nr%>"></td>
|
||||
<td><input type="text" class="fldsrch" name="nr" value="<%=safe.htmlattr(ruimte_nr)%>"></td>
|
||||
</tr>
|
||||
<tr class="primsearch">
|
||||
<td class="label"><label for="descr"><%=lcl_estate_ruimte_man_descr%>:</label></td>
|
||||
<td><input type="text" class="fldsrch" name="descr" value="<%=ruimte_descr%>"></td>
|
||||
<td><input type="text" class="fldsrch" name="descr" value="<%=safe.htmlattr(ruimte_descr)%>"></td>
|
||||
</tr>
|
||||
<%
|
||||
sql = "SELECT alg_srtruimte_key, "
|
||||
@@ -106,8 +101,8 @@ var authparams = alg.checkAutorisation();
|
||||
</form>
|
||||
<% BLOCK_END();
|
||||
|
||||
var buttons = [ {title: lcl_search, action:"doSubmit()", id:"bSearch" },
|
||||
{title: lcl_obj_advanced, action:"myModal()", id:"bAdvanced" } ];
|
||||
var buttons = [ {title: lcl_search, action: "doSubmit()", id: "bSearch" },
|
||||
{title: lcl_obj_advanced, action: "myModal()", id: "bAdvanced" } ];
|
||||
CreateButtons(buttons);
|
||||
%>
|
||||
</div> <!-- search -->
|
||||
@@ -116,7 +111,7 @@ var authparams = alg.checkAutorisation();
|
||||
<iframe width="100%" height="100%"
|
||||
src="../Shared/empty.asp"
|
||||
name="workFrame" id="workFrame"
|
||||
onload='ExpandFrame("workFrame")'
|
||||
onload="FcltMgr.iframeLoaded(this)"
|
||||
frameborder="0" scrolling="no">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@language = "javascript" %>
|
||||
<% /*
|
||||
$Revision: 3 $
|
||||
$Modtime: 18-12-09 1:26 $
|
||||
$Revision: 4 $
|
||||
$Modtime: 2-12-10 12:24 $
|
||||
|
||||
File: alg_ruimte_search_list.asp
|
||||
Description: Vangt de parameters van msg_search op en verwerkt die in een aanroep van msg_list
|
||||
@@ -10,8 +10,6 @@
|
||||
Note:
|
||||
*/ %>
|
||||
|
||||
<% Response.Expires = 0; %>
|
||||
|
||||
<!-- #include file="../../cust/install.inc" -->
|
||||
<!-- #include file="../Shared/date_sql.inc" -->
|
||||
<!-- #include file="alg_ruimte_list.inc" -->
|
||||
@@ -23,18 +21,15 @@
|
||||
// Vandaar dat een default van -1 ipv null ook mag
|
||||
// In eerste instantie identificeren we elk veld gewoon 1-op-1.
|
||||
var outputmode = getQParamInt("outputmode", 0) // 0 = screen, 1 = print, 2 = excel etc
|
||||
var showall = getQParam("showall", "0") == "1";
|
||||
|
||||
var showall = getQParamInt("showall", 0) == 1;
|
||||
var noref = getQParamInt("noref", -1); // (voor onderdrukken horizontale verwijzingen)
|
||||
|
||||
var loc_key = getQParamInt("locatiekey", -1); // Locatie
|
||||
var bld_key = getQParamInt("gebouwkey", -1); // Gebouw
|
||||
var lvl_key = getQParamInt("verdiepingkey", -1); // Verdieping
|
||||
var room_key = getQParamInt("ruimtekey", -1); // ruimte
|
||||
|
||||
var area_nr = getQParam("nr", null);
|
||||
var area_descr = getQParam("descr", null);
|
||||
var area_use = getQParam("srt", null);
|
||||
var room_key = getQParamInt("ruimtekey", -1); // Ruimte
|
||||
var area_nr = getQParam("nr", null); // Ruimte nr
|
||||
var area_descr = getQParam("descr", null); // Ruimte omschrijving
|
||||
var area_use = getQParamInt("srt", null); // Ruimtefunctie
|
||||
|
||||
ruimte_list ( "*",
|
||||
{ outputmode: outputmode,
|
||||
@@ -45,7 +40,7 @@ ruimte_list ( "*",
|
||||
room_key: (room_key != -1? room_key : null),
|
||||
area_nr: (area_nr != -1? area_nr : null),
|
||||
area_descr: (area_descr != ""? area_descr : null),
|
||||
area_use: (area_use != ""? area_use : null),
|
||||
area_use: (area_use != -1? area_use : null),
|
||||
noref: (noref != -1? noref : null)
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user