From cc74a219c88f58571501f1021b74d48d30fd6541 Mon Sep 17 00:00:00 2001 From: calvin Date: Mon, 19 Jul 2004 08:51:16 +0000 Subject: [PATCH] added git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1360 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- cgi/lconline/check.js | 22 +++++++++++ cgi/lconline/index.html | 11 ++++++ cgi/lconline/lc_cgi.html.de | 78 +++++++++++++++++++++++++++++++++++++ cgi/lconline/lc_cgi.html.en | 72 ++++++++++++++++++++++++++++++++++ cgi/lconline/leer.html.de | 9 +++++ cgi/lconline/leer.html.en | 9 +++++ 6 files changed, 201 insertions(+) create mode 100644 cgi/lconline/check.js create mode 100644 cgi/lconline/index.html create mode 100644 cgi/lconline/lc_cgi.html.de create mode 100644 cgi/lconline/lc_cgi.html.en create mode 100644 cgi/lconline/leer.html.de create mode 100644 cgi/lconline/leer.html.en diff --git a/cgi/lconline/check.js b/cgi/lconline/check.js new file mode 100644 index 00000000..7cd33665 --- /dev/null +++ b/cgi/lconline/check.js @@ -0,0 +1,22 @@ +// check url validity +function isValid (thisForm) { + if (thisForm.url.value=="" || thisForm.url.value=="http://") { + alert(gettext("Empty URL was given.")); + thisForm.url.select(); + thisForm.url.focus(); + return false; + } + if (!checkSyntax(thisForm.url.value)) { + alert(gettext("Invalid URL was given.")); + thisForm.url.select(); + thisForm.url.focus(); + return false; + } + return true; +} + +// check url syntax +function checkSyntax (url) { + var syntax = /^https?:\/\/[-a-zA-Z.\/=%?~]+$/; + return syntax.test(url); +} diff --git a/cgi/lconline/index.html b/cgi/lconline/index.html new file mode 100644 index 00000000..02635051 --- /dev/null +++ b/cgi/lconline/index.html @@ -0,0 +1,11 @@ + +LinkChecker Online + + + + + +Please use a frame capable browser. + + + diff --git a/cgi/lconline/lc_cgi.html.de b/cgi/lconline/lc_cgi.html.de new file mode 100644 index 00000000..669e262e --- /dev/null +++ b/cgi/lconline/lc_cgi.html.de @@ -0,0 +1,78 @@ + +LinkChecker Online + + + + + + +

LinkChecker Online

+(läuft mit Öl vom LinkChecker) +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
Url: + +
Optionen:Rekursionstiefe: +Prüfe Anker in HTML:
Nur Fehler ausgeben:Prüfe nur interne Links:
Ausgabe: +Prüfe strikt interne Links:
+
+ diff --git a/cgi/lconline/lc_cgi.html.en b/cgi/lconline/lc_cgi.html.en new file mode 100644 index 00000000..56e699e2 --- /dev/null +++ b/cgi/lconline/lc_cgi.html.en @@ -0,0 +1,72 @@ + +LinkChecker Online + + + + + + +

LinkChecker Online

+(powered by LinkChecker) +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Url: + +
Options:Recursion Level: +Check anchors in HTML:
Log only errors:Check only intern links:
Output language: +Check strict intern links:
+
+ diff --git a/cgi/lconline/leer.html.de b/cgi/lconline/leer.html.de new file mode 100644 index 00000000..7f5cccd7 --- /dev/null +++ b/cgi/lconline/leer.html.de @@ -0,0 +1,9 @@ + +Leer + + +
+Keine Links geprüft! +
+ diff --git a/cgi/lconline/leer.html.en b/cgi/lconline/leer.html.en new file mode 100644 index 00000000..8d4db267 --- /dev/null +++ b/cgi/lconline/leer.html.en @@ -0,0 +1,9 @@ + +Empty + + +
+No links checked, dude! +
+