1,4 → 1,7 |
<?php |
//gestion de la langue |
if (is_file("../lib/langues.php")) |
include("../lib/langues.php"); |
require('/etc/freeradius-web/config.php'); |
if ($show == 1 && isset($del_members)){ |
header("Location: user_admin.php?login=$del_members[0]"); |
6,7 → 9,7 |
} |
if ($config[general_lib_type] != 'sql'){ |
echo <<<EOM |
<title>Page de gestion des groupes</title> |
<title>Admin_groups</title> |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
<link rel="stylesheet" href="style.css"> |
</head> |
24,7 → 27,7 |
include("../lib/$config[general_lib_type]/group_info.php"); |
if ($group_exists == 'no'){ |
echo <<<EOM |
<title>Page de gestion des groupes</title> |
<title>Admin_groups</title> |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
<link rel="stylesheet" href="style.css"> |
</head> |
45,13 → 48,13 |
|
<html> |
<head> |
<title>Page de gestion des groupes</title> |
<title>Admin_groups</title> |
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config[general_charset]?>"> |
<link rel="stylesheet" href="/css/style.css"> |
</head> |
<body> |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> |
<tr><th>Gestion des groupes</th></tr> |
<tr><th><?php echo "$l_groups_managment"; ?></th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" |
height="2"></td></tr> |
</TABLE> |
60,26 → 63,19 |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=2> |
<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> |
|
<table border=0 width=640 cellpadding=0 cellspacing=2> |
<?php |
include("../html/group_toolbar.html.php"); |
?> |
|
</table> |
<br> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<table border=0 width=620 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=200> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th> |
<font color="white">Gestion du groupe <?php echo $login ?></font> |
<font color="white"><?php echo "$l_group : $login";?></font> |
</th></tr> |
</table> |
</td></tr> |
103,7 → 99,7 |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<tr> |
<td align=right bgcolor="#d0ddb0"> |
<b>Membre(s) à effacer</b><br> (les membres sélectionnés seront effacés du groupe<br>utilisez 'shift' ou 'Ctrl' pour une sélection multiple) |
<?php echo "$l_group_members_to_remove";?> |
</td> |
<td> |
<select name=del_members[] multiple size=5> |
117,7 → 113,7 |
</tr> |
<tr> |
<td align=right bgcolor="#d0ddb0"> |
<b>Membre(s) à ajouter</b><br>(séparez les membres par un espace ou un 'retour chariot') |
<?php echo "$l_group_members_to_add";?> |
</td> |
<td> |
<textarea name=new_members cols="15" wrap="PHYSICAL" rows=5></textarea> |
125,9 → 121,9 |
</tr> |
</table> |
<br> |
<input type=submit class=button value="Effectuer les changements" OnClick="this.form.do_changes.value=1"> |
<input type=submit class=button value="<?php echo "$l_change";?>" OnClick="this.form.do_changes.value=1"> |
<br><br> |
<input type=submit class=button value="Gérer l'utilisateur sélectionné" OnClick="this.form.show.value=1"> |
<input type=submit class=button value="<?php echo "$l_manage_selected_user";?>" OnClick="this.form.show.value=1"> |
</form> |
</td></tr> |
</table> |