Subversion Repositories ALCASAR

Rev

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

Rev 2070 Rev 2073
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: status.php 2070 2016-11-13 17:47:06Z richard $
2
# $Id: status.php 2073 2016-11-27 21:08:07Z 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 85... Line 85...
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
88
	$l_original_url_label		= "Original URL";	// to translate
88
	$l_original_url_label		= "Original URL";	// to translate
89
	$l_not_available		= "Not available";	// to translate
89
	$l_not_available		= "Not available";	// to translate
90
	$l_na				= "N/A";		// to translate
-
 
91
	$l_error			= "error";		// to translate
90
	$l_error			= "error";		// to translate
92
	$l_welcome			= "Welcome";	// to translate
91
	$l_welcome			= "Welcome";	// to translate
93
	$l_conn_history			= "Your last $nb_connection_history connections";	// to translate
92
	$l_conn_history			= "Your last $nb_connection_history connections";	// to translate
94
	$l_connected 			= "logged"; // to translate
93
	$l_connected 			= "logged"; // to translate
95
	$l_a_connection			= "You have"; // to translate
94
	$l_a_connection			= "You have"; // to translate
Line 110... Line 109...
110
	$l_idle_time_label		= "闲置时间";
109
	$l_idle_time_label		= "闲置时间";
111
	$l_downloaded_label		= "数据下载";
110
	$l_downloaded_label		= "数据下载";
112
	$l_uploaded_label		= "数据上传";
111
	$l_uploaded_label		= "数据上传";
113
	$l_original_url_label		= "初始网址";
112
	$l_original_url_label		= "初始网址";
114
	$l_not_available		= "不可用";
113
	$l_not_available		= "不可用";
115
	$l_na				= "N/A";
-
 
116
	$l_error			= "出错";
114
	$l_error			= "出错";
117
	$l_welcome			= "欢迎";
115
	$l_welcome			= "欢迎";
118
	$l_conn_history			= "您最近的$nb_connection_history次连接";
116
	$l_conn_history			= "您最近的$nb_connection_history次连接";
119
	$l_connected 			= "已登录";  
117
	$l_connected 			= "已登录";  
120
	$l_a_connection			= "您已经有";
118
	$l_a_connection			= "您已经有";
Line 135... Line 133...
135
	$l_idle_time_label		= "Tempo de Espera";
133
	$l_idle_time_label		= "Tempo de Espera";
136
	$l_downloaded_label		= "Recebidos";
134
	$l_downloaded_label		= "Recebidos";
137
	$l_uploaded_label		= "Enviados";
135
	$l_uploaded_label		= "Enviados";
138
	$l_original_url_label		= "URL Original";
136
	$l_original_url_label		= "URL Original";
139
	$l_not_available		= "Não disponível";
137
	$l_not_available		= "Não disponível";
140
	$l_na				= "N/A";
-
 
141
	$l_error			= "Erro";
138
	$l_error			= "Erro";
142
	$l_welcome			= "Bem-vindo(a)";
139
	$l_welcome			= "Bem-vindo(a)";
143
	$l_conn_history			= "Suas últimos conexões : $nb_connection_history";
140
	$l_conn_history			= "Suas últimos conexões : $nb_connection_history";
144
	$l_connected 			= "Conectado"; 
141
	$l_connected 			= "Conectado"; 
145
	$l_a_connection			= "Conexão ativa já detectada para essa LAN";
142
	$l_a_connection			= "Conexão ativa já detectada para essa LAN";
146
	$l_a_connection_time		= "Tempo (s)";
143
	$l_a_connection_time		= "Tempo (s)";
