Author: toad
Date: 2008-12-11 23:27:42 +0000 (Thu, 11 Dec 2008)
New Revision: 24216
Modified:
trunk/freenet/src/freenet/clients/http/FProxyToadlet.java
Log:
Too large: show a back-link and a back-to-homepage link.
Modified: trunk/freenet/src/freenet/clients/http/FProxyToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/FProxyToadlet.java 2008-12-11
23:26:33 UTC (rev 24215)
+++ trunk/freenet/src/freenet/clients/http/FProxyToadlet.java 2008-12-11
23:27:42 UTC (rev 24216)
@@ -494,6 +494,11 @@
optionForm.addChild("input", new
String[] { "type", "name", "value" }, new String[] { "submit", "download",
l10n("downloadInBackgroundToDisk") });
}
+ optionList.addChild("li").addChild("a", new
String[] { "href", "title" }, new String[] { "/",
L10n.getString("Toadlet.homepage") }, l10n("abortToHomepage"));
+
+ option = optionList.addChild("li");
+
option.addChild(ctx.getPageMaker().createBackLink(ctx, l10n("goBackToPrev")));
+
writeHTMLReply(ctx, 200, "OK",
pageNode.generate());
} else {
HTMLNode pageNode =
ctx.getPageMaker().getPageNode(FetchException.getShortMessage(e.mode), ctx);
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs