Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2742 → Rev 2743

/rpms/rpm-build-howto
50,3 → 50,5
 
**** For nfdump ****
- install lib64rrdtool-devel, bison, flex
**** For gammu (if new version needed)
- see .spec or SRPMS and adapt. !! long time compilation
/web/css/style_intercept.css
110,32 → 110,180
}
 
/* placement et proportion de la boite de saisie et de l'aide */
#logon {
position: relative;
width: 620px;
top: 20px;
/* ombrage css3*/
-moz-box-shadow: 0px 0px 12px #000;
-webkit-box-shadow: 0px 0px 12px #000;
box-shadow: 0px 0px 12px #000;
/* pour desktop */
@media (min-width: 900px)
{
.mobile-only {
display: none;
}
#logon {
position: relative;
width: 620px;
top: 20px;
/* ombrage css3*/
-moz-box-shadow: 0px 0px 12px #000;
-webkit-box-shadow: 0px 0px 12px #000;
box-shadow: 0px 0px 12px #000;
}
#boite-logon {
background-image: linear-gradient(#efefef, #d5d5d5);
padding: 10px;
width: 420px;
height: 189px;
}
#boite-logon TD {
padding-top: 10px;
padding-left: 30px;
}
#boite-info {
border: 0px;
margin-top: 25px;
width: 580px;
padding-top: 10px;
}
}
#boite-logon {
background-image: linear-gradient(#efefef, #d5d5d5);
padding: 10px;
width: 420px;
height: 189px;
/* pour mobile */
@media (max-width: 900px)
{
.desktop-only {
display: none;
}
 
#logon {
position: relative;
width: 100%;
top: 10px;
/* ombrage css3*/
-moz-box-shadow: 0px 0px 12px #000;
-webkit-box-shadow: 0px 0px 12px #000;
box-shadow: 0px 0px 12px #000;
}
#boite-logon {
background-image: linear-gradient(#efefef, #d5d5d5);
padding: 10px;
width: 90%;
height: 189px;
}
#boite-logon TD {
padding-top: 10px;
}
input[type="text"]
{
font-size:30px;
}
input[type="password"]
{
font-size:30px;
}
#boite-logon INPUT {
border: #666666 1px solid;
padding: 2px;
font-family: arial;
height: 30px;
}
#authenticate-button {
font-size: 30px;
}
#boite-info {
border: 0px;
margin-top: 25px;
width: 580px;
padding-top: 10px;
}
}
#boite-logon TD {
padding-top: 10px;
padding-left: 30px;
/*boite de dialogue de deconnection*/
/* pour desktop */
@media (min-width: 900px)
{
.mobile-only {
display: none;
}
#contenu_acces {
position: relative;
width: 640px;
height: 400px;
top: -20px;
padding-top: 0px;
margin-left: auto;
margin-right: auto;
z-index: 1;
 
/* ombrage CSS3 */
 
-moz-box-shadow: 1px 1px 10px #000;
-webkit-box-shadow: 1px 1px 10px #000;
box-shadow: 1px 1px 10px #000;
}
#cadre_titre{
position: relative;
width: 730px;
height: 98px;
margin-top: 40px;
margin-left: auto;
margin-right: auto;
z-index: 2;
 
/* ombrage css3 */
 
-moz-box-shadow: 1px 4px 10px #000;
-webkit-box-shadow: 1px 4px 10px #000;
box-shadow: 1px 4px 10px #000;
}
#boite_logo{
position: absolute;
top: -30px;
left: -50px;
width: 150px;
height: 150px;
z-index: 2;
}
}
#boite-info {
border: 0px;
margin-top: 25px;
width: 580px;
padding-top: 10px;
/* pour mobile */
@media (max-width: 900px)
{
.desktop-only {
display: none;
}
#contenu_acces {
position: relative;
width: 90%;
height: 400px;
top: -20px;
padding-top: 0px;
margin-left: auto;
margin-right: auto;
z-index: 1;
 
/* ombrage CSS3 */
 
-moz-box-shadow: 1px 1px 10px #000;
-webkit-box-shadow: 1px 1px 10px #000;
box-shadow: 1px 1px 10px #000;
}
#cadre_titre{
position: relative;
width: 100%;
height: 98px;
margin-top: 40px;
margin-left: auto;
margin-right: auto;
z-index: 2;
 
