From 3d3d654e883d14ccef4a261aae4ddec11e7ff33d Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Mon, 29 Oct 2012 01:51:19 +0100 Subject: [PATCH] if a network configuration is choosed which does not allow DHT and no P2P communication is in robinson mode) then some menu entries are disabled which have no use in this mode. --- htroot/env/templates/header.template | 2 +- htroot/env/templates/submenuAccessTracker.template | 3 ++- htroot/env/templates/submenuComputation.template | 2 ++ htroot/env/templates/submenuCrawlMonitor.template | 10 +++++----- htroot/env/templates/submenuIndexControl.template | 2 +- source/net/yacy/server/http/HTTPDFileHandler.java | 1 + 6 files changed, 12 insertions(+), 8 deletions(-) diff --git a/htroot/env/templates/header.template b/htroot/env/templates/header.template index e08caf966..0a4de42f6 100644 --- a/htroot/env/templates/header.template +++ b/htroot/env/templates/header.template @@ -38,7 +38,7 @@
  • Search Sequence
  • + #(p2p)#:: + #(/p2p)# diff --git a/htroot/env/templates/submenuCrawlMonitor.template b/htroot/env/templates/submenuCrawlMonitor.template index cf471166b..715495949 100644 --- a/htroot/env/templates/submenuCrawlMonitor.template +++ b/htroot/env/templates/submenuCrawlMonitor.template @@ -15,8 +15,8 @@

    Queues

    @@ -39,12 +39,12 @@ diff --git a/htroot/env/templates/submenuIndexControl.template b/htroot/env/templates/submenuIndexControl.template index c677eb52e..4276bd117 100644 --- a/htroot/env/templates/submenuIndexControl.template +++ b/htroot/env/templates/submenuIndexControl.template @@ -2,7 +2,7 @@

    Index Administration