10,25 → 10,23 |
$Language = strtolower(substr(chop($Langue[0]),0,2)); } |
if($Language == 'fr'){ |
$l_access_denied = "ACCÈS REFUSÉ"; |
$l_access_controled = "ACCÈS CONTRÔLÉ"; |
$l_required_domain = "Site WEB demandé"; |
$l_explain = "Vous tentez d'accéder à une ressource dont le contenu est réputé contenir des informations inappropriées."; |
$l_contact = "Contactez le responsable de la sécurité (OSSI/RSSI) si vous pensez que ce filtrage est abusif."; |
$l_welcome = "Bienvenue sur le portail captif ALCASAR.<br>Vous pouvez : "; |
$l_welcome = "Bienvenue sur la page d'accueil du portail.<br>Actions possibles : "; |
$l_acc_access = "<a href=\"https://$private_ip/acc\">Accéder au centre de gestion (ALCASAR Control Center)</A>"; |
$l_logout = "<a href=\"http://$private_ip:3990/logoff\">Vous déconnecter si votre session est ouverte</A>"; |
$l_internet_access = "<a href=\"https://$private_ip/intercept.php\">Tester l'interception de l'accès à Internet</A>"; |
$l_password_change = "<a href=\"https://$private_ip/pass\">Changer votre mot de passe</A>"; |
} |
else { |
$l_access_denied = "ACCESS DENIED"; |
$l_access_controled = "ACCESS CONTROLED"; |
$l_required_domain = "Required WEB site"; |
$l_explain = "Your portal has just detected that the Internet access is down"; |
$l_contact = "Contact your Internet provider responsive for more information"; |
$l_welcome = "Welcome on the captive portal ALCASAR.<br>You can connect: "; |
$l_acc_access = "<a href=\"https://$private_ip/acc\">to the ALCASAR Control Center (ACC)</A>"; |
$l_welcome = "Welcome on the captive portal ALCASAR.<br>Possible actions : "; |
$l_acc_access = "<a href=\"https://$private_ip/acc\">go to the ALCASAR Control Center (ACC)</A>"; |
$l_logout = "<a href=\"http://$private_ip:3990/logoff\">Logoff if your session is open</A>"; |
$l_internet_access = "<a href=\"https://$private_ip/intercept.php\">Internet intercept page for Test</A>"; |
$l_paasword_change = "<a href=\"https://$private_ip/pass\">Change your password</A>"; |
} |
?> |
<head> |
42,13 → 40,13 |
<tr> |
<td colspan=2 bgcolor=#FEA700 height=100 align=center> |
<font face=arial,helvetica size=6> |
<? if ($direct_access == "true"){echo "<b>$l_access_controled</b>";} else {echo "<b>$l_access_denied</b>";}?> |
<? if ($direct_access == "true"){echo "<img height=\"90\" src=\"images/titre-alcasar.png\">";} else {echo "<b>$l_access_denied</b>";}?> |
</td> |
</tr> |
<tr> |
<td colspan=2 bgcolor=#FFFACD height=30 align=right> |
<font face=arial,helvetica size=3 color=black> |
<b><? echo "$l_required_domain : $_SERVER[HTTP_HOST]";?></b> |
<b><? if ($direct_access != "true"){echo "$l_required_domain : $_SERVER[HTTP_HOST]";}?></b> |
</td> |
</tr> |
<tr> |
61,7 → 59,7 |
<font size=3> |
<? |
if ($direct_access == "true"){ |
echo "<center>$l_welcome</center> <br><li> $l_acc_access <li> $l_logout <li> $l_internet_access";} |
echo "<center>$l_welcome</center> <br> <li> $l_logout <li> $l_password_change <li> $l_acc_access";} |
else {echo "$l_explain <br><br> $l_contact";} |
?> |
</td> |