Subversion Repositories ALCASAR

Rev

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

Rev 2595 Rev 2618
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: user_new.php 2595 2018-08-19 23:26:36Z tom.houdayer $
2
# $Id: user_new.php 2618 2018-08-22 21:52:19Z 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 260... Line 260...
260
				$advanced = false;
260
				$advanced = false;
261
				$help_link = "help/simultaneous_use_help.html";
261
				$help_link = "help/simultaneous_use_help.html";
262
				$desc = $l_simultaneous_use;
262
				$desc = $l_simultaneous_use;
263
				break;
263
				break;
264
			case 'Max-All-Session' :
264
			case 'Max-All-Session' :
265
				$advanced = false;
265
				$advanced = true;
266
				$help_link = "help/max_all_session_help.html";
266
				$help_link = "help/max_all_session_help.html";
267
				$desc = $l_max_all_session;
267
				$desc = $l_max_all_session;
268
				break;
268
				break;
269
			case 'Session-Timeout' :
269
			case 'Session-Timeout' :
270
				$advanced = true;
270
				$advanced = true;
Line 374... Line 374...
374
				case 'Login-Time' :
374
				case 'Login-Time' :
375
				case 'Expiration' :
375
				case 'Expiration' :
376
				case 'Alcasar-Expire-After' :
376
				case 'Alcasar-Expire-After' :
377
				case 'CoovaChilli-Max-Total-Octets-Daily' :
377
				case 'CoovaChilli-Max-Total-Octets-Daily' :
378
				case 'CoovaChilli-Max-Total-Octets-Monthly' :
378
				case 'CoovaChilli-Max-Total-Octets-Monthly' :
-
 
379
				case 'CoovaChilli-Max-Total-Octets' :
379
					echo "<td><select name=\"$oper_name\"><option $selected[$op_eq] value=\":=\">:=</option></select></td>";
380
					echo "<td><select name=\"$oper_name\"><option $selected[$op_eq] value=\":=\">:=</option></select></td>";
380
					break;
381
					break;
381
				case 'Session-Timeout' :
382
				case 'Session-Timeout' :
382
				case 'CoovaChilli-Max-Input-Octets' :
383
				case 'CoovaChilli-Max-Input-Octets' :
383
				case 'CoovaChilli-Max-Output-Octets' :
384
				case 'CoovaChilli-Max-Output-Octets' :
384
				case 'CoovaChilli-Max-Total-Octets' :
-
 
385
				case 'CoovaChilli-Bandwidth-Max-Up' :
385
				case 'CoovaChilli-Bandwidth-Max-Up' :
386
				case 'CoovaChilli-Bandwidth-Max-Down' :
386
				case 'CoovaChilli-Bandwidth-Max-Down' :
387
				case 'WISPr-Redirection-URL' :
387
				case 'WISPr-Redirection-URL' :
388
				case 'Alcasar-Filter' :
388
				case 'Alcasar-Filter' :
389
				case 'Alcasar-Protocols-Filter' :
389
				case 'Alcasar-Protocols-Filter' :
Line 427... Line 427...
427
				case 'Login-Time' :
427
				case 'Login-Time' :
428
				case 'Expiration' :
428
				case 'Expiration' :
429
				case 'Alcasar-Expire-After' :
429
				case 'Alcasar-Expire-After' :
430
				case 'CoovaChilli-Max-Total-Octets-Daily' :
430
				case 'CoovaChilli-Max-Total-Octets-Daily' :
431
				case 'CoovaChilli-Max-Total-Octets-Monthly' :
431
				case 'CoovaChilli-Max-Total-Octets-Monthly' :
-
 
432
				case 'CoovaChilli-Max-Total-Octets' :
432
					echo "<input type=\"hidden\" name=\"$oper_name\" value=\":=\">";
433
					echo "<input type=\"hidden\" name=\"$oper_name\" value=\":=\">";
433
					break;
434
					break;
434
				case 'Session-Timeout' :
435
				case 'Session-Timeout' :
435
				case 'CoovaChilli-Max-Input-Octets' :
436
				case 'CoovaChilli-Max-Input-Octets' :
436
				case 'CoovaChilli-Max-Output-Octets' :
437
				case 'CoovaChilli-Max-Output-Octets' :
437
				case 'CoovaChilli-Max-Total-Octets' :
-
 
438
				case 'CoovaChilli-Bandwidth-Max-Up' :
438
				case 'CoovaChilli-Bandwidth-Max-Up' :
439
				case 'CoovaChilli-Bandwidth-Max-Down' :
439
				case 'CoovaChilli-Bandwidth-Max-Down' :
440
				case 'WISPr-Redirection-URL' :
440
				case 'WISPr-Redirection-URL' :
441
				case 'Alcasar-Filter' :
441
				case 'Alcasar-Filter' :
442
				case 'Alcasar-Protocols-Filter' :
442
				case 'Alcasar-Protocols-Filter' :