Subversion Repositories ALCASAR

Compare Revisions

No changes between revisions

Ignore whitespace Rev 356 → Rev 359

/web/images/interdit.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+image/png
\ No newline at end of property
/web/images/fond-bandeau-rouge.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+image/png
\ No newline at end of property
/web/images/cle.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+image/png
\ No newline at end of property
/web/images/fond-bandeau.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+image/png
\ No newline at end of property
/web/images/globe.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+image/png
\ No newline at end of property
/web/acc/admin/dns_filter.php
39,6 → 39,7
$l_rehabilitated_url_explain="Entrez ici des URL bloquées par la liste noire principale <BR> que vous désirez réhabiliter.";
$l_one_url="Entrez une URL par ligne (exemple : domaine.org/perso.index.htm)";
$l_record="Enregistrer les modifications";
$l_wait="cette modification dure environ 30'";
}
else {
$l_title1 = "Domain names and URL filtering";
64,6 → 65,7
$l_rehabilitated_url_explain="Enter here URL that are blocked by the main blacklist <BR> and which you want to rehabilitate.";
$l_one_url="Enter one URL per row (exemple : www.domaine.org/perso/index.htm)";
$l_record="Save changes";
$l_wait="these changes take about 30'";
}
if (isset($_POST['choix'])){ $choix=$_POST['choix']; } else { $choix=""; }
switch ($choix)
/web/acc/admin/dns_filter2.php
100,7 → 100,7
</td></tr>
<tr><td colspan=2>
<input type='hidden' name='choix' value='MAJ_OSSI'>
<input type='submit' value='<?php echo "$l_record"; ?>'>
</FORM>
<input type='submit' value='<?php echo "$l_record"?>'>
</form> <? echo "($l_wait)";?>
</td></tr>
</TABLE>
/web/css/style_intercept.css
124,10 → 124,178
.lien_deco {
TEXT-ALIGN: center;
FONT-SIZE: 18px;
MARGIN-BOTTOM: 15px;
}
.log_out {
FONT-SIZE: 24px;
TEXT-ALIGN: center;
COLOR: white;
PADDING-TOP: 30px;
MARGIN-TOP: 30px;
}
/* style de la page accès contrôlé*/
 
#cadre_titre{
POSITION: relative;
WIDTH: 730px;
HEIGHT: 98px;
MARGIN-TOP: 40px;
MARGIN-LEFT: auto;
MARGIN-RIGHT: auto;
Z-INDEX: 2;
}
#cadre_titre .titre_controle {
BORDER: 2px #666666 solid;
BACKGROUND-IMAGE: url(/images/fond-bandeau.png);
BACKGROUND-REPEAT: repeat-x;
}
#cadre_titre .titre_refus {
BORDER: 2px red solid;
BACKGROUND-IMAGE: url(/images/fond-bandeau-rouge.png);
BACKGROUND-REPEAT: repeat-x;
}
#boite_logo{
POSITION: absolute;
TOP: -30px;
LEFT: -30px;
WIDTH: 150px;
HEIGHT: 150px;
Z-INDEX: 2;
}
#acces_controle {
TEXT-ALIGN: center;
COLOR: white;
FONT-SIZE: 50px;
FONT-STYLE: bold;
PADDING-TOP: 20px;
PADDING-BOTTOM: 20px;
MARGIN: 0px;
}
#logo_acces {
POSITION: relative;
TOP: 0px;
LEFT: 0px;
}
#contenu_acces {
POSITION: relative;
WIDTH: 640px;
HEIGHT: 400px;
TOP: -20px;
PADDING-TOP: 0px;
BACKGROUND-COLOR: white; /* a changer pour #efefef */
BORDER-BOTTOM: 2px #666666 solid;
BORDER-LEFT: 2px #666666 solid;
BORDER-RIGHT: 2px #666666 solid;
BORDER-TOP: 0px;
MARGIN-LEFT: auto;
MARGIN-RIGHT: auto;
Z-INDEX: 1;
}
#logo_acces IMG, #box_refuse IMG {
WIDTH: 95px;
HEIGHT: 95px;
}
 
/* Boite des liens*/
 
