Subversion Repositories ALCASAR

Rev

Rev 533 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 533 Rev 571
Line 97... Line 97...
97
  $l_reply_3 = "You try to connect outside of your allowed timespan";
97
  $l_reply_3 = "You try to connect outside of your allowed timespan";
98
  $l_reply_4 = "your account expired";
98
  $l_reply_4 = "your account expired";
99
  $l_reply_5 = "You have reached the maximum number of simultaneous logins";
99
  $l_reply_5 = "You have reached the maximum number of simultaneous logins";
100
  $l_online_time = "Online-zeit";
100
  $l_online_time = "Online-zeit";
101
  $l_remaining_time = "Restzeit";
101
  $l_remaining_time = "Restzeit";
102
 
-
 
103
}
102
}
104
else if($Language == 'nl'){
103
else if($Language == 'nl'){
105
  $l_ChilliError	= "De authenticatie moet een succes worden via de captive portal dienst.";
104
  $l_ChilliError	= "De authenticatie moet een succes worden via de captive portal dienst.";
106
  $l_login		= "Succesvolle authenticatie.<HR>Dit venster te sluiten onderbreekt uw sessie.";
105
  $l_login		= "Succesvolle authenticatie.<HR>Dit venster te sluiten onderbreekt uw sessie.";
107
  $l_logout		= "Slotkoers verbinding";
106
  $l_logout		= "Slotkoers verbinding";
Line 268... Line 267...
268
  <center>
267
  <center>
269
    $l_wait
268
    $l_wait
270
  </center>
269
  </center>
271
</body>
270
</body>
272
</html>";
271
</html>";
273
    exit(0);
272
exit(0);
274
}
273
}
275
 
274
 
276
switch($res) {
275
switch($res) {
277
  case 'success':     $result =  1; break; // If login successful
276
  case 'success':     $result =  1; break; // If login successful
278
  case 'failed':      $result =  2; break; // If login failed
277
  case 'failed':      $result =  2; break; // If login failed
Line 301... Line 300...
301
  </center>
300
  </center>
302
</body>
301
</body>
303
</html>";
302
</html>";
304
    exit(0);
303
    exit(0);
305
}
304
}
306
 
-
 
307
# Generate the output
305
# Generate the output
308
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
306
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
309
<html>
307
<html>
310
<head>
308
<head>
311
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
309
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
Line 349... Line 347...
349
  </script>
347
  </script>
350
<link rel=\"stylesheet\" href=\"/css/style_intercept.css\" type=\"text/css\">
348
<link rel=\"stylesheet\" href=\"/css/style_intercept.css\" type=\"text/css\">
351
</head>
349
</head>
352
<body onLoad=\"javascript:doOnLoad($result,'$userurl','$redirurl','$adminurl','$timeleft')\">
350
<body onLoad=\"javascript:doOnLoad($result,'$userurl','$redirurl','$adminurl','$timeleft')\">
353
  <center>";
351
  <center>";
354
 
-
 
355
if ($result == 2 || $result == 3 || $result == 5) { //failed or logoff or notyet
352
if ($result == 2 || $result == 3 || $result == 5) { //failed or logoff or notyet
356
  echo "
353
  echo "
357
	<div id=\"logon\">
354
	<div id=\"logon\">
358
	<h1>$organisme</h1>
355
	<h1>$organisme</h1>
359
	<h2>$l_loggedcont</h2>";
356
	<h2>$l_loggedcont</h2>";