Subversion Repositories ALCASAR

Compare Revisions

No changes between revisions

Ignore whitespace Rev 3001 → Rev 3002

/web/images/email.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes:
Added: svn:mime-type
+image/png
\ No newline at end of property
/web/images/sms.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
/web/index.php
61,6 → 61,7
$service_wifi4eu_code = $conf['WIFI4EU_CODE'];
$service_wifi4eu_server = 'https://collection.wifi4eu.ec.europa.eu/wifi4eu.min.js';
$service_SMS_status = ($conf['SMS'] === 'on');
$service_Email_status = ($conf['MAIL'] === 'on');
 
// Retrieve the user info behind the remote ip
$output = [];
153,7 → 154,8
$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/sms_registration.php\">Créer votre compte par SMS</a>";
$l_sms_access = "<a href=\"//$hostname/sms_registration.php\">Inscrivez-vous par SMS</a>";
$l_email_access = "<a href=\"//$hostname/email_registration_front.php\">Inscrivez-vous par Email</a>";
$l_install_certif = "Installer le certificat racine";
$l_category = "catégorie :";
if (!$user->connected) {
192,7 → 194,8
$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/sms_registration.php\">Crie a conta por SMS</a>";
$l_sms_access = "<a href=\"//$hostname/sms_registration.php\">Registar por SMS</a>";
$l_email_access = "<a href=\"//$hostname/email_registration_front.php\">Registar por Email</a>";
$l_install_certif = "Instalar Certificado Alcasar AC";
$l_category = "categoria :";
if (!$user->connected) {
231,7 → 234,8
$l_explain_net_pb = "您的门户检测因特网不可用。";
$l_contact_access_deny = "如果您认为该过滤不当,请联系安全负责人(OSSI/RSSI)。";
$l_contact_net_pb = "请联系IT负责人或网络服务商来了解更多信息。";
$l_sms_access = "<a href=\"//$hostname/sms_registration.php\">通過短信創建您的帳戶</a>";
$l_sms_access = "<a href=\"//$hostname/sms_registration.php\">通过短信注册</a>";
$l_email_access = "<a href=\"//$hostname/email_registration_front.php\">通过电子邮件注册</a>";
$l_install_certif = "安装根证书";
$l_category = "类别 :";
if (!$user->connected) {
271,7 → 275,8
$l_contact_access_deny = "المرجو الاتصال بضابط أمن (OSS / RSS) إذا اعتقدت ان هذه التصفية غير قانونية";
$l_contact_net_pb = "المرجو الاتصال بمدير المعلومات أو مورد الأنترنت للمزيد من المعلومات";
$auto_save_sms_text = "تسجيل ذاتي على";
$l_sms_access = "<a href=\"//$hostname/sms_registration.php\">إنشاء حسابك لا SMS</a>";
$l_sms_access = "<a href=\"//$hostname/sms_registration.php\">اشترك عن طريق الرسائل القصيرة</a>";
$l_email_access = "<a href=\"//$hostname/email_registration_front.php\">通过电子邮件注册</a>";
$l_install_certif = "ركب جذر الشهادة";
$l_category = "فئة :";
if (!$user->connected) {
326,7 → 331,8
$l_explain_net_pb = "Offenbar funktioniert ihr Internetzugriff nicht.";
$l_contact_access_deny = "Kontaktieren Sie ihren Sicherheitsbeauftragten wenn Sie denken dass diese Filterung unangemessen ist.";
$l_contact_net_pb = "Kontaktieren Sie Ihren Netzwerkbeauftragten oder Ihren Internetanbieter für weitere Informationen.";
$l_sms_access = "<a href=\"//$hostname/sms_registration.php\">Einen Account per SMS erstellen</a>";
$l_sms_access = "<a href=\"//$hostname/sms_registration.php\">Melden Sie sich per SMS an</a>";
$l_email_access = "<a href=\"//$hostname/email_registration_front.php\">Melden Sie sich per E-Mail an</a>";
$l_install_certif = "Das ALCASAR AC Zertifikat installieren";
$l_category = "Kategorie:";
if (!$user->connected) {
365,7 → 371,8
$l_explain_net_pb = "El sistema informa que el acceso a Internet no esta disponible.";
$l_contact_access_deny = "Por favor póngase en contacto con el administrador de la red si cree que este filtrado es abusivo";
$l_contact_net_pb = "Póngase en contacto con el responsable de la red o con su proveedor de Internet para obtener más información.";
$l_sms_access = "<a href=\"//$hostname/sms_registration.php\">Alta de cuenta por SMS</a>";
$l_sms_access = "<a href=\"//$hostname/sms_registration.php\">Registro por SMS</a>";
$l_email_access = "<a href=\"//$hostname/email_registration_front.php\">Registro por Email</a>";
$l_install_certif = "Instalar certificado ALCASAR AC";
$l_category = "categoría:";
if (!$user->connected) {
404,7 → 411,8
$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/sms_registration.php\">Create your account by SMS</a>";
$l_sms_access = "<a href=\"//$hostname/sms_registration.php\">Register by SMS</a>";
$l_email_access = "<a href=\"//$hostname/email_registration_front.php\">Register by Email</a>";
$l_install_certif = "Install ALCASAR AC Certificate";
$l_category = "category:";
if (!$user->connected) {
439,20 → 447,20
$l_explain = ($direct_access ? $l_explain_acc_access : ($network_pb ? $l_explain_net_pb : $l_explain_access_deny));
 
// Set the icons
$img_rep = '/images/';
$img_organisme = 'organisme.png';
$img_access = 'globe_acces_70.png';
$img_connect = 'globe_70.png';
$img_warning = 'globe_warning_70.png';
$img_pwd = 'cle_ombre.png';
$img_certificate = 'certificat.png';
$img_acc = 'logo-alcasar_70.png';
$img_sms = 'sms.png';
$img_false = 'interdit.png';
$img_adm = 'adm.png';
$img_rep = '/images/';
$img_organisme = 'organisme.png';
$img_access = 'globe_acces_70.png';
$img_connect = 'globe_70.png';
$img_warning = 'globe_warning_70.png';
$img_pwd = 'cle_ombre.png';
$img_certificate = 'certificat.png';
$img_acc = 'logo-alcasar_70.png';
$img_sms = 'sms.png';
$img_email = 'email.png';
$img_false = 'interdit.png';
$img_adm = 'adm.png';
$img_internet = (($user->connected) ? $img_connect : ($network_pb ? $img_warning : $img_access));
 
$img_internet = (($user->connected) ? $img_connect : ($network_pb ? $img_warning : $img_access));
 
if ($direct_access) {
// Read the "Domain allowed" file
$domainsAllowed = [];
600,11 → 608,11
<?php if ($direct_access): ?>
<div class="box_menu<?= (!$network_pb) ? '' : ' box-menu-disabled' ?>" id="box_conn" <?= (!$network_pb) ? '' : 'title=\'Not available\'' ?>>
<span><?= $l_logout ?></span>
<div class="menu-image">
<div class="menu-image">
<img class="img-responsive" src="<?= $img_rep.$img_internet ?>">
</div>
</div>
 
<div class="box_menu_right box_menu" id="box_certif">
<span><a href="<?= $certCa_link ?>"><?= $l_install_certif ?></a></span>
<div class="menu-image">
620,7 → 628,7
</div>
 
<?php if ($service_SMS_status === true): ?>
<div class="box_menu_right box_menu" id="box_acc">
<div class="box_menu_right box_menu" id="box_sms">
<span><?= $l_sms_access ?></span>
<div class="menu-image">
<img class="img-responsive menu-image" src="<?= $img_rep.$img_sms ?>">
627,6 → 635,15
</div>
</div>
<?php endif; ?>
 
<?php if ($service_Email_status === true): ?>
<div class="box_menu_right box_menu" id="box_email">
<span><?= $l_email_access ?></span>
<div class="menu-image">
<img class="img-responsive menu-image" src="<?= $img_rep.$img_email ?>">
</div>
</div>
<?php endif; ?>
</div>
 
<!-- Info Box -->