From 6f1d45aaa39c3460f7812a24be277fbafe8a2255 Mon Sep 17 00:00:00 2001 From: auron_x Date: Sun, 5 Mar 2006 15:28:31 +0000 Subject: [PATCH] *) re-added possibility to de-/select all parsers at one time (JS-only) git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1828 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/Settings_Parser.inc | 6 ++---- htroot/Settings_p.html | 15 +++++++++++++++ htroot/Settings_p.java | 2 ++ 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/htroot/Settings_Parser.inc b/htroot/Settings_Parser.inc index a2f53cec7..7309b63de 100644 --- a/htroot/Settings_Parser.inc +++ b/htroot/Settings_Parser.inc @@ -1,4 +1,4 @@ -

+

Content Parser Settings

With this settings you can activate or deactivate parsing of additional content-types based on their MIME-types.
For a detailed description of the various MIME-types take a look at http://www.iana.org/assignments/media-types/

@@ -29,15 +29,13 @@ For a detailed description of the various MIME-types take a look at #{parserMode}# - + #{/parserMode}# Enable all parsers   --->  Changes take effect immediately diff --git a/htroot/Settings_p.html b/htroot/Settings_p.html index d09e3bf91..1d85607d6 100644 --- a/htroot/Settings_p.html +++ b/htroot/Settings_p.html @@ -3,6 +3,21 @@ YaCy '#[clientname]#': Settings #%env/templates/metas.template%# + + #%env/templates/header.template%# diff --git a/htroot/Settings_p.java b/htroot/Settings_p.java index d0c5b7a3e..fd93b6a2f 100644 --- a/htroot/Settings_p.java +++ b/htroot/Settings_p.java @@ -273,6 +273,8 @@ public final class Settings_p { // loop through the mimeTypes and add it to the properties boolean[] allParsersEnabled = new boolean[configList.size()]; + for (int i=0; i