You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
2.2 KiB
85 lines
2.2 KiB
4 months ago
|
<!-- $Id: madmin.htt,v 1.3 2005/02/11 19:48:06 ddoughty Exp $ -->
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<TITLE><%=PHRASE.419%> <%=PHRASE.64%></TITLE>
|
||
|
<BASEFONT FACE="Arial">
|
||
|
<%=SYSTEM.INCLUDEJS global.js %>
|
||
|
<SCRIPT language="JavaScript">
|
||
|
<!--
|
||
|
var down, csec, syncform;
|
||
|
|
||
|
function wdw_onLoad() {
|
||
|
syncform = document.syncform;
|
||
|
syncform.csec.value = <%=SYSTEM.autologout%>;
|
||
|
monitor();
|
||
|
}
|
||
|
|
||
|
function monitor() {
|
||
|
monitorrepeat();
|
||
|
}
|
||
|
|
||
|
function monitorrepeat() {
|
||
|
csec=syncform.csec.value;
|
||
|
csec--;
|
||
|
syncform.csec.value=csec;
|
||
|
if ((csec > 0)) {
|
||
|
down=setTimeout("monitorrepeat()",1000);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function reset_autotimer() {
|
||
|
syncform.csec.value=<%=SYSTEM.autologout%>;
|
||
|
}
|
||
|
|
||
|
function select_client(objForm) {
|
||
|
var sURL,nidx,client;
|
||
|
reset_autotimer();
|
||
|
nidx = objForm.clid.selectedIndex;
|
||
|
if (nidx < 1) {
|
||
|
alert("<%=PHRASE.772%>");
|
||
|
return false;
|
||
|
} else {
|
||
|
objForm.submit();
|
||
|
return true;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function log_out(objForm) {
|
||
|
var sURL;
|
||
|
sURL = "<%=PATHS.cgiroot%>/logout.pl?tid="+document.syncform.tid.value+"&idle="+document.syncform.idle.value+"&lang="+document.syncform.lang.value;
|
||
|
top.document.location.replace(sURL);
|
||
|
}
|
||
|
|
||
|
window.onload=wdw_onLoad;
|
||
|
// -->
|
||
|
</SCRIPT>
|
||
|
</HEAD>
|
||
|
|
||
|
<BODY BACKGROUND="<%=SYSTEM.BACKGROUND%>" BGCOLOR="<%=SYSTEM.BGCOLOR%>"
|
||
|
TEXT="<%=SYSTEM.TEXT%>" LINK="<%=SYSTEM.LINK%>"
|
||
|
VLINK="<%=SYSTEM.VLINK%>" ALINK="<%=SYSTEM.ALINK%>">
|
||
|
<CENTER>
|
||
|
<BR><BR>
|
||
|
<FORM Name="form0" METHOD=POST ACTION="<%=PATHS.cgiroot%>/madmin.pl">
|
||
|
<INPUT NAME="tid" TYPE=HIDDEN VALUE="<%=SESSION.tid%>">
|
||
|
<INPUT NAME="lang" TYPE=HIDDEN VALUE="<%=SESSION.lang%>">
|
||
|
<INPUT NAME="mclid" TYPE=HIDDEN VALUE="<%=FORM.clid%>">
|
||
|
<FONT COLOR="<%=SYSTEM.HEADERCOLOR%>"><%=PHRASE.771%>
|
||
|
<SELECT NAME="clid" onChange='select_client(this.form)'>
|
||
|
<OPTION SELECTED><%=PHRASE.369%></OPTION>
|
||
|
<%=MADMIN.CLIENTS%>
|
||
|
</SELECT>
|
||
|
</FORM>
|
||
|
<FORM METHOD=POST ACTION="<%=PATHS.cgiroot%>/logout.pl"
|
||
|
Name="syncform" TARGET="exit">
|
||
|
<INPUT NAME="tid" TYPE=HIDDEN VALUE="<%=SESSION.tid%>">
|
||
|
<INPUT NAME="csec" TYPE=HIDDEN VALUE="<%=SYSTEM.autologout%>">
|
||
|
<INPUT NAME="idle" TYPE=HIDDEN VALUE="N">
|
||
|
<INPUT NAME="lang" TYPE=HIDDEN VALUE="<%=SESSION.lang%>">
|
||
|
<br>
|
||
|
<input type=button name=logout value="<%=PHRASE.262%>" onClick="return log_out(document.syncform)"><br>
|
||
|
</FORM>
|
||
|
</CENTER>
|
||
|
</BODY>
|
||
|
</HTML>
|