Subversion Repositories ALCASAR

Rev

Rev 2600 | Rev 2743 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2600 Rev 2702
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: intercept.php 2600 2018-08-19 23:48:55Z tom.houdayer $
2
# $Id: intercept.php 2702 2019-03-05 21:55:14Z tom.houdayer $
3
#
3
#
4
# intercept.php for ALCASAR captive portal
4
# intercept.php for ALCASAR captive portal
5
# Copyright (C) 2003, 2004 Mondru AB.
5
# Copyright (C) 2003, 2004 Mondru AB.
6
# Modify by REXY & steweb57
6
# Modify by REXY & steweb57
7
# UI & css style by stephane ERARD
7
# UI & css style by stephane ERARD
Line 99... Line 99...
99
	$l_loggedin_stringl3		= "Su actividad en la red es registrada, de conformidad con la privacidad.";
99
	$l_loggedin_stringl3		= "Su actividad en la red es registrada, de conformidad con la privacidad.";
100
	$l_loggedin_stringl4		= "Los datos registrados pueden ser capaces de ser operado por una autoridad judicial en el curso de una investigación.";
100
	$l_loggedin_stringl4		= "Los datos registrados pueden ser capaces de ser operado por una autoridad judicial en el curso de una investigación.";
101
	$l_loggedin_stringl5		= "Estos datos se eliminan automáticamente después de un año.";
101
	$l_loggedin_stringl5		= "Estos datos se eliminan automáticamente después de un año.";
102
	$l_loggedin_stringl6		= "Click <a href=\"$alcasarpath\">here</a> to change your password or to integrate the security certificate in your browser";
102
	$l_loggedin_stringl6		= "Click <a href=\"$alcasarpath\">here</a> to change your password or to integrate the security certificate in your browser";
103
	$l_loggedout_string		= "Cerrar sesión hizo portal cautivo!";
103
	$l_loggedout_string		= "Cerrar sesión hizo portal cautivo!";
104
	$l_reply_0			= "Nombre de usuario no encontrado";
104
	$l_reply_0			= "Nombre de usuario o contraseña incorrectos";
105
	$l_reply_1			= "Su cuota diaria ha sido alcanzada (duración o volumen)";
105
	$l_reply_1			= "Su cuota diaria ha sido alcanzada (duración o volumen)";
106
	$l_reply_2			= "Su cuota mensual ha sido alcanzada (duración o volumen)";
106
	$l_reply_2			= "Su cuota mensual ha sido alcanzada (duración o volumen)";
107
	$l_reply_3			= "You try to connect outside of your allowed timespan";
107
	$l_reply_3			= "You try to connect outside of your allowed timespan";
108
	$l_reply_4			= "your account expired";
108
	$l_reply_4			= "your account expired";
109
	$l_reply_5			= "You have reached the maximum number of simultaneous logins";
109
	$l_reply_5			= "You have reached the maximum number of simultaneous logins";
Line 133... Line 133...
133
	$l_loggedin_stringl3		= "A autenticação será criptografada em 256 bits, impedindo captura por escâner de rede.";
133
	$l_loggedin_stringl3		= "A autenticação será criptografada em 256 bits, impedindo captura por escâner de rede.";
134
	$l_loggedin_stringl4		= "Sua atividade na Internet será resguardada de acordo com os regulamentos da lei.";
134
	$l_loggedin_stringl4		= "Sua atividade na Internet será resguardada de acordo com os regulamentos da lei.";
135
	$l_loggedin_stringl5		= "Mantenha o popup da conexão minimizado para não interromper a cessão.";
135
	$l_loggedin_stringl5		= "Mantenha o popup da conexão minimizado para não interromper a cessão.";
136
	$l_loggedin_stringl6		= "Clique <a href=\"$alcasarpath\">aqui</a> para alterar sua senha, instalar certificado ou sair do portal.";
136
	$l_loggedin_stringl6		= "Clique <a href=\"$alcasarpath\">aqui</a> para alterar sua senha, instalar certificado ou sair do portal.";
