Subversion Repositories ALCASAR

Rev

Rev 1805 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1805 Rev 2006
Line 13... Line 13...
13
if(!isset($mail)) $mail = '';
13
if(!isset($mail)) $mail = '';
14
if(!isset($langue_imp)) $langue_imp = '';
14
if(!isset($langue_imp)) $langue_imp = '';
15
if(!isset($selected)) $selected = array();
15
if(!isset($selected)) $selected = array();
16
if(!isset($selected['='])) $selected['='] = '';
16
if(!isset($selected['='])) $selected['='] = '';
17
 
17
 
-
 
18
//update Filter-Id for protocol filtering
-
 
19
if (isset($_POST['Filter-Proto']) && isset($_POST['Filter-Id']))
-
 
20
{
-
 
21
	$upId = (int)$_POST['Filter-Proto'];
-
 
22
	$downId = (int)$_POST['Filter-Id'];
-
 
23
	$upId = $upId+$downId;
-
 
24
	$upId = str_pad($upId, 8, '0', STR_PAD_LEFT);
-
 
25
	$_POST['Filter-Id'] = $upId;
-
 
26
}
-
 
27
 
18
require('/etc/freeradius-web/config.php');
28
require('/etc/freeradius-web/config.php');
19
if($show == 2)
29
if($show == 2)
20
{
30
{
21
	header("Location: user_new.php");
31
	header("Location: user_new.php");
22
	exit;
32
	exit;
Line 406... Line 416...
406
					if ($advanced) echo"<input type=text name=\"$name\" value=\"$val\" size=20>";
416
					if ($advanced) echo"<input type=text name=\"$name\" value=\"$val\" size=20>";
407
					break;
417
					break;
408
			}
418
			}
409
		}
419
		}
410
	}
420
	}
-
 
421
	
-
 
422
	/*protocole filter*/
-
 
423
	print <<<EOM
-
 
424
	<tr>
-
 
425
		<td class="etiquette" colspan=$colspan>
-
 
426
			$l_proto
-
 
427
		</td>
-
 
428
		<td width=20>
-
 
429
EOM;
-
 
430
/*Choix de la langue du ticket d'impression*/
-
 
431
	echo" <select name='Filter-Proto'>
-
 
432
			<option value=\"00000000\" selected>$l_proto_0</option>
-
 
433
			<option value=\"10000000\" >$l_proto_1</option>
-
 
434
			<option value=\"01000000\" >$l_proto_2</option>
-
 
435
			<option value=\"00100000\" >$l_proto_3</option>
-
 
436
		</select></td></tr>";
-
 
437
		
411
	print <<<EOM
438
	print <<<EOM
412
	<tr>
439
	<tr>
413
		<td class="etiquette" colspan=$colspan>
440
		<td class="etiquette" colspan=$colspan>
414
			$l_lang_ticket
441
			$l_lang_ticket
415
		</td>
442
		</td>