/* ombrage css3 */
 
-moz-box-shadow: 1px 4px 10px #000;
-webkit-box-shadow: 1px 4px 10px #000;
box-shadow: 1px 4px 10px #000;
}
#boite_logo{
position: absolute;
top: -30px;
left: -10px;
width: 150px;
height: 150px;
z-index: 2;
}
}
/*boite de dialogue de deconnection*/
 
#auth_reussi {
width: 450px;
180,21 → 328,6
}
/* style de la page accès controlé*/
 
#cadre_titre{
position: relative;
width: 730px;
height: 98px;
margin-top: 40px;
margin-left: auto;
margin-right: auto;
z-index: 2;
 
/* ombrage css3 */
 
-moz-box-shadow: 1px 4px 10px #000;
-webkit-box-shadow: 1px 4px 10px #000;
box-shadow: 1px 4px 10px #000;
}
#cadre_titre .titre_controle {
background-image: url(/images/fond-bandeau.png);
background-repeat: repeat-x;
203,14 → 336,6
background-image: url(/images/fond-bandeau-rouge.png);
background-repeat: repeat-x;
}
#boite_logo{
position: absolute;
top: -30px;
left: -50px;
width: 150px;
height: 150px;
z-index: 2;
}
#acces_controle {
text-align: center;
font-size: 40px;
223,23 → 348,6
top: 0px;
left: 0px;
}
#contenu_acces {
position: relative;
width: 640px;
height: 400px;
top: -20px;
padding-top: 0px;
margin-left: auto;
margin-right: auto;
z-index: 1;
 
/* ombrage CSS3 */
 
-moz-box-shadow: 1px 1px 10px #000;
-webkit-box-shadow: 1px 1px 10px #000;
box-shadow: 1px 1px 10px #000;
}
 
#contenu_error {
position: relative;
width: 640px;
/web/index.php
152,7 → 152,7
$l_explain_net_pb = "Votre portail détecte que l'accès à Internet est indisponible.";
$l_contact_access_deny = "Contactez le responsable de la séurité (OSSI/RSSI) si vous pensez que ce filtrage est abusif.";
$l_contact_net_pb = "Contactez votre responsable informatique ou votre prestataire Internet pour plus d'information.";
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">Auto Enregistrement par SMS</a>";
$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 l'échange de données sécurisées entre votre station de consultation et le portail captif ALCASAR.<BR>Si ce certificat n'est pas enregistré sur votre station de consultation, il est possible que des alertes de sécurité soient émises par votre navigateur.<br><br>";
199,7 → 199,7
$l_explain_net_pb = "O sistema detectou que o acesso é de risco, não será permitido o acesso";
$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_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">Auto Registration by SMS</a>";
$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>";
246,7 → 246,7
$l_explain_net_pb = "您的门户检测因特网不可用。";
$l_contact_access_deny = "如果您认为该过滤不当,请联系安全负责人(OSSI/RSSI)。";
$l_contact_net_pb = "请联系IT负责人或网络服务商来了解更多信息。";
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">短信自动登录 </a>";
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">通過短信創建您的帳戶</a>";
$l_install_certif = "安装根证书";
$l_install_certif_more = "安装根证书";
$l_certif_explain = "允许您的计算机与ALCASAR门户进行安全数据交换。<BR>如果该证书未包含在您的计算机中,您的浏览器将出现一些安全提醒。<br><br>";
294,7 → 294,7
$l_contact_access_deny = "المرجو الاتصال بضابط أمن (OSS / RSS) إذا اعتقدت ان هذه التصفية غير قانونية";
$l_contact_net_pb = "المرجو الاتصال بمدير المعلومات أو مورد الأنترنت للمزيد من المعلومات";
$auto_save_sms_text = "تسجيل ذاتي على";
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">SMS $auto_save_sms_text</a>";
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">إنشاء حسابك لا SMS</a>";
$l_install_certif = "ركب جذر الشهادة";
$l_install_certif_more = "ALCASAR تركيب شهادة السلطة؛ جذر الكزار";
$exchange_data_text = "يمَكن من تبادل البيانات المؤمّنة بين محطة الاستفسار و بوابة الكزار الأسيرة";
361,7 → 361,7
$l_explain_net_pb = "Your portal has just detected that the Internet access is down";
$l_contact_access_deny = "Contact your security system manager if you think this filtering is abusive.";
$l_contact_net_pb = "Contact your network responsive or your Internet provider for further information.";
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">Auto Registration by SMS</a>";
$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 = "Allow secure data exchange between your computer and ALCASAR portal.<BR>If this certificate isn't incorporated in your computer, some security alerts should appear in your browser.<br><br>";
/web/intercept.php
534,16 → 534,29
 
