FSN#22214 lcl2db + cleanup

svn path=/Website/trunk/; revision=5459
This commit is contained in:
Jos Groot Lipman
2012-01-30 07:25:00 +00:00
parent 6e929bf172
commit d5c9f9e3f0

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 14 $
$Modtime: 13-01-12 19:59 $
$Revision: 15 $
$Modtime: 30-01-12 9:23 $
File: phonebook_js.asp
Description: Phonebook API
@@ -31,12 +31,22 @@ FCLTEXPIRES = 8*60; // geen database interactie tenslotte
var proto = (Request.ServerVariables("SERVER_PORT") == "443")?"https":"http";
var sitenoroot = proto + "://" + Request.ServerVariables("SERVER_NAME");
var site = sitenoroot + rooturl;
%>
//lcl.buildClientLCL();
// LET OP: Geen FcltMgr.js en dus niet (clientside) zelflerend
%>
window.facilitor = window.facilitor || {};
window.facilitor.LCL = {};
window.facilitor.LCL["lcl_shared_suggest_hint"] = "<%=safe.jsstring(L("lcl_shared_suggest_hint"))%>";
window.facilitor.LCL["lcl_shared_suggest_huidig"] = "<%=safe.jsstring(L("lcl_shared_suggest_huidig"))%>";
facilitor.phonebook = facilitor.phonebook || {};
function setLCL(data) {
window.L("LCL.shared") = data;
function L(p_lcl)
{
if (p_lcl in window.facilitor.LCL)
return window.facilitor.LCL[p_lcl];
return "??" + p_lcl + "??";
}
(function() {
@@ -58,8 +68,7 @@ facilitor.phonebook = facilitor.phonebook || {};
getScript("appl/localscripts/jquery-1.6.1.min.js");
<% } %>
getScript("appl/shared/suggest/suggest.js");
window.LCL = {};
getScript("appl/shared/load_lcl.asp?module=" + "shared&callback=setLCL<%=transitParam%>");
<% if (API.apidata.cust_js) { %>
getScript("<%=API.apidata.cust_js%>");
<% } %>