mirror of
https://github.com/casjaysdevdocker/squidguard
synced 2025-09-19 21:57:39 -04:00
🦈🏠🐜❗ Initial Commit ❗🐜🦈🏠
This commit is contained in:
173
config/e2guardian/languages/german/fancydmtemplate.html
Normal file
173
config/e2guardian/languages/german/fancydmtemplate.html
Normal file
@@ -0,0 +1,173 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Herunterladen -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)+"%, Restzeit: "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; gesamt heruntergeladen: "+filesizestring(got);
|
||||
} else {
|
||||
msg = "Restzeit: unbekannt; "+filesizestring(speed)+"/s; gesamt heruntergeladen: "+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 = "Herunterladen abgeschlossen! Überprüfung wird gestartet...";
|
||||
document.getElementById('message1').innerHTML = msg;
|
||||
}
|
||||
}
|
||||
function downloadlink(rawlink, prettylink, type) {
|
||||
if (type == 0)
|
||||
var msg = "Datei wurde auf Schadsoftware geprüft! Es wurde KEINE Schadsoftware gefunden!";
|
||||
else if (type == 1)
|
||||
var msg = "Datei heruntergeladen, aber aufgrund der Größe nicht auf Schadsoftware geprüft";
|
||||
else if (type == 2)
|
||||
var msg = "Datei zu gross zur Überprüfung, bitte direktes Herunterladen starten";
|
||||
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 = "Warnung: Die Datei ist zu groß um auf Schadsoftware überprüft zu werden. Wenn Sie vermuten das die Dateigröße "+filesizestring(sizelimit)+" übersteigt, aktualisieren Sie diese Seite, um das direkte herunterladen erneut zu starten.";
|
||||
}
|
||||
//-->
|
||||
</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/german/messages
Normal file
119
config/e2guardian/languages/german/messages
Normal file
@@ -0,0 +1,119 @@
|
||||
# e2guardian 3 messages file in German
|
||||
#
|
||||
# Translated and adapted to Unicode by Peter Vollmar, Klaus Tachtler.
|
||||
"0","Message number absent" # needs translation
|
||||
"1","Zugriff verweigert"
|
||||
"10","IP-Limit erreicht. Limit bei "
|
||||
"11"," IP-Limit wurde gesetzt."
|
||||
"50"," von "
|
||||
"51","VERTRAUENSWÜRDIG"
|
||||
"52","VERWEIGERT"
|
||||
"53","INFIZIERT"
|
||||
"54","ÜBERPRÜFT"
|
||||
"55","INHALT MODIFIZIERT"
|
||||
"56","URL MODIFIZIERT"
|
||||
"57","HEADER MODIFIZIERT"
|
||||
"58","HEADER HINZUGEFÜGT"
|
||||
"59","NETZWERKFEHLER"
|
||||
"70","SSL SEITE"
|
||||
"71","IP-Limit"
|
||||
"72","Inhalt überprüfen"
|
||||
"100","Ihre Arbeitsstation hat keine Erlaubnis zum Surfen auf: "
|
||||
"101","Ihre Arbeitsstation hat keine Erlaubnis zum Surfen"
|
||||
"102","Ihr Benutzername hat keine Erlaubnis zum Surfen auf: "
|
||||
"103","Client-IP geblockt"
|
||||
"104","Lokation geblockt"
|
||||
"105","Benutzer geblockt"
|
||||
"110","Proxy authentication error" # needs translation
|
||||
"121","Von Ihrer Lokation aus ist nur ein begrenzter Zugriff möglich"
|
||||
"150","Das vom Server ausgelieferte Zertifikat ist ungültig"
|
||||
"151","Es konnte keine SSL-Verbindung aufgebaut werden"
|
||||
"152","Es wurde kein Zertifikat gefunden"
|
||||
"153","Es konnte kein privater Schlüssel geladen werden"
|
||||
"154","Es konnte keine Verbindung zum Client hergestellt werden"
|
||||
"155","Es wurde kein SSL-Zertifikat vom Server ausgeliefert"
|
||||
"156","Das vom Server ausgelieferte SSL-Zertifikat, passt nicht zum Namen der Domain"
|
||||
"157","Es konnte kein Verbindung zum lokalen Proxy hergestellt werden"
|
||||
"158","Verbindungsaufbau fehlgeschlagen"
|
||||
"159","Es konnte kein Verbindung zum Proxy-Server aufgebaut werden"
|
||||
"160","Die SSL-Verbindung zum Server konnte nicht hergestellt werden"
|
||||
"200","Die angeforderte URL ist ungültig"
|
||||
"201","Antwort vom Upstream-Proxy nicht möglich (Zeitüberschreitung)"
|
||||
"202","Antwort vom Upstream-Proxy nicht möglich (Fehler)"
|
||||
"203","Die angeforderte Seite antwortet nicht"
|
||||
"204"," - Bitte versuchen Sie es später noch einmal"
|
||||
"205","Upstream-Proxy antwortet nicht (Netzwerkfehler)"
|
||||
"206"," - Bitte versuchen Sie es später noch einmal"
|
||||
"207","Die angeforderte Seite existiert nicht"
|
||||
"208","Die angeforderte Seite hat keine IPv4-Adresse"
|
||||
"209","Vorübergehender Ausfall des DNS-Dienstes - Bitte versuchen Sie es erneut"
|
||||
"210","DNS-Dienstfehler - Bitte versuchen Sie es später noch einmal"
|
||||
"300","Verbotener Ausdruck gefunden: "
|
||||
"301","Verbotener Ausdruck gefunden"
|
||||
"400","Verbotene Kombination von Ausdrücken gefunden: "
|
||||
"401","Verbotene Kombination von Ausdrücken gefunden"
|
||||
"402","Gewichtete Ausdrucksbeschränkung von "
|
||||
"403","Gewichtete Ausdrucksbeschränkung überschritten"
|
||||
"450","Verbotener Suchausdruck gefunden: "
|
||||
"451","Verbotener Suchausdruck gefunden."
|
||||
"452","Verbotene Suchausdrücke gefunden: "
|
||||
"453","Verbotene Suchausdrücke gefunden."
|
||||
"454","Gewichtetes Suchausdruck-Limit erreicht: "
|
||||
"455","Gewichtetes Suchausdruck-Limit wurde erreicht."
|
||||
"456","Kombination von erlaubten Ausdrücken wurde gefunden: "
|
||||
"457","Erlaubter Ausdruck gefunden: "
|
||||
"500","Verbotene Seite: "
|
||||
"501","Verbotene URL: "
|
||||
"502","Totalsperre für Nur-IP-Adressen aktiv, diese Seite ist nicht auf der Erlaubt-Liste"
|
||||
"503","Aufgrund von regulären Ausdrücken verbotene URL: "
|
||||
"504","Aufgrund von regulären Ausdrücken verbotene URL gefunden"
|
||||
"505","Totalsperre für IP-Adressen aktiv, diese Adresse ist nur eine IP."
|
||||
"506","HTTPS-Verbindungen sind nur zu vertrauenswürdige Seiten erlaubt."
|
||||
"507","HTTPS-Verbindungen zu IP-Adressen sind nicht erlaubt."
|
||||
"508","Verbindungen mit diesem Browser (oder dieser Anwendungen) sind nicht gestattet: "
|
||||
"509","Verbindungen mit diesem Browser (oder dieser Anwendungen) sind nicht gestattet."
|
||||
"510","Geblockte Seite (IP) "
|
||||
"511","Tranparent https connection is not TLS: " # needs translation
|
||||
"512","Tranparent https connection does not have SNI: " # needs translation
|
||||
"520","Geblockte HTTPS-Seite: "
|
||||
"521","Geblockte Ausdrücke: "
|
||||
"522","Geblockter Benutzer-Agent: "
|
||||
"560","Geblockte Seite (lokal): "
|
||||
"561","Geblockte URL (lokal): "
|
||||
"580","Geblockte HTTPS-Seite (lokal): "
|
||||
"581","Geblockte Ausdrücke (lokal): "
|
||||
"600","Übereinstimmung mit Client-IP in Ausnahmeliste"
|
||||
"601","Übereinstimmung mit Client-Benutzer in Ausnahmeliste"
|
||||
"602","Übereinstimmung mit Seite in Ausnahmeliste"
|
||||
"603","Übereinstimmung mit URL in Ausnahmeliste"
|
||||
"604","Ausnahme-Ausdruck gefunden: "
|
||||
"605","Kombination von Ausnahme Ausdrücken gefunden: "
|
||||
"606","Umgehungs-URL gefunden"
|
||||
"607","Umgehungs-Cookie gefunden"
|
||||
"608","Überprüfe Umgehungs-URL Ausnahme."
|
||||
"609","Ausnahme von regular expression URL gefunden: "
|
||||
"610","Benutzer-Agent Suchmuster-Abgleich: "
|
||||
"620","Ursprungsseite gefunden: "
|
||||
"630","URL gefunden in "
|
||||
"631"," erlaubte Lokations-Liste"
|
||||
"632","Lokation überschreibt die Liste der zulässigen Seiten"
|
||||
"662","Seite (lokal)."
|
||||
"663","URL (lokal)."
|
||||
"700","Web-Upload verboten"
|
||||
"701","Web-Upload-Schwellwert erreicht"
|
||||
"750","Globale Datei-Download Überprüfung ist aktiv und dieser Datei-Typ (MIME type) ist nicht auf der Erlaubt-Liste: "
|
||||
"751","Globale Datei-Download Überprüfung ist aktiv und diese Datei ist nicht auf der Erlaubt-Liste"
|
||||
"800","Verbotener Datei-Typ (MIME Type): "
|
||||
"900","Verbotene Datei-Erweiterung: "
|
||||
"1000","PICS-Kennzeichnungsschwellwert überschritten"
|
||||
"1100","Ein Virus oder unerlaubter Inhalt wurde gefunden."
|
||||
"1101","Werbung blockiert"
|
||||
"1200","Bitte warten - die heruntergeladene Datei wird überprüft..."
|
||||
"1201","Warnung: Datei ist zu gross um überprüft zu werden. Wenn Sie glauben das die Datei größer als "
|
||||
"1202"," ist, rufen Sie die Seite erneut auf, um ein direktes herunterladen durchzuführen."
|
||||
"1203","WARNUNG: Es konnte keine Inhaltsüberprüfung durchgeführt werden!"
|
||||
"1210","Herunterladen abgeschlossen. Starte Überprüfung..."
|
||||
"1220","Überprüfung abgeschlossen.</p><p>Zum herunterladen hier klicken: "
|
||||
"1221","Herunterladen abgeschlossen. Datei konnte nicht überprüft werden.</p><p>Zum herunterladen hier klicken: "
|
||||
"1222","Datei zu gross zum zwischenspeichern.</p><p>Zum erneuten herunterladen, OHNE Überprüfung, hier klicken: "
|
||||
"1230","Die Datei wurde bereits abgerufen und ist daher nicht mehr gespeichert!"
|
144
config/e2guardian/languages/german/neterr_template.html
Normal file
144
config/e2guardian/languages/german/neterr_template.html
Normal file
File diff suppressed because one or more lines are too long
77
config/e2guardian/languages/german/template.html
Normal file
77
config/e2guardian/languages/german/template.html
Normal file
@@ -0,0 +1,77 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>e2guardian - Zugriff verweigert</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
</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>Zugriff verweigert!</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>
|
||||
IHRE FIRMA
|
||||
</td>
|
||||
<td width=550 bgcolor=#FFFFFF align=center valign=center>
|
||||
<font face=arial,helvetica color=black>
|
||||
<font size=4>
|
||||
Der Zugriff auf die Seite
|
||||
<br><br>
|
||||
<a href="-URL-" target="_blank">-URL-</a>
|
||||
<br><br>
|
||||
<font size=3>
|
||||
wurde mit folgender Begründung verweigert:
|
||||
<br><br>
|
||||
<font color=red>
|
||||
<b>-REASONLOGGED-</b>
|
||||
<font color=black>
|
||||
<br><br><br><br>
|
||||
Sie sehen diese Fehlermeldung, weil die von Ihnen gewünschte Seite unangebrachte Inhalte aufweist oder als solche gekennzeichnet ist.
|
||||
<br><br>
|
||||
Bei Fragen oder Beschwerden wenden Sie sich bitte an Ihren Netzwerkadministrator.
|
||||
<br><br><br><br>
|
||||
<font size=1>
|
||||
Powered by <a href="http://www.e2guardian.org?block" target="_blank">e2guardian</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
<!--
|
||||
Translated and adapted for Unicode by Peter Vollmar
|
||||
The available variables are as follows:
|
||||
- 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.
|
||||
- FILTERGROUP- gives the group number.
|
||||
- BYPASS- gives URL which allows temporary bypass of denied page
|
||||
|
||||
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.
|
||||
|
||||
More example templates are likely to be found on the e2guardian web site
|
||||
on the Extras page.
|
||||
|
||||
This page was designed by Paul Richards. (http://www.ridney.com/)
|
||||
|
||||
Daniel Barron 2003-09-01
|
||||
-->
|
Reference in New Issue
Block a user