/web/status.php |
---|
92,6 → 92,31 |
$l_a_connection = "Active connection detected on LAN"; //à traduire |
$l_a_connection_time = "time(s)"; //à traduire |
} |
else if ($Language == 'pt'){ |
$l_login1 = "Autenticação bem sucedida."; |
$l_logout = "Fechando a conexão"; |
$l_logout_question = "Tem certeza de que deseja desconectar agora?"; |
$l_loggedout = "Sua conexão foi fechada"; |
$l_wait = "Por favor, aguarde um momento ..."; |
$l_state_label = "Estado"; |
$l_session_id_label = "Sessão ID"; |
$l_max_session_time_label = "Tempo da Sessão Max"; |
$l_max_idle_time_label = "Hora Max Idle"; |
$l_start_time_label = "Inicio de hora"; |
$l_session_time_label = "Tempo de Sessão"; |
$l_idle_time_label = "Tempo de Espera"; |
$l_downloaded_label = "Transferido"; |
$l_uploaded_label = "Carregado"; |
$l_original_url_label = "URL Original"; |
$l_not_available = "Não disponível"; |
$l_na = "N/A"; |
$l_error = "Erro"; |
$l_welcome = "Bem vindo"; |
$l_conn_history = "Suas últimos conexões R $nb_connection_history"; |
$l_connected = "Logado"; |
$l_a_connection = "Conexão ativa detectada na LAN"; |
$l_a_connection_time = "Tempo (s)"; |
} |
else if($Language == 'de'){ |
$l_login1 = "Erfolgreiche Authentifizierung"; |
$l_logout = "Beenden der Verbindung"; |
/web/index.php |
---|
95,6 → 95,41 |
$l_password_change_explain = "Vous redirige sur la page de changement du mot de passe de votre compte d'accès à internet.<br><br>Vous devez avoir un compte internet valide."; |
$l_back_page = "<a href=\"javascript:history.back()\">Page précédente</a>"; |
} |
else if($Language == 'pt'){ |
$l_access_denied = "Acesso negado"; |
$l_access_welcome = "Bem-vindo ao Alcasar"; |
$l_access_unavailable = "ACESSO INDISPONÍVEL"; |
$l_required_domain = "Site WEB Obrigatório"; |
$l_explain_acc_access = "Este é o centro de controle do portal para acessar você deve ter uma conta administrativa."; |
$l_explain_access_deny = "Você tenta se conectar a um recurso cujo conteúdo é considerado inadequado no conteúdo de informações."; |
$l_explain_net_pb = "O portal detectou que o acesso à Internet é de risco"; |
$l_contact_access_deny = "Entre em contato com o administrador do sistema de segurança se acha que essa filtragem é abusiva."; |
$l_contact_net_pb = "Entre em contato com a empresa fornecedora de Internet para mais informações"; |
$l_welcome = "Essa é a página do portal captive principal"; |
$l_acc_access = "<a href=\"https://$hostname/acc\">ALCASAR Control Center</a>"; |
$l_install_certif = "<a href=\"$cert_add/certificat_alcasar_ca.crt\">Instalar Certificado Alcasar AC</a>"; |
$l_install_certif_more = "<a href=\"$cert_add/certificat_alcasar_ca.cert\">Instalar Certificado Alcasar AC</a>"; |
$l_certif_explain = "O certificado Permiti a troca de dados seguro entre seu computador e o portal Alcasar.<BR>Se este certificado não estiver incorporado no seu computador, alguns alertas de segurança deverá aparecer no navegador.<br><br>"; |
$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">Complementary help</a>"; |
if ((isset ($user[4])) && ($user[4] == "0")) { |
$l_logout_explain = "No Internet consultation session is actualy open on your system"; |
$l_logout = "<a href=\"http://www.google.pt\">Open an Internet session</a>";} |
else { |
if ($user[5] != $user[0]) // authentication exception or not |
{ |
$l_logout_explain = "Close the session of the user actualy connecterd.<br> User logged-on : <a href=\"http://$hostname:3990/logoff\" title=\"Disconnect user $user[5]\"><b>$user[5]</b></a><br><br>$nb_connection_history last connections :$connection_history"; |
$l_logout = "<a href=\"http://$hostname:3990/logoff\">Logoff from internet</a>"; |
} |
else |
{ |
$l_logout_explain = "Your system ($user[5]) is in exception of authentication.<br><br>$nb_connection_history last connections :$connection_history"; |
$l_logout = "Connections information"; |
} |
} |
$l_password_change = "<a href=\"https://$hostname/pass\">Change your password</a>"; |
$l_password_change_explain = "Redirect you on password change page.<br><br> You should already have an Internet access account."; |
$l_back_page = "<a href=\"javascript:history.back()\">Previous page</a>"; |
} |
else { |
$l_access_denied = "ACCESS DENIED"; |
$l_access_welcome = "Welcome on ALCASAR"; |
113,7 → 148,7 |
$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">Complementary help</a>"; |
if ((isset ($user[4])) && ($user[4] == "0")) { |
$l_logout_explain = "No Internet consultation session is actualy open on your system"; |
$l_logout = "<a href=\"http://www.google.fr\">Open an Internet session</a>";} |
$l_logout = "<a href=\"http://www.google.com\">Open an Internet session</a>";} |
else { |
if ($user[5] != $user[0]) // authentication exception or not |
{ |
/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> |
/web/pass/index.php |
---|
10,7 → 10,7 |
$current_page = $_SERVER['PHP_SELF']; |
# Choice of language |
$Language = 'fr'; |
$Language = 'en'; |
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){ |
$Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']); |
$Language = strtolower(substr(chop($Langue[0]),0,2)); } |
27,20 → 27,20 |
$R_form_result1 = "Your password has been successfuly changed"; |
$R_form_result2 = "Error when trying to change password"; |
$R_retour = "ALCASAR home page";} |
if($Language == 'de'){ |
$R_title = "User password change"; |
$R_form_l1 = "User"; |
$R_form_l2 = "Old password"; |
$R_form_l3 = "New password"; |
$R_form_l4 = "New password (confirmation)"; |
$R_eval_pass = "Score :"; |
else if ($Language == 'pt'){ |
$R_title = "Alteração de senha do usuário"; |
$R_form_l1 = "Usuário"; |
$R_form_l2 = "Senha antiga"; |
$R_form_l3 = "Nova senha"; |
$R_form_l4 = "Nova senha (confirmação)"; |
$R_eval_pass = "Resultado:"; |
$R_passwordmeter = "Powered by 'Shibbo Password Analyser'</a>"; |
$R_form_button_valid = "Modify"; |
$R_form_button_retour = "Cancel"; |
$R_form_result1 = "Your password has been successfuly changed"; |
$R_form_result2 = "Error when trying to change password"; |
$R_retour = "ALCASAR home page";} |
if($Language == 'nl'){ |
$R_form_button_valid = "Modificar"; |
$R_form_button_retour = "Cancelar"; |
$R_form_result1 = "Sua senha foi alterada com sucesso"; |
$R_form_result2 = "Erro ao tentar alterar a senha"; |
$R_retour = "Home page Alcasar";} |
else if($Language == 'de'){ |
$R_title = "User password change"; |
$R_form_l1 = "User"; |
$R_form_l2 = "Old password"; |
53,7 → 53,7 |
$R_form_result1 = "Your password has been successfuly changed"; |
$R_form_result2 = "Error when trying to change password"; |
$R_retour = "ALCASAR home page";} |
if($Language == 'en'){ |
else if($Language == 'nl'){ |
$R_title = "User password change"; |
$R_form_l1 = "User"; |
$R_form_l2 = "Old password"; |
66,7 → 66,7 |
$R_form_result1 = "Your password has been successfuly changed"; |
$R_form_result2 = "Error when trying to change password"; |
$R_retour = "ALCASAR home page";} |
if($Language == 'fr'){ |
else if($Language == 'fr'){ |
$R_title = "Changement de mot de passe utilisateur"; |
$R_form_l1 = "Utilisateur :"; |
$R_form_l2 = "Ancien mot de passe :"; |
78,7 → 78,20 |
$R_form_button_retour = "Annuler"; |
$R_form_result1 = "Votre mot de passe a été modifié avec succès"; |
$R_form_result2 = "Erreur de changement de mot de passe"; |
$R_retour = "Retour à la page d'accueil ALCASAR"; |
$R_retour = "Retour à la page d'accueil ALCASAR";} |
else { |
$R_title = "User password change"; |
$R_form_l1 = "User"; |
$R_form_l2 = "Old password"; |
$R_form_l3 = "New password"; |
$R_form_l4 = "New password (confirmation)"; |
$R_eval_pass = "Score :"; |
$R_passwordmeter = "Powered by 'Shibbo Password Analyser'</a>"; |
$R_form_button_valid = "Modify"; |
$R_form_button_retour = "Cancel"; |
$R_form_result1 = "Your password has been successfuly changed"; |
$R_form_result2 = "Error when trying to change password"; |
$R_retour = "ALCASAR home page"; |
} |
echo " |
<html> |