Subversion Repositories ALCASAR

Rev

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

Rev 2510 Rev 2512
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: group_new.php 2510 2018-03-11 14:38:39Z tom.houdayer $
2
# $Id: group_new.php 2512 2018-03-11 15:19:43Z 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 218... Line 218...
218
			case 'Expiration' :
218
			case 'Expiration' :
219
				$advanced = false;
219
				$advanced = false;
220
				$help_link = "help/expiration_help.html";
220
				$help_link = "help/expiration_help.html";
221
				$desc = $l_expiration;
221
				$desc = $l_expiration;
222
				break;
222
				break;
223
			case 'ChilliSpot-Max-Input-Octets' :
223
			case 'CoovaChilli-Max-Input-Octets' :
224
				$advanced = true;
224
				$advanced = true;
225
				$help_link = "help/chillispot_max_input_octets_help.html";
225
				$help_link = "help/coovachilli_max_input_octets_help.html";
226
				$desc = $l_max_input_octets;
226
				$desc = $l_max_input_octets;
227
				break;
227
				break;
228
			case 'ChilliSpot-Max-Output-Octets' :
228
			case 'CoovaChilli-Max-Output-Octets' :
229
				$advanced = true;
229
				$advanced = true;
230
				$help_link = "help/chillispot_max_output_octets_help.html";
230
				$help_link = "help/coovachilli_max_output_octets_help.html";
231
				$desc = $l_max_output_octets;
231
				$desc = $l_max_output_octets;
232
				break;
232
				break;
233
			case 'ChilliSpot-Max-Total-Octets' :
233
			case 'CoovaChilli-Max-Total-Octets' :
234
				$advanced = true;
234
				$advanced = true;
235
				$help_link = "help/chillispot_max_total_octets_help.html";
235
				$help_link = "help/coovachilli_max_total_octets_help.html";
236
				$desc = $l_max_total_octets;
236
				$desc = $l_max_total_octets;
237
				break;
237
				break;
238
			case 'ChilliSpot-Bandwidth-Max-Up' :
238
			case 'CoovaChilli-Bandwidth-Max-Up' :
239
				$advanced = true;
239
				$advanced = true;
240
				$help_link = "help/chillispot_bandwidth_max_up_help.html";
240
				$help_link = "help/coovachilli_bandwidth_max_up_help.html";
241
				$desc = $l_max_bandwidth_up;
241
				$desc = $l_max_bandwidth_up;
242
				break;
242
				break;
243
			case 'ChilliSpot-Bandwidth-Max-Down' :
243
			case 'CoovaChilli-Bandwidth-Max-Down' :
244
				$advanced = true;
244
				$advanced = true;
245
				$help_link = "help/chillispot_bandwidth_max_down_help.html";
245
				$help_link = "help/coovachilli_bandwidth_max_down_help.html";
246
				$desc = $l_max_bandwidth_down;
246
				$desc = $l_max_bandwidth_down;
247
				break;
247
				break;
248
			case 'WISPr-Redirection-URL' :
248
			case 'WISPr-Redirection-URL' :
249
				$advanced = true;
249
				$advanced = true;
250
				$help_link = "help/wispr_redirection_url_help.html";
250
				$help_link = "help/wispr_redirection_url_help.html";
Line 294... Line 294...
294
				case 'Expiration' :
294
				case 'Expiration' :
295
				case 'Alcasar-Expire-After' :
295
				case 'Alcasar-Expire-After' :
296
					echo "<td><select name=\"$oper_name\"><option $selected[$op_eq] value=\":=\">:=";
296
					echo "<td><select name=\"$oper_name\"><option $selected[$op_eq] value=\":=\">:=";
297
					break;
297
					break;
298
				case 'Session-Timeout' :
298
				case 'Session-Timeout' :
299
				case 'ChilliSpot-Max-Input-Octets' :
299
				case 'CoovaChilli-Max-Input-Octets' :
300
				case 'ChilliSpot-Max-Output-Octets' :
300
				case 'CoovaChilli-Max-Output-Octets' :
301
				case 'ChilliSpot-Max-Total-Octets' :
301
				case 'CoovaChilli-Max-Total-Octets' :
302
				case 'ChilliSpot-Bandwidth-Max-Up' :
302
				case 'CoovaChilli-Bandwidth-Max-Up' :
303
				case 'ChilliSpot-Bandwidth-Max-Down' :
303
				case 'CoovaChilli-Bandwidth-Max-Down' :
304
				case 'WISPr-Redirection-URL' :
304
				case 'WISPr-Redirection-URL' :
305
				case 'Alcasar-Filter' :
305
				case 'Alcasar-Filter' :
306
				case 'Alcasar-Protocols-Filter' :
306
				case 'Alcasar-Protocols-Filter' :
307
				case 'Alcasar-Status-Page-Must-Stay-Open' :
307
				case 'Alcasar-Status-Page-Must-Stay-Open' :
308
					echo "<td><select name=\"$oper_name\"><option $selected[$op_eq] value=\"=\">=";
308
					echo "<td><select name=\"$oper_name\"><option $selected[$op_eq] value=\"=\">=";
Line 348... Line 348...
348
				case 'Alcasar-Status-Page-Must-Stay-Open' :
348
				case 'Alcasar-Status-Page-Must-Stay-Open' :
349
				case 'Alcasar-Expire-After' :
349
				case 'Alcasar-Expire-After' :
350
					echo "<input type=\"hidden\" name=\"$oper_name\" value=\":=\">";
350
					echo "<input type=\"hidden\" name=\"$oper_name\" value=\":=\">";
351
					break;
351
					break;
352
				case 'Session-Timeout' :
352
				case 'Session-Timeout' :
353
				case 'ChilliSpot-Max-Input-Octets' :
353
				case 'CoovaChilli-Max-Input-Octets' :
354
				case 'ChilliSpot-Max-Output-Octets' :
354
				case 'CoovaChilli-Max-Output-Octets' :
355
				case 'ChilliSpot-Max-Total-Octets' :
355
				case 'CoovaChilli-Max-Total-Octets' :
356
				case 'ChilliSpot-Bandwidth-Max-Up' :
356
				case 'CoovaChilli-Bandwidth-Max-Up' :
357
				case 'ChilliSpot-Bandwidth-Max-Down' :
357
				case 'CoovaChilli-Bandwidth-Max-Down' :
358
				case 'WISPr-Redirection-URL' :
358
				case 'WISPr-Redirection-URL' :
359
					echo "<input type=\"hidden\" name=\"$oper_name\" value=\"=\">";
359
					echo "<input type=\"hidden\" name=\"$oper_name\" value=\"=\">";
360
					break;
360
					break;
361
				default :
361
				default :
362
					print <<<EOM
362
					print <<<EOM