Author: dconrado
Date: 2009-04-11 23:17:34 +0000 (Sat, 11 Apr 2009)
New Revision: 26748
Modified:
trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java
Log:
Added red color into infobox Confirm external link.
Modified: trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java 2009-04-11 23:11:31 UTC (rev 26747)
+++ trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java 2009-04-11 23:17:34 UTC (rev 26748)
@@ -512,7 +512,8 @@
} 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")), new String[] { "color" }, new String[] { "red" });
+ HTMLNode warnbox =contentNode.addChild(ctx.getPageMaker().getInfobox("infobox-warning",l10n("confirmExternalLinkSubTitle")));
+ warnbox.addAttribute("color", "red");
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.