- 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
pull/1/head
orbiter 17 years ago
parent 5185acaf41
commit aeb1cf83a6

@ -65,14 +65,16 @@ public class Banner {
final String IMAGE = "htroot/env/grafics/yacy.gif"; final String IMAGE = "htroot/env/grafics/yacy.gif";
int width = 468; int width = 468;
int height = 60; 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) { if (post != null) {
bgcolor = post.get("bgcolor", bgcolor); bgcolor = post.get("bgcolor", bgcolor);
textcolor = post.get("textcolor", textcolor); textcolor = post.get("textcolor", textcolor);
bordercolor = post.get("bordercolor", bordercolor); bordercolor = post.get("bordercolor", bordercolor);
width = post.getInt("width", width);
height = post.getInt("heigth", height);
} }
String name = ""; String name = "";

@ -192,7 +192,7 @@
<!--[if IE]> <!--[if IE]>
</div> </div>
<![endif]--> <![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%# #%env/templates/footer.template%#
</body> </body>

@ -377,7 +377,7 @@ public class plasmaGrafics {
int exprlength = 19; int exprlength = 19;
logo = newLogo; logo = newLogo;
bannerPicture = new ymageMatrix(width, height, ymageMatrix.MODE_SUB, bgcolor); bannerPicture = new ymageMatrix(width, height, ymageMatrix.MODE_REPLACE, bgcolor);
// draw description // draw description
bannerPicture.setColor(textcolor); bannerPicture.setColor(textcolor);

Loading…
Cancel
Save