147
}
144
}
148
else if($Language == 'de'){
145
else if($Language == 'de'){
149
	$l_login1			= "Erfolgreiche Authentifizierung";
146
	$l_login1			= "Erfolgreiche Authentifizierung";
150
	$l_logout			= "Beenden der Verbindung";
147
	$l_logout			= "Beenden der Verbindung";
151
	$l_logout_question		= "Are you sure you want to disconnect now?";	// to translate
148
	$l_logout_question		= "Möchten Sie die Verbindung jetzt wirklich trennen?"
152
	$l_loggedout			= "Ihre Sitzung ist geschlossen";
149
	$l_loggedout			= "Ihre Sitzung ist geschlossen";
153
	$l_wait				= "Bitte warten Sie einen Moment ...";
150
	$l_wait				= "Bitte warten Sie einen Moment ...";
154
	$l_state_label			= "State";		// to translate
151
	$l_state_label			= "State";		// to translate
155
	$l_session_id_label		= "Session ID";	// to translate
152
	$l_session_id_label		= "Session ID";	// to translate
156
	$l_max_session_time_label	= "Max Session Time";	// to translate
153
	$l_max_session_time_label	= "Max Session Time";	// to translate
Line 160... Line 157...
160
	$l_idle_time_label		= "Idle Time";	// to translate
157
	$l_idle_time_label		= "Idle Time";	// to translate
161
	$l_downloaded_label		= "Downloaded";	// to translate
158
	$l_downloaded_label		= "Downloaded";	// to translate
162
	$l_uploaded_label		= "Uploaded";	// to translate
159
	$l_uploaded_label		= "Uploaded";	// to translate
163
	$l_original_url_label		= "Original URL";	// to translate
160
	$l_original_url_label		= "Original URL";	// to translate
164
	$l_not_available		= "Not available";	// to translate
161
	$l_not_available		= "Not available";	// to translate
165
	$l_na				= "N/A";		// to translate
-
 
166
	$l_error			= "error";		// to translate
162
	$l_error			= "error";		// to translate
167
	$l_welcome			= "Welcome"; 	// to translate
163
	$l_welcome			= "Welcome"; 	// to translate
168
	$l_conn_history			= "Your last $nb_connection_history connections";	// to translate
164
	$l_conn_history			= "Your last $nb_connection_history connections";	// to translate
169
	$l_connected 			= "logged"; // to translate 
165
	$l_connected 			= "logged"; // to translate 
170
	$l_a_connection			= "You have"; // to translate
166
	$l_a_connection			= "You have"; // to translate
171
	$l_a_connection_time		= "active connections on the network"; // to translate
167
	$l_a_connection_time		= "active connections on the network"; // to translate
172
}
168
}
173
else if($Language == 'nl'){
169
else if($Language == 'nl'){
174
	$l_login1			= "Succesvolle authenticatie";
170
	$l_login1			= "Succesvolle authenticatie";
175
	$l_logout			= "Slotkoers verbinding";
171
	$l_logout			= "Slotkoers verbinding";
176
	$l_logout_question		= "Are you sure you want to disconnect now?";	// to translate
172
	$l_logout_question		= "Bent u zeker dat u wilt nu los te koppelen?";
177
	$l_loggedout			= "Uw sessie is gesloten";
173
	$l_loggedout			= "Uw sessie is gesloten";
178
	$l_wait				= "Wacht een moment ...";
174
	$l_wait				= "Wacht een moment ...";
179
	$l_state_label			= "State";		// to translate
175
	$l_state_label			= "State";		// to translate
180
	$l_session_id_label		= "Session ID";	// to translate
176
	$l_session_id_label		= "Session ID";	// to translate
181
	$l_max_session_time_label	= "Max Session Time";	// to translate
177
	$l_max_session_time_label	= "Max Session Time";	// to translate
Line 185... Line 181...
185
	$l_idle_time_label		= "Idle Time";	// to translate
181
	$l_idle_time_label		= "Idle Time";	// to translate
186
	$l_downloaded_label		= "Downloaded";	// to translate
182
	$l_downloaded_label		= "Downloaded";	// to translate
187
	$l_uploaded_label		= "Uploaded";	// to translate
183
	$l_uploaded_label		= "Uploaded";	// to translate
188
	$l_original_url_label		= "Original URL";	// to translate
184
	$l_original_url_label		= "Original URL";	// to translate
189
	$l_not_available		= "Not available";	// to translate
185
	$l_not_available		= "Not available";	// to translate
190
	$l_na				= "N/A";		// to translate
-
 
191
	$l_error			= "error";		// to translate
186
	$l_error			= "error";		// to translate
192
	$l_welcome			= "Welcome";	// to translate
187
	$l_welcome			= "Welcome";	// to translate
193
	$l_conn_history			= "Your last $nb_connection_history connections";	// to translate
188
	$l_conn_history			= "Your last $nb_connection_history connections";	// to translate
194
	$l_connected 			= "logged"; // to translate 
189
	$l_connected 			= "logged"; // to translate 
195
	$l_a_connection			= "You have"; // to translate
190
	$l_a_connection			= "You have"; // to translate
Line 210... Line 205...
210
	$l_idle_time_label		= "Inactivité";
205
	$l_idle_time_label		= "Inactivité";
211
	$l_downloaded_label		= "Données téléchargées";
206
	$l_downloaded_label		= "Données téléchargées";
212
	$l_uploaded_label		= "Données envoyées";
207
	$l_uploaded_label		= "Données envoyées";
213
	$l_original_url_label		= "URL demandée";
208
	$l_original_url_label		= "URL demandée";
214
	$l_not_available		= "Non disponible";
209
	$l_not_available		= "Non disponible";
215
	$l_na				= "N/D";	// to translate
-
 
216
	$l_error			= "erreur";
210
	$l_error			= "erreur";
217
	$l_welcome			= "Bienvenue";
211
	$l_welcome			= "Bienvenue";
218
	$l_conn_history			= "Vos $nb_connection_history dernières connexions";
212
	$l_conn_history			= "Vos $nb_connection_history dernières connexions";
219
	$l_connected 			= "session active";  
213
	$l_connected 			= "session active";  
220
	$l_a_connection			= "Vous avez";
214
	$l_a_connection			= "Vous avez";
Line 235... Line 229...
235
	$l_idle_time_label		= "Idle Time";
229
	$l_idle_time_label		= "Idle Time";
236
	$l_downloaded_label		= "Downloaded";
230
	$l_downloaded_label		= "Downloaded";
237
	$l_uploaded_label		= "Uploaded";
231
	$l_uploaded_label		= "Uploaded";
238
	$l_original_url_label		= "Original URL";
232
	$l_original_url_label		= "Original URL";
239
	$l_not_available		= "Not available";
233
	$l_not_available		= "Not available";
240
	$l_na				= "N/A";
-
 
241
	$l_error			= "error";
234
	$l_error			= "error";
242
	$l_welcome			= "Welcome";
235
	$l_welcome			= "Welcome";
243
	$l_conn_history			= "Your last $nb_connection_history connections";
236
	$l_conn_history			= "Your last $nb_connection_history connections";
244
	$l_connected 			= "logged"; 
237
	$l_connected 			= "logged"; 
245
	$l_a_connection			= "You have";
238
	$l_a_connection			= "You have";
Line 407... Line 400...
407
					<td id="idleTimeLabel" class="chilliLabel"><?php echo $l_idle_time_label; ?></td>
400
					<td id="idleTimeLabel" class="chilliLabel"><?php echo $l_idle_time_label; ?></td>
408
					<td id="idleTime" class="chilliValue"><?php echo $l_not_available; ?></td>
401
					<td id="idleTime" class="chilliValue"><?php echo $l_not_available; ?></td>
409
				</tr>
402
				</tr>
410
				<tr id="inputOctetsRow">
403
				<tr id="inputOctetsRow">
411
					<td id="inputOctetsLabel" class="chilliLabel"><?php echo $l_downloaded_label; ?></td>
404
					<td id="inputOctetsLabel" class="chilliLabel"><?php echo $l_downloaded_label; ?></td>
412
					<td id="inputOctets" class="chilliValue"><?php echo $l_na; ?></td>
405
					<td id="inputOctets" class="chilliValue"><?php echo $l_not_available; ?></td>
413
				</tr>
406
				</tr>
414
				<tr id="outputOctetsRow">
407
				<tr id="outputOctetsRow">
415
					<td id="outputOctetsLabel" class="chilliLabel"><?php echo $l_uploaded_label; ?></td>
408
					<td id="outputOctetsLabel" class="chilliLabel"><?php echo $l_uploaded_label; ?></td>
416
					<td id="outputOctets" class="chilliValue"><?php echo $l_na; ?></td>
409
					<td id="outputOctets" class="chilliValue"><?php echo $l_not_available; ?></td>
417
				</tr>
410
				</tr>
418
<!--tr id="originalURLRow">
411
<!--tr id="originalURLRow">
419
<td id="originalURLLabel" class="chilliLabel"><?php echo $l_original_url_label; ?></td>
412
<td id="originalURLLabel" class="chilliLabel"><?php echo $l_original_url_label; ?></td>
420
<td id="originalURL" class="chilliValue"><?php echo $l_na; ?></td>
413
<td id="originalURL" class="chilliValue"><?php echo $l_not_available; ?></td>
421
</tr-->
414
</tr-->
422
				<tr>
415
				<tr>
423
					<td colspan=2 id="conHistoryLabel" class="chilliLabel"><?php echo $l_conn_history; ?></td>
416
					<td colspan=2 id="conHistoryLabel" class="chilliLabel"><?php echo $l_conn_history; ?></td>
424
				</tr>
417
				</tr>
425
				<tr id="conHistoryRow">
418
				<tr id="conHistoryRow">