137
	$l_loggedout_string		= "desconexão do portal cativo";
137
	$l_loggedout_string		= "desconexão do portal cativo";
138
	$l_reply_0			= "Nome de usuário não encontrado";
138
	$l_reply_0			= "Nome de usuário ou senha incorretos";
139
	$l_reply_1			= "Sua cota diária foi alcançada (duração ou volume)";
139
	$l_reply_1			= "Sua cota diária foi alcançada (duração ou volume)";
140
	$l_reply_2			= "Sua cota mensal foi atingida (duração ou volume)";
140
	$l_reply_2			= "Sua cota mensal foi atingida (duração ou volume)";
141
	$l_reply_3			= "Você tenta conectar-se fora do seu período de tempo permitido";
141
	$l_reply_3			= "Você tenta conectar-se fora do seu período de tempo permitido";
142
	$l_reply_4			= "Sua conta expirou";
142
	$l_reply_4			= "Sua conta expirou";
143
	$l_reply_5			= "Você atingiu o número máximo de logins simultâneos";
143
	$l_reply_5			= "Você atingiu o número máximo de logins simultâneos";
Line 167... Line 167...
167
	$l_loggedin_stringl3		= "您的网络活动是私密登记的.";
167
	$l_loggedin_stringl3		= "您的网络活动是私密登记的.";
168
	$l_loggedin_stringl4		= "记录的数据能被司法机关在调查中操作使用.";
168
	$l_loggedin_stringl4		= "记录的数据能被司法机关在调查中操作使用.";
169
	$l_loggedin_stringl5		= "这些数据将在一年后自动删除.";
169
	$l_loggedin_stringl5		= "这些数据将在一年后自动删除.";
170
	$l_loggedin_stringl6		= "点击 <a href=\"$alcasarpath\"> 这里 </a> 修改密码或安装浏览器安全证书";
170
	$l_loggedin_stringl6		= "点击 <a href=\"$alcasarpath\"> 这里 </a> 修改密码或安装浏览器安全证书";
171
	$l_loggedout_string		= "强制网络门户连接已断开";
171
	$l_loggedout_string		= "强制网络门户连接已断开";
172
	$l_reply_0			= "用户名未找到";
172
	$l_reply_0			= "用户名或密码无效";
173
	$l_reply_1			= "您的每日配额已达到(持续时间或数量) ";
173
	$l_reply_1			= "您的每日配额已达到(持续时间或数量) ";
174
	$l_reply_2			= "已达到每月配额(持续时间或数量)";
174
	$l_reply_2			= "已达到每月配额(持续时间或数量)";
175
	$l_reply_3			= "您尝试在授权时间以外连接";
175
	$l_reply_3			= "您尝试在授权时间以外连接";
176
	$l_reply_4			= "您的账号已过期";
176
	$l_reply_4			= "您的账号已过期";
177
	$l_reply_5			= "您已经达到同时连接的最大数量";
177
	$l_reply_5			= "您已经达到同时连接的最大数量";
Line 201... Line 201...
201
	$l_loggedin_stringl3		= "نشاطك على الشبكة مسجل وفقاً لاحترام الحريات الشخصية";
201
	$l_loggedin_stringl3		= "نشاطك على الشبكة مسجل وفقاً لاحترام الحريات الشخصية";
202
	$l_loggedin_stringl4		= "لا يمكن استغلال البيانات المسجلة إلاّ من قِبل سلطات التحقيق القضائ";
202
	$l_loggedin_stringl4		= "لا يمكن استغلال البيانات المسجلة إلاّ من قِبل سلطات التحقيق القضائ";
203
	$l_loggedin_stringl5		= "سيتم حدف هذه البيانات تلقائياً بعد سنة من الْيَوْمَ";
203
	$l_loggedin_stringl5		= "سيتم حدف هذه البيانات تلقائياً بعد سنة من الْيَوْمَ";
204
	$l_loggedin_stringl6		= "لتغيير كلمة السر أو شهادة الأمان <a href=\"$alcasarpath\">هنا</a> اضغط ";
