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: group_new.php 2505 2018-03-11 13:41:00Z tom.houdayer $
2
# $Id: group_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 263... Line 263...
263
			case 'Alcasar-Status-Page-Must-Stay-Open' :
263
			case 'Alcasar-Status-Page-Must-Stay-Open' :
264
				$advanced = false;
264
				$advanced = false;
265
				$help_link = "help/statusOpenRequired_help.html";
265
				$help_link = "help/statusOpenRequired_help.html";
266
				$desc = $l_statusOpenRequired;
266
				$desc = $l_statusOpenRequired;
267
				break;
267
				break;
-
 
268
			case 'Alcasar-Expire-After' :
-
 
269
				$advanced = false;
-
 
270
				$help_link = "help/max_all_session_help.html";
-
 
271
				$desc = $l_max_all_session;
-
 
272
				break;
268
			default:
273
			default:
269
				$advanced = true;
274
				$advanced = true;
270
				break;
275
				break;
271
		}
276
		}
272
 
277
 
Line 285... Line 290...
285
				case 'Max-Daily-Session' :
290
				case 'Max-Daily-Session' :
286
				case 'Max-Weekly-Session' :
291
				case 'Max-Weekly-Session' :
287
				case 'Max-Monthly-Session' :
292
				case 'Max-Monthly-Session' :
288
				case 'Login-Time' :
293
				case 'Login-Time' :
289
				case 'Expiration' :
294
				case 'Expiration' :
-
 
295
				case 'Alcasar-Expire-After' :
290
					echo "<td><select name=\"$oper_name\"><option $selected[$op_eq] value=\":=\">:=";
296
					echo "<td><select name=\"$oper_name\"><option $selected[$op_eq] value=\":=\">:=";
291
					break;
297
					break;
292
				case 'Session-Timeout' :
298
				case 'Session-Timeout' :
293
				case 'ChilliSpot-Max-Input-Octets' :
299
				case 'ChilliSpot-Max-Input-Octets' :
294
				case 'ChilliSpot-Max-Output-Octets' :
300
				case 'ChilliSpot-Max-Output-Octets' :
Line 338... Line 344...
338
				case 'Login-Time' :
344
				case 'Login-Time' :
339
				case 'Expiration' :
345
				case 'Expiration' :
340
				case 'Alcasar-Filter' :
346
				case 'Alcasar-Filter' :
341
				case 'Alcasar-Protocols-Filter' :
347
				case 'Alcasar-Protocols-Filter' :
342
				case 'Alcasar-Status-Page-Must-Stay-Open' :
348
				case 'Alcasar-Status-Page-Must-Stay-Open' :
-
 
349
				case 'Alcasar-Expire-After' :
343
					echo "<input type=\"hidden\" name=\"$oper_name\" value=\":=\">";
350
					echo "<input type=\"hidden\" name=\"$oper_name\" value=\":=\">";
344
					break;
351
					break;
345
				case 'Session-Timeout' :
352
				case 'Session-Timeout' :
346
				case 'ChilliSpot-Max-Input-Octets' :
353
				case 'ChilliSpot-Max-Input-Octets' :
347
				case 'ChilliSpot-Max-Output-Octets' :
354
				case 'ChilliSpot-Max-Output-Octets' :
Line 397... Line 404...
397
						<option value=\"H\" >H</option>
404
						<option value=\"H\" >H</option>
398
					</select>";
405
					</select>";
399
				break;
406
				break;
400
			case 'Max-Monthly-Session' :
407
			case 'Max-Monthly-Session' :
401
			case 'Max-All-Session' :
408
			case 'Max-All-Session' :
-
 
409
			case 'Alcasar-Expire-After' :
402
				/*valeur d'origine de durée limite */
410
				/*valeur d'origine de durée limite */
403
				echo"<input type=\"text\" name=\"$name\" onfocus=\"this.value=''\" value=\"$val\" size=10>";
411
				echo"<input type=\"text\" name=\"$name\" onfocus=\"this.value=''\" value=\"$val\" size=10>";
404
				/* Choix d'unité*/
412
				/* Choix d'unité*/
405
				echo" <select name=\"$name"."_opt"."\" onchange=\"temps(this,'$name','newgroup')\">
413
				echo" <select name=\"$name"."_opt"."\" onchange=\"temps(this,'$name','newgroup')\">
406
						<option value=\"s\" selected>s</option>
414
						<option value=\"s\" selected>s</option>