5,6 → 5,16 |
if (is_file("../lib/langues.php")) |
include("../lib/langues.php"); |
|
//update Filter-Id for protocol filtering |
if (isset($_POST['Filter-Proto']) && isset($_POST['Filter-Id'])) |
{ |
$upId = (int)$_POST['Filter-Proto']; |
$downId = (int)$_POST['Filter-Id']; |
$upId = $upId+$downId; |
$upId = str_pad($upId, 8, '0', STR_PAD_LEFT); |
$_POST['Filter-Id'] = $upId; |
} |
|
require('/etc/freeradius-web/config.php'); |
|
if (!isset ($create)) $create=0; |
15,16 → 25,6 |
require('../lib/defaults.php'); |
require("../lib/$config[general_lib_type]/group_info.php"); |
|
//update Filter-Id for protocol filtering |
if (isset($_POST['Filter-Proto']) && isset($_POST['Filter-Id'])) |
{ |
$upId = (int)$_POST['Filter-Proto']; |
$downId = (int)$_POST['Filter-Id']; |
$upId = $upId+$downId; |
$upId = str_pad($upId, 8, '0', STR_PAD_LEFT); |
$_POST['Filter-Id'] = $upId; |
} |
|
if ($config['general_lib_type'] != 'sql'){ |
echo <<<EOM |
<title>$l_title</title> |