4,10 → 4,6 |
if (is_file("../lib/langues.php")) |
include("../lib/langues.php"); |
require('/etc/freeradius-web/config.php'); |
if ($show == 1){ |
header("Location: user_admin.php?login=$login"); |
exit; |
} |
if($show == 2) |
{ |
header("Location: user_new.php"); |
147,6 → 143,7 |
<input type=hidden name=langue_imp value='fr'> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<?php |
if($create==0){ |
echo <<<EOM |
<tr> |
<td class="etiquette" colspan=$colspan> |
278,6 → 275,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; |
299,6 → 301,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' : |
370,18 → 375,20 |
/*Ajout du calendrier pour choisir la date*/ |
echo"<input id=\"popup_container\" type=text name=\"$name\" value=\"$val\" size=20>"; |
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=20>"; |
break; |
} |
}else{ |
/*Pas de gestion de remplissage lors de la visualisation*/ |
if ($advanced) echo"<input type=text name=\"$name\" value=\"$val\" size=20>"; |
|
/*fin Ajout*/ |
} |
} |
if (create==0){ |
print <<<EOM |
<tr> |
<td class="etiquette" colspan=$colspan> |
404,7 → 411,7 |
if($create == 1) |
{ |
echo "<a href=\"ticket.pdf\">Ticket</a><br>"; |
echo "<input type=submit class=button value=\"$l_show_profile\" OnClick=\"this.form.show.value=1\">"; |
echo "<center><a href=\"user_admin.php?login=$login\">$l_show_profile</a></center>"; |
} |
else |
{ |