Author: nextgens
Date: 2007-03-24 16:59:22 +0000 (Sat, 24 Mar 2007)
New Revision: 12316

Modified:
   trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java
Log:
Doh!

Modified: trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java  2007-03-24 
16:57:36 UTC (rev 12315)
+++ trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java  2007-03-24 
16:59:22 UTC (rev 12316)
@@ -551,7 +551,7 @@
                }

                // Alerts
-               if(!ctx.isAllowedFullAccess())
+               if(ctx.isAllowedFullAccess())
                        contentNode.addChild(core.alerts.createAlerts());

                // Fetch-a-key box
@@ -595,7 +595,7 @@
                        versionContent.addChild("#", "Freenet-ext Build #" + 
NodeStarter.extBuildNumber + " r" + NodeStarter.extRevisionNumber);
                }
                versionContent.addChild("br");
-               if(!ctx.isAllowedFullAccess()){
+               if(ctx.isAllowedFullAccess()){
                        HTMLNode shutdownForm = versionContent.addChild("form", 
new String[] { "action", "method" }, new String[] { ".", "get" });
                        shutdownForm.addChild("input", new String[] { "type", 
"name" }, new String[] { "hidden", "exit" });
                        shutdownForm.addChild("input", new String[] { "type", 
"value" }, new String[] { "submit", "Shutdown the node" });


Reply via email to