Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2818 → Rev 2819

/web/index.php
153,24 → 153,20
$l_contact_net_pb = "Contactez votre responsable informatique ou votre prestataire Internet pour plus d'information.";
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">Créer votre compte par SMS</a>";
$l_install_certif = "Installer le certificat racine";
$l_install_certif_more = "Installation du certificat de l'autorité racine d'ALCASAR";
$l_certif_explain = "Permet une communication sécurisées entre vous et ALCASAR.<br>";
$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">Aide complémentaire</a>";
$l_category = "catégorie :";
if (!$user->connected) {
$l_logout_explain = "Aucune session n'est actuellement ouverte";
$l_logout = "<a href=\"//$hostname/index.php?url=$redirect_link\">Ouvrir une session Internet</a>";
$l_logout = "<a href=\"//$hostname/index.php?url=$redirect_link\">Ouvrir une session</a>";
} else {
if ($user->username != $user->mac) { // authentication exception or not
$l_logout_explain = "Ferme la session de l'usager actuellement connecté. <br><br>Utilisateur connecté : <a href=\"$logout_link\" title=\"Deconnecter l'utilisateur $user->username\"><b>$user->username</b></a><br><br>$nb_connection_history dernières connexions :$connection_history";
$l_logout_explain = "Utilisateur connecté : <a href=\"$logout_link\" title=\"Deconnecter l'utilisateur $user->username\"><b>$user->username</b></a><br><br>$nb_connection_history dernières connexions :$connection_history";
$l_logout = "<a href=\"$logout_link\">Se déconnecter d'internet</a>";
} else {
$l_logout_explain = "Votre système ($user->username) est en exception d'authentication.<br><br>$nb_connection_history dernières connexions :$connection_history";
$l_logout = "Information des connexions";
$l_logout = "<a href=\"\">Information des connexions</a>";
}
}
$l_password_change = "<a href=\"https://$hostname/password.php\">Changer votre mot de passe</a>";
$l_password_change_explain = "Vous devez avoir un compte internet valide.";
$l_back_page = "<a href=\"javascript:history.back()\">Page précédente</a>";
$l_explain_warn = "L'administrateur a créé une archive contenant vos journaux de connexion dans le cadre d'une affaire judiciaire.";
if (isset($_GET['url'])) {
196,9 → 192,6
$l_contact_net_pb = "Entre em contato com a empresa fornecedora de Internet para mais informações";
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">Crie a conta por SMS</a>";
$l_install_certif = "Instalar Certificado Alcasar AC";
$l_install_certif_more = "Instalar Certificado Alcasar AC";
$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\">Essa foi uma ajuda complementar</a>";
$l_category = "categoria :";
if (!$user->connected) {
$l_logout_explain = "Não há conexão de Internet aberta em seu computador, deseja conectar?";
205,15 → 198,14
$l_logout = "<a href=\"//$hostname/index.php?url=$redirect_link\">Abrir uma conexão de Internet</a>";
} else {
if ($user->username != $user->mac) { // authentication exception or not
$l_logout_explain = "Se desejar, feche a conexão do usuário atual conectado.<br> Usuário conectado : <a href=\"$logout_link\" title=\"Disconnect user $user->username\"><b>$user->username</b></a><br><br>$nb_connection_history logins últimos :$connection_history";
$l_logout_explain = "Usuário conectado : <a href=\"$logout_link\" title=\"Disconnect user $user->username\"><b>$user->username</b></a><br><br>$nb_connection_history logins últimos :$connection_history";
$l_logout = "<a href=\"$logout_link\">Sair da Internet</a>";
} else {
$l_logout_explain = "O sistema ($user->username) detctou exesso de autenticação.<br><br>$nb_connection_history logins últimos :$connection_history";
$l_logout = "Informações de conexões";
$l_logout = "<a href=\"\">Informações de conexões</a>";
}
}
$l_password_change = "<a href=\"https://$hostname/password.php\">Mudar sua senha</a>";
$l_password_change_explain = "Você será redirecionado à página de alteração de senha.<br><br> e deverá ter uma conta de usuário valido para efetuar a troca e acessar à Internet.";
$l_back_page = "<a href=\"javascript:history.back()\">Página anterior</a>";
$l_explain_warn = "El administrador ha creado un archivo que contiene los periódicos de inicio de sesión como parte de un proceso judicial.";
if (isset($_GET['url'])) {
239,9 → 231,6
$l_contact_net_pb = "请联系IT负责人或网络服务商来了解更多信息。";
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">通過短信創建您的帳戶</a>";
$l_install_certif = "安装根证书";
$l_install_certif_more = "安装根证书";
$l_certif_explain = "允许您的计算机与ALCASAR门户进行安全数据交换。<BR>如果该证书未包含在您的计算机中,您的浏览器将出现一些安全提醒。<br><br>";
$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">额外帮助</a>";
$l_category = "类别 :";
if (!$user->connected) {
$l_logout_explain = "您的系统目前没有打开任何网络咨询进程。";
248,15 → 237,14
$l_logout = "<a href=\"//$hostname/index.php?url=$redirect_link\">打开一个网络进程</a>";
} else {
if ($user->username != $user->mac) { // authentication exception or not
$l_logout_explain = "关闭当前连接进程。<br> 已连接用户:<a href=\"$logout_link\" title=\" $user->username\"><b>$user->username</b></a><br><br>$nb_connection_history 最后连接 :$connection_history";
$l_logout_explain = "已连接用户:<a href=\"$logout_link\" title=\" $user->username\"><b>$user->username</b></a><br><br>$nb_connection_history 最后连接 :$connection_history";
$l_logout = "<a href=\"$logout_link\">断开网络</a>";
} else {
$l_logout_explain = "您的系统($user->username)验证例外<br><br>$nb_connection_history 最后连接: $connection_history";
$l_logout = "连接信息";
$l_logout = "<a href=\"\">连接信息</a>";
}
}
$l_password_change = "<a href=\"https://$hostname/password.php\">更改您的密码</a>";
$l_password_change_explain = "重新指向密码修改页面。<br><br> 您需要一个可用的网络账户。";
$l_back_page = "<a href=\"javascript:history.back()\">上一页</a>";
$l_explain_warn = "管理员创建了一份可用于司法调查的连接日志文档。";
if (isset($_GET['url'])) {
283,11 → 271,6
$auto_save_sms_text = "تسجيل ذاتي على";
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">إنشاء حسابك لا SMS</a>";
$l_install_certif = "ركب جذر الشهادة";
$l_install_certif_more = "ALCASAR تركيب شهادة السلطة؛ جذر الكزار";
$exchange_data_text = "يمَكن من تبادل البيانات المؤمّنة بين محطة الاستفسار و بوابة الكزار الأسيرة";
$cert_not_saved_text = "إذا لم يتم تسجيل هذه الشهادة على محطة الاستفسار الخاصة بك، فمن الممكن ان يتم إصدار تنبيهات أمنية من متصحفك";
$l_certif_explain = "<br><br>.$cert_not_saved_text<br> .$exchange_data_text";
$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">مساعدة إضافية </a>";
$l_category = "فئة :";
if (!$user->connected) {
$l_logout_explain = "و لا جلسة استفسار للإنترنت مفتوحة حاليا على نظامك";
298,7 → 281,7
$close_session_text = "إقفال جلسة المستخدم المتصل حاليا";
$userlogged_text = "المستخدم متصل";
$disconnect_user_text = "قطع الاتصال على المستخدم";
$l_logout_explain = "Ferme la session de l'usager actuellement connecté. <br><br>Utilisateur connecté : <a href=\"$logout_link\" title=\"Deconnecter l'utilisateur $user->username\"><b>$user->username</b></a><br><br>$nb_connection_history dernières connexions :$connection_history";
$l_logout_explain = "Utilisateur connecté : <a href=\"$logout_link\" title=\"Deconnecter l'utilisateur $user->username\"><b>$user->username</b></a><br><br>$nb_connection_history dernières connexions :$connection_history";
$logout_internet_text = "قطع الاتصال على الإنترنت";
$l_logout = "<a href=\"$logout_link\">$logout_internet_text</a>";
} else {
306,14 → 289,11
$auth_except_text = "على توثيق استثنائي";
$last_conn_text = "اتصالات مشاركة";
$l_logout_explain = "$connection_history :$last_conn_text $nb_connection_history<br><br>$auth_except_text ($user->username) $your_system_text";
$l_logout = "معلومات على الاتصالات ";
$l_logout = "<a href=\"\">معلومات على الاتصالات </a>";
}
}
$change_pass_text = "غير كلمتك السرية";
$l_password_change = "<a href=\"https://$hostname/password.php\">$change_pass_text</a>";
$redirect_pass_text = "يوجهك على صفحة تغيير الكلمة السرية لحساب الإنترنت الخاص بك";
$valid_account_text = "يجب ان يكون حساب الإنترنت الخاص بك صالحاً";
$l_password_change_explain = "$valid_account_text<br><br>.$redirect_text";
$redirect_sms_text = "يوجهك على الصفحة التفسيرية للتسجيل الذاتي بطريقة";
$login_text = "تسجيل الدخول";
$your_phone_text = "رقم الهاتف الخاص بك";
346,9 → 326,6
$l_contact_net_pb = "Kontaktieren Sie Ihren Netzwerkbeauftragten oder Ihren Internetanbieter für weitere Informationen.";
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">Einen Account per SMS erstellen</a>";
$l_install_certif = "Das ALCASAR AC Zertifikat installieren";
$l_install_certif_more = "Das ALCASAR AC Zertifikat installieren";
$l_certif_explain = "Ermöglicht einen sicheren Datenaustausch zwischen Ihrem Computer und ALCASAR.<BR>Wenn dieses Zertifikat nicht in Ihrem Browser installiert ist, könnten Sicherheitswarnungen in Ihrem Browser erscheinen.<br><br>";
$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">Weitere Informationen</a>";
$l_category = "Kategorie:";
if (!$user->connected) {
$l_logout_explain = "Zurzeit ist keine Internetsitzung auf Ihrem System aktiv";
355,15 → 332,14
$l_logout = "<a href=\"//$hostname/index.php?url=$redirect_link\">Eine neue Internetzsitzung eröffnen</a>";
} else {
if ($user->username != $user->mac) { // authentication exception or not
$l_logout_explain = "Die Sitzung des aktuell eingeloggten Users beenden.<br> Aktuell eingeloggter User: <a href=\"$logout_link\" title=\"Ausloggen $user->username\"><b>$user->username</b></a><br><br>$nb_connection_history letzte Verbindungen:$connection_history";
$l_logout_explain = "Aktuell eingeloggter User: <a href=\"$logout_link\" title=\"Ausloggen $user->username\"><b>$user->username</b></a><br><br>$nb_connection_history letzte Verbindungen:$connection_history";
$l_logout = "<a href=\"$logout_link\">Aus dem Internet ausloggen</a>";
} else {
$l_logout_explain = "Ihr System ($user->username) ist nicht authentifiziert.<br><br>$nb_connection_history Letzte Verbindungen:$connection_history";
$l_logout = "Informationen zur Verbindung";
$l_logout = "<a href=\"\">Informationen zur Verbindung</a>";
}
}
$l_password_change = "<a href=\"https://$hostname/password.php\">Passwort ändern</a>";
$l_password_change_explain = "Leitet Sie auf die Seite der Passwortänderung weiter.<br><br> Sie sollten bereits einen Account für den Internetzugriff haben.";
$l_back_page = "<a href=\"javascript:history.back()\">Previous page</a>";
$l_explain_warn = "Der Administrator wird ein Archiv erstellen, welches Ihre Logdaten für den Fall einer gerichtlichen Untersuchung beinhaltet.";
if (isset($_GET['url'])) {
390,9 → 366,6
$l_contact_net_pb = "Contact your network responsive or your Internet provider for further information.";
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">Create your account by SMS</a>";
$l_install_certif = "Install ALCASAR AC Certificate";
$l_install_certif_more = "Install ALCASAR AC Certificate";
$l_certif_explain = "This will allow secure communications for your browser and ALCASAR<br>";
$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">Complementary help</a>";
$l_category = "category:";
if (!$user->connected) {
$l_logout_explain = "No session is currently open";
399,15 → 372,14
$l_logout = "<a href=\"//$hostname/index.php?url=$redirect_link\">Open an Internet session</a>";
} else {
if ($user->username != $user->mac) { // authentication exception or not
$l_logout_explain = "Close the session<br> User logged-on: <a href=\"$logout_link\" title=\"Disconnect user $user->username\"><b>$user->username</b></a><br><br>$nb_connection_history last connections:$connection_history";
$l_logout_explain = "User logged-on: <a href=\"$logout_link\" title=\"Disconnect user $user->username\"><b>$user->username</b></a><br><br>$nb_connection_history last connections:$connection_history";
$l_logout = "<a href=\"$logout_link\">Logoff from the Internet</a>";
} else {
$l_logout_explain = "Your system ($user->username) is in exception of authentication.<br><br>$nb_connection_history Last logins:$connection_history";
$l_logout = "Connections information";
$l_logout = "<a href=\"\">Connections information</a>";
}
}
$l_password_change = "<a href=\"https://$hostname/password.php\">Change your password</a>";
$l_password_change_explain = "You should already have an Internet access account.";
$l_back_page = "<a href=\"javascript:history.back()\">Previous page</a>";
$l_explain_warn = "The administrator created an archive which contains your imputabilities logs for a judicial investigation.";
if (isset($_GET['url'])) {
511,7 → 483,6
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
?>
 
<!DOCTYPE html>
<html>
<head>
518,21 → 489,21
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ALCASAR - <?= $l_title ?></title>
<link type="text/css" href="<?= ((!$direct_access) ? "//$hostname" : '') ?>/css/bootstrap.min.css" rel="stylesheet">
<link type="text/css" href="/css/index.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="<?= ((!$direct_access) ? "//$hostname" : '') ?>/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/css/index.css">
</head>
<body>
<div class="col-xs-12 col-md-10 col-md-offset-1" id="gui">
<div class="col-xs-12 col-md-10 col-md-offset-1">
 
<!-- HeaderBox -->
<div class="row banner">
<!-- Logo box -->
<div id="boite_logo" class="hidden-xs col-sm-2">
<div class="img_banner hidden-xs col-sm-3 col-md-2 col-lg-2">
<img class="img-responsive img-organisme" src="<?= ((!$direct_access) ? "//$hostname" : '') ?><?= $img_rep.$img_organisme ?>">
</div>
 
<!-- Title -->
<div id="cadre_titre" class="col-xs-12 col-sm-8">
<div id="cadre_titre" class="titre_banner col-xs-12 col-sm-8">
<?php if ($direct_access): ?>
<p id="acces_controle" class="titre_controle"><?= $l_title ?></p>
<?php if ($network_pb): ?>
550,6 → 521,11
<?php endif; ?>
<?php endif; ?>
</div>
<!-- Logo box -->
<div class="img_banner hidden-xs col-sm-3 col-md-2 col-lg-2">
<img class="img-responsive img-organisme" src="<?= ((!$direct_access) ? "//$hostname" : '') ?><?= $img_rep.$img_acc ?>">
</div>
</div>
 
<!-- Main content box -->
598,7 → 574,6
<!-- Info Box -->
<div class="info-box-container col-sm-5">
<div id="box_infos">
<h2 class="box_infos_titles"><?= $l_logout ?></h2>
<p class="box_infos_explanations"><?= $l_logout_explain ?>
<?php if (!empty($domainsAllowed)): ?>
610,11 → 585,6
</ul>
<?php endif; ?>
 
<h2 class="box_infos_titles"><?= $l_install_certif_more ?></a></h2>
<p class="box_infos_explanations"><?= "$l_certif_explain $l_certif_explain_help" ?></p>
<h2 class="box_infos_titles"><?= $l_password_change ?></h2>
<p class="box_infos_explanations"><?= $l_password_change_explain ?></p>
<?php else: // the user is intercepted ?>
<?php if (isset($_GET['warn']) && isset($_GET['url']) && $_GET['warn'] === '1'): // user need to be warned that someone reads his logs ?>
<div id="box_refuse">
649,10 → 619,5
</div>
<?php endif; ?>
</div>
<div class="row col-xs-12">
<div id="boite_logo" class="col-xs-12 hidden-sm hidden-md hidden-lg">
<img class="img-responsive img-organisme" src="<?= ((!$direct_access) ? "//$hostname" : '') ?><?= $img_rep.$img_organisme ?>">
</div>
</div>
</body>
</html>