Line 1... |
Line 1... |
1 |
<?php
|
1 |
<?php
|
2 |
# $Id: index.php 2818 2020-05-10 21:53:28Z rexy $
|
2 |
# $Id: index.php 2819 2020-05-17 21:59:10Z rexy $
|
3 |
#
|
3 |
#
|
4 |
# index.php for ALCASAR by Rexy
|
4 |
# index.php for ALCASAR by Rexy
|
5 |
# UI & css style by stephane ERARD
|
5 |
# UI & css style by stephane ERARD
|
6 |
# The contents of this file may be used under the terms of the GNU
|
6 |
# The contents of this file may be used under the terms of the GNU
|
7 |
# General Public License Version 2, provided that the above copyright
|
7 |
# General Public License Version 2, provided that the above copyright
|
Line 151... |
Line 151... |
151 |
$l_explain_net_pb = "Votre portail détecte que l'accès à Internet est indisponible.";
|
151 |
$l_explain_net_pb = "Votre portail détecte que l'accès à Internet est indisponible.";
|
152 |
$l_contact_access_deny = "Contactez le responsable de la séurité (OSSI/RSSI) si vous pensez que ce filtrage est abusif.";
|
152 |
$l_contact_access_deny = "Contactez le responsable de la séurité (OSSI/RSSI) si vous pensez que ce filtrage est abusif.";
|
153 |
$l_contact_net_pb = "Contactez votre responsable informatique ou votre prestataire Internet pour plus d'information.";
|
153 |
$l_contact_net_pb = "Contactez votre responsable informatique ou votre prestataire Internet pour plus d'information.";
|
154 |
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">Créer votre compte par SMS</a>";
|
154 |
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">Créer votre compte par SMS</a>";
|
155 |
$l_install_certif = "Installer le certificat racine";
|
155 |
$l_install_certif = "Installer le certificat racine";
|
156 |
$l_install_certif_more = "Installation du certificat de l'autorité racine d'ALCASAR";
|
- |
|
157 |
$l_certif_explain = "Permet une communication sécurisées entre vous et ALCASAR.<br>";
|
- |
|
158 |
$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">Aide complémentaire</a>";
|
- |
|
159 |
$l_category = "catégorie :";
|
156 |
$l_category = "catégorie :";
|
160 |
if (!$user->connected) {
|
157 |
if (!$user->connected) {
|
161 |
$l_logout_explain = "Aucune session n'est actuellement ouverte";
|
158 |
$l_logout_explain = "Aucune session n'est actuellement ouverte";
|
162 |
$l_logout = "<a href=\"//$hostname/index.php?url=$redirect_link\">Ouvrir une session Internet</a>";
|
159 |
$l_logout = "<a href=\"//$hostname/index.php?url=$redirect_link\">Ouvrir une session</a>";
|
163 |
} else {
|
160 |
} else {
|
164 |
if ($user->username != $user->mac) { // authentication exception or not
|
161 |
if ($user->username != $user->mac) { // authentication exception or not
|
165 |
$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";
|
162 |
$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";
|
166 |
$l_logout = "<a href=\"$logout_link\">Se déconnecter d'internet</a>";
|
163 |
$l_logout = "<a href=\"$logout_link\">Se déconnecter d'internet</a>";
|
167 |
} else {
|
164 |
} else {
|
168 |
$l_logout_explain = "Votre système ($user->username) est en exception d'authentication.<br><br>$nb_connection_history dernières connexions :$connection_history";
|
165 |
$l_logout_explain = "Votre système ($user->username) est en exception d'authentication.<br><br>$nb_connection_history dernières connexions :$connection_history";
|
169 |
$l_logout = "Information des connexions";
|
166 |
$l_logout = "<a href=\"\">Information des connexions</a>";
|
170 |
}
|
167 |
}
|
171 |
}
|
168 |
}
|
172 |
$l_password_change = "<a href=\"https://$hostname/password.php\">Changer votre mot de passe</a>";
|
169 |
$l_password_change = "<a href=\"https://$hostname/password.php\">Changer votre mot de passe</a>";
|
173 |
$l_password_change_explain = "Vous devez avoir un compte internet valide.";
|
- |
|
174 |
$l_back_page = "<a href=\"javascript:history.back()\">Page précédente</a>";
|
170 |
$l_back_page = "<a href=\"javascript:history.back()\">Page précédente</a>";
|
175 |
$l_explain_warn = "L'administrateur a créé une archive contenant vos journaux de connexion dans le cadre d'une affaire judiciaire.";
|
171 |
$l_explain_warn = "L'administrateur a créé une archive contenant vos journaux de connexion dans le cadre d'une affaire judiciaire.";
|
176 |
if (isset($_GET['url'])) {
|
172 |
if (isset($_GET['url'])) {
|
177 |
$l_continue_link = "<a href=\"index.php?redirect=1&url=".urlencode($_GET['url'])."\" class=\"button\">Je comprends et je souhaite continuer ma navigation.</a>";
|
173 |
$l_continue_link = "<a href=\"index.php?redirect=1&url=".urlencode($_GET['url'])."\" class=\"button\">Je comprends et je souhaite continuer ma navigation.</a>";
|
178 |
} else {
|
174 |
} else {
|
Line 194... |
Line 190... |
194 |
$l_explain_net_pb = "O sistema detectou que o acesso é de risco, não será permitido o acesso";
|
190 |
$l_explain_net_pb = "O sistema detectou que o acesso é de risco, não será permitido o acesso";
|
195 |
$l_contact_access_deny = "Entre em contato com o administrador do sistema de segurança se acha que essa filtragem é abusiva.";
|
191 |
$l_contact_access_deny = "Entre em contato com o administrador do sistema de segurança se acha que essa filtragem é abusiva.";
|
196 |
$l_contact_net_pb = "Entre em contato com a empresa fornecedora de Internet para mais informações";
|
192 |
$l_contact_net_pb = "Entre em contato com a empresa fornecedora de Internet para mais informações";
|
197 |
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">Crie a conta por SMS</a>";
|
193 |
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">Crie a conta por SMS</a>";
|
198 |
$l_install_certif = "Instalar Certificado Alcasar AC";
|
194 |
$l_install_certif = "Instalar Certificado Alcasar AC";
|
199 |
$l_install_certif_more = "Instalar Certificado Alcasar AC";
|
- |
|
200 |
$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>";
|
- |
|
201 |
$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">Essa foi uma ajuda complementar</a>";
|
- |
|
202 |
$l_category = "categoria :";
|
195 |
$l_category = "categoria :";
|
203 |
if (!$user->connected) {
|
196 |
if (!$user->connected) {
|
204 |
$l_logout_explain = "Não há conexão de Internet aberta em seu computador, deseja conectar?";
|
197 |
$l_logout_explain = "Não há conexão de Internet aberta em seu computador, deseja conectar?";
|
205 |
$l_logout = "<a href=\"//$hostname/index.php?url=$redirect_link\">Abrir uma conexão de Internet</a>";
|
198 |
$l_logout = "<a href=\"//$hostname/index.php?url=$redirect_link\">Abrir uma conexão de Internet</a>";
|
206 |
} else {
|
199 |
} else {
|
207 |
if ($user->username != $user->mac) { // authentication exception or not
|
200 |
if ($user->username != $user->mac) { // authentication exception or not
|
208 |
$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";
|
201 |
$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";
|
209 |
$l_logout = "<a href=\"$logout_link\">Sair da Internet</a>";
|
202 |
$l_logout = "<a href=\"$logout_link\">Sair da Internet</a>";
|
210 |
} else {
|
203 |
} else {
|
211 |
$l_logout_explain = "O sistema ($user->username) detctou exesso de autenticação.<br><br>$nb_connection_history logins últimos :$connection_history";
|
204 |
$l_logout_explain = "O sistema ($user->username) detctou exesso de autenticação.<br><br>$nb_connection_history logins últimos :$connection_history";
|
212 |
$l_logout = "Informações de conexões";
|
205 |
$l_logout = "<a href=\"\">Informações de conexões</a>";
|
213 |
}
|
206 |
}
|
214 |
}
|
207 |
}
|
215 |
$l_password_change = "<a href=\"https://$hostname/password.php\">Mudar sua senha</a>";
|
208 |
$l_password_change = "<a href=\"https://$hostname/password.php\">Mudar sua senha</a>";
|
216 |
$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.";
|
- |
|
217 |
$l_back_page = "<a href=\"javascript:history.back()\">Página anterior</a>";
|
209 |
$l_back_page = "<a href=\"javascript:history.back()\">Página anterior</a>";
|
218 |
$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.";
|
210 |
$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.";
|
219 |
if (isset($_GET['url'])) {
|
211 |
if (isset($_GET['url'])) {
|
220 |
$l_continue_link = "<a href=\"index.php?redirect=1&url=".urlencode($_GET['url'])."\" class=\"button\">Lo comprendo y deseo continuar mi navegación.</a>";
|
212 |
$l_continue_link = "<a href=\"index.php?redirect=1&url=".urlencode($_GET['url'])."\" class=\"button\">Lo comprendo y deseo continuar mi navegación.</a>";
|
221 |
} else {
|
213 |
} else {
|
Line 237... |
Line 229... |
237 |
$l_explain_net_pb = "您的门户检测因特网不可用。";
|
229 |
$l_explain_net_pb = "您的门户检测因特网不可用。";
|
238 |
$l_contact_access_deny = "如果您认为该过滤不当,请联系安全负责人(OSSI/RSSI)。";
|
230 |
$l_contact_access_deny = "如果您认为该过滤不当,请联系安全负责人(OSSI/RSSI)。";
|
239 |
$l_contact_net_pb = "请联系IT负责人或网络服务商来了解更多信息。";
|
231 |
$l_contact_net_pb = "请联系IT负责人或网络服务商来了解更多信息。";
|
240 |
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">通過短信創建您的帳戶</a>";
|
232 |
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">通過短信創建您的帳戶</a>";
|
241 |
$l_install_certif = "安装根证书";
|
233 |
$l_install_certif = "安装根证书";
|
242 |
$l_install_certif_more = "安装根证书";
|
- |
|
243 |
$l_certif_explain = "允许您的计算机与ALCASAR门户进行安全数据交换。<BR>如果该证书未包含在您的计算机中,您的浏览器将出现一些安全提醒。<br><br>";
|
- |
|
244 |
$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">额外帮助</a>";
|
- |
|
245 |
$l_category = "类别 :";
|
234 |
$l_category = "类别 :";
|
246 |
if (!$user->connected) {
|
235 |
if (!$user->connected) {
|
247 |
$l_logout_explain = "您的系统目前没有打开任何网络咨询进程。";
|
236 |
$l_logout_explain = "您的系统目前没有打开任何网络咨询进程。";
|
248 |
$l_logout = "<a href=\"//$hostname/index.php?url=$redirect_link\">打开一个网络进程</a>";
|
237 |
$l_logout = "<a href=\"//$hostname/index.php?url=$redirect_link\">打开一个网络进程</a>";
|
249 |
} else {
|
238 |
} else {
|
250 |
if ($user->username != $user->mac) { // authentication exception or not
|
239 |
if ($user->username != $user->mac) { // authentication exception or not
|
251 |
$l_logout_explain = "关闭当前连接进程。<br> 已连接用户:<a href=\"$logout_link\" title=\" $user->username\"><b>$user->username</b></a><br><br>$nb_connection_history 最后连接 :$connection_history";
|
240 |
$l_logout_explain = "已连接用户:<a href=\"$logout_link\" title=\" $user->username\"><b>$user->username</b></a><br><br>$nb_connection_history 最后连接 :$connection_history";
|
252 |
$l_logout = "<a href=\"$logout_link\">断开网络</a>";
|
241 |
$l_logout = "<a href=\"$logout_link\">断开网络</a>";
|
253 |
} else {
|
242 |
} else {
|
254 |
$l_logout_explain = "您的系统($user->username)验证例外<br><br>$nb_connection_history 最后连接: $connection_history";
|
243 |
$l_logout_explain = "您的系统($user->username)验证例外<br><br>$nb_connection_history 最后连接: $connection_history";
|
255 |
$l_logout = "连接信息";
|
244 |
$l_logout = "<a href=\"\">连接信息</a>";
|
256 |
}
|
245 |
}
|
257 |
}
|
246 |
}
|
258 |
$l_password_change = "<a href=\"https://$hostname/password.php\">更改您的密码</a>";
|
247 |
$l_password_change = "<a href=\"https://$hostname/password.php\">更改您的密码</a>";
|
259 |
$l_password_change_explain = "重新指向密码修改页面。<br><br> 您需要一个可用的网络账户。";
|
- |
|
260 |
$l_back_page = "<a href=\"javascript:history.back()\">上一页</a>";
|
248 |
$l_back_page = "<a href=\"javascript:history.back()\">上一页</a>";
|
261 |
$l_explain_warn = "管理员创建了一份可用于司法调查的连接日志文档。";
|
249 |
$l_explain_warn = "管理员创建了一份可用于司法调查的连接日志文档。";
|
262 |
if (isset($_GET['url'])) {
|
250 |
if (isset($_GET['url'])) {
|
263 |
$l_continue_link = "<a href=\"index.php?redirect=1&url=".urlencode($_GET['url'])."\" class=\"button\">我明白并希望继续浏览。</a>";
|
251 |
$l_continue_link = "<a href=\"index.php?redirect=1&url=".urlencode($_GET['url'])."\" class=\"button\">我明白并希望继续浏览。</a>";
|
264 |
} else {
|
252 |
} else {
|
Line 281... |
Line 269... |
281 |
$l_contact_access_deny = "المرجو الاتصال بضابط أمن (OSS / RSS) إذا اعتقدت ان هذه التصفية غير قانونية";
|
269 |
$l_contact_access_deny = "المرجو الاتصال بضابط أمن (OSS / RSS) إذا اعتقدت ان هذه التصفية غير قانونية";
|
282 |
$l_contact_net_pb = "المرجو الاتصال بمدير المعلومات أو مورد الأنترنت للمزيد من المعلومات";
|
270 |
$l_contact_net_pb = "المرجو الاتصال بمدير المعلومات أو مورد الأنترنت للمزيد من المعلومات";
|
283 |
$auto_save_sms_text = "تسجيل ذاتي على";
|
271 |
$auto_save_sms_text = "تسجيل ذاتي على";
|
284 |
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">إنشاء حسابك لا SMS</a>";
|
272 |
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">إنشاء حسابك لا SMS</a>";
|
285 |
$l_install_certif = "ركب جذر الشهادة";
|
273 |
$l_install_certif = "ركب جذر الشهادة";
|
286 |
$l_install_certif_more = "ALCASAR تركيب شهادة السلطة؛ جذر الكزار";
|
- |
|
287 |
$exchange_data_text = "يمَكن من تبادل البيانات المؤمّنة بين محطة الاستفسار و بوابة الكزار الأسيرة";
|
- |
|
288 |
$cert_not_saved_text = "إذا لم يتم تسجيل هذه الشهادة على محطة الاستفسار الخاصة بك، فمن الممكن ان يتم إصدار تنبيهات أمنية من متصحفك";
|
- |
|
289 |
$l_certif_explain = "<br><br>.$cert_not_saved_text<br> .$exchange_data_text";
|
- |
|
290 |
$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">مساعدة إضافية </a>";
|
- |
|
291 |
$l_category = "فئة :";
|
274 |
$l_category = "فئة :";
|
292 |
if (!$user->connected) {
|
275 |
if (!$user->connected) {
|
293 |
$l_logout_explain = "و لا جلسة استفسار للإنترنت مفتوحة حاليا على نظامك";
|
276 |
$l_logout_explain = "و لا جلسة استفسار للإنترنت مفتوحة حاليا على نظامك";
|
294 |
$close_session_text = "فتح جلسة الإنترنت";
|
277 |
$close_session_text = "فتح جلسة الإنترنت";
|
295 |
$l_logout = "<a href=\"//$hostname/index.php?url=$redirect_link\">$close_session_text</a>";
|
278 |
$l_logout = "<a href=\"//$hostname/index.php?url=$redirect_link\">$close_session_text</a>";
|
296 |
} else {
|
279 |
} else {
|
297 |
if ($user->username != $user->mac) { // authentication exception or not
|
280 |
if ($user->username != $user->mac) { // authentication exception or not
|
298 |
$close_session_text = "إقفال جلسة المستخدم المتصل حاليا";
|
281 |
$close_session_text = "إقفال جلسة المستخدم المتصل حاليا";
|
299 |
$userlogged_text = "المستخدم متصل";
|
282 |
$userlogged_text = "المستخدم متصل";
|
300 |
$disconnect_user_text = "قطع الاتصال على المستخدم";
|
283 |
$disconnect_user_text = "قطع الاتصال على المستخدم";
|
301 |
$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";
|
284 |
$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";
|
302 |
$logout_internet_text = "قطع الاتصال على الإنترنت";
|
285 |
$logout_internet_text = "قطع الاتصال على الإنترنت";
|
303 |
$l_logout = "<a href=\"$logout_link\">$logout_internet_text</a>";
|
286 |
$l_logout = "<a href=\"$logout_link\">$logout_internet_text</a>";
|
304 |
} else {
|
287 |
} else {
|
305 |
$your_system_text = "نظامك";
|
288 |
$your_system_text = "نظامك";
|
306 |
$auth_except_text = "على توثيق استثنائي";
|
289 |
$auth_except_text = "على توثيق استثنائي";
|
307 |
$last_conn_text = "اتصالات مشاركة";
|
290 |
$last_conn_text = "اتصالات مشاركة";
|
308 |
$l_logout_explain = "$connection_history :$last_conn_text $nb_connection_history<br><br>$auth_except_text ($user->username) $your_system_text";
|
291 |
$l_logout_explain = "$connection_history :$last_conn_text $nb_connection_history<br><br>$auth_except_text ($user->username) $your_system_text";
|
309 |
$l_logout = "معلومات على الاتصالات ";
|
292 |
$l_logout = "<a href=\"\">معلومات على الاتصالات </a>";
|
310 |
}
|
293 |
}
|
311 |
}
|
294 |
}
|
312 |
$change_pass_text = "غير كلمتك السرية";
|
295 |
$change_pass_text = "غير كلمتك السرية";
|
313 |
$l_password_change = "<a href=\"https://$hostname/password.php\">$change_pass_text</a>";
|
296 |
$l_password_change = "<a href=\"https://$hostname/password.php\">$change_pass_text</a>";
|
314 |
$redirect_pass_text = "يوجهك على صفحة تغيير الكلمة السرية لحساب الإنترنت الخاص بك";
|
- |
|
315 |
$valid_account_text = "يجب ان يكون حساب الإنترنت الخاص بك صالحاً";
|
- |
|
316 |
$l_password_change_explain = "$valid_account_text<br><br>.$redirect_text";
|
- |
|
317 |
$redirect_sms_text = "يوجهك على الصفحة التفسيرية للتسجيل الذاتي بطريقة";
|
297 |
$redirect_sms_text = "يوجهك على الصفحة التفسيرية للتسجيل الذاتي بطريقة";
|
318 |
$login_text = "تسجيل الدخول";
|
298 |
$login_text = "تسجيل الدخول";
|
319 |
$your_phone_text = "رقم الهاتف الخاص بك";
|
299 |
$your_phone_text = "رقم الهاتف الخاص بك";
|
320 |
$pass_text = "كلمة السر";
|
300 |
$pass_text = "كلمة السر";
|
321 |
$your_message_text = "رسالتك";
|
301 |
$your_message_text = "رسالتك";
|
Line 344... |
Line 324... |
344 |
$l_explain_net_pb = "Offenbar funktioniert ihr Internetzugriff nicht.";
|
324 |
$l_explain_net_pb = "Offenbar funktioniert ihr Internetzugriff nicht.";
|
345 |
$l_contact_access_deny = "Kontaktieren Sie ihren Sicherheitsbeauftragten wenn Sie denken dass diese Filterung unangemessen ist.";
|
325 |
$l_contact_access_deny = "Kontaktieren Sie ihren Sicherheitsbeauftragten wenn Sie denken dass diese Filterung unangemessen ist.";
|
346 |
$l_contact_net_pb = "Kontaktieren Sie Ihren Netzwerkbeauftragten oder Ihren Internetanbieter für weitere Informationen.";
|
326 |
$l_contact_net_pb = "Kontaktieren Sie Ihren Netzwerkbeauftragten oder Ihren Internetanbieter für weitere Informationen.";
|
347 |
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">Einen Account per SMS erstellen</a>";
|
327 |
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">Einen Account per SMS erstellen</a>";
|
348 |
$l_install_certif = "Das ALCASAR AC Zertifikat installieren";
|
328 |
$l_install_certif = "Das ALCASAR AC Zertifikat installieren";
|
349 |
$l_install_certif_more = "Das ALCASAR AC Zertifikat installieren";
|
- |
|
350 |
$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>";
|
- |
|
351 |
$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">Weitere Informationen</a>";
|
- |
|
352 |
$l_category = "Kategorie:";
|
329 |
$l_category = "Kategorie:";
|
353 |
if (!$user->connected) {
|
330 |
if (!$user->connected) {
|
354 |
$l_logout_explain = "Zurzeit ist keine Internetsitzung auf Ihrem System aktiv";
|
331 |
$l_logout_explain = "Zurzeit ist keine Internetsitzung auf Ihrem System aktiv";
|
355 |
$l_logout = "<a href=\"//$hostname/index.php?url=$redirect_link\">Eine neue Internetzsitzung eröffnen</a>";
|
332 |
$l_logout = "<a href=\"//$hostname/index.php?url=$redirect_link\">Eine neue Internetzsitzung eröffnen</a>";
|
356 |
} else {
|
333 |
} else {
|
357 |
if ($user->username != $user->mac) { // authentication exception or not
|
334 |
if ($user->username != $user->mac) { // authentication exception or not
|
358 |
$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";
|
335 |
$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";
|
359 |
$l_logout = "<a href=\"$logout_link\">Aus dem Internet ausloggen</a>";
|
336 |
$l_logout = "<a href=\"$logout_link\">Aus dem Internet ausloggen</a>";
|
360 |
} else {
|
337 |
} else {
|
361 |
$l_logout_explain = "Ihr System ($user->username) ist nicht authentifiziert.<br><br>$nb_connection_history Letzte Verbindungen:$connection_history";
|
338 |
$l_logout_explain = "Ihr System ($user->username) ist nicht authentifiziert.<br><br>$nb_connection_history Letzte Verbindungen:$connection_history";
|
362 |
$l_logout = "Informationen zur Verbindung";
|
339 |
$l_logout = "<a href=\"\">Informationen zur Verbindung</a>";
|
363 |
}
|
340 |
}
|
364 |
}
|
341 |
}
|
365 |
$l_password_change = "<a href=\"https://$hostname/password.php\">Passwort ändern</a>";
|
342 |
$l_password_change = "<a href=\"https://$hostname/password.php\">Passwort ändern</a>";
|
366 |
$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.";
|
- |
|
367 |
$l_back_page = "<a href=\"javascript:history.back()\">Previous page</a>";
|
343 |
$l_back_page = "<a href=\"javascript:history.back()\">Previous page</a>";
|
368 |
$l_explain_warn = "Der Administrator wird ein Archiv erstellen, welches Ihre Logdaten für den Fall einer gerichtlichen Untersuchung beinhaltet.";
|
344 |
$l_explain_warn = "Der Administrator wird ein Archiv erstellen, welches Ihre Logdaten für den Fall einer gerichtlichen Untersuchung beinhaltet.";
|
369 |
if (isset($_GET['url'])) {
|
345 |
if (isset($_GET['url'])) {
|
370 |
$l_continue_link = "<a href=\"index.php?redirect=1&url=".urlencode($_GET['url'])."\" class=\"button\">Ich verstehe und möchte fortfahren.</a>";
|
346 |
$l_continue_link = "<a href=\"index.php?redirect=1&url=".urlencode($_GET['url'])."\" class=\"button\">Ich verstehe und möchte fortfahren.</a>";
|
371 |
} else {
|
347 |
} else {
|
Line 388... |
Line 364... |
388 |
$l_explain_net_pb = "Your portal has just detected that the Internet access is down";
|
364 |
$l_explain_net_pb = "Your portal has just detected that the Internet access is down";
|
389 |
$l_contact_access_deny = "Contact your security system manager if you think this filtering is abusive.";
|
365 |
$l_contact_access_deny = "Contact your security system manager if you think this filtering is abusive.";
|
390 |
$l_contact_net_pb = "Contact your network responsive or your Internet provider for further information.";
|
366 |
$l_contact_net_pb = "Contact your network responsive or your Internet provider for further information.";
|
391 |
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">Create your account by SMS</a>";
|
367 |
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">Create your account by SMS</a>";
|
392 |
$l_install_certif = "Install ALCASAR AC Certificate";
|
368 |
$l_install_certif = "Install ALCASAR AC Certificate";
|
393 |
$l_install_certif_more = "Install ALCASAR AC Certificate";
|
- |
|
394 |
$l_certif_explain = "This will allow secure communications for your browser and ALCASAR<br>";
|
- |
|
395 |
$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">Complementary help</a>";
|
- |
|
396 |
$l_category = "category:";
|
369 |
$l_category = "category:";
|
397 |
if (!$user->connected) {
|
370 |
if (!$user->connected) {
|
398 |
$l_logout_explain = "No session is currently open";
|
371 |
$l_logout_explain = "No session is currently open";
|
399 |
$l_logout = "<a href=\"//$hostname/index.php?url=$redirect_link\">Open an Internet session</a>";
|
372 |
$l_logout = "<a href=\"//$hostname/index.php?url=$redirect_link\">Open an Internet session</a>";
|
400 |
} else {
|
373 |
} else {
|
401 |
if ($user->username != $user->mac) { // authentication exception or not
|
374 |
if ($user->username != $user->mac) { // authentication exception or not
|
402 |
$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";
|
375 |
$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";
|
403 |
$l_logout = "<a href=\"$logout_link\">Logoff from the Internet</a>";
|
376 |
$l_logout = "<a href=\"$logout_link\">Logoff from the Internet</a>";
|
404 |
} else {
|
377 |
} else {
|
405 |
$l_logout_explain = "Your system ($user->username) is in exception of authentication.<br><br>$nb_connection_history Last logins:$connection_history";
|
378 |
$l_logout_explain = "Your system ($user->username) is in exception of authentication.<br><br>$nb_connection_history Last logins:$connection_history";
|
406 |
$l_logout = "Connections information";
|
379 |
$l_logout = "<a href=\"\">Connections information</a>";
|
407 |
}
|
380 |
}
|
408 |
}
|
381 |
}
|
409 |
$l_password_change = "<a href=\"https://$hostname/password.php\">Change your password</a>";
|
382 |
$l_password_change = "<a href=\"https://$hostname/password.php\">Change your password</a>";
|
410 |
$l_password_change_explain = "You should already have an Internet access account.";
|
- |
|
411 |
$l_back_page = "<a href=\"javascript:history.back()\">Previous page</a>";
|
383 |
$l_back_page = "<a href=\"javascript:history.back()\">Previous page</a>";
|
412 |
$l_explain_warn = "The administrator created an archive which contains your imputabilities logs for a judicial investigation.";
|
384 |
$l_explain_warn = "The administrator created an archive which contains your imputabilities logs for a judicial investigation.";
|
413 |
if (isset($_GET['url'])) {
|
385 |
if (isset($_GET['url'])) {
|
414 |
$l_continue_link = "<a href=\"index.php?redirect=1&url=".urlencode($_GET['url'])."\" class=\"button\">I understand and I wish to continue.</a>";
|
386 |
$l_continue_link = "<a href=\"index.php?redirect=1&url=".urlencode($_GET['url'])."\" class=\"button\">I understand and I wish to continue.</a>";
|
415 |
} else {
|
387 |
} else {
|
Line 509... |
Line 481... |
509 |
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
481 |
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
510 |
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
|
482 |
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
|
511 |
header('Cache-Control: post-check=0, pre-check=0', false);
|
483 |
header('Cache-Control: post-check=0, pre-check=0', false);
|
512 |
header('Pragma: no-cache');
|
484 |
header('Pragma: no-cache');
|
513 |
?>
|
485 |
?>
|
514 |
|
- |
|
515 |
<!DOCTYPE html>
|
486 |
<!DOCTYPE html>
|
516 |
<html>
|
487 |
<html>
|
517 |
<head>
|
488 |
<head>
|
518 |
<meta charset="UTF-8">
|
489 |
<meta charset="UTF-8">
|
519 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
490 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
520 |
<title>ALCASAR - <?= $l_title ?></title>
|
491 |
<title>ALCASAR - <?= $l_title ?></title>
|
521 |
<link type="text/css" href="<?= ((!$direct_access) ? "//$hostname" : '') ?>/css/bootstrap.min.css" rel="stylesheet">
|
492 |
<link rel="stylesheet" type="text/css" href="<?= ((!$direct_access) ? "//$hostname" : '') ?>/css/bootstrap.min.css">
|
522 |
<link type="text/css" href="/css/index.css" rel="stylesheet">
|
493 |
<link rel="stylesheet" type="text/css" href="/css/index.css">
|
523 |
</head>
|
494 |
</head>
|
524 |
<body>
|
495 |
<body>
|
525 |
<div class="col-xs-12 col-md-10 col-md-offset-1" id="gui">
|
496 |
<div class="col-xs-12 col-md-10 col-md-offset-1">
|
526 |
|
497 |
|
527 |
<!-- HeaderBox -->
|
498 |
<!-- HeaderBox -->
|
528 |
<div class="row banner">
|
499 |
<div class="row banner">
|
529 |
<!-- Logo box -->
|
500 |
<!-- Logo box -->
|
530 |
<div id="boite_logo" class="hidden-xs col-sm-2">
|
501 |
<div class="img_banner hidden-xs col-sm-3 col-md-2 col-lg-2">
|
531 |
<img class="img-responsive img-organisme" src="<?= ((!$direct_access) ? "//$hostname" : '') ?><?= $img_rep.$img_organisme ?>">
|
502 |
<img class="img-responsive img-organisme" src="<?= ((!$direct_access) ? "//$hostname" : '') ?><?= $img_rep.$img_organisme ?>">
|
532 |
</div>
|
503 |
</div>
|
533 |
|
504 |
|
534 |
<!-- Title -->
|
505 |
<!-- Title -->
|
535 |
<div id="cadre_titre" class="col-xs-12 col-sm-8">
|
506 |
<div id="cadre_titre" class="titre_banner col-xs-12 col-sm-8">
|
536 |
<?php if ($direct_access): ?>
|
507 |
<?php if ($direct_access): ?>
|
537 |
<p id="acces_controle" class="titre_controle"><?= $l_title ?></p>
|
508 |
<p id="acces_controle" class="titre_controle"><?= $l_title ?></p>
|
538 |
<?php if ($network_pb): ?>
|
509 |
<?php if ($network_pb): ?>
|
539 |
<div class="explanation_net_pb"><?= $l_explain_net_pb ?></div>
|
510 |
<div class="explanation_net_pb"><?= $l_explain_net_pb ?></div>
|
540 |
<?php endif; ?>
|
511 |
<?php endif; ?>
|
Line 548... |
Line 519... |
548 |
<p id="acces_controle" class="titre_refus"><?= $l_title ?></p>
|
519 |
<p id="acces_controle" class="titre_refus"><?= $l_title ?></p>
|
549 |
</div>
|
520 |
</div>
|
550 |
<?php endif; ?>
|
521 |
<?php endif; ?>
|
551 |
<?php endif; ?>
|
522 |
<?php endif; ?>
|
552 |
</div>
|
523 |
</div>
|
- |
|
524 |
|
- |
|
525 |
<!-- Logo box -->
|
- |
|
526 |
<div class="img_banner hidden-xs col-sm-3 col-md-2 col-lg-2">
|
- |
|
527 |
<img class="img-responsive img-organisme" src="<?= ((!$direct_access) ? "//$hostname" : '') ?><?= $img_rep.$img_acc ?>">
|
- |
|
528 |
</div>
|
553 |
</div>
|
529 |
</div>
|
554 |
|
530 |
|
555 |
<!-- Main content box -->
|
531 |
<!-- Main content box -->
|
556 |
<div class="row">
|
532 |
<div class="row">
|
557 |
<div id="contenu_acces" class="col-xs-12 col-lg-offset-1 col-lg-10">
|
533 |
<div id="contenu_acces" class="col-xs-12 col-lg-offset-1 col-lg-10">
|
Line 596... |
Line 572... |
596 |
</div>
|
572 |
</div>
|
597 |
|
573 |
|
598 |
<!-- Info Box -->
|
574 |
<!-- Info Box -->
|
599 |
<div class="info-box-container col-sm-5">
|
575 |
<div class="info-box-container col-sm-5">
|
600 |
<div id="box_infos">
|
576 |
<div id="box_infos">
|
601 |
<h2 class="box_infos_titles"><?= $l_logout ?></h2>
|
- |
|
602 |
<p class="box_infos_explanations"><?= $l_logout_explain ?>
|
577 |
<p class="box_infos_explanations"><?= $l_logout_explain ?>
|
603 |
|
578 |
|
604 |
<?php if (!empty($domainsAllowed)): ?>
|
579 |
<?php if (!empty($domainsAllowed)): ?>
|
605 |
<p class="domain_allowed_title"><?= $l_uam_domain ?></p>
|
580 |
<p class="domain_allowed_title"><?= $l_uam_domain ?></p>
|
606 |
<ul>
|
581 |
<ul>
|
Line 608... |
Line 583... |
608 |
<li><a href="http://<?= $domainAllowed->domain ?>"><?= $domainAllowed->name ?></a></li>
|
583 |
<li><a href="http://<?= $domainAllowed->domain ?>"><?= $domainAllowed->name ?></a></li>
|
609 |
<?php endforeach; ?>
|
584 |
<?php endforeach; ?>
|
610 |
</ul>
|
585 |
</ul>
|
611 |
<?php endif; ?>
|
586 |
<?php endif; ?>
|
612 |
|
587 |
|
613 |
<h2 class="box_infos_titles"><?= $l_install_certif_more ?></a></h2>
|
- |
|
614 |
<p class="box_infos_explanations"><?= "$l_certif_explain $l_certif_explain_help" ?></p>
|
- |
|
615 |
<h2 class="box_infos_titles"><?= $l_password_change ?></h2>
|
- |
|
616 |
<p class="box_infos_explanations"><?= $l_password_change_explain ?></p>
|
- |
|
617 |
|
- |
|
618 |
<?php else: // the user is intercepted ?>
|
588 |
<?php else: // the user is intercepted ?>
|
619 |
<?php if (isset($_GET['warn']) && isset($_GET['url']) && $_GET['warn'] === '1'): // user need to be warned that someone reads his logs ?>
|
589 |
<?php if (isset($_GET['warn']) && isset($_GET['url']) && $_GET['warn'] === '1'): // user need to be warned that someone reads his logs ?>
|
620 |
<div id="box_refuse">
|
590 |
<div id="box_refuse">
|
621 |
<img src="//<?= $hostname.$img_rep.$img_warning ?>">
|
591 |
<img src="//<?= $hostname.$img_rep.$img_warning ?>">
|
622 |
<p><?= $l_explain_warn ?></p>
|
592 |
<p><?= $l_explain_warn ?></p>
|
Line 647... |
Line 617... |
647 |
</div>
|
617 |
</div>
|
648 |
</div>
|
618 |
</div>
|
649 |
</div>
|
619 |
</div>
|
650 |
<?php endif; ?>
|
620 |
<?php endif; ?>
|
651 |
</div>
|
621 |
</div>
|
652 |
<div class="row col-xs-12">
|
- |
|
653 |
<div id="boite_logo" class="col-xs-12 hidden-sm hidden-md hidden-lg">
|
- |
|
654 |
<img class="img-responsive img-organisme" src="<?= ((!$direct_access) ? "//$hostname" : '') ?><?= $img_rep.$img_organisme ?>">
|
- |
|
655 |
</div>
|
- |
|
656 |
</div>
|
- |
|
657 |
</body>
|
622 |
</body>
|
658 |
</html>
|
623 |
</html>
|