204
	$l_loggedin_stringl6		= "لتغيير كلمة السر أو شهادة الأمان <a href=\"$alcasarpath\">هنا</a> اضغط ";
205
	$l_loggedout_string		= "تَمّ قطع الإتصال بالبوابة الأسيرة";
205
	$l_loggedout_string		= "تَمّ قطع الإتصال بالبوابة الأسيرة";
206
	$l_reply_0			= "اسم المستخدم غير موجود";
206
	$l_reply_0			= "اسم المستخدم أو كلمة المرور غير صالحة";
207
	$l_reply_1			= "تم الوصول إلى حصتك اليومية (المدة أو الحجم)";
207
	$l_reply_1			= "تم الوصول إلى حصتك اليومية (المدة أو الحجم)";
208
	$l_reply_2			= "تم الوصول إلى حصتك الشهرية (المدة أو الحجم)";
208
	$l_reply_2			= "تم الوصول إلى حصتك الشهرية (المدة أو الحجم)";
209
	$l_reply_3			= "محاولة اتصال خارج فترتك المأذونة";
209
	$l_reply_3			= "محاولة اتصال خارج فترتك المأذونة";
210
	$l_reply_4			= "انتهت مدة صلاحية حسابك";
210
	$l_reply_4			= "انتهت مدة صلاحية حسابك";
211
	$l_reply_5			= "لقد استكملت العدد الأقصى للإتصالات المتزامنة";
211
	$l_reply_5			= "لقد استكملت العدد الأقصى للإتصالات المتزامنة";
Line 235... Line 235...
235
	$l_loggedin_stringl3		= "Ihre Tätigkeit im Netzwerk registriert ist nach Schutz der Privatsphäre.";
235
	$l_loggedin_stringl3		= "Ihre Tätigkeit im Netzwerk registriert ist nach Schutz der Privatsphäre.";
236
	$l_loggedin_stringl4		= "Die gespeicherten Daten nicht pouront genutzt werden, dass von einer Justizbehörde im Rahmen einer Untersuchung.";
236
	$l_loggedin_stringl4		= "Die gespeicherten Daten nicht pouront genutzt werden, dass von einer Justizbehörde im Rahmen einer Untersuchung.";
237
	$l_loggedin_stringl5		= "Diese Daten werden automatisch gelöscht nach einem Jahr.";
237
	$l_loggedin_stringl5		= "Diese Daten werden automatisch gelöscht nach einem Jahr.";
238
	$l_loggedin_stringl6		= "Click <a href=\"$alcasarpath\">here</a> to change your password or to integrate the security certificate in your browser";
238
	$l_loggedin_stringl6		= "Click <a href=\"$alcasarpath\">here</a> to change your password or to integrate the security certificate in your browser";
239
	$l_loggedout_string		= "Trennung des Portals erfolgt Gefangener!";
239
	$l_loggedout_string		= "Trennung des Portals erfolgt Gefangener!";
240
	$l_reply_0			= "Benutzername nicht gefunden";
240
	$l_reply_0			= "Falscher Benutzername oder falsches Passwort";
241
	$l_reply_1			= "Ihr Tageskontingent wurde erreicht (Dauer oder Volumen)";
241
	$l_reply_1			= "Ihr Tageskontingent wurde erreicht (Dauer oder Volumen)";
242
	$l_reply_2			= "Ihr monatliches Kontingent wurde erreicht (Dauer oder Volumen)";
242
	$l_reply_2			= "Ihr monatliches Kontingent wurde erreicht (Dauer oder Volumen)";
243
	$l_reply_3			= "You try to connect outside of your allowed timespan";
243
	$l_reply_3			= "You try to connect outside of your allowed timespan";
244
	$l_reply_4			= "your account expired";
244
	$l_reply_4			= "your account expired";
245
	$l_reply_5			= "You have reached the maximum number of simultaneous logins";
245
	$l_reply_5			= "You have reached the maximum number of simultaneous logins";
