Author: Jogy
Date: 2006-05-31 17:03:52 +0000 (Wed, 31 May 2006)
New Revision: 8956
Modified:
trunk/freenet/src/freenet/clients/http/FProxyToadlet.java
Log:
add some verbose text, add a forgotten </li> tag
Modified: trunk/freenet/src/freenet/clients/http/FProxyToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/FProxyToadlet.java 2006-05-31
16:43:14 UTC (rev 8955)
+++ trunk/freenet/src/freenet/clients/http/FProxyToadlet.java 2006-05-31
17:03:52 UTC (rev 8956)
@@ -251,12 +251,12 @@
buf.append("<br>This is a large file, so it has
not been streamed direct" +
" to your browser, because
Freenet cannot send any data to the " +
"browser until it has the whole
file, and this may take some time, " +
- "and also for resource usage
reasons.\n");
- buf.append("<br>What would you like to do with
it?:<ul>");
- buf.append("<li>");
- buf.append("<form method=\"get\"
action=\"/"+key.toString(false)+"\">");
+ "and also for resource usage
reasons.<br>\n");
+ buf.append("What would you like to do with
it?");
+ buf.append("<ul>");
+ buf.append("<li><form method=\"get\"
action=\"/"+key.toString(false)+"\">");
buf.append("<input type=\"hidden\"
name=\"max-size\" value=\""+e.expectedSize+"\">");
- buf.append("<input type=\"submit\"
name=\"fetch\" value=\"Fetch anyway\">");
+ buf.append("<input type=\"submit\"
name=\"fetch\" value=\"Fetch anyway and display file in browser\">");
buf.append("</form></li>");
buf.append("<li><form method=\"post\"
action=\"/queue/\">");
buf.append("<input type=\"hidden\" name=\"key\"
value=\""+key.toString(false)+"\">");
@@ -264,13 +264,13 @@
buf.append("<input type=\"hidden\"
name=\"persistence\" value=\"forever\">");
if(mime != null)
buf.append("<input type=\"hidden\"
name=\"type\" value=\""+URLEncoder.encode(mime)+"\">");
- buf.append("<input type=\"submit\"
name=\"download\" value=\"Download to disk in background\">");
+ buf.append("<input type=\"submit\"
name=\"download\" value=\"Download in background and store in downloads
directory\">");
buf.append("</form></li>");
// FIXME add a queue-a-download option.
// buf.append("<li>Save it to disk at </li>");
// FIXME add return-to-referring-page
//buf.append("<li>Return to the referring page:
");
- buf.append("<li>Return to the FProxy home page:
<a href=\"/\">here</a>");
+ buf.append("<li>Abort and return to the FProxy
home page: <a href=\"/\">here</a></li>");
buf.append("</ul>");
ctx.getPageMaker().makeTail(buf);
writeReply(ctx, 200, "text/html", "OK",
buf.toString());