Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
make ConfigParser a protected page, for consistent behavior of locked menu items.
regera011a97de917
diff --git a/htroot/ConfigParser.html b/htroot/ConfigParser_p.htmlsimilarity index 97%rename from htroot/ConfigParser.htmlrename to htroot/ConfigParser_p.htmlindex 20e6944ee..2b920854c 100644--- a/htroot/ConfigParser.html+++ b/htroot/ConfigParser_p.html@@ -18,7 +18,7 @@#%env/templates/header.template%##%env/templates/submenuCrawler.template%#<h2>Parser Configuration</h2>-<form id="parsersettings" action="ConfigParser.html" method="post" enctype="multipart/form-data">+<form id="parsersettings" action="ConfigParser_p.html" method="post" enctype="multipart/form-data"><fieldset><legend id="parser">Content Parser Settings</legend><p>With this settings you can activate or deactivate parsing of additional content-types based on their MIME-types.<br />diff --git a/htroot/ConfigParser.java b/htroot/ConfigParser_p.javasimilarity index 95%rename from htroot/ConfigParser.javarename to htroot/ConfigParser_p.javaindex 32510ecb2..6eef69fe7 100644--- a/htroot/ConfigParser.java+++ b/htroot/ConfigParser_p.java@@ -35,7 +35,7 @@ import net.yacy.server.serverObjects;import net.yacy.server.serverSwitch;-public class ConfigParser {+public class ConfigParser_p {public static serverObjects respond(final RequestHeader header, final serverObjects post, final serverSwitch env) {// return variable that accumulates replacements@@ -44,11 +44,6 @@ public class ConfigParser {if (post != null) {- if (!sb.verifyAuthentication(header)) {- // force log-in- prop.authenticationRequired();- return prop;- }if (post.containsKey("parserSettings")) {post.remove("parserSettings");diff --git a/htroot/env/templates/submenuCrawler.template b/htroot/env/templates/submenuCrawler.templateindex 2c17e25a0..6a647d62e 100644--- a/htroot/env/templates/submenuCrawler.template+++ b/htroot/env/templates/submenuCrawler.template@@ -2,6 +2,6 @@<h3>Load Web Pages</h3><ul class="SubMenu"><li><a href="CrawlStartSite.html" class="MenuItemLink">Site Crawling</a></li>- <li><a href="ConfigParser.html" class="MenuItemLink #(authorized)#lock::unlock#(/authorized)#">Parser Configuration</a></li>+ <li><a href="ConfigParser_p.html" class="MenuItemLink #(authorized)#lock::unlock#(/authorized)#">Parser Configuration</a></li></ul></div>\ No newline at end of file