Author: toad
Date: 2008-12-11 22:54:49 +0000 (Thu, 11 Dec 2008)
New Revision: 24208
Modified:
trunk/freenet/src/freenet/clients/http/FProxyToadlet.java
Log:
Show the download to disk form if we are allowed to use the queue page, not
only if we have full access.
Modified: trunk/freenet/src/freenet/clients/http/FProxyToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/FProxyToadlet.java 2008-12-11
22:53:08 UTC (rev 24207)
+++ trunk/freenet/src/freenet/clients/http/FProxyToadlet.java 2008-12-11
22:54:49 UTC (rev 24208)
@@ -247,7 +247,7 @@
option = optionList.addChild("li");
L10n.addL10nSubstitution(option,
"FProxyToadlet.backToFProxy", new String[] { "link", "/link" },
new String[] { "<a href=\"/\">", "</a>"
});
- if(ctx.isAllowedFullAccess()) {
+ if(ctx.isAllowedFullAccess() ||
!ctx.getContainer().publicGatewayMode()) {
option = optionList.addChild("li");
HTMLNode optionForm = ctx.addFormChild(option,
"/queue/", "tooBigQueueForm");
optionForm.addChild("input", new String[] {
"type", "name", "value" }, new String[] { "hidden", "key", key.toString() });
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs