From 16aa66bf3dd61fbd9e000fbac4294a54f6568aa2 Mon Sep 17 00:00:00 2001 From: allo Date: Thu, 25 Jan 2007 15:49:34 +0000 Subject: [PATCH] fix for promoteSearchPageString git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3283 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/DetailedSearch.java | 2 +- htroot/index.java | 2 +- htroot/yacysearch.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/htroot/DetailedSearch.java b/htroot/DetailedSearch.java index 3aefc2c67..cd25283fd 100644 --- a/htroot/DetailedSearch.java +++ b/htroot/DetailedSearch.java @@ -365,7 +365,7 @@ public class DetailedSearch { prop.put("num-results_ranking", localRanking.toExternalURLGet("local").toString()); // return rewrite properties - prop.put("promoteSearchPageGreeting", env.getConfig("promoteSearchPageGreeting", "")); + prop.putASIS("promoteSearchPageGreeting", env.getConfig("promoteSearchPageGreeting", "")); // adding some additional properties needed for the rss feed String hostName = (String) header.get("Host","localhost"); diff --git a/htroot/index.java b/htroot/index.java index 58ea9d415..831906e3b 100644 --- a/htroot/index.java +++ b/htroot/index.java @@ -101,7 +101,7 @@ public class index { // we create empty entries for template strings String promoteSearchPageGreeting = env.getConfig("promoteSearchPageGreeting", ""); if (promoteSearchPageGreeting.length() == 0) promoteSearchPageGreeting = "P2P WEB SEARCH"; - prop.put("promoteSearchPageGreeting", promoteSearchPageGreeting); + prop.putASIS("promoteSearchPageGreeting", promoteSearchPageGreeting); prop.put("former", former); prop.put("num-results", 0); prop.put("excluded", 0); diff --git a/htroot/yacysearch.java b/htroot/yacysearch.java index bdd495863..ebe1d7286 100644 --- a/htroot/yacysearch.java +++ b/htroot/yacysearch.java @@ -117,7 +117,7 @@ public class yacysearch { // we create empty entries for template strings final serverObjects prop = new serverObjects(); - prop.put("promoteSearchPageGreeting", promoteSearchPageGreeting); + prop.putASIS("promoteSearchPageGreeting", promoteSearchPageGreeting); prop.put("former", ""); prop.put("count", 10); prop.put("order", plasmaSearchPreOrder.canUseYBR() ? "YBR-Date-Quality" : "Date-Quality-YBR"); @@ -458,7 +458,7 @@ public class yacysearch { for (int i=0; i