Subversion Repositories ALCASAR

Rev

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

Rev 2512 Rev 2513
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: user_new.php 2512 2018-03-11 15:19:43Z tom.houdayer $
2
# $Id: user_new.php 2513 2018-03-11 16:13:17Z 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 308... Line 308...
308
			case 'CoovaChilli-Max-Total-Octets' :
308
			case 'CoovaChilli-Max-Total-Octets' :
309
				$advanced = true;
309
				$advanced = true;
310
				$help_link = "help/coovachilli_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 'CoovaChilli-Max-Total-Octets-Daily' :
-
 
314
				$advanced = true;
-
 
315
				$help_link = "help/coovachilli_max_total_octets_help.html";
-
 
316
				$desc = $l_max_total_octets_daily;
-
 
317
				break;
-
 
318
			case 'CoovaChilli-Max-Total-Octets-Monthly' :
-
 
319
				$advanced = true;
-
 
320
				$help_link = "help/coovachilli_max_total_octets_help.html";
-
 
321
				$desc = $l_max_total_octets_monthly;
-
 
322
				break;
313
			case 'CoovaChilli-Bandwidth-Max-Up' :
323
			case 'CoovaChilli-Bandwidth-Max-Up' :
314
				$advanced = true;
324
				$advanced = true;
315
				$help_link = "help/coovachilli_bandwidth_max_up_help.html";
325
				$help_link = "help/coovachilli_bandwidth_max_up_help.html";
316
				$desc = $l_max_bandwidth_up;
326
				$desc = $l_max_bandwidth_up;
317
				break;
327
				break;
Line 366... Line 376...
366
				case 'Max-Weekly-Session' :
376
				case 'Max-Weekly-Session' :
367
				case 'Max-Monthly-Session' :
377
				case 'Max-Monthly-Session' :
368
				case 'Login-Time' :
378
				case 'Login-Time' :
369
				case 'Expiration' :
379
				case 'Expiration' :
370
				case 'Alcasar-Expire-After' :
380
				case 'Alcasar-Expire-After' :
-
 
381
				case 'CoovaChilli-Max-Total-Octets-Daily' :
-
 
382
				case 'CoovaChilli-Max-Total-Octets-Monthly' :
371
					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>";
372
					break;
384
					break;
373
				case 'Session-Timeout' :
385
				case 'Session-Timeout' :
374
				case 'CoovaChilli-Max-Input-Octets' :
386
				case 'CoovaChilli-Max-Input-Octets' :
375
				case 'CoovaChilli-Max-Output-Octets' :
387
				case 'CoovaChilli-Max-Output-Octets' :
Line 417... Line 429...
417
				case 'Max-Weekly-Session' :
429
				case 'Max-Weekly-Session' :
418
				case 'Max-Monthly-Session' :
430
				case 'Max-Monthly-Session' :
419
				case 'Login-Time' :
431
				case 'Login-Time' :
420
				case 'Expiration' :
432
				case 'Expiration' :
421
				case 'Alcasar-Expire-After' :
433
				case 'Alcasar-Expire-After' :
-
 
434
				case 'CoovaChilli-Max-Total-Octets-Daily' :
-
 
435
				case 'CoovaChilli-Max-Total-Octets-Monthly' :
422
					echo "<input type=\"hidden\" name=\"$oper_name\" value=\":=\">";
436
					echo "<input type=\"hidden\" name=\"$oper_name\" value=\":=\">";
423
					break;
437
					break;
424
				case 'Session-Timeout' :
438
				case 'Session-Timeout' :
425
				case 'CoovaChilli-Max-Input-Octets' :
439
				case 'CoovaChilli-Max-Input-Octets' :
426
				case 'CoovaChilli-Max-Output-Octets' :
440
				case 'CoovaChilli-Max-Output-Octets' :