<?php if ($result === 2 || $result === 3 || $result === 5): // failed or logoff or notyet ?>
<div id="logon">
<h1><?= $organisme ?></h1>
<h2><?= $l_loggedcont ?></h2>
<?php if ($result === 2): // failed ?>
<h3><?= $l_loginfailed ?></h3>
<?php if ($reply): // traitement du reply ... ?>
<center><?= $reply ?><br><br></center>
<?php endif; ?>
<?php endif;
if ($userurl === 'http://logout/') $userurl = 'http://www.google.com'; // Avoid cyclic logout
?>
<table id="mobile-logon-header">
<tr>
<td width="20%">
<img id="logo-organ" class="mobile-only" src="/images/organisme.png">
</td>
<td width="60%">
<h1><?= $organisme ?></h1>
<h2><?= $l_loggedcont ?></h2>
<?php if ($result === 2): // failed ?>
<h3 style="text-align: center"><?= $l_loginfailed ?></h3>
<?php if ($reply): // traitement du reply ... ?>
<center><?= $reply ?><br><br></center>
<?php endif; ?>
<?php endif;
if ($userurl === 'http://logout/') $userurl = 'http://www.google.com'; // Avoid cyclic logout
?>
</td>
<td width="20%">
</td>
</tr>
</table>
 
 
<img id="logo-alcasar" src="/images/logo-alcasar.png">
<form name="form1" method="post" action="<?= $loginpath ?>">
<input type="hidden" name="challenge" value="<?= $challenge ?>">
550,16 → 563,19
<input type="hidden" name="userurl" value="<?= $userurl ?>">
<table id="boite-logon">
<tr>
<td width="20%" rowspan="4"><img id="logo-organ" src="/images/organisme.png"></td>
<td width="30%" align="right"><?= $l_user ?></td>
<td width="50%" align="left"><input type="text" maxLength="32" name="username" autocomplete="off"></td>
<td class="desktop-only" width="20%" rowspan="4"> <img id="logo-organ" src="/images/organisme.png"></td>
<td class="desktop-only" width="30%" align="right"><?= $l_user ?></td>
<td class="desktop-only" width="50%" align="left"><input type="text" maxLength="32" name="username" autocomplete="off"></td>
<td class="mobile-only" width="100%" align="center"><input type="text" maxLength="32" name="username" autocomplete="off" placeholder="<?= $l_user ?>"></td>
</tr>
<tr>
<td align="right"><?= $l_password ?></td>
<td align="left"><input maxLength="32" type="password" name="password" autocomplete="off"></td>
<td class="desktop-only" align="right"><?= $l_password ?></td>
<td class="desktop-only" align="left"><input maxLength="32" type="password" name="password" autocomplete="off"></td>
 
<td class="mobile-only" width="100%" align="center"><input maxLength="32" type="password" name="password" autocomplete="off" placeholder="<?= $l_password ?>"></td>
</tr>
<tr>
<td height="23" align="left"><input value="<?= $l_boutonO ?>" type="submit" name="button"></td>
<td height="23" id="authenticate-button" align="center"><input value="<?= $l_boutonO ?>" type="submit" name="button"></td>
<?php if ($service_SMS_status): ?>
<td><a href="autoregistrationinfo.php"><?= $l_autoregistration ?></a></td>
<?php endif; ?>