3,12 → 3,7 |
//Gestion de la langue |
if (is_file("../lib/langues.php")) |
include("../lib/langues.php"); |
|
require('/etc/freeradius-web/config.php'); |
if ($show == 1){ |
header("Location: group_admin.php?login=$login"); |
exit; |
} |
|
if ($config[general_lib_type] != 'sql'){ |
echo <<<EOM |
64,7 → 59,7 |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=2> |
<tr><td valign="middle" align="left"> |
<center> |
<table border=0 width=550 cellpadding=1 cellspacing=1> |
<table border=0 width=750 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=200> |
94,6 → 89,7 |
include("../lib/$config[general_lib_type]/group_info.php"); |
} |
} |
if ($create == 0){ |
?> |
<form name="newgroup" method=post> |
<input type=hidden name=create value="0"> |
128,7 → 124,7 |
<td class="etiquette" colspan=$colspan> |
$l_group_members |
</td><td> |
<textarea name=members cols="15" wrap="PHYSICAL" rows=5></textarea> |
<textarea name=members cols="50" wrap="PHYSICAL" rows=5></textarea> |
</td> |
</tr> |
|
207,6 → 203,11 |
$help_link="help/wispr_redirection_url_help.html"; |
$desc=$l_wispr_redirection; |
break; |
case 'Filter-Id' : |
$advanced=1; |
$help_link="help/filtering_help.html"; |
$desc=$l_filtering; |
break; |
default: |
$advanced=1; |
break; |
236,6 → 237,9 |
case 'Expiration' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'Filter-Id' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'Session-Timeout' : |
case 'ChilliSpot-Max-Input-Octets' : |
case 'ChilliSpot-Max-Output-Octets' : |
268,6 → 272,7 |
break; |
} |
} |
|
/* |
Ajout du choix d'unité (pour les durées limites de session, journée et de mois) |
et d'un calendrier pour la date d'expiration |
297,20 → 302,26 |
/*Ajout du calendrier pour choisir la date*/ |
echo"<input id=\"popup_container\" type=text name=\"$name\" value=\"$val\" size=35>"; |
break; |
case 'Filter-Id' : |
echo "<select name='Filter-Id'>"; |
echo "<option>$l_filtering_none</option>"; |
echo "<option value=\"00000001\">$l_filtering_havp</option>"; |
echo "<option value=\"00000011\">$l_filtering_havp_bl</option>"; |
echo "<option value=\"00000101\">$l_filtering_havp_wl</option>"; |
echo "</select>"; |
break; |
default : |
if ($advanced) echo"<input type=text name=\"$name\" value=\"$val\" size=35>"; |
break; |
} |
}else{ |
/*Pas de gestion de remplissage lors de la visualisation*/ |
if ($advanced) echo"<input type=text name=\"$name\" value=\"$val\" size=35>"; |
} |
/*fin Ajout*/ |
} |
echo "</table><BR>"; |
} |
if ($create == 1) |
echo "<input type=submit class=button value=\"$l_show_profile\" OnClick=\"this.form.show.value=1\">"; |
else |
echo "<br/><center><a href=\"group_admin.php?login=$login\">$l_show_profile</a></center>"; |
else |
echo "<input type=submit class=button value=\"$l_create\" OnClick=\"return formControl('newgroup');\">"; |
?> |
<br><br> |