From 6a73d858dee1f55ccf0ded7f6ce9a3e9e061b085 Mon Sep 17 00:00:00 2001 From: orbiter Date: Mon, 23 Oct 2006 01:10:29 +0000 Subject: [PATCH] voting of surftipps can now be done with comments git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2846 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/Surftips.html | 8 +++++++- htroot/Surftips.java | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/htroot/Surftips.html b/htroot/Surftips.html index 1eee6730d..82198693c 100644 --- a/htroot/Surftips.html +++ b/htroot/Surftips.html @@ -5,6 +5,12 @@ #%env/templates/metas.template%# + #(display)# @@ -28,7 +34,7 @@ :: - Give positive vote + Give positive vote Give negative vote #(/recommend)# diff --git a/htroot/Surftips.java b/htroot/Surftips.java index dfc8a2fd5..5da6be93d 100644 --- a/htroot/Surftips.java +++ b/htroot/Surftips.java @@ -95,6 +95,7 @@ public class Surftips { map.put("description", crypt.simpleDecode(post.get("description", ""), null)); map.put("vote", "positive"); map.put("refid", post.get("refid", "")); + map.put("comment", post.get("comment", "")); yacyCore.newsPool.publishMyNews(new yacyNewsRecord("stippavt", map)); }