#box_url {
POSITION: relative;
TOP: 35px;
FONT-FAMILY: arial;
TEXT-ALIGN: right;
FONT-SIZE: 14px;
FONT-WEIGHT: bold;
COLOR: black;
MARGIN-RIGHT: 20px;
}
#box_bienvenue {
FONT-SIZE: 18px;
FONT-WEIGHT: bold;
}
#cadre_titre SPAN {
POSITION: absolute;
TOP: 80px;
WIDTH: 540px;
LEFT: 100px;
FONT-SIZE: 14px;
FONT-WEIGHT: bold;
COLOR: red;
TEXT-ALIGN: center;
}
#box_refuse {
FONT-SIZE: 16px;
COLOR: black;
MARGIN-LEFT: 130px;
MARGIN-RIGHT: 20px;
MARGIN-TOP: 40px;
WIDTH: 460px;
}
#box_refuse IMG {
POSITION: absolute;
TOP: -10px;
LEFT: -110px;
}
#box_refuse, #box_bienvenue {
POSITION: relative;
TOP: 55px;
}
#box_1 {
LEFT: 40px;
}
#box_2 {
LEFT: 350px;
}
#box_3 {
WIDTH: 575px;
LEFT: 40px;
BOTTOM: 20px;
}
#box_1 P, #box_2 P, #box_3 P {
MARGIN-LEFT: 80px;
MARGIN-RIGHT: 25px;
MARGIN-TOP: 0px;
FONT-SIZE: 10px;
}
#box_1 SPAN, #box_2 SPAN, #box_3 SPAN {
POSITION: relative;
MARGIN-LEFT: 75px;
MARGIN-RIGHT: 10px;
FONT-SIZE: 12px;
TOP: -20px;
}
.box_menu_courte, .box_menu_large {
POSITION: absolute;
HEIGHT: 80px;
BACKGROUND-IMAGE: url(/images/fond-bdd.png);
BACKGROUND-REPEAT: repeat-x;
VERTICAL-ALIGN: Bbottom;
TEXT-ALIGN: left;
BORDER: 2px #efefef solid;
}
.box_menu_courte {
WIDTH: 265px;
TOP: 170px;
}
.box_menu_courte IMG, .box_menu_large IMG {
POSITION: absolute;
WIDTH: 100px;
HEIGHT: 100px;
TOP: -40px;
LEFT: -30px;
}
.box_menu_courte, .box_menu_large, #logon , #contenu_acces, #acces_controle, #cadre_titre {
/* Arrondi CSS3 Firefox*/
-moz-border-radius: 10px;
/* Arrondi CSS3 Autres Nav*/
border-radius: 10px;
}
#liens_redir {
POSITION: relative;
BOTTOM: -100px;
LEFT: 90px;
TEXT-ALIGN: center;
}
#liens_redir P A {
FONT-SIZE: 12px;
TEXT-ALIGN: center;
MARGIN: 15px;
}
/web/index-access-deny.php
10,60 → 10,92
$Language = strtolower(substr(chop($Langue[0]),0,2)); }
if($Language == 'fr'){
$l_access_denied = "ACC&Egrave;S REFUS&Eacute;";
$l_access_controled = "ACC&Egrave;S CONTROL&Eacute;";
$l_required_domain = "Site WEB demand&eacute;";
$l_explain = "Vous tentez d'acc&eacute;der &agrave; une ressource dont le contenu est r&eacute;put&eacute; contenir des informations inappropri&eacute;es.";
$l_contact = "Contactez le responsable de la s&eacute;curit&eacute; (OSSI/RSSI) si vous pensez que ce filtrage est abusif.";
$l_welcome = "Bienvenue sur la page d'accueil du portail.<br>Actions possibles : ";
$l_welcome = "Bienvenue sur la page d'accueil du portail ALCASAR";
$l_acc_access = "<a href=\"https://$private_ip/acc\">Acc&eacute;der au centre de gestion (ALCASAR Control Center)</A>";
$l_logout = "<a href=\"http://$private_ip:3990/logoff\">Vous d&eacute;connecter si votre session est ouverte</A>";
$l_acc_access_explain = "Acc&egrave;s aux param&egrave;tres d'administration. Vous devez avoir le couple login / mot de passe vous autorisant &agrave; modifier les param&egrave;tres du portail captif.";
$l_logout = "<a href=\"http://$private_ip:3990/logoff\">D&eacute;connexion</A>";
$l_logout_explain = "Vous permet de d&eacute;connectez une session ouverte.";
$l_password_change = "<a href=\"https://$private_ip/pass\">Changer votre mot de passe</A>";
$l_password_change_explain = "Vous redirige sur la pages de changement du mot de passe de votre compte d'acc&egrave;s &agrave; internet.";
$l_back_page = "<a href=\"javascript:history.back()\">Page pr&eacute;c&eacute;dente</a>";
}
else {
$l_access_denied = "ACCESS DENIED";
$l_access_controled = "ACESS 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>Possible actions : ";
$l_welcome = "Welcome on the captive portal ALCASAR";
$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_acc_access_explain = "Admin. access. You must have administrator login and password to modify ALCASAR's properties";
$l_logout = "<a href=\"http://$private_ip:3990/logoff\">Loging off</A>";
$l_logout_explain = "Logoff if your session is open.";
$l_paasword_change = "<a href=\"https://$private_ip/pass\">Change your password</A>";
$l_password_change_explain = "Redirects you to the password change's page of your internet access account.";
$l_back_page = "<a href=\"javascript:history.back()\">Previous page</a>";
}
?>
<head>
<title>
<title>
<? if ($direct_access == "true"){echo "ALCASAR - $l_access_controled";} else {echo "ALCASAR - $l_access_denied";}?>
</title>
</title>
<LINK rel=stylesheet type=text/css href="css/style_intercept.css">
</head>
<body bgcolor=#FFFFFF>
<center>
<table border=0 cellspacing=0 cellpadding=2 height=540 width=700>
<tr>
<td colspan=2 bgcolor=#FEA700 height=100 align=center>
<font face=arial,helvetica size=6>
<? 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><? if ($direct_access != "true"){echo "$l_required_domain : $_SERVER[HTTP_HOST]";}?></b>
</td>
</tr>
<tr>
<td align=center valign=bottom width=150 bgcolor=#B0C4DE>
<font face=arial,helvetica size=1 color=black>
<img height="150" src="images/logo-alcasar.png">
</td>
<td width=550 bgcolor=#FFFFFF valign=center>
<font face=arial,helvetica color=black>
<font size=3>
 
