Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 474 → Rev 475

/web/intercept.php
10,7 → 10,7
# notice and this permission notice is included in all copies or
# substantial portions of the software.
 
$organisme = "etrs-ssic";
$organisme = "steweb57";
# Redirects from CoovaChilli (chilli daemon) :
# Response to login:
# success : if login successful
25,7 → 25,7
# Default : it was not a form request
 
# Shared secret used to encrypt challenge with radius.
$uamsecret = "bZBMKhn2";
$uamsecret = "Mkb0pAEE";
 
# URL loaded after success authenticates (let blank for browser defaults)
$adminurl = "";
32,6 → 32,7
 
# Our own path
$loginpath = $_SERVER['PHP_SELF'];
$statuspath = "http://alcasar/status.php";
 
# Choice of language
$Language = 'en';
365,7 → 366,7
if (mytimeleft) {
time = mytimeleft - time;
if (time <= 0) {
window.location = \"$loginpath?res=popup3&uamip=$uamip&uamport=$uamport\";
window.location = \"$statuspath?res=popup3&uamip=$uamip&uamport=$uamport\";
}
}
if (time < 0) time = 0;
395,6 → 396,7
}
 
function doOnLoad(result, URL, userurl, redirurl, timeleft) {
URL = \"$statuspath\";
if (timeleft) {
mytimeleft = timeleft;
}
403,7 → 405,8
window.onbeforeunload = DecO($result);
}
if ((result == 1) && (self.name != \"chillispot_popup\")) {
popUp(URL);
// popUp(URL);
window.location = userurl;
}
if ((result == 2) || result == 5) {
document.form1.UserName.focus()
494,7 → 497,7
<TD align=\"left\"><INPUT maxLength=\"32\" type=\"password\" name=\"Password\"></TD>
</TR>
<TR>
<TD height=\"23\" colSpan=\"2\" align=\"middle\"><INPUT value=\"$R_boutonO\" type=\"submit\" name=\"button\" onclick=\"javascript:popUp('$loginpath?res=popup1&uamip=$uamip&uamport=$uamport')\"></TD>
<TD height=\"23\" colSpan=\"2\" align=\"middle\"><INPUT value=\"$R_boutonO\" type=\"submit\" name=\"button\" onclick=\"javascript:popUp('$statuspath')\"></TD>
</TR>
<TR>
<TD colSpan=2 align=middle><H6><A href=\"https://$uamip/pass/\">$R_passwordchg</A></H6></TD>