Author: xor
Date: 2009-04-24 11:49:29 +0000 (Fri, 24 Apr 2009)
New Revision: 27283
Modified:
trunk/freenet/src/freenet/clients/http/PageMaker.java
Log:
Add a function for removing all navigation links. It is needed by the following
commit as removing the links one by one would be too much hassle because we
dynamically change web-interfaces in Freetalk.
Modified: trunk/freenet/src/freenet/clients/http/PageMaker.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/PageMaker.java 2009-04-24
11:43:48 UTC (rev 27282)
+++ trunk/freenet/src/freenet/clients/http/PageMaker.java 2009-04-24
11:49:29 UTC (rev 27283)
@@ -128,6 +128,14 @@
navigationLinks.remove(name);
}
+ @Deprecated
+ public void removeAllNavigationLinks() {
+ navigationLinkTexts.clear();
+ navigationLinkTextsNonFull.clear();
+ navigationLinkTitles.clear();
+ navigationLinks.clear();
+ }
+
public HTMLNode createBackLink(ToadletContext toadletContext, String
name) {
String referer = toadletContext.getHeaders().get("referer");
if (referer != null) {
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs