Update of /cvsroot/freenet/freenet/src/freenet/node/http/infolets
In directory sc8-pr-cvs1:/tmp/cvs-serv31272/src/freenet/node/http/infolets
Modified Files:
DefaultInfolet.java
Log Message:
hopefully significant optimization to NGRT.references(id). The old way (which is what
CPAlgoRT still uses) was *really* heavy. Also make the insert box only show up in
advanced mode.
Index: DefaultInfolet.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/http/infolets/DefaultInfolet.java,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- DefaultInfolet.java 18 Sep 2003 17:48:10 -0000 1.69
+++ DefaultInfolet.java 20 Sep 2003 22:26:14 -0000 1.70
@@ -224,7 +224,7 @@
* I have used an external template since the insert HTML is quite complex
*/
- if (Node.httpInserts) {
+ if (Node.httpInserts && SimpleAdvanced_ModeUtils.isAdvancedMode(req)) {
ssw = new StringWriter(100);
sw = new PrintWriter(ssw);
insertTmp.toHtml(sw);
_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs