Author: toad
Date: 2007-11-19 18:14:40 +0000 (Mon, 19 Nov 2007)
New Revision: 15841

Modified:
   trunk/freenet/src/freenet/clients/http/PproxyToadlet.java
   trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties
Log:
Big red warning!

Modified: trunk/freenet/src/freenet/clients/http/PproxyToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/PproxyToadlet.java   2007-11-19 
17:51:23 UTC (rev 15840)
+++ trunk/freenet/src/freenet/clients/http/PproxyToadlet.java   2007-11-19 
18:14:40 UTC (rev 15841)
@@ -463,6 +463,8 @@
                HTMLNode addOfficialPluginContent = 
addOfficialPluginBox.addChild("div", "class", "infobox-content");
                HTMLNode addOfficialForm = 
toadletContext.addFormChild(addOfficialPluginContent, ".", 
"addOfficialPluginForm");
                addOfficialForm.addChild("div", l10n("loadOfficialPluginText"));
+               // FIXME CSS-ize this
+               addOfficialForm.addChild("p").addChild("b").addChild("font", 
new String[] { "color" }, new String[] { "red" }, 
l10n("loadOfficialPluginWarning"));
                addOfficialForm.addChild("#", (l10n("loadOfficialPluginLabel") 
+ ": "));
                HTMLNode selectNode = addOfficialForm.addChild("select", 
"name", "plugin-name");
                Iterator/*<String>*/ availablePluginIterator = 
availablePlugins.iterator();

Modified: trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties
===================================================================
--- trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties   2007-11-19 
17:51:23 UTC (rev 15840)
+++ trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties   2007-11-19 
18:14:40 UTC (rev 15841)
@@ -711,7 +711,8 @@
 PproxyToadlet.internalIDTitle=Internal ID
 PproxyToadlet.Load=Load
 PproxyToadlet.loadOfficialPlugin=Add an Official Plugin
-PproxyToadlet.loadOfficialPluginText=These plugins are hosted on servers of 
The Freenet Project. We believe that these plugins are free of privacy leaks 
though we will not guarantee it. Loading a plugin involves downloading it from 
the internet.
+PproxyToadlet.loadOfficialPluginText=These plugins are hosted on servers of 
The Freenet Project. We believe that these plugins are free of privacy leaks 
though we will not guarantee it.
+PproxyToadlet.loadOfficialPluginWarning=WARNING: Loading an official plugin 
involves downloading it from the internet (not from Freenet). An attacker could 
see the download, and maybe interfere with it. Do not load plugins here if that 
is a problem.
 PproxyToadlet.loadOfficialPluginLabel=Load Official Plugin
 PproxyToadlet.loadOtherPlugin=Add an Unofficial Plugin
 PproxyToadlet.loadOtherPluginText=Here you can enter the URL of a plugin you 
want to load. Other plugins than the ones listed above are not even remotely 
supported or checked for privacy leaks by us, so if you load a remote plugin 
here, you are basically on your own.


Reply via email to