Subversion Repositories ALCASAR

Rev

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

Rev 2064 Rev 2066
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: status.php 2064 2016-11-05 08:11:03Z richard $
2
# $Id: status.php 2066 2016-11-11 18:24:08Z 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 71... Line 71...
71
  $Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
71
  $Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
72
  $Language = strtolower(substr(chop($Langue[0]),0,2)); }
72
  $Language = strtolower(substr(chop($Langue[0]),0,2)); }
73
if($Language == 'es'){
73
if($Language == 'es'){
74
	$l_login1			= "El éxito de la autenticación";
74
	$l_login1			= "El éxito de la autenticación";
75
	$l_logout			= "Conexión de cierre";
75
	$l_logout			= "Conexión de cierre";
76
	$l_logout_question		= "Are you sure you want to disconnect now?";	// to translate
76
	$l_logout_question		= "¿Seguro que desea desconectar?";
77
	$l_loggedout			= "Su sesión se cierra";
77
	$l_loggedout			= "Su sesión se cierra";
78
	$l_wait				= "Por favor, espere un momento ...";
78
	$l_wait				= "Por favor, espere un momento ...";
79
	$l_state_label			= "State";		// to translate
79
	$l_state_label			= "Estado";
80
	$l_session_id_label		= "Session ID";	// to translate
80
	$l_session_id_label		= "Sesión ID";
81
	$l_max_session_time_label	= "Max Session Time";	// to translate
81
	$l_max_session_time_label	= "Tiempo máximo de sesión";
82
	$l_max_idle_time_label		= "Max Idle Time";		// to translate
82
	$l_max_idle_time_label		= "Tiempo de inactividad autorizado";
83
	$l_start_time_label		= "Start Time";	// to translate
83
	$l_start_time_label		= "Start Time";	// to translate
84
	$l_session_time_label		= "Tiempo de conexión";
84
	$l_session_time_label		= "Tiempo de conexión";
85
	$l_idle_time_label		= "Idle Time";	// to translate
85
	$l_idle_time_label		= "Idle Time";	// to translate
86
	$l_downloaded_label		= "Downloaded";	// to translate
86
	$l_downloaded_label		= "Downloaded";	// to translate
87
	$l_uploaded_label		= "Uploaded";	// to translate
87
	$l_uploaded_label		= "Uploaded";	// to translate
Line 93... Line 93...
93
	$l_conn_history			= "Your last $nb_connection_history connections";	// to translate
93
	$l_conn_history			= "Your last $nb_connection_history connections";	// to translate
94
	$l_connected 			= "logged"; // to translate
94
	$l_connected 			= "logged"; // to translate
95
	$l_a_connection			= "You have"; // to translate
95
	$l_a_connection			= "You have"; // to translate
96
	$l_a_connection_time		= "active connections on the network"; // to translate
96
	$l_a_connection_time		= "active connections on the network"; // to translate
97
}
97
}
-
 
98
else if($language == 'cn'){
-
 
99
	$l_login1			= "验证通过";
-
 
100
	$l_logout			= "关闭连接";
-
 
101
	$l_logout_question		= "您确定需要断开连接吗?";
-
 
102
	$l_loggedout			= "您已登出";
-
 
103
	$l_wait				= "请等待 ...";
-
 
104
	$l_state_label			= "连接状态";
-
 
105
	$l_session_id_label		= "连接ID";
-
 
106
	$l_max_session_time_label	= "最大连接时间";
-
 
107
	$l_max_idle_time_label		= "最大闲置时间";
-
 
108
	$l_start_time_label		= "起始连接时间";
-
 
109
	$l_session_time_label		= "连接时间";
-
 
110
	$l_idle_time_label		= "闲置时间";
-
 
111
	$l_downloaded_label		= "数据下载";
-
 
112
	$l_uploaded_label		= "数据上传";
-
 
113
	$l_original_url_label		= "初始网址";
-
 
114
	$l_not_available		= "不可用";
-
 
115
	$l_na				= "N/A";
-
 
116
	$l_error			= "出错";
-
 
117
	$l_welcome			= "欢迎";
-
 
118
	$l_conn_history			= "您最近的$nb_connection_history次连接";
-
 
119
	$l_connected 			= "已登录";  
-
 
120
	$l_a_connection			= "您已经有";
-
 
121
	$l_a_connection_time		= "在线时间";
-
 
122
}
98
else if ($Language == 'pt'){
123
else if ($Language == 'pt'){
99
	$l_login1			= "Autenticação bem sucedida.";
124
	$l_login1			= "Autenticação bem sucedida.";
100
	$l_logout			= "Fechando a conexão";
125
	$l_logout			= "Fechando a conexão";
101
	$l_logout_question		= "Tem certeza de que deseja desconectar agora?";
126
	$l_logout_question		= "Tem certeza de que deseja desconectar agora?";
102
	$l_loggedout			= "Sua conexão será fechada";
127
	$l_loggedout			= "Sua conexão será fechada";
Line 171... Line 196...
171
	$l_a_connection_time		= "active connections on the network"; // to translate
196
	$l_a_connection_time		= "active connections on the network"; // to translate
172
}
197
}
173
else if($Language == 'fr'){
198
else if($Language == 'fr'){
174
	$l_login1			= "Authentification réussie";
199
	$l_login1			= "Authentification réussie";
175
	$l_logout			= "Fermeture de la session";
200
	$l_logout			= "Fermeture de la session";
176
	$l_logout_question		= "Etes vous sûr de vouloir vous déconnecter?";
201
	$l_logout_question		= "Êtes vous sûr de vouloir vous déconnecter?";
177
	$l_loggedout			= "Votre session est fermée";
202
	$l_loggedout			= "Votre session est fermée";
178
	$l_wait				= "Patientez un instant ....";
203
	$l_wait				= "Patientez un instant ....";
179
	$l_state_label			= "Etat";
204
	$l_state_label			= "État";
180
	$l_session_id_label		= "Session ID";
205
	$l_session_id_label		= "Session ID";
181
	$l_max_session_time_label	= "Temps de connexion autorisé";
206
	$l_max_session_time_label	= "Temps de connexion autorisé";
182
	$l_max_idle_time_label		= "Inactivité max. autorisée";
207
	$l_max_idle_time_label		= "Temps d'inactivité autorisé";
183
	$l_start_time_label		= "Début de connexion";
208
	$l_start_time_label		= "Début de connexion";
184
	$l_session_time_label		= "Durée de connexion";
209
	$l_session_time_label		= "Durée de connexion";
185
	$l_idle_time_label		= "Inactivité";
210
	$l_idle_time_label		= "Inactivité";
186
	$l_downloaded_label		= "Données téléchargées";
211
	$l_downloaded_label		= "Données téléchargées";
187
	$l_uploaded_label		= "Données envoyées";
212
	$l_uploaded_label		= "Données envoyées";