From 955d26b11747d27a75341e4c987a0720b1be0a1c Mon Sep 17 00:00:00 2001 From: allo Date: Fri, 8 Apr 2005 19:07:41 +0000 Subject: [PATCH] Bug: could not install from url and use the skin (because of a two names "use") git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/Skins_p.html | 4 ++-- htroot/Skins_p.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/htroot/Skins_p.html b/htroot/Skins_p.html index 34017d214..a3acccb3a 100644 --- a/htroot/Skins_p.html +++ b/htroot/Skins_p.html @@ -22,13 +22,13 @@ Skins:
#{/skinlist}#
- +
Install new Skin from URL:
-Use this Skin
+Use this Skin
diff --git a/htroot/Skins_p.java b/htroot/Skins_p.java index 9c7e5788c..e8ffb37cf 100644 --- a/htroot/Skins_p.java +++ b/htroot/Skins_p.java @@ -102,7 +102,7 @@ public class Skins_p { if (post != null){ //change skin - if(post.containsKey("use")){ + if(post.containsKey("use_button")){ changeSkin(env, skinPath, (String)post.get("skin")); //delete skin @@ -134,7 +134,7 @@ public class Skins_p { prop.put("status", 2);//error saving the skin return prop; } - if(post.containsKey("use") && ((String)post.get("use")).equals("on")){ + if(post.containsKey("use_skin") && ((String)post.get("use_skin")).equals("on")){ changeSkin(env, skinPath, url.substring(url.lastIndexOf("/"), url.length())); } }