Author: toad
Date: 2009-01-17 20:01:41 +0000 (Sat, 17 Jan 2009)
New Revision: 25116

Modified:
   trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java
Log:
Missing fixLink's


Modified: trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java      
2009-01-17 20:01:25 UTC (rev 25115)
+++ trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java      
2009-01-17 20:01:41 UTC (rev 25116)
@@ -653,7 +653,7 @@
                // FIXME better way to deal with this sort of thing???
                L10n.addL10nSubstitution(headerReferenceInfobox, 
"DarknetConnectionsToadlet.myReferenceHeader",
                                new String[] { "linkref", "/linkref", 
"linktext", "/linktext" },
-                               new String[] { "<a href=\"myref.fref\">", 
"</a>", "<a href=\"myref.txt\">", "</a>" });
+                               new String[] { "<a 
href=\""+container.fixLink(getURL()+"myref.fref")+"\">", "</a>", "<a 
href=\""+container.fixLink(getURL()+"myref.txt")+"\">", "</a>" });
                HTMLNode referenceInfoboxContent = 
referenceInfobox.addChild("div", "class", "infobox-content");
                HTMLNode warningSentence = 
referenceInfoboxContent.addChild("p");
                L10n.addL10nSubstitution(warningSentence, 
"DarknetConnectionsToadlet.referenceCopyWarning",
@@ -888,6 +888,6 @@
        }
        
        private String sortString(boolean isReversed, String type) {
-               return (isReversed ? ("?sortBy="+type) : 
("?sortBy="+type+"&reversed"));
+               return getURL() + (isReversed ? ("?sortBy="+type) : 
("?sortBy="+type+"&reversed"));
        }
 }

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to