- 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
@ -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 bgcolor = "ddeeee";
String textcolor = "ffffff";
String textcolor = "000000";
String bordercolor = "";
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 = "";
@ -192,7 +192,7 @@
<!--[if IE]>
</div>
<![endif]-->
<img src="http://localhost:8080/Banner.png?textcolor=ffffff&bgcolor=ddddee&bordercolor=ccccff">
<img src="Banner.png?textcolor=000000&bgcolor=ddeeee&bordercolor=aaaaaa">
#%env/templates/footer.template%#
</body>
@ -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);