<BODY>
<?
if ($direct_access == "true"){
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";}
echo "
<DIV id=\"cadre_titre\" class=\"titre_controle\">
<P id=\"acces_controle\" class=\"titre_controle\">$l_access_controled</P>";
}
else{
echo"
<DIV id=\"cadre_titre\" class=\"titre_refus\">
<P id=\"acces_controle\" class=\"titre_refus\">$l_access_denied</P>";
}
?>
</td>
</tr>
</table>
</body>
<DIV id="boite_logo">
<IMG src="images/organisme.png">
</DIV>
</DIV>
<DIV id="contenu_acces">
<DIV id="box_url">
<? if ($direct_access != "true"){echo "$l_required_domain : $_SERVER[HTTP_HOST]";}?>
</DIV>
<? if ($direct_access == "true"){
echo "
<DIV id=\"box_bienvenue\">
$l_welcome
</DIV>
<DIV class=\"box_menu_courte\" id=\"box_1\">
<IMG src=\"images/cle.png\">
<SPAN>$l_password_change</SPAN>
<P>$l_password_change_explain</P>
</DIV>
<DIV class=\"box_menu_courte\" id=\"box_2\">
<SPAN>$l_logout</SPAN>
<IMG src=\"images/globe.png\">
<P>$l_logout_explain</P>
</DIV>
<DIV class=\"box_menu_large\" id=\"box_3\">
<SPAN>$l_acc_access</SPAN>
<IMG src=\"images/logo-alcasar.png\">
<P>$l_acc_access_explain</P>
</DIV>";}
else {echo "
<DIV id=\"box_refuse\">
<img src=\"images/interdit.png\">
<P>$l_explain</P>
<P>$l_contact</P>
</DIV>
<DIV id=\"liens_redir\">
<P>$l_back_page</P>
</DIV>";}?>
</DIV>
</BODY>
</html>