3,7 → 3,6 |
$origine='user_edit'; |
if (is_file("../lib/langues.php")) |
include("../lib/langues.php"); |
echo "$l_simultaneous_use"; |
require('/etc/freeradius-web/config.php'); |
require('../lib/attrshow.php'); |
require('../lib/defaults.php'); |
33,21 → 32,10 |
$show_ops = 0; |
$colspan=1; |
} |
|
|
echo <<<EOM |
?> |
<html> |
<head> |
EOM; |
|
if ($user_type != 'group'){ |
echo " <title>subscription configuration for $login ($cn)</title>\n"; |
$util = "usagers";} |
else{ |
echo " <title>subscription configuration for $login</title>\n"; |
$util = "groupes";} |
?> |
|
<title>subscription configuration for users and groups</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"> |
66,7 → 54,11 |
</head> |
<body> |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> |
<tr><th>Gestion des <?php echo $util?></th></tr> |
<tr><th> |
<?php |
if ($user_type != 'group'){ echo "$l_users_managment";} else{ echo "$l_groups_managment";} |
?> |
</th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" |
height="2"></td></tr> |
</TABLE> |
83,12 → 75,12 |
if ($user_type != 'group') |
{ |
include("../html/user_toolbar.html.php"); |
$titre="de l'usager"; |
$titre=$l_user; |
} |
else |
{ |
include("../html/group_toolbar.html.php"); |
$titre="du groupe"; |
$titre=$l_group; |
} |
print <<<EOM |
</table> |
99,7 → 91,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">Attributs $titre : $login</font> |
<font color="white">$titre : $login</font> |
</th></tr> |
</table> |
</td></tr> |