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