Line 269... Line 269...
269
	$l_loggedin_stringl3		= "Uw activiteit op het netwerk is geregistreerd in overeenstemming met de persoonlijke levenssfeer.";
269
	$l_loggedin_stringl3		= "Uw activiteit op het netwerk is geregistreerd in overeenstemming met de persoonlijke levenssfeer.";
270
	$l_loggedin_stringl4		= "De geregistreerde gegevens kunnen worden kunnen worden bediend door een rechterlijke instantie in de loop van een onderzoek.";
270
	$l_loggedin_stringl4		= "De geregistreerde gegevens kunnen worden kunnen worden bediend door een rechterlijke instantie in de loop van een onderzoek.";
271
	$l_loggedin_stringl5		= "Deze gegevens worden automatisch verwijderd na een jaar.";
271
	$l_loggedin_stringl5		= "Deze gegevens worden automatisch verwijderd na een jaar.";
272
	$l_loggedin_stringl6		= "Click <a href=\"$alcasarpath\">here</a> to change your password or to integrate the security certificate in your browser";
272
	$l_loggedin_stringl6		= "Click <a href=\"$alcasarpath\">here</a> to change your password or to integrate the security certificate in your browser";
273
	$l_loggedout_string		= "Logout gemaakt intern portaal!";
273
	$l_loggedout_string		= "Logout gemaakt intern portaal!";
274
	$l_reply_0			= "Gebruikersnaam niet gevonden";
274
	$l_reply_0			= "Ongeldige gebruikersnaam of wachtwoord";
275
	$l_reply_1 			= "Uw dagelijkse quotum is bereikt (duur of volume)";
275
	$l_reply_1 			= "Uw dagelijkse quotum is bereikt (duur of volume)";
276
	$l_reply_2			= "Je maandelijkse quotum is bereikt (duur of volume)";
276
	$l_reply_2			= "Je maandelijkse quotum is bereikt (duur of volume)";
277
	$l_reply_3			= "You try to connect outside of your allowed timespan";
277
	$l_reply_3			= "You try to connect outside of your allowed timespan";
278
	$l_reply_4			= "your account expired";
278
	$l_reply_4			= "your account expired";
279
	$l_reply_5			= "You have reached the maximum number of simultaneous logins";
279
	$l_reply_5			= "You have reached the maximum number of simultaneous logins";
Line 303... Line 303...
303
	$l_loggedin_stringl3		= "Votre activité sur le réseau est enregistrée conformément au respect de la vie privée.";
303
	$l_loggedin_stringl3		= "Votre activité sur le réseau est enregistrée conformément au respect de la vie privée.";
304
	$l_loggedin_stringl4		= "Les données enregistrées ne pourront être exploitées que par une autorité judiciaire dans le cadre d'une enquête.";
304
	$l_loggedin_stringl4		= "Les données enregistrées ne pourront être exploitées que par une autorité judiciaire dans le cadre d'une enquête.";
305
	$l_loggedin_stringl5		= "Ces données seront automatiquement supprimées au bout d'un an.";
305
	$l_loggedin_stringl5		= "Ces données seront automatiquement supprimées au bout d'un an.";
306
	$l_loggedin_stringl6		= "Cliquez <a href=\"$alcasarpath\">ici</a> pour changer votre mot de passe ou pour intégrer le certificat de sécurité à votre navigateur";
306
	$l_loggedin_stringl6		= "Cliquez <a href=\"$alcasarpath\">ici</a> pour changer votre mot de passe ou pour intégrer le certificat de sécurité à votre navigateur";
307
	$l_loggedout_string		= "Déconnexion du portail captif effectuée !";
307
	$l_loggedout_string		= "Déconnexion du portail captif effectuée !";
308
	$l_reply_0			= "Identifiant inconnu";
308
	$l_reply_0			= "Nom d'utilisateur ou mot de passe incorrect";
309
	$l_reply_1			= "Votre quota journalier a été atteint (durée ou volume)";
309
	$l_reply_1			= "Votre quota journalier a été atteint (durée ou volume)";
