Skip to content
Snippets Groups Projects
Commit e5b8219e authored by runemaster's avatar runemaster
Browse files

New Last Callers page. Pulls info frm system.data_dir/logon.lst

parent c11b5684
No related branches found
No related tags found
No related merge requests found
/* $Id$ */
load("../web/lib/template.ssjs");
var sub="";
if(user.number!=0) {
var file = new File(system.data_dir + "logon.lst");
if(file.open("r")) {
template.lastcallers=file.readAll();
file.close();
}
template.lastcallers.shift();
template.lastcallers=html_encode(template.lastcallers.join("\r\n"),true,false,true,true);
}
write_template("header.inc");
load("../web/lib/topnav_html.ssjs");
load("../web/lib/leftnav_html.ssjs");
write_template("lastcallers.inc");
write_template("footer.inc");
<!-- $Id$ -->
<!-- Main Content -->
<td class="main" valign="top"><br />
<center>
<h3>Last Few Callers to @@system:name@@</h3>
<pre class="leftalign">@@lastcallers@@</pre>
</td></center>
<br />
<!-- end Main Content -->
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment