Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2865 → Rev 2866

/alcasar.sh
1282,10 → 1282,14
 
# Adapt the first group conf file
[ -e $DIR_DG/e2guardianf1.conf.default ] || cp $DIR_DG/e2guardianf1.conf $DIR_DG/e2guardianf1.conf.default
# Reporting (deny page) in HTML
$SED "s/^reportinglevel =.*/reportinglevel = 3/g" $DIR_DG/e2guardianf1.conf
$SED "s/^groupname =.*/groupname = 'blacklisted users'/g" $DIR_DG/e2guardianf1.conf
$SED "s/^#htmltemplate =.*/htmltemplate = 'alcasar-e2g.html'/g" $DIR_DG/e2guardianf1.conf
 
# copy HTML templates
cp $DIR_CONF/alcasar-e2g-fr.html /usr/share/e2guardian/languages/french/alcasar-e2g.html
cp $DIR_CONF/alcasar-e2g-en.html /usr/share/e2guardian/languages/ukenglish/alcasar-e2g.html
 
###### ALCASAR special filtering ####
# RAZ bannedphraselist
cp $DIR_DG/lists/bannedphraselist $DIR_DG/lists/bannedphraselist.default
/conf/havp-tmpfs-example
File deleted
/conf/template.html
File deleted
Property changes:
Deleted: svn:keywords
-Id Author Date
\ No newline at end of property
/conf/virus-en.html
File deleted
Property changes:
Deleted: svn:keywords
-Id Date Author
\ No newline at end of property
/conf/virus-fr.html
File deleted
Property changes:
Deleted: svn:keywords
-Id Author date
\ No newline at end of property
/conf/template-fr.html
File deleted
Property changes:
Deleted: svn:keywords
-Id Author Date
\ No newline at end of property
/conf/alcasar-e2g-en.html
0,0 → 1,49
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Access control</title>
<link rel="stylesheet" type="text/css" href="//alcasar.localdomain/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="//alcasar.localdomain/css/index.css">
<link rel="icon" href="/images/favicon-48.ico" type="image/ico">
</head>
<body>
<div class="col-xs-12 col-md-10 col-md-offset-1">
<!-- HeaderBox -->
<div class="row banner">
<!-- Logo box -->
<div class="img_banner hidden-xs col-sm-3 col-md-2 col-lg-2">
<img class="img-responsive img-organisme" src="//alcasar.localdomain/images/organisme.png">
</div>
<!-- Title -->
<div id="cadre_titre" class="titre_banner col-xs-12 col-sm-8">
<div id="cadre_titre" class="titre_refus">
<p id="acces_controle" class="titre_refus">Access control</p>
</div>
</div>
<!-- Logo box -->
<div class="img_banner hidden-xs col-sm-3 col-md-2 col-lg-2">
<img class="img-responsive img-organisme" src="//alcasar.localdomain/images/logo-alcasar_70.png">
</div>
</div>
<!-- Main content box -->
<div class="row">
<div id="contenu_acces" class="col-xs-12 col-lg-offset-1 col-lg-10">
<div id="box_url">
<br>
You try to connect to a ressource whose content is deemed to contain inappropriate information.
<table width="80%">
<tr>
<td><img src="//alcasar.localdomain/images/interdit.png"></td>
<td>Required WEB site : -URL- <br>category : -CATEGORIES- <br> -REASONGIVEN- </td>
</tr><tr>
<td></td><td><a href="javascript:history.back()">Previous page</a></td>
</tr>
</tr></table>
</div>
</div>
</div>
</div>
</body>
</html>
/conf/alcasar-e2g-fr.html
0,0 → 1,49
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contrôle d'accès</title>
<link rel="stylesheet" type="text/css" href="//alcasar.localdomain/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="//alcasar.localdomain/css/index.css">
<link rel="icon" href="/images/favicon-48.ico" type="image/ico">
</head>
<body>
<div class="col-xs-12 col-md-10 col-md-offset-1">
<!-- HeaderBox -->
<div class="row banner">
<!-- Logo box -->
<div class="img_banner hidden-xs col-sm-3 col-md-2 col-lg-2">
<img class="img-responsive img-organisme" src="//alcasar.localdomain/images/organisme.png">
</div>
<!-- Title -->
<div id="cadre_titre" class="titre_banner col-xs-12 col-sm-8">
<div id="cadre_titre" class="titre_refus">
<p id="acces_controle" class="titre_refus">Contrôle d'accès</p>
</div>
</div>
<!-- Logo box -->
<div class="img_banner hidden-xs col-sm-3 col-md-2 col-lg-2">
<img class="img-responsive img-organisme" src="//alcasar.localdomain/images/logo-alcasar_70.png">
</div>
</div>
<!-- Main content box -->
<div class="row">
<div id="contenu_acces" class="col-xs-12 col-lg-offset-1 col-lg-10">
<div id="box_url">
<br>
Vous tentez d'accéder à une ressource dont le contenu est réputé contenir des informations inappropriées.
<table width="80%">
<tr>
<td><img src="//alcasar.localdomain/images/interdit.png"></td>
<td>Site demandé : -URL- <br>catégorie : -CATEGORIES- <br> -REASONGIVEN- </td>
</tr><tr>
<td></td><td><a href="javascript:history.back()">Page précédente</a></td>
</tr>
</tr></table>
</div>
</div>
</div>
</div>
</body>
</html>
/web/index.php
573,7 → 573,8
<div id="contenu_acces" class="col-xs-12 col-lg-offset-1 col-lg-10">
<?php if ((!$direct_access) && (!$network_pb) && (!isset($_GET['warn']))): // print blacklist categories ?>
<div id="box_url">
<?= $filteredUrlHtml ?>
<br>
<?= $l_explain ?>
</div>
<?php endif; ?>
 
635,13 → 636,14
<p><?= $l_continue_link ?></p>
</div>
<?php else: ?>
<div id="box_refuse">
<img src="//<?= $hostname.$img_rep.$img_false ?>">
<p><?= $l_explain ?></p>
</div>
<div id="liens_redir">
<p><?= $l_back_page ?></p>
</div>
<table width="80%">
<tr>
<td><img src="//<?= $hostname.$img_rep.$img_false ?>"></td>
<td><?= $filteredUrlHtml ?></td>
</tr><tr>
<td></td><td><?= $l_back_page ?></td>
</tr>
</table>
<?php endif; ?>
<?php endif; ?>
</div>