6,12 → 6,10 |
require('/etc/freeradius-web/config.php'); |
require('../lib/attrshow.php'); |
require('../lib/defaults.php'); |
$extra_text = ''; |
if ($user_type != 'group'){ |
if (is_file("../lib/$config[general_lib_type]/user_info.php")) |
include("../lib/$config[general_lib_type]/user_info.php"); |
if ($config[general_lib_type] == 'sql' && $config[sql_show_all_groups] == 'true'){ |
$extra_text = "<br><font size=-2><i>(le groupe auquel apartient l'usager est surligné)</i></font>"; |
$saved_login = $login; |
$login = ''; |
if (is_file("../lib/sql/group_info.php")) |
35,7 → 33,7 |
?> |
<html> |
<head> |
<title>subscription configuration for users and groups</title> |
<title><?php echo "$l_title";?></title> |
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config[general_charset]?>"> |
<link rel="stylesheet" href="/css/style.css"> |
<script language="javascript" type="text/javascript"> |
65,11 → 63,6 |
<TABLE width="100%" border=1 cellspacing=0 cellpadding=1> |
<tr><td valign="middle" align="left"> |
<center> |
<table border=0 width=550 cellpadding=0 cellspacing=0> |
<tr valign=top> |
<!--<td align=center><img src="images/title2.gif"></td>--> |
</tr> |
</table> |
<table border=0 width=400 cellpadding=0 cellspacing=2> |
<?php |
if ($user_type != 'group') |
91,7 → 84,7 |
<td bgcolor="black" width=25% align=right> |
<table border=0 width="200" cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=center valign=top><th> |
<font color="white">$titre : $login</font> |
<font color="white">$titre : $login ($cn)</font> |
</th></tr> |
</table> |
</td></tr> |
352,7 → 345,7 |
echo <<<EOM |
<tr> |
<td align=right colspan=$colspan bgcolor="#d0ddb0"> |
Membre de $extra_text |
$l_group_member<br><font size=-2><i>($l_main_group)</i></font> |
</td> |
<td> |
EOM; |
376,7 → 369,7 |
} |
} |
echo "</table><br>"; |
echo "<input type=submit class=button value=Change OnClick=\"this.form.change.value=1\">"; |
echo "<input type=submit class=button value=$l_change OnClick=\"this.form.change.value=1\">"; |
//if ($user_type != 'group'){ |
// echo <<<EOM |
//<br><br> |