fix for promoteSearchPageString

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3283 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
allo 18 years ago
parent 2953df8d86
commit 16aa66bf3d

@ -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");

@ -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);

@ -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<linkcount; i++)
prop.put("type_results_" + i + "_authorized", (authenticated) ? 1 : 0);
prop.put("promoteSearchPageGreeting", promoteSearchPageGreeting);
prop.putASIS("promoteSearchPageGreeting", promoteSearchPageGreeting);
prop.put("former", wikiCode.replaceXMLEntities(post.get("search", "")));
prop.put("count", count);
prop.put("order", order);

Loading…
Cancel
Save