|
|
|
@ -906,6 +906,7 @@ public class YaCyDefaultServlet extends HttpServlet {
|
|
|
|
|
|
|
|
|
|
// add navigation keys to enable or disable menu items
|
|
|
|
|
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 =
|
|
|
|
|
submitted.contains("Crawler_p") ||
|
|
|
|
|