Subversion Repositories ALCASAR

Rev

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

Rev 2505 Rev 2510
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: user_new.php 2505 2018-03-11 13:41:00Z tom.houdayer $
2
# $Id: user_new.php 2510 2018-03-11 14:38:39Z 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 338... Line 338...
338
			case 'Alcasar-Status-Page-Must-Stay-Open' :
338
			case 'Alcasar-Status-Page-Must-Stay-Open' :
339
				$advanced = false;
339
				$advanced = false;
340
				$help_link = "help/statusOpenRequired_help.html";
340
				$help_link = "help/statusOpenRequired_help.html";
341
				$desc = $l_statusOpenRequired;
341
				$desc = $l_statusOpenRequired;
342
				break;
342
				break;
-
 
343
			case 'Alcasar-Expire-After' :
-
 
344
				$advanced = false;
-
 
345
				$help_link = "help/max_all_session_help.html";
-
 
346
				$desc = $l_max_all_session;
-
 
347
				break;
343
			default:
348
			default:
344
				$advanced = true;
349
				$advanced = true;
345
				break;
350
				break;
346
		}
351
		}
347
 
352
 
Line 360... Line 365...
360
				case 'Max-Daily-Session' :
365
				case 'Max-Daily-Session' :
361
				case 'Max-Weekly-Session' :
366
				case 'Max-Weekly-Session' :
362
				case 'Max-Monthly-Session' :
367
				case 'Max-Monthly-Session' :
363
				case 'Login-Time' :
368
				case 'Login-Time' :
364
				case 'Expiration' :
369
				case 'Expiration' :
-
 
370
				case 'Alcasar-Expire-After' :
365
					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>";
366
					break;
372
					break;
367
				case 'Session-Timeout' :
373
				case 'Session-Timeout' :
368
				case 'ChilliSpot-Max-Input-Octets' :
374
				case 'ChilliSpot-Max-Input-Octets' :
369
				case 'ChilliSpot-Max-Output-Octets' :
375
				case 'ChilliSpot-Max-Output-Octets' :
Line 410... Line 416...
410
				case 'Max-Daily-Session' :
416
				case 'Max-Daily-Session' :
411
				case 'Max-Weekly-Session' :
417
				case 'Max-Weekly-Session' :
412
				case 'Max-Monthly-Session' :
418
				case 'Max-Monthly-Session' :
413
				case 'Login-Time' :
419
				case 'Login-Time' :
414
				case 'Expiration' :
420
				case 'Expiration' :
-
 
421
				case 'Alcasar-Expire-After' :
415
					echo "<input type=\"hidden\" name=\"$oper_name\" value=\":=\">";
422
					echo "<input type=\"hidden\" name=\"$oper_name\" value=\":=\">";
416
					break;
423
					break;
417
				case 'Session-Timeout' :
424
				case 'Session-Timeout' :
418
				case 'ChilliSpot-Max-Input-Octets' :
425
				case 'ChilliSpot-Max-Input-Octets' :
419
				case 'ChilliSpot-Max-Output-Octets' :
426
				case 'ChilliSpot-Max-Output-Octets' :
Line 471... Line 478...
471
							<option value=\"H\" >H</option>
478
							<option value=\"H\" >H</option>
472
						</select>";
479
						</select>";
473
					break;
480
					break;
474
				case 'Max-Monthly-Session' :
481
				case 'Max-Monthly-Session' :
475
				case 'Max-All-Session' :
482
				case 'Max-All-Session' :
-
 
483
				case 'Alcasar-Expire-After' :
476
					/*valeur d'origine de durée limite */
484
					/*valeur d'origine de durée limite */
477
					echo"<input type=\"text\" name=\"$name\" onfocus=\"this.value=''\" value=\"$val\" size=10>";
485
					echo"<input type=\"text\" name=\"$name\" onfocus=\"this.value=''\" value=\"$val\" size=10>";
478
					/* Choix d'unité*/
486
					/* Choix d'unité*/
479
					echo" <select name=\"$name"."_opt"."\" onchange=\"temps(this,'$name','newuser')\">
487
					echo" <select name=\"$name"."_opt"."\" onchange=\"temps(this,'$name','newuser')\">
480
							<option value=\"s\" selected>s</option>
488
							<option value=\"s\" selected>s</option>