310
	$l_reply_2			= "Votre quota mensuel a été atteint (durée ou volume)";
310
	$l_reply_2			= "Votre quota mensuel a été atteint (durée ou volume)";
311
	$l_reply_3			= "Vous tentez de vous connecter en dehors de votre période autorisée";
311
	$l_reply_3			= "Vous tentez de vous connecter en dehors de votre période autorisée";
312
	$l_reply_4			= "Votre compte a expiré";
312
	$l_reply_4			= "Votre compte a expiré";
313
	$l_reply_5			= "Vous avez atteint le nombre maximum de connexions simultanées";
313
	$l_reply_5			= "Vous avez atteint le nombre maximum de connexions simultanées";
Line 337... Line 337...
337
	$l_loggedin_stringl3		= "Your activity on the network is registered in accordance with privacy.";
337
	$l_loggedin_stringl3		= "Your activity on the network is registered in accordance with privacy.";
338
	$l_loggedin_stringl4		= "The recorded data can be able to be operated by a judicial authority in the course of an investigation.";
338
	$l_loggedin_stringl4		= "The recorded data can be able to be operated by a judicial authority in the course of an investigation.";
339
	$l_loggedin_stringl5		= "These data will be automatically deleted after one year.";
339
	$l_loggedin_stringl5		= "These data will be automatically deleted after one year.";
340
	$l_loggedin_stringl6		= "Click <a href=\"$alcasarpath\">here</a> to change your password or to integrate the security certificate in your browser";
340
	$l_loggedin_stringl6		= "Click <a href=\"$alcasarpath\">here</a> to change your password or to integrate the security certificate in your browser";
341
	$l_loggedout_string		= "Disconnection of the captive portal made";
341
	$l_loggedout_string		= "Disconnection of the captive portal made";
342
	$l_reply_0			= "Username not found";
342
	$l_reply_0			= "Incorrect username or password";
343
	$l_reply_1			= "Your daily quota has been reached (duration or volume)";
343
	$l_reply_1			= "Your daily quota has been reached (duration or volume)";
344
	$l_reply_2			= "Your monthly quota has been reached (duration or volume)";
344
	$l_reply_2			= "Your monthly quota has been reached (duration or volume)";
345
	$l_reply_3			= "You try to connect outside of your allowed timespan";
345
	$l_reply_3			= "You try to connect outside of your allowed timespan";
346
	$l_reply_4			= "your account expired";
346
	$l_reply_4			= "your account expired";
347
	$l_reply_5			= "You have reached the maximum number of simultaneous logins";
347
	$l_reply_5			= "You have reached the maximum number of simultaneous logins";
Line 416... Line 416...
416
 
416
 
417
# translation of radius replies
417
# translation of radius replies
418
if (!empty($reply)) {
418
if (!empty($reply)) {
419
	switch ($reply) {
419
	switch ($reply) {
420
		case 'Username not found'				: $reply = $l_reply_0; break;
420
		case 'Username not found'				: $reply = $l_reply_0; break;
-
 
421
		case 'Login failed'					: $reply = $l_reply_0; break;
421
		case 'Your maximum daily usage time has been reached'	: $reply = $l_reply_1; break;
422
		case 'Your maximum daily usage time has been reached'	: $reply = $l_reply_1; break;
422
		case 'Your maximum monthly usage time has been reached'	: $reply = $l_reply_2; break;
423
		case 'Your maximum monthly usage time has been reached'	: $reply = $l_reply_2; break;
423
		case 'You are calling outside your allowed timespan'	: $reply = $l_reply_3; break;
424
		case 'You are calling outside your allowed timespan'	: $reply = $l_reply_3; break;
424
		case 'Password Has Expired'				: $reply = $l_reply_4; break;
425
		case 'Password Has Expired'				: $reply = $l_reply_4; break;
425
		case 'You are already logged in - access denied'	: $reply = $l_reply_5; break;
426
		case 'You are already logged in - access denied'	: $reply = $l_reply_5; break;