mirror of
https://github.com/casjaysdevdocker/squidguard
synced 2025-09-18 09:57:46 -04:00
🦈🏠🐜❗ Initial Commit ❗🐜🦈🏠
This commit is contained in:
173
config/e2guardian/languages/dutch/fancydmtemplate.html
Normal file
173
config/e2guardian/languages/dutch/fancydmtemplate.html
Normal file
@@ -0,0 +1,173 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Downloading -FILENAME- (-FILESIZE- bytes)</title>
|
||||
<script language='javascript'>
|
||||
<!--
|
||||
var scanned = 1;
|
||||
var fs = -FILESIZE-;
|
||||
function timestring(seconds) {
|
||||
var hours = Math.floor(seconds/3600);
|
||||
var minutes = Math.floor((seconds/60) - (hours*3600));
|
||||
var seconds = seconds - (minutes*60) - (hours*3600);
|
||||
var string = "";
|
||||
if (hours > 0) {
|
||||
if (hours < 10)
|
||||
string = "0"+hours;
|
||||
else
|
||||
string = hours;
|
||||
string += ":";
|
||||
}
|
||||
if (minutes > 0) {
|
||||
if (minutes < 10)
|
||||
string += "0"+minutes;
|
||||
else
|
||||
string += minutes;
|
||||
} else {
|
||||
string += "00";
|
||||
}
|
||||
string += ":";
|
||||
if (seconds > 0) {
|
||||
if (seconds < 10)
|
||||
string += "0"+seconds;
|
||||
else
|
||||
string += seconds;
|
||||
} else {
|
||||
string += "00";
|
||||
}
|
||||
return string;
|
||||
}
|
||||
function filesizestring(bytes) {
|
||||
var gb = Math.floor(bytes/1073741824);
|
||||
if (gb > 0)
|
||||
return gb.toString()+" Gb";
|
||||
var mb = Math.floor(bytes/1048576);
|
||||
if (mb > 0)
|
||||
return mb.toString()+" Mb";
|
||||
var kb = Math.floor(bytes/1024);
|
||||
if (kb > 0)
|
||||
return kb.toString()+" Kb";
|
||||
return bytes.toString()+" bytes";
|
||||
}
|
||||
function progressupdate(got, speed) {
|
||||
var msg;
|
||||
if (fs > 0) {
|
||||
var sofar = (got/fs)*16;
|
||||
for (var i = 1; i <=sofar; i++)
|
||||
document.getElementById('progress'+i).style.backgroundColor = 'blue';
|
||||
msg = Math.round((got/-FILESIZE-)*100)+"%, time remaining: "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
|
||||
} else {
|
||||
msg = "Time remaining: unknown; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
|
||||
}
|
||||
document.getElementById('message1').innerHTML = msg;
|
||||
}
|
||||
function nowscanning() {
|
||||
for (var i = 1; i <=16; i++)
|
||||
document.getElementById('progress'+i).style.backgroundColor = 'blue';
|
||||
if (scanned == 1) {
|
||||
var msg = "Download complete! Now scanning...";
|
||||
document.getElementById('message1').innerHTML = msg;
|
||||
}
|
||||
}
|
||||
function downloadlink(rawlink, prettylink, type) {
|
||||
if (type == 0)
|
||||
var msg = "File scanned";
|
||||
else if (type == 1)
|
||||
var msg = "File downloaded, but not scanned due to size";
|
||||
else if (type == 2)
|
||||
var msg = "File too large to cache, please download directly";
|
||||
document.getElementById('message1').innerHTML = msg;
|
||||
if (type != 2)
|
||||
document.getElementById('message2').innerHTML = "<a href='"+rawlink+"'>"+prettylink+"</a>";
|
||||
else
|
||||
document.getElementById('message2').innerHTML = "<a href='"+prettylink+"'>"+prettylink+"</a>";
|
||||
document.write("</body></html>");
|
||||
}
|
||||
function downloadwarning(sizelimit) {
|
||||
scanned = 0;
|
||||
document.getElementById('message2').innerHTML = "Warning: File too large for content scanning. If you suspect that this file is larger than "+filesizestring(sizelimit)+", refresh this page to download directly.";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<script language='javascript'>
|
||||
<!--
|
||||
document.write(unescape("\
|
||||
<table align='center'><tr><td>\
|
||||
<div style='font-size:8pt;padding:2px;border:solid black 1px'>\
|
||||
<span id='progress1'>%26nbsp; %26nbsp;</span> \
|
||||
<span id='progress2'>%26nbsp; %26nbsp;</span> \
|
||||
<span id='progress3'>%26nbsp; %26nbsp;</span> \
|
||||
<span id='progress4'>%26nbsp; %26nbsp;</span> \
|
||||
<span id='progress5'>%26nbsp; %26nbsp;</span> \
|
||||
<span id='progress6'>%26nbsp; %26nbsp;</span> \
|
||||
<span id='progress7'>%26nbsp; %26nbsp;</span> \
|
||||
<span id='progress8'>%26nbsp; %26nbsp;</span> \
|
||||
<span id='progress9'>%26nbsp; %26nbsp;</span> \
|
||||
<span id='progress10'>%26nbsp; %26nbsp;</span> \
|
||||
<span id='progress11'>%26nbsp; %26nbsp;</span> \
|
||||
<span id='progress12'>%26nbsp; %26nbsp;</span> \
|
||||
<span id='progress13'>%26nbsp; %26nbsp;</span> \
|
||||
<span id='progress14'>%26nbsp; %26nbsp;</span> \
|
||||
<span id='progress15'>%26nbsp; %26nbsp;</span> \
|
||||
<span id='progress16'>%26nbsp; %26nbsp;</span> \
|
||||
</div>\
|
||||
</td></tr></table>\
|
||||
<center><p><tt id='message1'></tt></p><p id='message2' style='color: #600;'></p></center>"));
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<!--
|
||||
The available variables are as follows:
|
||||
- FILENAME- gives the name of the file being downloaded
|
||||
- FILESIZE- gives the size of the file in bytes
|
||||
|
||||
- FILESIZE- of zero indicates that file size is not known
|
||||
|
||||
You need to remove the space between the - and the variable to use them
|
||||
in your HTML. They are there above so extra processing is not required.
|
||||
|
||||
The following JavaScript functions must be defined:
|
||||
|
||||
progressupdate(got, speed)
|
||||
This is called when the page is initially displayed (i.e. after
|
||||
initialtrickledelay has passed), and periodically afterwards to
|
||||
update progress (once every trickledelay seconds).
|
||||
Parameters:
|
||||
got - how much of the file we have downloaded, in bytes.
|
||||
speed - current estimate of download speed, in bytes per second.
|
||||
|
||||
nowscanning()
|
||||
This is called once downloading is complete, and scanning has
|
||||
begun. (Note: scanning has not actually begun if downloadwarning()
|
||||
has been called at some point.)
|
||||
|
||||
downloadlink(rawlink, prettylink, type)
|
||||
This is called after scanning has completed, and the file is
|
||||
ready to be sent to the user.
|
||||
Parameters:
|
||||
rawlink - the URL from which the scanned file can be grabbed
|
||||
prettylink - the original URL which triggered the fancy download manager
|
||||
type - the status of the download/scan:
|
||||
0 - downloaded & scanned
|
||||
1 - downloaded, but too big to have been scanned
|
||||
2 - too big to be completely downloaded
|
||||
codes 1 and 2 can only be encountered on files for which the content
|
||||
length is not known in advance. "rawlink" should be ignored for code 2.
|
||||
|
||||
downloadwarning(sizelimit)
|
||||
This is called when a file with unknown content-length has exceeded
|
||||
the configured maxcontentfilecachescansize. Used to warn the user
|
||||
that the fancy DM may not be able to retrieve the entire file,
|
||||
and that they should download directly (refresh the page; the URL will
|
||||
have been added to DG's clean cache) if they know it to be larger
|
||||
than sizelimit.
|
||||
sizelimit - the value of the fancy DM's maxdownloadsize. If a file
|
||||
exceeds this limit also, the fancy DM cannot continue
|
||||
(will trigger downloadlink status type 2).
|
||||
|
||||
Please note that the fancy download manager also outputs content contained in
|
||||
<noscript> tags, for browsers which disable or do not support javascript. If you
|
||||
customise this template, you may wish to test its behaviour and appearance in
|
||||
such circumstances.
|
||||
-->
|
119
config/e2guardian/languages/dutch/messages
Normal file
119
config/e2guardian/languages/dutch/messages
Normal file
@@ -0,0 +1,119 @@
|
||||
# e2guardian berichten in het Nederlands
|
||||
# Door S.A. de Heer
|
||||
# Updates door Eric Hameleers
|
||||
"0","Message number absent" # needs translation
|
||||
"1","Toegang geweigerd"
|
||||
"10","IP limit exceeded. There is a " # needs translation
|
||||
"11"," IP limit set." # needs translation
|
||||
"50"," in " # needs translation
|
||||
"51","TRUSTED" # needs translation
|
||||
"52","DENIED" # needs translation
|
||||
"53","INFECTED" # needs translation
|
||||
"54","SCANNED" # needs translation
|
||||
"55","CONTENTMOD" # needs translation
|
||||
"56","URLMOD" # needs translation
|
||||
"57","HEADERMOD" # needs translation
|
||||
"58","HEADERADD" # needs translation
|
||||
"59","NETERROR" # needs translation
|
||||
"70","SSL SITE" # needs translation
|
||||
"71","IP Limit" # needs translation
|
||||
"72","Content scanning" # needs translation
|
||||
"100","Uw IP adres mag niet websurfen: "
|
||||
"101","Uw IP adres mag niet websurfen."
|
||||
"102","Uw gebruikersnaam mag niet websurfen: "
|
||||
"103","Banned Client IP" # needs translation
|
||||
"104","Banned Location" # needs translation
|
||||
"105","Banned User" # needs translation
|
||||
"110","Proxy authentication error" # needs translation
|
||||
"121","Only limited access allowed from your location" # needs translation
|
||||
"150","Certificate supplied by server was not valid" # needs translation
|
||||
"151","Could not open ssl connection" # needs translation
|
||||
"152","Failed to get ssl certificate" # needs translation
|
||||
"153","Failed to load ssl private key" # needs translation
|
||||
"154","Failed to negotiate ssl connection to client" # needs translation
|
||||
"155","No SSL certificate supplied by server" # needs translation
|
||||
"156","Server's SSL certificate does not match domain name" # needs translation
|
||||
"157","Unable to create tunnel through local proxy" # needs translation
|
||||
"158","Opening tunnel failed" # needs translation
|
||||
"159","Could not connect to proxy server" # needs translation
|
||||
"160","Failed to nogotiate ssl connection to server" # needs translation
|
||||
"200","De gevraagde URL is syntactisch incorrect."
|
||||
"201","Unable to get response from upstream proxy (timeout)" # needs translation
|
||||
"202","Unable to get response from upstream proxy (error)" # needs translation
|
||||
"203","The site requested is not responding" # needs translation
|
||||
"204"," - Please try again later" # needs translation
|
||||
"205","Upstream proxy is not responding (network error)" # needs translation
|
||||
"206"," - Please try again later" # needs translation
|
||||
"207","The site requested does not exist" # needs translation
|
||||
"208","The site requested does not have an IPv4 address" # needs translation
|
||||
"209","Temporary DNS service failure - please try again" # needs translation
|
||||
"210","DNS service failure - please try again later" # needs translation
|
||||
"300","Geblokkeerd woord gevonden: "
|
||||
"301","Geblokkeerd woord gevonden."
|
||||
"400","Geblokkerde combinatie van woorden gevonden: "
|
||||
"401","Geblokkerde combinatie van woorden gevonden."
|
||||
"402","Gewogen woorden limiet van: "
|
||||
"403","Gewogen woorden limiet overschreden."
|
||||
"450","Banned search term found: " # needs translation
|
||||
"451","Banned search term found." # needs translation
|
||||
"452","Banned combination search term found: " # needs translation
|
||||
"453","Banned combination search term found." # needs translation
|
||||
"454","Weighted search term limit of " # needs translation
|
||||
"455","Weighted search term limit exceeded." # needs translation
|
||||
"456","Exception combination search term found: " # needs translation
|
||||
"457","Exception search term found: " # needs translation
|
||||
"500","Geblokkeerde website: "
|
||||
"501","Geblokkeerde URL: "
|
||||
"502","Web blokkade is actief en deze website is niet in de toegangslijst."
|
||||
"503","Geblokkeerde reguliere expressie in de URL: "
|
||||
"504","Geblokkeerde reguliere expressie in de URL gevonden."
|
||||
"505","IP adressen zijn geblokkeerd en dat adres is enkel een IP adres."
|
||||
"506","SSL is geblokkeerd en deze website komt niet voor op de toegangslijsten."
|
||||
"507","SSL IP adressen zijn geblokkeerd en dat adres is enkel een IP addres."
|
||||
"508","Access not allowed using this browser (or app): " # needs translation
|
||||
"509","Access not allowed using this browser (or app)." # needs translation
|
||||
"510","Blocked IP site " # needs translation
|
||||
"511","Tranparent https connection is not TLS: " # needs translation
|
||||
"512","Tranparent https connection does not have SNI: " # needs translation
|
||||
"520","Blocked HTTPS site: " # needs translation
|
||||
"521","Banned Search Words: " # needs translation
|
||||
"522","Blocked User-Agent: " # needs translation
|
||||
"560","Blocked site (local): " # needs translation
|
||||
"561","Blocked URL (local): " # needs translation
|
||||
"580","Blocked HTTPS site (local): " # needs translation
|
||||
"581","Banned Search Words (local): " # needs translation
|
||||
"600","Uitzonderings IP adres gevonden."
|
||||
"601","Uitzonderings gebruiker gevonden."
|
||||
"602","Uitzonderings website gevonden."
|
||||
"603","Uitzonderings URL gevonden."
|
||||
"604","Uitzonderings woord gevonden: "
|
||||
"605","Uitzonderings combinatie van woorden gevonden: "
|
||||
"606","URL omzeiling uitzondering."
|
||||
"607","Cookie omzeiling uitzondering."
|
||||
"608","Scan omzeiling URL uitzondering."
|
||||
"609","Uitzondering reguliere expressie URL gevonden: "
|
||||
"610","User-Agent pattern match: " # needs translation
|
||||
"620","Referer match: " # needs translation
|
||||
"630","URL match in " # needs translation
|
||||
"631"," location allow list" # needs translation
|
||||
"632","Location overide allow list matched" # needs translation
|
||||
"662","Site (local)." # needs translation
|
||||
"663","URL (local)." # needs translation
|
||||
"700","Uploaden via het web is geblokkerd."
|
||||
"701","Web upload limiet overschreden."
|
||||
"750","Bestands-download is geblokkeerd en dit MIME type komt niet voor op de goedkeuringslijst: "
|
||||
"751","Bestands-download is geblokkeerd en dit bestand komt niet voor op de goedkeuringslijsten: "
|
||||
"800","Geblokkeerd MIME Type: "
|
||||
"900","Geblokkeerd bestandstype: "
|
||||
"1000","'PICS labeling' niveau overschrijding op bovenvermelde site."
|
||||
"1100","Virus of onbetamelijke inhoud ontdekt."
|
||||
"1101","Advertentie geblokkeerd."
|
||||
"1200","Geduld a.u.b. - bezig met downloaden om te scannen..."
|
||||
"1201","Waarschuwing: bestand te groot om te scannen. Vermoedt u dat dit bestand groter is dan "
|
||||
"1202",", ververs dan deze pagina om direct te downloaden."
|
||||
"1203","WARNING: Could not perform content scan!" # needs translation
|
||||
"1210","Download Compleet. Scan wordt gestart..."
|
||||
"1220","Scan compleet.</p><p>Klik hier om te downloaden: "
|
||||
"1221","Download compleet; bestand niet gescand.</p><p>Klik hier om te downloaden: "
|
||||
"1222","Bestand te groot voor tussenopslag.</p><p>Klik hier om opnieuw te downloaden zonder scan: "
|
||||
"1230","Bestand niet langer beschikbaar"
|
144
config/e2guardian/languages/dutch/neterr_template.html
Normal file
144
config/e2guardian/languages/dutch/neterr_template.html
Normal file
File diff suppressed because one or more lines are too long
87
config/e2guardian/languages/dutch/template.html
Normal file
87
config/e2guardian/languages/dutch/template.html
Normal file
@@ -0,0 +1,87 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>e2guardian - toegang geweigerd</title>
|
||||
</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>
|
||||
<b>De toegang werd geweigerd!!</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=2 bgcolor=#FFFACD height=30 align=right>
|
||||
<font face=arial,helvetica size=3 color=black>
|
||||
<b>-USER- </b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align=center valign=bottom width=150 bgcolor=#B0C4DE>
|
||||
<font face=arial,helvetica size=1 color=black>
|
||||
YOUR ORG NAME
|
||||
</td>
|
||||
<td width=550 bgcolor=#FFFFFF align=center valign=center>
|
||||
<font face=arial,helvetica color=black>
|
||||
<font size=4>
|
||||
Toegang tot de pagina:
|
||||
<br><br>
|
||||
<a href="-URL-" target="_blank">-URL-</a>
|
||||
<br><br>
|
||||
<font size=3>
|
||||
... werd geweigerd om de volgende reden:
|
||||
<br><br>
|
||||
<font color=red>
|
||||
<b>-REASONGIVEN-</b>
|
||||
<font color=black>
|
||||
<br><br>
|
||||
Categorieën:
|
||||
<br><br>
|
||||
<font color=red>
|
||||
<b>-CATEGORIES-</b>
|
||||
<font color=black>
|
||||
<br><br><br><br>
|
||||
U ziet deze melding omdat de pagina die u probeerde te benaderen,
|
||||
materiaal lijkt te bevatten dat ongeschikt is om te bekijken,
|
||||
of gemarkeerd is als ongeschikt om te bekijken.
|
||||
<br><br>
|
||||
Als u hier vragen over heeft neem dan contact op met uw netwerkbeheerder.
|
||||
<br><br><br><br>
|
||||
<font size=1>
|
||||
Verzorgd door <a href="http://www.e2guardian.org?block" target="_blank">e2guardian</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
<!--
|
||||
De beschikbare variablelen zijn als volgt:
|
||||
- URL- gives the URL the user was trying to get to.
|
||||
- REASONGIVEN- gives the nice reason (i.e. not quoting the banned phrase).
|
||||
- REASONLOGGED- gives the reason that gets logged including full details.
|
||||
- USER- gives the username if known.
|
||||
- IP- gives the originating IP.
|
||||
- HOST- gives the originating hostname if known.
|
||||
- RAWFILTERGROUP- gives the group number.
|
||||
- FILTERGROUP- gives the group name.
|
||||
- SERVERIP- gives the IP address on which the filter is running (correct for multiple filterip lines, but not if filterip option is blank).
|
||||
- BYPASS- gives URL which allows temporary bypass of denied page
|
||||
- CATEGORIES- gives the categories assigned to the banned content
|
||||
|
||||
U dient de spatie te verwijderen tussen de - en de variabele om deze in uw HTML te kunnen gebruiken. De spaties in de voorbeelden hierboven zijn bedoeld om ze niet onnodig te laten verwerken.
|
||||
|
||||
Meer voorbeeld templates zijn wellicht te vinden op de e2guardian web site, op de Extras pagina.
|
||||
|
||||
Deze pagina werd ontworpen door Paul Richards. (http://www.ridney.com/)
|
||||
Vertaling door Eric Hameleers (http://www.slackware.com/~alien/)
|
||||
|
||||
Daniel Barron 2003-09-01
|
||||
-->
|
||||
|
Reference in New Issue
Block a user