FCLT#57074 In ASP-code ook FACILITOR-->Facilitor

svn path=/Website/branches/v2019.1/; revision=41773
This commit is contained in:
Alex Tiehuis
2019-03-25 12:58:13 +00:00
parent 702e4c78fb
commit 72bd4e3601
19 changed files with 49 additions and 49 deletions

View File

@@ -233,7 +233,7 @@ __Log("== Entering shorturl.asp ==");
{
%> <html>
<head>
<title>FACILITOR</title>
<title>Facilitor</title>
<META http-equiv="refresh" content="0;URL=<%=safe.htmlattr(theURL)%>">
</head>
<body bgcolor="#ffffff">

View File

@@ -39,7 +39,7 @@ var fac_id = Request.QueryString("fac_id").Count > 0&&String(Request.QueryString
<body style='background-color:#E5EAF1; font-family: Helvetica; font-size: 0.8em;'>
<form method="post" onsubmit="doSubmit();return false;">
<table>
<th colspan="2">FACILITOR API2 tester - FOR INTERNAL USE ONLY [ <a href="<%=safe.htmlattr(HTTP.urlzelf())%>/api2/" target="_blank" rel="noopener noreferrer">API reference</a> ]</th>
<th colspan="2">Facilitor API2 tester - FOR INTERNAL USE ONLY [ <a href="<%=safe.htmlattr(HTTP.urlzelf())%>/api2/" target="_blank" rel="noopener noreferrer">API reference</a> ]</th>
<tr><td><label>Format</label></td>
<td><input type='radio' id='format' name='format' value='json' checked='1'>json</input>
<input type='radio' id='format' name='format' value='xml'>xml</input>

View File

@@ -25,7 +25,7 @@
<body style='background-color:#CEE3F6; font-family: Helvetica; font-size: 0.8em;'>
<form method="post" onsubmit="doSubmit();return false;">
<table>
<th colspan="2">FACILITOR API2 Tester</th>
<th colspan="2">Facilitor API2 Tester</th>
<tr><td><label>Format</label></td>
<td><input type='radio' id='format' name='format' value='json' checked='1'>json</input>
<input type='radio' id='format' name='format' value='xml'>xml</input>

View File

@@ -7,10 +7,10 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="../appl/api2/reference.css?"/>
<title>FACILITOR&#174; API reference</title>
<title>Facilitor&#174; API reference</title>
</head>
<body>
<h1>FACILITOR&#174; API reference</h1>
<h1>Facilitor&#174; API reference</h1>
<xsl:for-each select="/api/modules/*">
<xsl:sort select="name" />
@@ -30,7 +30,7 @@
</xsl:element>
</xsl:for-each>
<p>&#169; <a href="https://facilitor.nl">Facilitor BV</a>, the Netherlands. Use of the FACILITOR API is restricted by the FACILITOR-API regulations.</p>
<p>&#169; <a href="https://facilitor.nl">Facilitor BV</a>, the Netherlands. Use of the Facilitor API is restricted by the Facilitor-API regulations.</p>
<p>Technical support: +31 53 4800 710 or <a href="mailto:helpdesk@facilitor.nl">helpdesk@facilitor.nl</a></p>
</body>
</html>

View File

@@ -35,11 +35,11 @@ model_apis =
var result = {
"swagger": "2.0",
"info":{
"description":"This is a description of the FACILITOR API2."
"description":"This is a description of the Facilitor API2."
+ "<br>You are logged in as {0} ({1})".format(user.naam(), user.oslogin())
+ "\n\nWarning: for POST/PUT/DELETE you must be logged off and specify an APIKEY in &lt;Authorize&gt;",
"version": FCLTVersion,
"title":"FACILITOR",
"title":"Facilitor",
"termsOfService":"http://swagger.io/terms/",
"contact":{
"email":"info@facilitor.nl"

View File

@@ -11,7 +11,7 @@
</head>
<body>
<header>
<h1>FACILITOR&#174; API reference: <xsl:value-of select="/api/records_name"/></h1>
<h1>Facilitor&#174; API reference: <xsl:value-of select="/api/records_name"/></h1>
<xsl:if test="/api/records_title!=''">
<p><xsl:value-of select="/api/records_title"/></p>
</xsl:if>
@@ -105,7 +105,7 @@
</xsl:choose>
</xsl:for-each>
<p>&#169; Facilitor BV, the Netherlands. Use of the FACILITOR API is restricted by the FACILITOR-API regulations.</p>
<p>&#169; Facilitor BV, the Netherlands. Use of the Facilitor API is restricted by the Facilitor-API regulations.</p>
</body>
</html>
</xsl:template>

View File

@@ -67,7 +67,7 @@
<html>
<head>
<% FCLTHeader.Generate(); %>
<title>FACILITOR perspective view</title>
<title>Facilitor perspective view</title>
</head>
<body class="floorscreen3d">

View File

@@ -105,7 +105,7 @@ FCLTHeader.Requires({ plugins: ["jQuery"] })
rst.addColumn(new Column( {caption: "OS user", content: fncolOS} ));
rst.addColumn(new Column( {caption: "Setting", content: fncolSettingName} ));
rst.addColumn(new Column( {caption: "New value", content: fncolSetting} ));
rst.addColumn(new Column( {caption: "FACILITOR user", content: fncolFCLT} ));
rst.addColumn(new Column( {caption: "Facilitor user", content: fncolFCLT} ));
var cnt = rst.processResultset();
%>

View File

@@ -199,7 +199,7 @@ if (previewmode == 2)
var rst = new ResultsetTable({ sql: sql,
keyColumn: "fac_functie_key",
ID: "apitable",
title : "FACILITOR functies"
title : "Facilitor functies"
});
rst.addColumn(new Column({caption: "Key", content: "fac_functie_key"}));

View File

@@ -86,7 +86,7 @@ if (i1 < 0)
font-size: smaller;
}
</style>
<title>FACILITOR installation verifier</title>
<title>Facilitor installation verifier</title>
<script>
function toggle(id)
{
@@ -275,7 +275,7 @@ if (i1 < 0)
else
{
txt = "Calling an aspx succeeds. Not Good!";
txt += "<br>FACILITOR does not need managed code.";
txt += "<br>Facilitor does not need managed code.";
txt += "<br>Best disable it in the IIS application pool.";
document.getElementById('resultASPX').innerHTML = 'Error';
document.getElementById('resultASPX').style.backgroundColor = 'red';
@@ -327,7 +327,7 @@ var osuser = String(Request.ServerVariables("REMOTE_USER"));
resultcodes = { ok: "No problem",
fatal: "No further checks possible, fix and recheck",
error: "Error, fix and recheck",
warning: "Warning: FACILITOR may run sub-optimal",
warning: "Warning: Facilitor may run sub-optimal",
inform: "Information only"
}
@@ -760,7 +760,7 @@ checker("Managed code should not be enabled.",
}
)
__GROUP = "FACILITOR software";
__GROUP = "Facilitor software";
//------------------------------------------------------------------------------
testfolder(rooturl + "/cust", true); // mustbethere
testfolder(rooturl + "/temp", true); // mustbethere
@@ -798,7 +798,7 @@ checker("Determine customerID",
function ()
{
if (String(custID).length == 4) return { result: resultcodes.ok, info: custID };
return { result: resultcodes.fatal, message: "Cannot determine customerID. Open FACILITOR homepage once or use verify.asp?XXXX"};
return { result: resultcodes.fatal, message: "Cannot determine customerID. Open Facilitor homepage once or use verify.asp?XXXX"};
}
)
@@ -1190,7 +1190,7 @@ checker("Database characterset",
case "AL32UTF8":
case "AL32UTF16":
case "AL32UTF32":
txt = "Multi-byte characterset detected\nThis is not supported by FACILITOR";
txt = "Multi-byte characterset detected\nThis is not supported by Facilitor";
res = resultcodes.error;
break;
default: txt = "Unknown characterset detected";
@@ -1213,7 +1213,7 @@ checker("NLS_TERRITORY",
var oRs = Oracle.Execute(sql);
var eikdag = oRs("eikdag").Value;
if (eikdag == 6)
return { result: resultcodes.ok, message: "January 1st 2021 is a Wednesday<br><span style='font-size: 9px'>This may have been corrected by connection pooling when FACILITOR has been started before.</span>", info: eikdag }
return { result: resultcodes.ok, message: "January 1st 2021 is a Wednesday<br><span style='font-size: 9px'>This may have been corrected by connection pooling when Facilitor has been started before.</span>", info: eikdag }
else
return { result: resultcodes.warning, message: "January 1st 2021 is not a Wednesday<br>(since DB25 not problematic)", info: eikdag }
}
@@ -1365,7 +1365,7 @@ checker("SLNKDWF Installed",
catch(e)
{
return { result: resultcodes.warning,
message: e.description + "<br>SLNKDWFx64.DLL not installed. FACILITOR Graphics not available"};
message: e.description + "<br>SLNKDWFx64.DLL not installed. Facilitor Graphics not available"};
}
var msec = oSLNKDWF.usTimer/1e3;
var tmup = new Date(new Date().getTime() - msec);
@@ -1496,7 +1496,7 @@ if (Request.Form("mailto").Count > 0)
checker("E-mail sending",
function ()
{
var txt = "FACILITOR test-email sent at {0} from {1}".format(toDateTimeString(new Date()), String(Request.ServerVariables("SERVER_NAME")));
var txt = "Facilitor test-email sent at {0} from {1}".format(toDateTimeString(new Date()), String(Request.ServerVariables("SERVER_NAME")));
try
{
var sch = "http://schemas.microsoft.com/cdo/configuration/";

View File

@@ -66,7 +66,7 @@ var ip = String(Request.ServerVariables("REMOTE_ADDR"));
<noscript>
<div class="content aiai">
<h1 style="color:red">Aiai!</h1>
Javascript must be enabled to use FACILITOR.
Javascript must be enabled to use Facilitor.
</div>
</noscript>
@@ -173,7 +173,7 @@ var ip = String(Request.ServerVariables("REMOTE_ADDR"));
+ modernMsg
+ "HTTP Headers:<br><div style='margin-left:2em;font-size:0.8em;line-height:1.2em;'><%=safe.html(Request.ServerVariables("ALL_HTTP"))%></div>"
+ "<%=safe.jsstring(__DumpCollection(Session.Contents, { title: "Session", exclude: /ASPFIXATION|FACSESSIONID|RVT_TOKEN/i }))%>"
+ "<br><span style='font-size:0.8em;'>FACILITOR <%=(toISODateTimeString(new Date()))%></span>"
+ "<br><span style='font-size:0.8em;'>Facilitor <%=(toISODateTimeString(new Date()))%></span>"
+ "<br><span style='font-size:0.8em;'><%=safe.jsstring(HTTP.urlzelf())%></span>");
});

View File

@@ -59,7 +59,7 @@ if (getQParamInt("recompile", 0) == "1")
background-color: #f88;
}
</style>
<title>FACILITOR database consistency verifier</title>
<title>Facilitor database consistency verifier</title>
<script>
function toggle(id)
{

View File

@@ -24,7 +24,7 @@
<html>
<head>
<% FCLTHeader.Generate(); %>
<title>FACILITOR file checksum verifier</title>
<title>Facilitor file checksum verifier</title>
<style>
table { width: 800px!important };
</style>

View File

@@ -103,7 +103,7 @@ if (device.test(device.isDesktop)) { // normale desktop interface
<link rel="apple-touch-icon" sizes="144x144" href="<%= rooturl + "/" + S("fac_favicon_folder") %>/Icon-144x144.png" />
<link rel="apple-touch-icon" sizes="152x152" href="<%= rooturl + "/" + S("fac_favicon_folder") %>/Icon-76@2x.png" />
<link rel="apple-touch-icon" sizes="180x180" href="<%= rooturl + "/" + S("fac_favicon_folder") %>/Icon-60@3x.png" />
<noscript><h1>Well, javascript must be enabled. FACILITOR will not function without.</h1></noscript>
<noscript><h1>Well, javascript must be enabled. Facilitor will not function without.</h1></noscript>
</head>
<frameset frameborder="no" border="0">
<frame name="fclttop" id="fclttop" src="appl/fac/Facilitor.asp?x=1<%=transitQS()%>" frameborder="0" marginwidth="0" noresize>

View File

@@ -72,8 +72,8 @@ function get_qv_ticket(qvRoot, qvauth)
}
else
{
__DoLog("Out of FACILITOR Qlikview licenses");
shared.simpel_page("Out of FACILITOR Qlikview licenses");
__DoLog("Out of Facilitor Qlikview licenses");
shared.simpel_page("Out of Facilitor Qlikview licenses");
}
}
}

View File

@@ -103,7 +103,7 @@ if (String(Request.ServerVariables("HTTP_ACCEPT")).match(/application\/json/) !=
break;
}
}
msg += "\n\nFACILITOR " + toISODateTimeString(new Date())
msg += "\n\nFacilitor " + toISODateTimeString(new Date())
+ ", " + sitenoroot;
if (__Logging > 0)
@@ -236,7 +236,7 @@ switch (objASPError.ASPCode)
Response.Write(L("lcl_error"));
Response.Write("\n<br><br><span style='font-size:0.8em'>" + L("lcl_registered"));
Response.Write("\n<br>" + L("lcl_refresh") + "</span>");
Response.Write("\n<br><br><span style='font-size:0.8em;'>FACILITOR "+toISODateTimeString(new Date())+"</span>");
Response.Write("\n<br><br><span style='font-size:0.8em;'>Facilitor "+toISODateTimeString(new Date())+"</span>");
Response.Write("\n<br><span style='font-size:0.8em;'>" + sitenoroot + "</span>");
break;
}

View File

@@ -1720,7 +1720,7 @@ function determineCustomerId()
{
if (String(Request.ServerVariables("HTTP_ACCEPT")).match(/application\/json/) != null)
{
var msg = "Your session has expired.\nPlease restart FACILITOR."; // L("xxx") vertrouw ik ook niet meer
var msg = "Your session has expired.\nPlease restart Facilitor."; // L("xxx") vertrouw ik ook niet meer
Response.Write("FCLTExpired:" + msg); // FCLTExpired wordt zo opgepikt door FcltJquery.js ajaxSetup error handler
Response.End;
}

View File

@@ -329,7 +329,7 @@
<table border="0" width="100%">
<tr>
<td align="right" valign="top" class="tiny ffoot" style="color:#aaa">
<b>FACILITOR</b>&#160;<xsl:value-of select="//header/custId"/><xsl:comment><xsl:value-of select="//header/version"/>.<xsl:value-of select="$DefRev"/>.<xsl:value-of select="$Rev"/></xsl:comment></td>
<b>Facilitor</b>&#160;<xsl:value-of select="//header/custId"/><xsl:comment><xsl:value-of select="//header/version"/>.<xsl:value-of select="$DefRev"/>.<xsl:value-of select="$Rev"/></xsl:comment></td>
</tr>
</table>
</xsl:template>
@@ -637,7 +637,7 @@
<xsl:otherwise>
<html>
<xsl:comment>================================ BESTELLINGEN ==============================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for bestellingen</xsl:comment>
<xsl:comment>Facilitor default XSL template for bestellingen</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
@@ -935,7 +935,7 @@
<xsl:otherwise>
<html>
<xsl:comment>================================ BESTELOPDRACHTEN ==============================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for bestelopdracht</xsl:comment>
<xsl:comment>Facilitor default XSL template for bestelopdracht</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
@@ -1134,7 +1134,7 @@ END:VCALENDAR
<xsl:otherwise>
<html>
<xsl:comment>================================ RESERVERINGEN ==============================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for reservering</xsl:comment>
<xsl:comment>Facilitor default XSL template for reservering</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
@@ -1314,7 +1314,7 @@ END:VCALENDAR
<xsl:otherwise>
<html>
<xsl:comment>================================ AFSPRAKEN ==============================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for afspraak</xsl:comment>
<xsl:comment>Facilitor default XSL template for afspraak</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
@@ -1391,7 +1391,7 @@ END:VCALENDAR
<xsl:otherwise>
<html>
<xsl:comment>================================ BEZOEKER ==============================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for bezoeker</xsl:comment>
<xsl:comment>Facilitor default XSL template for bezoeker</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
@@ -1758,7 +1758,7 @@ END:VCALENDAR
<xsl:otherwise>
<html>
<xsl:comment>================================ MELDINGEN ==============================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for melding</xsl:comment>
<xsl:comment>Facilitor default XSL template for melding</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
@@ -2052,7 +2052,7 @@ END:VCALENDAR
<xsl:otherwise>
<html>
<xsl:comment>================================ OPDRACHTEN ==============================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for opdracht</xsl:comment>
<xsl:comment>Facilitor default XSL template for opdracht</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
@@ -2071,7 +2071,7 @@ END:VCALENDAR
<xsl:template match="scenario" mode="full">
<html>
<xsl:comment>FACILITOR default XSL template for scenario</xsl:comment>
<xsl:comment>Facilitor default XSL template for scenario</xsl:comment>
<xsl:call-template name="htmlhead"/>
<body onload="window.print();">
<xsl:call-template name="pageheader"/>
@@ -2643,7 +2643,7 @@ END:VCALENDAR
<xsl:otherwise>
<html>
<xsl:comment>================================ MESSAGES ==============================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for message</xsl:comment>
<xsl:comment>Facilitor default XSL template for message</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
@@ -2660,7 +2660,7 @@ END:VCALENDAR
<xsl:template match="rapport" mode="default">
<html>
<xsl:comment>================================ RAPPORT ==============================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for rapport</xsl:comment>
<xsl:comment>Facilitor default XSL template for rapport</xsl:comment>
<xsl:call-template name="htmlhead"/>
<body>
<table>
@@ -2816,7 +2816,7 @@ END:VCALENDAR
<xsl:otherwise>
<html>
<xsl:comment>================================ PERSONEN ==============================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for perslid</xsl:comment>
<xsl:comment>Facilitor default XSL template for perslid</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
@@ -3220,7 +3220,7 @@ END:VCALENDAR
<xsl:otherwise>
<html>
<xsl:comment>================================ CONTRACT ==============================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for contract</xsl:comment>
<xsl:comment>Facilitor default XSL template for contract</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
@@ -3401,7 +3401,7 @@ END:VCALENDAR
<xsl:otherwise>
<html>
<xsl:comment>================================ FACTUUR ==============================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for factuur</xsl:comment>
<xsl:comment>Facilitor default XSL template for factuur</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
@@ -3440,7 +3440,7 @@ END:VCALENDAR
<xsl:otherwise>
<html>
<xsl:comment>================================ VERKOOPFACTUUR ==============================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for verkoopfactuur</xsl:comment>
<xsl:comment>Facilitor default XSL template for verkoopfactuur</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
@@ -3587,7 +3587,7 @@ END:VCALENDAR
<xsl:otherwise>
<html>
<xsl:comment>================================ DEEL (OBJECT)===========================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for deel</xsl:comment>
<xsl:comment>Facilitor default XSL template for deel</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">

View File

@@ -162,7 +162,7 @@ htmlLogger =
this._file_handle.WriteLine("}");
this._file_handle.WriteLine("td.tm:hover div.caller, div.caller:hover { display:block; }");
this._file_handle.WriteLine("</style>");
this._file_handle.WriteLine("<title>*" + __LogfileTitle + (rooturl?" "+rooturl:"") + " FACILITOR logger</title>");
this._file_handle.WriteLine("<title>*" + __LogfileTitle + (rooturl?" "+rooturl:"") + " Facilitor logger</title>");
if (Application("otap_environment") == "O")
this._file_handle.WriteLine("<script type='text/javascript' src='../shared/logger.js'></script>");
this._file_handle.WriteLine("</head>");