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_edit.php 2512 2018-03-11 15:19:43Z tom.houdayer $
2
# $Id: user_edit.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 266... Line 266...
266
					$grp_maxoo = $val;
266
					$grp_maxoo = $val;
267
					break;
267
					break;
268
				case 'CoovaChilli-Max-Total-Octets' :
268
				case 'CoovaChilli-Max-Total-Octets' :
269
					$grp_maxto = $val;
269
					$grp_maxto = $val;
270
					break;
270
					break;
-
 
271
				case 'CoovaChilli-Max-Total-Octets-Daily' :
-
 
272
					$grp_maxtoDaily = $val;
-
 
273
					break;
-
 
274
				case 'CoovaChilli-Max-Total-Octets-Monthly' :
-
 
275
					$grp_maxtoMonthly = $val;
-
 
276
					break;
271
				case 'CoovaChilli-Bandwidth-Max-Up' :
277
				case 'CoovaChilli-Bandwidth-Max-Up' :
272
					$grp_bwup = $val;
278
					$grp_bwup = $val;
273
					break;
279
					break;
274
				case 'CoovaChilli-Bandwidth-Max-Down' :
280
				case 'CoovaChilli-Bandwidth-Max-Down' :
275
					$grp_bwdown = $val;
281
					$grp_bwdown = $val;
Line 478... Line 484...
478
				case 'CoovaChilli-Max-Total-Octets' :
484
				case 'CoovaChilli-Max-Total-Octets' :
479
					$advanced = true;
485
					$advanced = true;
480
					$help_link = "help/coovachilli_max_total_octets_help.html";
486
					$help_link = "help/coovachilli_max_total_octets_help.html";
481
					$desc = $l_max_total_octets;
487
					$desc = $l_max_total_octets;
482
					break;
488
					break;
-
 
489
				case 'CoovaChilli-Max-Total-Octets-Daily' :
-
 
490
					$advanced = true;
-
 
491
					$help_link = "help/coovachilli_max_total_octets_help.html";
-
 
492
					$desc = $l_max_total_octets_daily;
-
 
493
					break;
-
 
494
				case 'CoovaChilli-Max-Total-Octets-Monthly' :
-
 
495
					$advanced = true;
-
 
496
					$help_link = "help/coovachilli_max_total_octets_help.html";
-
 
497
					$desc = $l_max_total_octets_monthly;
-
 
498
					break;
483
				case 'CoovaChilli-Bandwidth-Max-Up' :
499
				case 'CoovaChilli-Bandwidth-Max-Up' :
484
					$advanced = true;
500
					$advanced = true;
485
					$help_link = "help/coovachilli_bandwidth_max_up_help.html";
501
					$help_link = "help/coovachilli_bandwidth_max_up_help.html";
486
					$desc = $l_max_bandwidth_up;
502
					$desc = $l_max_bandwidth_up;
487
					break;
503
					break;
Line 537... Line 553...
537
					case 'Max-Weekly-Session' :
553
					case 'Max-Weekly-Session' :
538
					case 'Max-Monthly-Session' :
554
					case 'Max-Monthly-Session' :
539
					case 'Login-Time' :
555
					case 'Login-Time' :
540
					case 'Expiration' :
556
					case 'Expiration' :
541
					case 'Alcasar-Expire-After' :
557
					case 'Alcasar-Expire-After' :
-
 
558
					case 'CoovaChilli-Max-Total-Octets-Daily' :
-
 
559
					case 'CoovaChilli-Max-Total-Octets-Monthly' :
542
						echo "<td><select name=\"$oper_name\"><option $selected[$op_eq] value=\":=\">:=</option></select></td>";
560
						echo "<td><select name=\"$oper_name\"><option $selected[$op_eq] value=\":=\">:=</option></select></td>";
543
						break;
561
						break;
544
					case 'Session-Timeout' :
562
					case 'Session-Timeout' :
545
					case 'CoovaChilli-Max-Input-Octets' :
563
					case 'CoovaChilli-Max-Input-Octets' :
546
					case 'CoovaChilli-Max-Output-Octets' :
564
					case 'CoovaChilli-Max-Output-Octets' :
Line 588... Line 606...
588
					case 'Max-Weekly-Session' :
606
					case 'Max-Weekly-Session' :
589
					case 'Max-Monthly-Session' :
607
					case 'Max-Monthly-Session' :
590
					case 'Login-Time' :
608
					case 'Login-Time' :
591
					case 'Expiration' :
609
					case 'Expiration' :
592
					case 'Alcasar-Expire-After' :
610
					case 'Alcasar-Expire-After' :
-
 
611
					case 'CoovaChilli-Max-Total-Octets-Daily' :
-
 
612
					case 'CoovaChilli-Max-Total-Octets-Monthly' :
593
						echo "<input type=\"hidden\" name=\"$oper_name\" value=\":=\">";
613
						echo "<input type=\"hidden\" name=\"$oper_name\" value=\":=\">";
594
						break;
614
						break;
595
					case 'Session-Timeout' :
615
					case 'Session-Timeout' :
596
					case 'CoovaChilli-Max-Input-Octets' :
616
					case 'CoovaChilli-Max-Input-Octets' :
597
					case 'CoovaChilli-Max-Output-Octets' :
617
					case 'CoovaChilli-Max-Output-Octets' :
Line 661... Line 681...
661
						echo "$grp_maxoo";
681
						echo "$grp_maxoo";
662
						break;
682
						break;
663
					case 'CoovaChilli-Max-Total-Octets' :
683
					case 'CoovaChilli-Max-Total-Octets' :
664
						echo "$grp_maxto";
684
						echo "$grp_maxto";
665
						break;
685
						break;
-
 
686
					case 'CoovaChilli-Max-Total-Octets-Daily' :
-
 
687
						echo "$grp_maxtoDaily";
-
 
688
						break;
-
 
689
					case 'CoovaChilli-Max-Total-Octets-Monthly' :
-
 
690
						echo "$grp_maxtoMonthly";
-
 
691
						break;
666
					case 'CoovaChilli-Bandwidth-Max-Up' :
692
					case 'CoovaChilli-Bandwidth-Max-Up' :
667
						echo "$grp_bwup";
693
						echo "$grp_bwup";
668
						break;
694
						break;
669
					case 'CoovaChilli-Bandwidth-Max-Down' :
695
					case 'CoovaChilli-Bandwidth-Max-Down' :
670
						echo "$grp_bwdown";
696
						echo "$grp_bwdown";