Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 536 → Rev 537

/web/status.php
3,7 → 3,7
# status.php for Alcasar captive portal
# by steweb57
#
$organisme = "";
$organisme = "steweb57";
 
# Choice of language
//reste quelques traductions à faire
133,37 → 133,8
<script type="text/javascript" src="./js/ChilliLibrary.js"></script>
<script type="text/javascript" src="./js/statusControler.js"></script>
<link type="text/css" href="./css/status.css" rel="stylesheet">
<script language="JavaScript">
if (typeof isloggedout == 'undefined') isloggedout = true;
function closePopup(){
this.focus();
self.opener=this;
self.close();
}
function alcasarLogoff(){
//pb sous Safari et Opera (OnbeforeUnload)
if (isloggedout === false){
chilliClock.stop();
chilliController.logoff();
showWaitPage(5000);
alert("<?php echo $l_loggedout; ?>");
}
isloggedout = true;
}
function logout() {
alcasarLogoff();
window.setTimeout("closePopup()",1000);
}
function logoutWithConfirmation(msg) {
if (confirm(msg)) {
logout();
}
return false;
}
</script>
</head>
<body OnbeforeUnload="javascript:alcasarLogoff();">
<body>
<div id="Chilli">
<div id="locationName"></div>
<div id="chilliPage">
178,7 → 149,7
</table>
</div>
<div id="statusPage" class="c1">
<table border="0" id="statusTable"><!-- style="padding-top:4px;font-size:70%" -->
<table border="0" id="statusTable">
<tr>
<td rowspan="2" valign="top"><img height="150" src="./images/logo-alcasar.png" alt="logo"></td>
<td>