svn path=/Website/trunk/; revision=2690
This commit is contained in:
Maykel Geerdink
2010-12-02 12:08:22 +00:00
parent 88b4a20a31
commit 56ac3b7caa
11 changed files with 79 additions and 120 deletions

View File

@@ -1,7 +1,7 @@
<%@language = "javascript"%>
<% /*
$Revision: 7 $
$Modtime: 15-06-10 10:05 $
$Revision: 8 $
$Modtime: 2-12-10 8:07 $
File: alg_ruimteafdeling.asp
Description: Laat een afdeling aan meerdere ruimtes toevoegen
@@ -25,7 +25,7 @@ FCLTHeader.Requires({ plugins:["jQuery"],
// TODO: Autorisatie controle "WEB_PRSBOF" op ruimte_keys
var ruimte_keys = getQParam("ruimte_keys");
var ruimte_keys = getQMultiParam("ruimte_keys");
var ruimte_key_reeks = ruimte_keys.split(",");
var submitting = getQParamInt("submit", 0) == 1;
if (submitting)

View File

@@ -1,7 +1,7 @@
<%@ LANGUAGE = JavaScript %>
<% /*
$Revision: 1 $
$Modtime: 23-11-10 12:44 $
$Revision: 2 $
$Modtime: 2-12-10 13:19 $
File: alg_ruimtefunctie_search.asp
Description: Toont zoekvelden voor lijst van ruimtefuncties
@@ -20,9 +20,7 @@
<!-- #include file="alg.inc" -->
<%
FCLTHeader.Requires({ plugins: ["jQuery", "kenmerk"],
js: ["expand_frame.js"]
});
FCLTHeader.Requires({ plugins: ["jQuery", "kenmerk"] });
var alg_srtruimte_key = getQParamInt("alg_srtruimte_key", -1); // Ruimtefunctie
var locatie_key = getQParamInt("locatie_key", -1); // Locatie
@@ -78,7 +76,7 @@ var authparams = alg.checkAutorisation();
</td><!-- end column 1 -->
</tr>
<% BLOCK_END();
var buttons = [ {title: lcl_search, action:"doSubmit()", id:"bSearch"} ];
var buttons = [ {title: lcl_search, action: "doSubmit()", id: "bSearch"} ];
CreateButtons(buttons, { entersubmit: true});
%>
</form>
@@ -88,7 +86,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>

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 1 $
$Modtime: 23-11-10 7:19 $
$Revision: 2 $
$Modtime: 2-12-10 12:09 $
File: alg_ruimtefunctie_search_list.asp
Description: Vangt de parameters van ruimtefunctie_search op en verwerkt die in een aanroep van ruimtefunctie_list
@@ -10,8 +10,6 @@
Note:
*/ %>
<% Response.Expires = 0; %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/date_sql.inc" -->
<!-- #include file="alg_ruimtefunctie_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 srtruimte_key = getQParamInt("srtruimte", -1); // Ruimtefunctie
var loc_key = getQParamInt("locatiekey", -1); // Locatie
var bld_key = getQParamInt("gebouwkey", -1); // Gebouw

View File

