reverted 'do not show all options' strategy. This is actually confusing

new users. Will be activated maybe again if there is an optional
tutorial mode which can be switched on for this special purpose of
running a tutorial.
pull/1/head
Michael Peter Christen 10 years ago
parent 7db2888336
commit 4c9d2a7c64

@ -942,10 +942,10 @@ public class YaCyDefaultServlet extends HttpServlet {
templatePatterns.put("navigation-p2p", sb.getConfigBool(SwitchboardConstants.DHT_ENABLED, true) || !sb.isRobinsonMode() ? 1 : 0);
templatePatterns.put("navigation-p2p_authorized", authorized ? 1 : 0);
String submitted = sb.getConfig("server.servlets.submitted", "");
boolean crawler_enabled =
boolean crawler_enabled = true; /*
submitted.contains("Crawler_p") ||
submitted.contains("ConfigBasic") ||
submitted.contains("Load_RSS_p");
submitted.contains("Load_RSS_p");*/
boolean advanced_enabled =
crawler_enabled ||
submitted.contains("IndexImportMediawiki_p") ||

Loading…
Cancel
Save