From aeb1cf83a67c5f7c5795d530a9a71501c871e477 Mon Sep 17 00:00:00 2001 From: orbiter Date: Fri, 7 Dec 2007 21:25:36 +0000 Subject: [PATCH] - corrected banner link (relative now) - changed color mode (replace) for banner - changed default color (fits to default skin) of banner in status git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4255 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/Banner.java | 8 +++++--- htroot/Status.html | 2 +- source/de/anomic/plasma/plasmaGrafics.java | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/htroot/Banner.java b/htroot/Banner.java index 65d74a083..23b285b13 100644 --- a/htroot/Banner.java +++ b/htroot/Banner.java @@ -65,14 +65,16 @@ public class Banner { final String IMAGE = "htroot/env/grafics/yacy.gif"; int width = 468; int height = 60; - String bgcolor = plasmaGrafics.COL_BACKGROUND; - String textcolor = "ffffff"; - String bordercolor = ""; + String bgcolor = "ddeeee"; + String textcolor = "000000"; + String bordercolor = "aaaaaa"; if (post != null) { bgcolor = post.get("bgcolor", bgcolor); textcolor = post.get("textcolor", textcolor); bordercolor = post.get("bordercolor", bordercolor); + width = post.getInt("width", width); + height = post.getInt("heigth", height); } String name = ""; diff --git a/htroot/Status.html b/htroot/Status.html index 3b7eae48d..21a2ae7db 100644 --- a/htroot/Status.html +++ b/htroot/Status.html @@ -192,7 +192,7 @@ - + #%env/templates/footer.template%# diff --git a/source/de/anomic/plasma/plasmaGrafics.java b/source/de/anomic/plasma/plasmaGrafics.java index 33d9fe960..64fbf5a29 100644 --- a/source/de/anomic/plasma/plasmaGrafics.java +++ b/source/de/anomic/plasma/plasmaGrafics.java @@ -377,7 +377,7 @@ public class plasmaGrafics { int exprlength = 19; logo = newLogo; - bannerPicture = new ymageMatrix(width, height, ymageMatrix.MODE_SUB, bgcolor); + bannerPicture = new ymageMatrix(width, height, ymageMatrix.MODE_REPLACE, bgcolor); // draw description bannerPicture.setColor(textcolor);