@@ -1,7 +1,7 @@
<%@ LANGUAGE = JavaScript %>
<% /*
$Revision: 3 $
$Modtime: 17-06-10 14:37 $
$Revision: 4 $
$Modtime: 2-12-10 12:31 $
File: alg_search.asp
Generieke vastgoedbrowser zonder specifieke filters
@@ -17,7 +17,7 @@
<%
FCLTHeader.Requires({ plugins:["jQuery"],
js: ["expand_frame.js", "jQuery-ui.js"]
js: ["jQuery-ui.js"]
});
var district_key = getQParamInt("district_key", -1);
@@ -25,11 +25,6 @@ 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_descr = getQParam("ruimte_descr", "");
var authparams = alg.checkAutorisation();
%>
@@ -80,11 +75,11 @@ var authparams = alg.checkAutorisation();
<% BLOCK_END();
var buttons = [
{title: lcl_menu_alg_locatie, action:"doSubmit('L')"},
{title: lcl_menu_alg_gebouw, action:"doSubmit('G')"},
{title: lcl_menu_alg_verdieping, action:"doSubmit('V')"},
{title: lcl_menu_alg_ruimte, action:"doSubmit('R')"},
{title: lcl_menu_alg_terreinsector, action:"doSubmit('T')"}
{title: lcl_menu_alg_locatie, action: "doSubmit('L')"},
{title: lcl_menu_alg_gebouw, action: "doSubmit('G')"},
{title: lcl_menu_alg_verdieping, action: "doSubmit('V')"},
{title: lcl_menu_alg_ruimte, action: "doSubmit('R')"},
{title: lcl_menu_alg_terreinsector, action: "doSubmit('T')"}
];
CreateButtons(buttons);
%></div> <!-- search -->
@@ -93,7 +88,7 @@ var authparams = alg.checkAutorisation();
<iframe width="100%" height="100%"
src="../Shared/empty.asp"
name="workFrame" id="workFrame"
onload='FcltMgr.iframeLoaded(this)'
onload="FcltMgr.iframeLoaded(this)"
frameborder="0" scrolling="no">
</iframe>
</div>

View File

@@ -1,28 +1,22 @@
<%@ LANGUAGE = JavaScript %>
<% /*
$Revision: 5 $
$Modtime: 10-12-09 11:17 $
$Revision: 6 $
$Modtime: 2-12-10 12:11 $
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/escape.inc" -->
<!-- #include file="../Shared/selector.inc" -->
<!-- #include file="../Shared/plaatsselector.inc" -->
<!-- #include file="alg.inc" -->
<%
FCLTHeader.Requires({ plugins:["jQuery", "kenmerk"],
js: ["expand_frame.js"]
});
var locatie_key = getQParam("locatie_key", -1); // locatie
FCLTHeader.Requires({ plugins:["jQuery", "kenmerk"] });
var locatie_key = getQParamInt("locatie_key", -1); // locatie
var vak_code = getQParam("vak_code", "");
var ter_func = getQParam("ter_func", "");
var autosearch = getQParam("autosearch", -1);
var ter_func = getQParamInt("ter_func", -1);
var autosearch = getQParamInt("autosearch", 0) == 1;
var authparams = alg.checkAutorisation();
%>
@@ -45,7 +39,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">
@@ -88,7 +82,7 @@ var authparams = alg.checkAutorisation();
<!-- Zoektekst -->
<tr class="primsearch">
<td class="label"><label for="descr"><%=lcl_estate_terreinsector_man_code%>:</label></td>
<td><input type="text" class="fldsrch" name="descr" value="<%=vak_code%>"></td>
<td><input type="text" class="fldsrch" name="descr" value="<%=safe.htmlattr(vak_code)%>"></td>
</tr>
</table>
</td><!-- end column 1 -->
@@ -97,8 +91,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 -->
@@ -107,7 +101,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>

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 3 $
$Modtime: 18-12-09 1:25 $
$Revision: 4 $
$Modtime: 2-12-10 12:16 $
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_terreinsector_list.inc" -->
@@ -23,20 +21,18 @@
// 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 ter_code = getQParam("descr", null);
var ter_func = getQParam("srt", null);
var ter_func = getQParamInt("srt", -1);
terrein_list ( "*",
{ outputmode: outputmode,
showall: showall,
loc_key: (loc_key != -1? loc_key : null),
ter_code: (ter_code != ""? ter_code : null),
ter_func: (ter_func != ""? ter_func : null),
ter_func: (ter_func != -1? ter_func : null),
noref: (noref != -1? noref : null)
}
);

View File

@@ -1,6 +1,6 @@
<% /*
$Revision: 5 $
$Modtime: 29-06-10 11:25 $
$Revision: 6 $
$Modtime: 2-12-10 13:36 $
File: alg_verdieping.inc
Description: Show an overview of verdieping items in list-form,
which meets with the given requirements
@@ -8,7 +8,7 @@
Context: Search action from alg_verdieping_search_list.asp form
Note:
*/ %>
<!-- #include file="../Shared/escape.inc" -->
<!-- #include file="../Shared/disCxprs3d.inc" -->
<!-- #include file="../Shared/json2.js" -->
<!-- #include file="../Shared/resultset_table_v2.inc" -->
@@ -16,21 +16,19 @@
<!-- #include file="alg.inc" -->
<%
FCLTHeader.Requires({ plugins:["jQuery"],
js: []
})
FCLTHeader.Requires({ plugins:["jQuery"] });
function fnrowData(oRs)
{
var parent_key = oRs("alg_gebouw_key").value;
var detail_key = oRs("alg_verdieping_key").value;
var key = oRs("alg_verdieping_key").value;
var oms = oRs("alg_verdieping_omschrijving").value
function fnrowData(oRs)
{
var parent_key = oRs("alg_gebouw_key").value;
var detail_key = oRs("alg_verdieping_key").value;
var key = oRs("alg_verdieping_key").value;
var oms = oRs("alg_verdieping_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">
@@ -39,19 +37,19 @@ FCLTHeader.Requires({ plugins:["jQuery"],
function gotoDetails(row)
{
var algData = eval('(' + row.ROWDATA + ')');
var url = "appl/ALG/alg_ruimte_search.asp?verdieping_key="+algData.detail_key+"&autosearch="+autosearch;
var url = "appl/ALG/alg_ruimte_search.asp?verdieping_key=" + algData.detail_key + "&autosearch=" + autosearch;
FcltMgr.openDetail(url, "<%=lcl_room%>");
}
function gotoParent(row)
{
var algData = eval('(' + row.ROWDATA + ')');
var url = "appl/ALG/alg_gebouw_search.asp?gebouw_key="+algData.parent_key+"&autosearch="+autosearch;
var url = "appl/ALG/alg_gebouw_search.asp?gebouw_key=" + algData.parent_key + "&autosearch=" + autosearch;
FcltMgr.openDetail(url, "<%=lcl_building%>");
}
function verdiepingEdit(row)
{
var algData = eval('(' + row.ROWDATA + ')');
var url = "appl/ALG/alg_verdieping.asp?mode=viewUpdate&key="+algData.key;
var url = "appl/ALG/alg_verdieping.asp?mode=viewUpdate&key=" + algData.key;
FcltMgr.openDetail(url, "<%=lcl_floor%>" + ' ' + algData.oms);
}
@@ -98,7 +96,7 @@ function verdiepingen_list(pautfunction, params)
<html>
<head>
<% FCLTHeader.Generate({outputmode:outputmode}) %>
<% FCLTHeader.Generate({outputmode: outputmode}); %>
</head>
<body id="listbody">
<%
@@ -181,7 +179,7 @@ function verdiepingen_list(pautfunction, params)
}
var cnt = rst.processResultset();
%>
</body>
</html>
</body>
</html>
<%}%>

View File

@@ -1,10 +1,9 @@
<%@ LANGUAGE = JavaScript %>
<% /*
$Revision: 4 $
$Modtime: 29-06-10 10:35 $
$Revision: 5 $
$Modtime: 2-12-10 12:35 $
*/ %>
<% Response.Expires = 0 %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/selector.inc" -->
@@ -12,16 +11,12 @@
<!-- #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 autosearch = getQParam("autosearch", -1);
var autosearch = getQParamInt("autosearch", 0) == 1;
var authparams = alg.checkAutorisation();
%>
@@ -45,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>
@@ -72,8 +67,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 -->
@@ -82,7 +77,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>

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 3 $
$Modtime: 18-12-09 1:20 $
$Revision: 4 $
$Modtime: 2-12-10 12:12 $
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_verdieping_list.inc" -->
@@ -23,10 +21,8 @@
// 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

View File

@@ -1,14 +1,12 @@
<%@ LANGUAGE = JavaScript %>
<% /*
$Revision: 5 $
$Modtime: 16-12-09 19:32 $
$Revision: 6 $
$Modtime: 2-12-10 13:06 $
File: alg_werkplek_search.asp
Status: 98%
Description:
Parameters:
Context:
Note:
@@ -16,25 +14,19 @@
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/escape.inc" -->
<!-- #include file="../Shared/selector.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 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 descr = getQParam("werkplek", "");
var autosearch = getQParam("autosearch", -1);
var autosearch = getQParamInt("autosearch", 0) == 1;
var authparams = alg.checkAutorisation();
%>
@@ -42,7 +34,7 @@ var authparams = alg.checkAutorisation();
<head>
<% FCLTHeader.Generate(); %>
<script>
$(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,7 +64,7 @@ var authparams = alg.checkAutorisation();
<!-- Zoektekst -->
<tr class="primsearch">
<td class="label"><label for="nr"><%=lcl_workplace%>:</label></td>
<td><input type="text" class="fldsrch" name="descr" value=""></td>
<td><input type="text" class="fldsrch" name="descr" value="<%=safe.htmlattr(descr)%>"></td>
</tr>
</table>
</td><!-- end column 1 -->
@@ -80,7 +72,7 @@ var authparams = alg.checkAutorisation();
</form>
<% 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 -->
@@ -89,7 +81,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>

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 3 $
$Modtime: 4-02-10 23:08 $
$Revision: 4 $
$Modtime: 2-12-10 12:16 $
File:
Description:
@@ -10,8 +10,6 @@
Note:
*/ %>
<% Response.Expires = 0; %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/date_sql.inc" -->
<!-- #include file="alg_werkplek_list.inc" -->
@@ -24,13 +22,13 @@
// 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 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 wp_descr = getQParam("descr", null);
var tiny = getQParamInt("tiny", 0) == 1;
werkplek_list ( "*",
{ outputmode: outputmode,
@@ -39,7 +37,7 @@ werkplek_list ( "*",
bld_key: (bld_key != -1? bld_key : null),
lvl_key: (lvl_key != -1? lvl_key : null),
room_key: (room_key != -1? room_key : -1),
tiny: getQParam("tiny", null),
tiny: tiny,
wp_descr: (wp_descr != ""? wp_descr : null)
}
);