Subversion Repositories ALCASAR

Rev

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

Rev 1030 Rev 1708
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: status.php 1030 2013-02-13 00:30:15Z stephane $
2
# $Id: status.php 1708 2015-11-12 11:31:09Z richard $
3
#
3
#
4
# status.php for Alcasar captive portal
4
# status.php for Alcasar captive portal
5
# by steweb57 & Rexy
5
# by steweb57 & Rexy
6
# 
6
# 
7
/****************************************************************
7
/****************************************************************
Line 89... Line 89...
89
	$l_na				= "N/A";		//à traduire
89
	$l_na				= "N/A";		//à traduire
90
	$l_error			= "error";		//à traduire
90
	$l_error			= "error";		//à traduire
91
	$l_welcome			= "Welcome";	//à traduire
91
	$l_welcome			= "Welcome";	//à traduire
92
	$l_conn_history			= "Your last $nb_connection_history connections";	//à traduire
92
	$l_conn_history			= "Your last $nb_connection_history connections";	//à traduire
93
	$l_connected 			= "logged"; //à traduire
93
	$l_connected 			= "logged"; //à traduire
94
	$l_a_connection			= "Active connection detected on LAN"; //à traduire
94
	$l_a_connection			= "You have"; //à traduire
95
	$l_a_connection_time		= "time(s)"; //à traduire
95
	$l_a_connection_time		= "active connections on the network"; //à traduire
96
}
96
}
97
else if ($Language == 'pt'){
97
else if ($Language == 'pt'){
98
	$l_login1			= "Autenticação bem sucedida.";
98
	$l_login1			= "Autenticação bem sucedida.";
99
	$l_logout			= "Fechando a conexão";
99
	$l_logout			= "Fechando a conexão";
100
	$l_logout_question		= "Tem certeza de que deseja desconectar agora?";
100
	$l_logout_question		= "Tem certeza de que deseja desconectar agora?";
Line 139... Line 139...
139
	$l_na						= "N/A";		//à traduire
139
	$l_na						= "N/A";		//à traduire
140
	$l_error					= "error";		//à traduire
140
	$l_error					= "error";		//à traduire
141
	$l_welcome					= "Welcome"; 	//à traduire
141
	$l_welcome					= "Welcome"; 	//à traduire
142
	$l_conn_history				= "Your last $nb_connection_history connections";	//à traduire
142
	$l_conn_history				= "Your last $nb_connection_history connections";	//à traduire
143
	$l_connected 			= "logged"; //à traduire 
143
	$l_connected 			= "logged"; //à traduire 
144
	$l_a_connection			= "Active connection detected on LAN"; //à traduire
144
	$l_a_connection			= "You have"; //à traduire
145
	$l_a_connection_time		= "time(s)"; //à traduire
145
	$l_a_connection_time		= "active connections on the network"; //à traduire
146
}
146
}
147
else if($Language == 'nl'){
147
else if($Language == 'nl'){
148
	$l_login1			= "Succesvolle authenticatie";
148
	$l_login1			= "Succesvolle authenticatie";
149
	$l_logout			= "Slotkoers verbinding";
149
	$l_logout			= "Slotkoers verbinding";
150
	$l_logout_question	= "Are you sure you want to disconnect now?";	//à traduire
150
	$l_logout_question	= "Are you sure you want to disconnect now?";	//à traduire
Line 164... Line 164...
164
	$l_na						= "N/A";		//à traduire
164
	$l_na						= "N/A";		//à traduire
165
	$l_error					= "error";		//à traduire
165
	$l_error					= "error";		//à traduire
166
	$l_welcome					= "Welcome";	//à traduire
166
	$l_welcome					= "Welcome";	//à traduire
167
	$l_conn_history				= "Your last $nb_connection_history connections";	//à traduire
167
	$l_conn_history				= "Your last $nb_connection_history connections";	//à traduire
168
	$l_connected 			= "logged"; //à traduire 
168
	$l_connected 			= "logged"; //à traduire 
169
	$l_a_connection			= "Active connection detected on LAN"; //à traduire
169
	$l_a_connection			= "You have"; //à traduire
170
	$l_a_connection_time		= "time(s)"; //à traduire
170
	$l_a_connection_time		= "active connections on the network"; //à traduire
171
}
171
}
172
else if($Language == 'fr'){
172
else if($Language == 'fr'){
173
	$l_login1			= "Authentification r&eacute;ussie";
173
	$l_login1			= "Authentification r&eacute;ussie";
174
	$l_logout			= "Fermeture de la session";
174
	$l_logout			= "Fermeture de la session";
175
	$l_logout_question	= "Etes vous sûr de vouloir vous déconnecter?";
175
	$l_logout_question	= "Etes vous sûr de vouloir vous déconnecter?";
Line 189... Line 189...
189
	$l_na						= "N/D";	//à traduire
189
	$l_na						= "N/D";	//à traduire
190
	$l_error					= "erreur";
190
	$l_error					= "erreur";
191
	$l_welcome					= "Bienvenue";
191
	$l_welcome					= "Bienvenue";
192
	$l_conn_history				= "Vos $nb_connection_history derni&egrave;res connexions";
192
	$l_conn_history				= "Vos $nb_connection_history derni&egrave;res connexions";
193
	$l_connected 			= "session active";  
193
	$l_connected 			= "session active";  
194
	$l_a_connection			= "Vous &ecirc;tes d&eacute;j&agrave; connect&eacute; sur le r&eacute;seau";
194
	$l_a_connection			= "Vous avez";
195
	$l_a_connection_time		= "fois";
195
	$l_a_connection_time		= "connexions actives sur le réseau";
196
}
196
}
197
else {
197
else {
198
	$l_login1			= "Successful authentication.";
198
	$l_login1			= "Successful authentication.";
199
	$l_logout			= "Closing connection";
199
	$l_logout			= "Closing connection";
200
	$l_logout_question	= "Are you sure you want to disconnect now?";
200
	$l_logout_question	= "Are you sure you want to disconnect now?";
Line 214... Line 214...
214
	$l_na						= "N/A";
214
	$l_na						= "N/A";
215
	$l_error					= "error";
215
	$l_error					= "error";
216
	$l_welcome					= "Welcome";
216
	$l_welcome					= "Welcome";
217
	$l_conn_history				= "Your last $nb_connection_history connections";
217
	$l_conn_history				= "Your last $nb_connection_history connections";
218
	$l_connected 			= "logged"; 
218
	$l_connected 			= "logged"; 
219
	$l_a_connection			= "Active connection detected on LAN";
219
	$l_a_connection			= "You have"; //à traduire
220
	$l_a_connection_time		= "time(s)";
220
	$l_a_connection_time		= "active connections on the network"; //à traduire
221
}
221
}
222
 
222
 
223
// si on a pas d'accès à la bdd, la page s'affiche quand même correctement
223
// si on a pas d'accès à la bdd, la page s'affiche quand même correctement
224
if (isset($user[5])){
224
if (isset($user[5])){
225
	if ((is_file("./acc/manager/lib/sql/drivers/mysql/functions.php"))&&(is_file("/etc/freeradius-web/config.php"))){
225
	if ((is_file("./acc/manager/lib/sql/drivers/mysql/functions.php"))&&(is_file("/etc/freeradius-web/config.php"))){