Iets betere titelregel logging

svn path=/Website/branches/v2016.3/; revision=32426
This commit is contained in:
Jos Groot Lipman
2017-01-18 09:14:30 +00:00
parent 605935ae39
commit de10bf76c4

View File

@@ -125,6 +125,7 @@ htmlLogger =
objFSO = null;
if (IsNew)
{
__LogfileTitle = __LogfileTitle ||Session("customerId");
this._file_handle.WriteLine("<head>");
this._file_handle.WriteLine("<meta http-equiv=\"cache-control\" content=\"no-cache, no-store, must-revalidate\">");
this._file_handle.WriteLine("<meta http-equiv=\"pragma\" content=\"no-cache\">");
@@ -155,7 +156,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||Session("customerId")) + (rooturl?" "+rooturl:"") + " FACILITOR logger</title>");
this._file_handle.WriteLine("<title>*" + __LogfileTitle + (rooturl?" "+rooturl:"") + " FACILITOR logger</title>");
this._file_handle.WriteLine("</head>");
this._file_handle.WriteLine("<body>");
if (typeof __LogNoClear == "undefined")
@@ -165,7 +166,7 @@ htmlLogger =
this._file_handle.WriteLine("</form>");
}
this._file_handle.WriteLine("<table id='tabel'>"); // The closing </table> is never placed. IE doesn't care
this._file_handle.WriteLine("<tr><td colspan='3'>Logfile " + __LogfileName + " was reset</td></tr>");
this._file_handle.WriteLine("<tr><td colspan='3'>" + __LogfileTitle + " logfile " + __LogfileName + "</td></tr>");
}
}
this._file_handle.WriteLine(tekst);