Subversion Repositories ALCASAR

Rev

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

Rev 2510 Rev 2512
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: user_new.php 2510 2018-03-11 14:38:39Z tom.houdayer $
2
# $Id: user_new.php 2512 2018-03-11 15:19:43Z tom.houdayer $
3
 
3
 
4
//gestion de la langue
4
//gestion de la langue
5
if (is_file("../lib/langues.php"))
5
if (is_file("../lib/langues.php"))
6
	include("../lib/langues.php");
6
	include("../lib/langues.php");
7
 
7
 
Line 293... Line 293...
293
			case 'Expiration' :
293
			case 'Expiration' :
294
				$advanced = false;
294
				$advanced = false;
295
				$help_link = "help/expiration_help.html";
295
				$help_link = "help/expiration_help.html";
296
				$desc = $l_expiration;
296
				$desc = $l_expiration;
297
				break;
297
				break;
298
			case 'ChilliSpot-Max-Input-Octets' :
298
			case 'CoovaChilli-Max-Input-Octets' :
299
				$advanced = true;
299
				$advanced = true;
300
				$help_link = "help/chillispot_max_input_octets_help.html";
300
				$help_link = "help/coovachilli_max_input_octets_help.html";
301
				$desc = $l_max_input_octets;
301
				$desc = $l_max_input_octets;
302
				break;
302
				break;
303
			case 'ChilliSpot-Max-Output-Octets' :
303
			case 'CoovaChilli-Max-Output-Octets' :
304
				$advanced = true;
304
				$advanced = true;
305
				$help_link = "help/chillispot_max_output_octets_help.html";
305
				$help_link = "help/coovachilli_max_output_octets_help.html";
306
				$desc = $l_max_output_octets;
306
				$desc = $l_max_output_octets;
307
				break;
307
				break;
308
			case 'ChilliSpot-Max-Total-Octets' :
308
			case 'CoovaChilli-Max-Total-Octets' :
309
				$advanced = true;
309
				$advanced = true;
310
				$help_link = "help/chillispot_max_total_octets_help.html";
310
				$help_link = "help/coovachilli_max_total_octets_help.html";
311
				$desc = $l_max_total_octets;
311
				$desc = $l_max_total_octets;
312
				break;
312
				break;
313
			case 'ChilliSpot-Bandwidth-Max-Up' :
313
			case 'CoovaChilli-Bandwidth-Max-Up' :
314
				$advanced = true;
314
				$advanced = true;
315
				$help_link = "help/chillispot_bandwidth_max_up_help.html";
315
				$help_link = "help/coovachilli_bandwidth_max_up_help.html";
316
				$desc = $l_max_bandwidth_up;
316
				$desc = $l_max_bandwidth_up;
317
				break;
317
				break;
318
			case 'ChilliSpot-Bandwidth-Max-Down' :
318
			case 'CoovaChilli-Bandwidth-Max-Down' :
319
				$advanced = true;
319
				$advanced = true;
320
				$help_link = "help/chillispot_bandwidth_max_down_help.html";
320
				$help_link = "help/coovachilli_bandwidth_max_down_help.html";
321
				$desc = $l_max_bandwidth_down;
321
				$desc = $l_max_bandwidth_down;
322
				break;
322
				break;
323
			case 'WISPr-Redirection-URL' :
323
			case 'WISPr-Redirection-URL' :
324
				$advanced = true;
324
				$advanced = true;
325
				$help_link = "help/wispr_redirection_url_help.html";
325
				$help_link = "help/wispr_redirection_url_help.html";
Line 369... Line 369...
369
				case 'Expiration' :
369
				case 'Expiration' :
370
				case 'Alcasar-Expire-After' :
370
				case 'Alcasar-Expire-After' :
371
					echo "<td><select name=\"$oper_name\"><option $selected[$op_eq] value=\":=\">:=</option></select></td>";
371
					echo "<td><select name=\"$oper_name\"><option $selected[$op_eq] value=\":=\">:=</option></select></td>";
372
					break;
372
					break;
373
				case 'Session-Timeout' :
373
				case 'Session-Timeout' :
374
				case 'ChilliSpot-Max-Input-Octets' :
374
				case 'CoovaChilli-Max-Input-Octets' :
375
				case 'ChilliSpot-Max-Output-Octets' :
375
				case 'CoovaChilli-Max-Output-Octets' :
376
				case 'ChilliSpot-Max-Total-Octets' :
376
				case 'CoovaChilli-Max-Total-Octets' :
377
				case 'ChilliSpot-Bandwidth-Max-Up' :
377
				case 'CoovaChilli-Bandwidth-Max-Up' :
378
				case 'ChilliSpot-Bandwidth-Max-Down' :
378
				case 'CoovaChilli-Bandwidth-Max-Down' :
379
				case 'WISPr-Redirection-URL' :
379
				case 'WISPr-Redirection-URL' :
380
				case 'Alcasar-Filter' :
380
				case 'Alcasar-Filter' :
381
				case 'Alcasar-Protocols-Filter' :
381
				case 'Alcasar-Protocols-Filter' :
382
				case 'Alcasar-Status-Page-Must-Stay-Open' :
382
				case 'Alcasar-Status-Page-Must-Stay-Open' :
383
					echo "<td><select name=\"$oper_name\"><option $selected[$op_eq] value=\"=\">=</option></select></td>";
383
					echo "<td><select name=\"$oper_name\"><option $selected[$op_eq] value=\"=\">=</option></select></td>";
Line 420... Line 420...
420
				case 'Expiration' :
420
				case 'Expiration' :
421
				case 'Alcasar-Expire-After' :
421
				case 'Alcasar-Expire-After' :
422
					echo "<input type=\"hidden\" name=\"$oper_name\" value=\":=\">";
422
					echo "<input type=\"hidden\" name=\"$oper_name\" value=\":=\">";
423
					break;
423
					break;
424
				case 'Session-Timeout' :
424
				case 'Session-Timeout' :
425
				case 'ChilliSpot-Max-Input-Octets' :
425
				case 'CoovaChilli-Max-Input-Octets' :
426
				case 'ChilliSpot-Max-Output-Octets' :
426
				case 'CoovaChilli-Max-Output-Octets' :
427
				case 'ChilliSpot-Max-Total-Octets' :
427
				case 'CoovaChilli-Max-Total-Octets' :
428
				case 'ChilliSpot-Bandwidth-Max-Up' :
428
				case 'CoovaChilli-Bandwidth-Max-Up' :
429
				case 'ChilliSpot-Bandwidth-Max-Down' :
429
				case 'CoovaChilli-Bandwidth-Max-Down' :
430
				case 'WISPr-Redirection-URL' :
430
				case 'WISPr-Redirection-URL' :
431
				case 'Alcasar-Filter' :
431
				case 'Alcasar-Filter' :
432
				case 'Alcasar-Protocols-Filter' :
432
				case 'Alcasar-Protocols-Filter' :
433
				case 'Alcasar-Status-Page-Must-Stay-Open' :
433
				case 'Alcasar-Status-Page-Must-Stay-Open' :
434
					echo "<input type=\"hidden\" name=\"$oper_name\" value=\"=\">";
434
					echo "<input type=\"hidden\" name=\"$oper_name\" value=\"=\">";