/web/acc/manager/lib/langues.php |
---|
53,7 → 53,12 |
$l_group_member = "Membre du groupe"; |
$l_group_empty = "La liste des groupes est vide"; |
$l_main_group = "Le groupe principal est surligné"; |
$l_statut ="ÉTAT"; |
$l_no_open_session = "Aucune session ouverte"; |
$l_opened_sessions = "session(s) ouverte(s)"; |
$l_active_accounting = "comptabilité(s) active(s)"; |
$l_want_to_close ="Voulez-vous les fermer ?"; |
$l_yes_close ="Oui, fermer"; |
$l_status ="ÉTAT"; |
$l_personal_info ="INFORMATIONS PERSONNELLES"; |
$l_connections ="CONNEXIONS"; |
$l_open_sessions ="SESSIONS OUVERTES"; |
136,6 → 141,11 |
$l_group_member = "Member of group"; |
$l_group_empty = "The group list is empty"; |
$l_main_group = "The main group is highlighted"; |
$l_no_open_session = "No open session"; |
$l_opened_sessions = "opened session(s)"; |
$l_active_accounting = "active accounting(s)"; |
$l_want_to_close ="Do you want to close them ?"; |
$l_yes_close ="Yes, close"; |
$l_status ="STATUS"; |
$l_personal_info ="PERSONAL INFORMATIONS"; |
$l_connections ="CONNECTIONS"; |
/web/acc/manager/htdocs/show_groups.php |
---|
91,7 → 91,7 |
} |
} |
else |
echo "<b>$l_empty_list</b>\n"; |
echo "<b>$l_group_empty</b>\n"; |
?> |
</table> |
</table> |
/web/acc/manager/htdocs/user_info.php |
---|
1,6 → 1,5 |
<?php |
//gestion de la langue |
$origine='user_info'; |
if (is_file("../lib/langues.php")) |
include("../lib/langues.php"); |
require('/etc/freeradius-web/config.php'); |
9,12 → 8,12 |
<html> |
<head> |
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config[general_charset]?>"> |
<title><?php echo "$l_title";?></title> |
<title>User personal information</title> |
<link rel="stylesheet" href="/css/style.css"> |
</head> |
<body> |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> |
<tr><th><?php echo "$l_frame_top";?></th></tr> |
<tr><th><?php echo "$l_users_managment";?></th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" |
height="2"></td></tr> |
</TABLE> |
/web/acc/manager/htdocs/clear_opensessions.php |
---|
1,10 → 1,15 |
<?php |
//gestion de la langue |
if (is_file("../lib/langues.php")) |
include("../lib/langues.php"); |
require('/etc/freeradius-web/config.php'); |
if (is_file("../lib/$config[general_lib_type]/user_info.php")) |
include("../lib/$config[general_lib_type]/user_info.php"); |
if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php")) |
include_once("../lib/sql/drivers/$config[sql_type]/functions.php"); |
else{ |
echo <<<EOM |
<title>Fermeture des sessions ouvertes pour l'utilisateur $login</title> |
<title>Clear opensession</title> |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
<link rel="stylesheet" href="style.css"> |
</head> |
20,13 → 25,13 |
echo <<<EOM |
<html> |
<head> |
<title>Fermeture des sessions ouvertes pour l'usager : $login</title> |
<title>Clear opensession</title> |
<meta http-equiv="Content-Type" content="text/html; charset=$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 usagers</th></tr> |
<tr><th>$l_users_managment</th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" |
height="2"></td></tr> |
</TABLE> |
56,7 → 61,7 |
<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">Fermeture des sessions ouvertes pour l'usager : $login</font> |
<font color="white">$l_user : $login ($cn)</font> |
</th></tr> |
</table> |
</td></tr> |
115,12 → 120,12 |
<? |
if (($open_accnt_sessions == 0) && ($open_chilli_sessions[0] == 0)) |
{ |
echo "L'usager $login n'a pas de session ouverte"; |
echo "$l_no_open_session"; |
} |
else { |
echo "L'usager '$login' a <i>$open_chilli_sessions[0]</i> session(s) ouverte(s) et <i>$open_accnt_sessions</i> comptabilité(s) actives(s)<br><br>"; |
echo "Voulez-vous les fermer?"; |
echo "<input type=submit class=button value=\"Oui, Fermer\" OnClick=\"this.form.clear_sessions.value=1\">"; |
echo "<b>$open_chilli_sessions[0]</b> $l_opened_sessions<br><b>$open_accnt_sessions</b> $l_active_accounting<br>"; |
echo "$l_want_to_close "; |
echo "<input type=submit class=button value=\"$l_yes_close\" OnClick=\"this.form.clear_sessions.value=1\">"; |
} |
?> |
</form> |
/web/acc/manager/htdocs/user_delete.php |
---|
6,12 → 6,10 |
if ($type != 'group'){ |
if (is_file("../lib/$config[general_lib_type]/user_info.php")) |
include("../lib/$config[general_lib_type]/user_info.php"); |
$origine='user_del'; |
} |
else { |
if (is_file("../lib/$config[general_lib_type]/group_info.php")) |
include("../lib/$config[general_lib_type]/group_info.php"); |
$origine='group_del'; |
} |
if (is_file("../lib/langues.php")) |
include("../lib/langues.php"); |
/web/acc/admin/auth_exceptions.php |
---|
195,7 → 195,7 |
echo "<tr><td align='center' valign='middle'>"; |
echo "<table cellspacing=2 cellpadding=2 border=1>"; |
echo "<FORM action='$_SERVER[PHP_SELF]' method='POST'>"; |
echo "<tr><th>$l_domain<th>$l_comment_explain<th>$l_remove</tr>"; |
echo "<tr align='center' bgcolor='#d0ddb0'><td>$l_domain<td>$l_comment_explain<td>$l_remove</tr>"; |
// Read the "Domain alowed" file |
$tab=file(DOMAIN_ALLOWED_LIST); |
if ($tab) # the file isn't empty |
229,17 → 229,17 |
</td><td valign='middle' align='center'> |
<form action='<?echo"$_SERVER[PHP_SELF]"?>' method='POST'> |
<table cellspacing=2 cellpadding=3 border=1> |
<tr><th><?echo "$l_domain</th><th>$l_comment_explain";?> |
<td></td></tr> |
<tr><td>exemple1 : www.mydomain.com <br>exemple2 : .yourdomain.net</td> |
<td>My domain<br><?echo "$l_comment_explain2";?></td></tr> |
<tr><td><input type='text' name='add_uamdomain' size='20'></td> |
<td><input type='text' name='add_domain_comment' size='15'></td> |
<tr align='center'><td bgcolor='#d0ddb0'><?echo "$l_domain<td bgcolor='#d0ddb0'>$l_comment_explain";?> |
<td></tr> |
<tr><td>exemple1 : www.mydomain.com <br>exemple2 : .yourdomain.net |
<td>My domain<br><?echo "$l_comment_explain2";?><td></tr> |
<tr><td><input type='text' name='add_uamdomain' size='20'> |
<td><input type='text' name='add_domain_comment' size='15'> |
<input type='hidden' name='choix' value='new_uamdomain'> |
<td><input type='submit' value='<?echo "$l_add_to_list";?>'></td> |
<td><input type='submit' value='<?echo "$l_add_to_list";?>'> |
</tr></table> |
</form> |
</td></tr> |
</tr> |
</table> |
<table width="100%" border="0" cellspacing="0" cellpadding="0"> |
<tr><th><?php echo "$l_trusted_ip" ;?></th></tr> |
252,7 → 252,7 |
echo "<tr><td align='center' valign='middle'>"; |
echo "<table cellspacing=2 cellpadding=2 border=1>"; |
echo "<FORM action='$_SERVER[PHP_SELF]' method='POST'>"; |
echo "<tr><th>$l_trusted_ip<th>$l_comment<th>$l_remove</tr>"; |
echo "<tr align='center' bgcolor='#d0ddb0'><td>$l_trusted_ip<td>$l_comment<td>$l_remove</tr>"; |
// Read the "ip alowed" file |
$tab=file(IP_ALLOWED_LIST); |
if ($tab) # the file isn't empty |
285,18 → 285,18 |
</td><td valign='middle' align='center'> |
<form action='<?echo "$_SERVER[PHP_SELF]"?>' method='POST'> |
<table cellspacing=2 cellpadding=3 border=1> |
<tr><th><?echo "$l_trusted_ip</th><th>$l_comment";?> |
<td></td></tr> |
<tr align='center'><td bgcolor='#d0ddb0'><?echo "$l_trusted_ip<td bgcolor='#d0ddb0'>$l_comment";?> |
<td></tr> |
<tr><td>exemple1 : 170.25.23.10 <br>exemple2 : 15.20.20.0/16</td> |
<td>my_web_server <br>my_dmz</td> |
<td>my_web_server <br>my_dmz<td></tr> |
<tr><td><input type='text' name='add_ip' size='20'></td> |
<td><input type='text' name='add_ip_comment' size='15'></td> |
<input type='hidden' name='choix' value='new_ip'> |
<td><input type='submit' value='<?echo "$l_add_to_list";?>'></td> |
</tr></table> |
</form> |
</td></tr> |
</table> |
</form> |
<table width="100%" border="0" cellspacing="0" cellpadding="0"> |
<tr><th><?php echo "$l_trusted_equipments";?></th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr> |