r26749 - trunk/freenet/src/freenet/clients/http

[email protected]
Newsgroups gmane.network.freenet.cvs
Message-ID <[email protected]>
Author: bombe
Date: 2009-04-11 23:32:54 +0000 (Sat, 11 Apr 2009)
New Revision: 26749

Modified:
   trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java
Log:
Reverse r26734 to r26738.

Use CSS to change output formatting.

Modified: trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java	2009-04-11 23:17:34 UTC (rev 26748)
+++ trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java	2009-04-11 23:32:54 UTC (rev 26749)
@@ -512,8 +512,7 @@
             } else if (request.getParam(GenericReadFilterCallback.magicHTTPEscapeString).length() > 0) {
                 HTMLNode pageNode = ctx.getPageMaker().getPageNode(l10n("confirmExternalLinkTitle"), ctx);
                 HTMLNode contentNode = ctx.getPageMaker().getContentNode(pageNode);
- 		HTMLNode warnbox =contentNode.addChild(ctx.getPageMaker().getInfobox("infobox-warning",l10n("confirmExternalLinkSubTitle")));
-                warnbox.addAttribute("color", "red");
+                HTMLNode warnbox = contentNode.addChild(ctx.getPageMaker().getInfobox("infobox-warning", l10n("confirmExternalLinkSubTitle")));
                 HTMLNode externalLinkForm = ctx.addFormChild(ctx.getPageMaker().getContentNode(warnbox), "/", "confirmExternalLinkForm");
 
                 final String target = request.getParam(GenericReadFilterCallback.magicHTTPEscapeString);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.